File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
machine :
2
2
environment :
3
- RUBIES : " ruby-2.4.1;ruby-2.2.3;ruby-2.1.7;ruby-2.0.0;ruby-1.9.3;jruby-1.7.22"
3
+ RUBIES : " ruby-2.4.1;ruby-2.2.3;ruby-2.1.7;ruby-2.0.0;ruby-1.9.3;jruby-1.7.22"
4
4
services :
5
5
- redis
6
6
@@ -18,6 +18,7 @@ dependencies:
18
18
gem install jruby-openssl; # required by bundler, no effect on Ruby MRI
19
19
gem install bundler;
20
20
bundle install;
21
+ mv Gemfile.lock "Gemfile.lock.$i"
21
22
done
22
23
23
24
test :
27
28
for i in "${rubiesArray[@]}";
28
29
do
29
30
rvm use $i;
31
+ cp "Gemfile.lock.$i" Gemfile.lock;
30
32
bundle exec rspec spec;
31
33
done
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ Gem::Specification.new do |spec|
29
29
spec . add_development_dependency "connection_pool" , ">= 2.1.2"
30
30
spec . add_development_dependency "moneta" , "~> 1.0.0"
31
31
32
- spec . add_runtime_dependency "json" , "~> 1.8"
33
- spec . add_runtime_dependency "faraday" , "~> 0.9"
34
- spec . add_runtime_dependency "faraday-http-cache" , "~> 1.3.0"
32
+ spec . add_runtime_dependency "json" , [ ">= 1.8", "< 3" ]
33
+ spec . add_runtime_dependency "faraday" , [ ">= 0.9", "< 2" ]
34
+ spec . add_runtime_dependency "faraday-http-cache" , [ ">= 1.3.0", "< 3" ]
35
35
spec . add_runtime_dependency "thread_safe" , "~> 0.3"
36
36
spec . add_runtime_dependency "net-http-persistent" , "~> 2.9"
37
37
spec . add_runtime_dependency "concurrent-ruby" , "~> 1.0.4"
You can’t perform that action at this time.
0 commit comments