Commit b82c7140eb4ecedc20ab3a7c0d0801667d1907b3
Version bump to 3.1.9
T.J. Schuck committed on 10/23/2014, 9:49:13 PMParent: 591b5cca61c487f0cad891d0e2bd80144be99e72
Files changed
CHANGELOG | changed |
Gemfile.lock | changed |
bcrypt.gemspec | changed |
lib/bcrypt.rb | changed |
CHANGELOG | ||
---|---|---|
@@ -72,4 +72,7 @@ | ||
72 | 72 | - The 2.1 support for Windows binaries alleged in 3.1.3 was a lie -- documentation removed |
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 |
Gemfile.lock | ||
---|---|---|
@@ -1,8 +1,8 @@ | ||
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/ |
8 | 8 | specs: |
bcrypt.gemspec | ||
---|---|---|
@@ -1,7 +1,7 @@ | ||
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 |
7 | 7 | bcrypt() is a sophisticated and secure hash algorithm designed by The OpenBSD project |
lib/bcrypt.rb | ||
---|---|---|
@@ -8,9 +8,14 @@ | ||
8 | 8 | 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' |
16 | 21 | require 'bcrypt/password' |
Built with git-ssb-web