From 6aebfbf18c544c1739a6cb963cc24c2a1d0e1b05 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Fri, 31 Mar 2017 11:47:49 -0700 Subject: [PATCH 1/3] Use Travis "trusty" build and wildcard Ruby versions. --- .travis.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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 From 33df05e99a86603344679e2ef6edc02ef4cfcf85 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Sat, 1 Apr 2017 09:07:52 -0700 Subject: [PATCH 2/3] Repo supports literal_equality if all sources support literal_equality. --- lib/rdf/aggregate_repo.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 From 44e95c5ffb9c15f2044b8b53aa99a8ea73d2411e Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Sat, 1 Apr 2017 09:16:22 -0700 Subject: [PATCH 3/3] Version 2.2.0. --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 7ec1d6d..ccbccc3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.1.0 +2.2.0