This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree 1 file changed +15
-2
lines changed
1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -32,16 +32,29 @@ if RUBY_VERSION < '2.0.0' || RUBY_ENGINE == 'java'
32
32
gem 'json' , '< 2.0.0'
33
33
end
34
34
35
- if RUBY_VERSION < '2.0.0' && !!( RbConfig ::CONFIG [ 'host_os' ] =~ /cygwin|mswin|mingw|bccwin|wince|emx/ )
35
+ if RUBY_VERSION < '2.2.0' && !!( RbConfig ::CONFIG [ 'host_os' ] =~ /cygwin|mswin|mingw|bccwin|wince|emx/ )
36
+ gem 'ffi' , '< 1.10'
37
+ elsif RUBY_VERSION < '2.0.0' && !!( RbConfig ::CONFIG [ 'host_os' ] =~ /cygwin|mswin|mingw|bccwin|wince|emx/ )
36
38
gem 'ffi' , '< 1.9.15' # allow ffi to be installed on older rubies on windows
37
39
elsif RUBY_VERSION < '1.9'
38
40
gem 'ffi' , '< 1.9.19' # ffi dropped Ruby 1.8 support in 1.9.19
39
41
else
40
42
gem 'ffi' , '~> 1.9.25'
41
43
end
42
44
45
+ if RUBY_VERSION < '2.2.0' && !!( RbConfig ::CONFIG [ 'host_os' ] =~ /cygwin|mswin|mingw|bccwin|wince|emx/ )
46
+ gem "childprocess" , "< 1.0.0"
47
+ end
48
+
43
49
platforms :jruby do
44
- gem "jruby-openssl"
50
+ if RUBY_VERSION < '1.9.0'
51
+ # Pin jruby-openssl on older J Ruby
52
+ gem "jruby-openssl" , "< 0.10.0"
53
+ # Pin child-process on older J Ruby
54
+ gem "childprocess" , "< 1.0.0"
55
+ else
56
+ gem "jruby-openssl"
57
+ end
45
58
end
46
59
47
60
gem 'simplecov' , '~> 0.8'
You can’t perform that action at this time.
0 commit comments