diff --git a/.travis.yml b/.travis.yml index 36a642d..9e1f468 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,14 +4,15 @@ script: "bundle exec rspec spec" env: - CI=true rvm: - - 2.2.5 - - 2.3.1 - - jruby - - rbx + - 2.2 + - 2.3 + - 2.4 + - jruby-9 + - rbx-3 cache: bundler sudo: false matrix: allow_failures: - - rvm: rbx - - rvm: jruby - + - rvm: jruby-9 + - rvm: rbx-3 +dist: trusty diff --git a/VERSION b/VERSION index 7ec1d6d..ccbccc3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.1.0 +2.2.0 diff --git a/lib/rdf/aggregate_repo.rb b/lib/rdf/aggregate_repo.rb index 08f3408..d5229be 100644 --- a/lib/rdf/aggregate_repo.rb +++ b/lib/rdf/aggregate_repo.rb @@ -117,8 +117,9 @@ def named(name) # @see RDF::Enumerable#supports? def supports?(feature) case feature.to_sym - when :graph_name then @options[:with_graph_name] - when :validity then @options.fetch(:with_validity, true) + when :graph_name then @options[:with_graph_name] + when :validity then @options.fetch(:with_validity, true) + when :literal_equality then sources.all? {|s| s.supports?(:literal_equality)} else false end end