Rakefile in bcrypt-ruby-2.1.0 vs Rakefile in bcrypt-ruby-2.1.1
- old
+ new
@@ -5,11 +5,11 @@
require 'rake/clean'
require 'rake/rdoctask'
require "benchmark"
PKG_NAME = "bcrypt-ruby"
-PKG_VERSION = "2.1.0"
+PKG_VERSION = "2.1.1"
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
PKG_FILES = FileList[
'[A-Z]*',
'lib/**/*.rb',
'spec/**/*.rb',
@@ -110,10 +110,10 @@
end
desc "Clean, then compile the JRuby extension"
task :jruby => :clean do
Dir.chdir('ext/jruby/bcrypt_jruby') do
- sh "javac BCrypt.java"
+ sh "javac -source 1.4 -target 1.4 BCrypt.java"
end
end
end
desc "Run a set of benchmarks on the compiled extension."