bcrypt 3.1.8-java → 3.1.9-java

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -73,3 +73,6 @@
73
73
 
74
74
  3.1.8 Oct 23 2014
75
75
  - Add support for Ruby 2.1 in compiled Windows binaries [GH #102]
76
+
77
+ 3.1.9 Oct 23 2014
78
+ - Rebuild corrupt binaries
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bcrypt (3.1.8)
4
+ bcrypt (3.1.9)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/Rakefile CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'bcrypt'
3
- s.version = '3.1.8'
3
+ s.version = '3.1.9'
4
4
 
5
5
  s.summary = "OpenBSD's bcrypt() password hashing algorithm."
6
6
  s.description = <<-EOF
@@ -9,7 +9,12 @@ else
9
9
  require "openssl"
10
10
  end
11
11
 
12
- require 'bcrypt_ext'
12
+ begin
13
+ RUBY_VERSION =~ /(\d+.\d+)/
14
+ require "#{$1}/bcrypt_ext"
15
+ rescue LoadError
16
+ require "bcrypt_ext"
17
+ end
13
18
 
14
19
  require 'bcrypt/error'
15
20
  require 'bcrypt/engine'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: bcrypt
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 3.1.8
5
+ version: 3.1.9
6
6
  platform: java
7
7
  authors:
8
8
  - Coda Hale