File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11machine :
22 environment :
3- RUBIES : " ruby-2.4.1;ruby-2.2.2;jruby-9 .0.0.0 "
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 "
44
55dependencies :
66 cache_directories :
Original file line number Diff line number Diff line change @@ -33,7 +33,12 @@ Gem::Specification.new do |spec|
3333 spec . add_runtime_dependency "hashdiff" , "~> 0.2"
3434 spec . add_runtime_dependency "ld-celluloid-eventsource" , "~> 0.9.0"
3535 spec . add_runtime_dependency "celluloid" , "~> 0.18.0.pre" # transitive dep; specified here for more control
36- spec . add_runtime_dependency "nio4r" , "~> 2.0" # for maximum ruby version compatibility.
36+
37+ if RUBY_VERSION >= '2.2.2'
38+ spec . add_runtime_dependency "nio4r" , "< 3" # for maximum ruby version compatibility.
39+ else
40+ spec . add_runtime_dependency "nio4r" , "~> 1.1" # for maximum ruby version compatibility.
41+ end
3742
3843 spec . add_runtime_dependency "waitutil" , "0.2"
3944end
You can’t perform that action at this time.
0 commit comments