Skip to content

Commit

Permalink
Version bump to 3.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
tjschuck committed Oct 23, 2014
1 parent 591b5cc commit b82c714
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Expand Up @@ -73,3 +73,6 @@

3.1.8 Oct 23 2014
- Add support for Ruby 2.1 in compiled Windows binaries [GH #102]

3.1.9 Oct 23 2014
- Rebuild corrupt binaries
2 changes: 1 addition & 1 deletion Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
bcrypt (3.1.8)
bcrypt (3.1.9)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion bcrypt.gemspec
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'bcrypt'
s.version = '3.1.8'
s.version = '3.1.9'

s.summary = "OpenBSD's bcrypt() password hashing algorithm."
s.description = <<-EOF
Expand Down
7 changes: 6 additions & 1 deletion lib/bcrypt.rb
Expand Up @@ -9,7 +9,12 @@ module BCrypt
require "openssl"
end

require 'bcrypt_ext'
begin
RUBY_VERSION =~ /(\d+.\d+)/
require "#{$1}/bcrypt_ext"
rescue LoadError
require "bcrypt_ext"
end

require 'bcrypt/error'
require 'bcrypt/engine'
Expand Down

0 comments on commit b82c714

Please sign in to comment.