File tree Expand file tree Collapse file tree 3 files changed +19
-9
lines changed Expand file tree Collapse file tree 3 files changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,18 @@ language: ruby
2
2
bundler_args : --without debug
3
3
script : " bundle exec rspec spec"
4
4
env :
5
- - CI=true
5
+ - CI=true RACK_VERSION=1.6
6
+ - CI=true RACK_VERSION=2.0
6
7
rvm :
7
- - 2.2.6
8
- - 2.3.3
9
- - 2.4.0
10
- - jruby-9.1.6.0
11
- - rbx
8
+ - 2.2
9
+ - 2.3
10
+ - 2.4
11
+ - jruby-9
12
+ - rbx-3
12
13
cache : bundler
13
14
sudo : false
14
15
matrix :
15
16
allow_failures :
16
- - rvm : rbx
17
+ - rvm : jruby-9
18
+ - rvm : rbx-3
19
+ dist : trusty
Original file line number Diff line number Diff line change @@ -26,3 +26,10 @@ platforms :rbx do
26
26
gem 'rubinius' , '~> 2.0'
27
27
gem 'rubysl' , '~> 2.0'
28
28
end
29
+
30
+ case ENV [ 'RACK_VERSION' ]
31
+ when /^1.6/
32
+ gem 'rack' , '~> 1.6'
33
+ when /^2.0/
34
+ gem 'rack' , '~> 2.0'
35
+ end
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ Gem::Specification.new do |gem|
29
29
gem . required_ruby_version = '>= 2.2.2'
30
30
gem . requirements = [ ]
31
31
32
- gem . add_runtime_dependency 'rack' , '~> 1.6'
32
+ gem . add_runtime_dependency 'rack' , '>= 1.6' , '< 3.0 '
33
33
gem . add_runtime_dependency 'rdf' , '~> 2.0'
34
34
gem . add_runtime_dependency 'rdf-turtle' , '~> 2.0'
35
35
gem . add_runtime_dependency 'ld-patch' , '~> 0.3'
@@ -38,7 +38,7 @@ Gem::Specification.new do |gem|
38
38
39
39
gem . add_runtime_dependency 'json-ld' , '~> 2.0'
40
40
41
- gem . add_runtime_dependency 'sinatra' , '~> 1.4'
41
+ gem . add_runtime_dependency 'sinatra' , '>= 1.4' , '< 3.0 '
42
42
43
43
gem . add_runtime_dependency 'link_header' , '~> 0.0' , '>= 0.0.8'
44
44
You can’t perform that action at this time.
0 commit comments