Skip to content

Commit 1826f2c

Browse files
committed
Finish 2.0.3
2 parents 4311460 + f64db9c commit 1826f2c

7 files changed

Lines changed: 10 additions & 10 deletions

File tree

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ script: "bundle exec rspec spec"
44
env:
55
- CI=true
66
rvm:
7-
- 2.0
8-
- 2.1
97
- 2.2.5
108
- 2.3.1
11-
- jruby-9.0.5.0
9+
- jruby
1210
- rbx
1311
cache: bundler
1412
sudo: false
1513
addons:
1614
code_climate:
1715
repo_token: 5806cc8a21c03f4e2f9d3b9d98d5d9fe084b66243b1dbb27b467dbc795acdcac
16+
matrix:
17+
allow_failures:
18+
- rvm: jruby

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ end
1515

1616
group :debug do
1717
gem 'psych', platforms: [:mri, :rbx]
18-
gem "wirble"
1918
gem "redcarpet", platforms: :ruby
2019
gem "byebug", platforms: :mri
2120
gem 'rubinius-debugger', platform: :rbx

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This is a pure-Ruby library for working with [Resource Description Framework
3030
not modify any of Ruby's core classes or standard library.
3131
* Based entirely on Ruby's autoloading, meaning that you can generally make
3232
use of any one part of the library without needing to load up the rest.
33-
* Compatible with Ruby Ruby 2.x, Rubinius and JRuby 1.7+ (in Ruby 2.0 mode).
33+
* Compatible with Ruby Ruby >= 2.2.2, Rubinius and JRuby 9.0+.
3434
* Performs auto-detection of input to select appropriate Reader class if one
3535
cannot be determined from file characteristics.
3636

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.2
1+
2.0.3

lib/rdf/cli.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def call(arg)
204204
parse: true,
205205
help: "validate [options] [args...]\nvalidates parsed input (may also be used with --validate)",
206206
lambda: ->(argv, opts) do
207-
$stdout.puts "Input is " + (repository.valid? ? "" :"in") + "valid"
207+
$stdout.puts "Input is " + (repository.valid? ? "" : "in") + "valid"
208208
end
209209
}
210210
}

lib/rdf/vocabulary.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def property(*args)
117117
name, options = args
118118
options = {label: name.to_s, vocab: self}.merge(options || {})
119119
uri_str = [to_s, name.to_s].join('')
120-
Term.cache.delete(uri_str) # Clear any previous entry
120+
Term.cache.delete(uri_str.to_sym) # Clear any previous entry
121121
prop = Term.intern(uri_str, attributes: options)
122122
props[name.to_sym] = prop
123123
# Define an accessor, except for problematic properties
@@ -295,7 +295,7 @@ def from_graph(graph, url: nil, class_name: nil, extra: nil)
295295
when RDF::URI("http://schema.org/inverseOf") then :inverseOf
296296
when RDF::URI("http://schema.org/domainIncludes") then :domainIncludes
297297
when RDF::URI("http://schema.org/rangeIncludes") then :rangeIncludes
298-
else statement.predicate.pname
298+
else statement.predicate.pname.to_sym
299299
end
300300

301301
value = if statement.object.uri?

rdf.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Gem::Specification.new do |gem|
2525
gem.test_files = %w()
2626
gem.has_rdoc = false
2727

28-
gem.required_ruby_version = '>= 2.0'
28+
gem.required_ruby_version = '>= 2.2.2'
2929
gem.requirements = []
3030
gem.add_runtime_dependency 'link_header', '~> 0.0', '>= 0.0.8'
3131
gem.add_runtime_dependency 'hamster', '~> 3.0'

0 commit comments

Comments
 (0)