Skip to content

Commit

Permalink
Finish 2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Aug 14, 2016
2 parents 4311460 + f64db9c commit 1826f2c
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Expand Up @@ -4,14 +4,15 @@ script: "bundle exec rspec spec"
env:
- CI=true
rvm:
- 2.0
- 2.1
- 2.2.5
- 2.3.1
- jruby-9.0.5.0
- jruby
- rbx
cache: bundler
sudo: false
addons:
code_climate:
repo_token: 5806cc8a21c03f4e2f9d3b9d98d5d9fe084b66243b1dbb27b467dbc795acdcac
matrix:
allow_failures:
- rvm: jruby
1 change: 0 additions & 1 deletion Gemfile
Expand Up @@ -15,7 +15,6 @@ end

group :debug do
gem 'psych', platforms: [:mri, :rbx]
gem "wirble"
gem "redcarpet", platforms: :ruby
gem "byebug", platforms: :mri
gem 'rubinius-debugger', platform: :rbx
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -30,7 +30,7 @@ This is a pure-Ruby library for working with [Resource Description Framework
not modify any of Ruby's core classes or standard library.
* Based entirely on Ruby's autoloading, meaning that you can generally make
use of any one part of the library without needing to load up the rest.
* Compatible with Ruby Ruby 2.x, Rubinius and JRuby 1.7+ (in Ruby 2.0 mode).
* Compatible with Ruby Ruby >= 2.2.2, Rubinius and JRuby 9.0+.
* Performs auto-detection of input to select appropriate Reader class if one
cannot be determined from file characteristics.

Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
2.0.2
2.0.3
2 changes: 1 addition & 1 deletion lib/rdf/cli.rb
Expand Up @@ -204,7 +204,7 @@ def call(arg)
parse: true,
help: "validate [options] [args...]\nvalidates parsed input (may also be used with --validate)",
lambda: ->(argv, opts) do
$stdout.puts "Input is " + (repository.valid? ? "" :"in") + "valid"
$stdout.puts "Input is " + (repository.valid? ? "" : "in") + "valid"
end
}
}
Expand Down
4 changes: 2 additions & 2 deletions lib/rdf/vocabulary.rb
Expand Up @@ -117,7 +117,7 @@ def property(*args)
name, options = args
options = {label: name.to_s, vocab: self}.merge(options || {})
uri_str = [to_s, name.to_s].join('')
Term.cache.delete(uri_str) # Clear any previous entry
Term.cache.delete(uri_str.to_sym) # Clear any previous entry
prop = Term.intern(uri_str, attributes: options)
props[name.to_sym] = prop
# Define an accessor, except for problematic properties
Expand Down Expand Up @@ -295,7 +295,7 @@ def from_graph(graph, url: nil, class_name: nil, extra: nil)
when RDF::URI("http://schema.org/inverseOf") then :inverseOf
when RDF::URI("http://schema.org/domainIncludes") then :domainIncludes
when RDF::URI("http://schema.org/rangeIncludes") then :rangeIncludes
else statement.predicate.pname
else statement.predicate.pname.to_sym
end

value = if statement.object.uri?
Expand Down
2 changes: 1 addition & 1 deletion rdf.gemspec
Expand Up @@ -25,7 +25,7 @@ Gem::Specification.new do |gem|
gem.test_files = %w()
gem.has_rdoc = false

gem.required_ruby_version = '>= 2.0'
gem.required_ruby_version = '>= 2.2.2'
gem.requirements = []
gem.add_runtime_dependency 'link_header', '~> 0.0', '>= 0.0.8'
gem.add_runtime_dependency 'hamster', '~> 3.0'
Expand Down

0 comments on commit 1826f2c

Please sign in to comment.