Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 23e4efb

Browse files
committed
Try ffi more inline with other repos
1 parent 5394454 commit 23e4efb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Gemfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,14 @@ end
4242

4343
if RUBY_VERSION < '2.2.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/)
4444
gem 'ffi', '< 1.10'
45-
elsif RUBY_VERSION < '2.0'
45+
elsif RUBY_VERSION < '1.9'
4646
gem 'ffi', '< 1.9.19' # ffi dropped Ruby 1.8 support in 1.9.19
47+
elsif RUBY_VERSION < '2.0'
48+
gem 'ffi', '< 1.11.0' # ffi dropped Ruby 1.9 support in 1.11.0
4749
elsif RUBY_VERSION < '2.3.0'
4850
gem 'ffi', '~> 1.12.0'
4951
else
50-
gem 'ffi', '~> 1.13.0'
52+
gem 'ffi', '> 1.12' # prevent Github security vulnerability warning
5153
end
5254

5355
if RUBY_VERSION < '2.3.0' && !!(RbConfig::CONFIG['host_os'] =~ /cygwin|mswin|mingw|bccwin|wince|emx/)

0 commit comments

Comments
 (0)