Skip to content

Commit

Permalink
Finish 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Dec 31, 2016
2 parents ae8537b + 2104c5e commit 5e42209
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 19 deletions.
15 changes: 7 additions & 8 deletions .travis.yml
Expand Up @@ -4,15 +4,14 @@ script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 2.0
- 2.1
- 2.2.4
- 2.3.0
- jruby-9.0.4.0
- rbx-2
- 2.2.6
- 2.3.3
- 2.4.0
- jruby
- rbx
cache: bundler
sudo: false
matrix:
allow_failures:
- rvm: jruby-9.0.4.0
- rvm: rbx-2
- rvm: rbx
- rvm: jruby
11 changes: 5 additions & 6 deletions Gemfile
Expand Up @@ -2,17 +2,16 @@ source "https://rubygems.org"

gemspec

gem "rdf", git: "git://github.com/ruby-rdf/rdf.git", branch: "develop"
gem "rdf", github: "ruby-rdf/rdf", branch: "develop"

group :development do
gem "rdf-spec", git: "git://github.com/ruby-rdf/rdf-spec.git", branch: "develop"
gem "rdf-isomorphic", git: "git://github.com/ruby-rdf/rdf-isomorphic.git", branch: "develop"
gem "rdf-xsd", git: "git://github.com/ruby-rdf/rdf-xsd.git", branch: "develop"
gem "json-ld", git: "git://github.com/ruby-rdf/json-ld.git", branch: "develop"
gem "rdf-spec", github: "ruby-rdf/rdf-spec", branch: "develop"
gem "rdf-isomorphic", github: "ruby-rdf/rdf-isomorphic", branch: "develop"
gem "rdf-xsd", github: "ruby-rdf/rdf-xsd", branch: "develop"
gem "json-ld", github: "ruby-rdf/json-ld", branch: "develop"
end

group :debug do
gem "wirble"
gem "byebug", platform: :mri
end

Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
2.0.0
2.1.0
5 changes: 5 additions & 0 deletions dependencyci.yml
@@ -0,0 +1,5 @@
platform:
Rubygems:
rdf-isomorphic:
tests:
unmaintained: skip
2 changes: 1 addition & 1 deletion lib/rdf/n3/format.rb
Expand Up @@ -17,7 +17,7 @@ module RDF::N3
#
# @see http://www.w3.org/TR/rdf-testcases/#ntriples
class Format < RDF::Format
content_type 'text/n3', extension: :n3, aliases: %w(text/rdf+n3 application/rdf+n3)
content_type 'text/n3', extension: :n3, aliases: %w(text/rdf+n3;q=0.2 application/rdf+n3;q=0.2)
content_encoding 'utf-8'

reader { RDF::N3::Reader }
Expand Down
4 changes: 2 additions & 2 deletions lib/rdf/n3/reader.rb
Expand Up @@ -657,11 +657,11 @@ def keyword_check(kw)

# Create URIs
def uri(value, append = nil)
value = RDF::URI.new(value)
value = RDF::URI(value)
value = value.join(append) if append
value.validate! if validate? && value.respond_to?(:validate)
value.canonicalize! if canonicalize?
value = RDF::URI.intern(value) if intern?
value = RDF::URI.intern(value, {}) if intern?

# Variable substitution for in-scope variables. Variables are in scope if they are defined in anthing other than
# the current formula
Expand Down
2 changes: 1 addition & 1 deletion rdf-n3.gemspec
Expand Up @@ -20,7 +20,7 @@ Gem::Specification.new do |gem|
gem.require_paths = %w(lib)
gem.has_rdoc = false

gem.required_ruby_version = '>= 2.0.0'
gem.required_ruby_version = '>= 2.2.2'
gem.requirements = []

gem.add_dependency 'rdf', '~> 2.0'
Expand Down

0 comments on commit 5e42209

Please sign in to comment.