diff options
-rw-r--r-- | Gemfile | 2 | ||||
-rw-r--r-- | Rakefile | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -2,7 +2,7 @@ source 'https://rubygems.org' group :development do gem 'rake', '~> 10.1' - gem 'rake-compiler', '~> 0.9.2' + gem 'rake-compiler', '~> 0.9.5' gem 'rspec', '~> 2.14.1' gem 'rubygems-tasks', '~> 0.2.4', :require => 'rubygems/tasks' gem "rubysl", "~> 2.0", :platforms => 'rbx' @@ -188,20 +188,20 @@ if USE_RAKE_COMPILER task 'gem:win32' => ['gem:win32-x64', 'gem:win32-i386'] task 'gem:win32-i386' do - sh("rake cross native:i386-mingw32 gem RUBY_CC_VERSION='1.8.7:1.9.3:2.0.0:2.1.3'") || raise("win32-i386 build failed!") + sh("rake cross native:i386-mingw32 gem RUBY_CC_VERSION='1.8.7:1.9.3:2.0.0:2.1.5,2.2.1'") || raise("win32-i386 build failed!") end task 'gem:win32-x64' do - sh("rake cross native:x64-mingw32 gem RUBY_CC_VERSION='2.0.0:2.1.3'") || raise("win32-x64 build failed!") + sh("rake cross native:x64-mingw32 gem RUBY_CC_VERSION='2.0.0:2.1.5,2.2.1'") || raise("win32-x64 build failed!") end - (ENV['RUBY_CC_VERSION'] || '1.8.7:1.9.3:2.0.0:2.1.3' ).to_s.split(':').each do |ruby_version| + (ENV['RUBY_CC_VERSION'] || '1.8.7:1.9.3:2.0.0:2.1.5:2.2.1' ).to_s.split(':').each do |ruby_version| task "copy:ffi_c:i386-mingw32:#{ruby_version}" do |t| sh "i686-w64-mingw32-strip -S #{BUILD_DIR}/i386-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so" end end - (ENV['RUBY_CC_VERSION'] || '2.0.0:2.1.3' ).to_s.split(':').each do |ruby_version| + (ENV['RUBY_CC_VERSION'] || '2.0.0:2.1.5:2.2.1' ).to_s.split(':').each do |ruby_version| task "copy:ffi_c:x64-mingw32:#{ruby_version}" do |t| sh "x86_64-w64-mingw32-strip -S #{BUILD_DIR}/x64-mingw32/stage/lib/#{ruby_version[/^\d+\.\d+/]}/ffi_c.so" end |