Skip to content

Commit 7268b4a

Browse files
committed
Update minumum ruby version to 2.2.2. See ruby-rdf/rdf#307.
1 parent 8a4eee0 commit 7268b4a

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

.travis.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,15 @@ script: "bundle exec rspec spec"
44
env:
55
- CI=true
66
rvm:
7-
- 2.0
8-
- 2.1
9-
- 2.2.4
10-
- 2.3.0
11-
- jruby-9.0.4.0
12-
- rbx-2
7+
- 2.2.5
8+
- 2.3.1
9+
- jruby-9.0.5.0
10+
- rbx
1311
cache: bundler
1412
sudo: false
1513
matrix:
1614
allow_failures:
17-
- rvm: rbx-2
18-
- rvm: jruby-9.0.4.0
15+
- rvm: rbx
16+
- rvm: jruby-9.0.5.0
1917

2018

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ Note, the API method signatures differed in versions before 1.0, in that they al
274274
* {JSON::LD::Writer}
275275

276276
## Dependencies
277-
* [Ruby](http://ruby-lang.org/) (>= 2.0)
277+
* [Ruby](http://ruby-lang.org/) (>= 2.2.2)
278278
* [RDF.rb](http://rubygems.org/gems/rdf) (>= 2.0)
279279
* [JSON](https://rubygems.org/gems/json) (>= 1.5)
280280

json-ld.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 = Dir.glob('spec/**/*.rb') + Dir.glob('spec/test-files/*')
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 'rdf', '~> 2.0'
3131
gem.add_runtime_dependency 'multi_json', '~> 1.11'

lib/json/ld/format.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def self.detect(sample)
4444

4545
##
4646
# Hash of CLI commands appropriate for this format
47-
# @return [Hash{Symbol => Lambda(Array, Hash)}]
47+
# @return [Hash{Symbol => Hash}]
4848
def self.cli_commands
4949
{
5050
expand: {

0 commit comments

Comments
 (0)