bcrypt-ruby 3.1.0 → 3.1.1.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +4 -1
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/Rakefile +0 -16
- data/bcrypt-ruby.gemspec +1 -1
- metadata +6 -9
data/CHANGELOG
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
1.0.0 Feb 27 2007
|
2
2
|
- Initial release.
|
3
|
-
|
3
|
+
|
4
4
|
2.0.0 Mar 07 2007
|
5
5
|
- Removed BCrypt::Password#exactly_equals -- use BCrypt::Password#eql? instead.
|
6
6
|
- Added BCrypt::Password#is_password?.
|
@@ -50,3 +50,6 @@
|
|
50
50
|
- Add BCrypt::Password.valid_hash?(str) to check if a string is a valid bcrypt password hash
|
51
51
|
- BCrypt::Password cost should be set to DEFAULT_COST if nil
|
52
52
|
- Add BCrypt::Engine.cost attribute for getting/setting a default cost externally
|
53
|
+
|
54
|
+
3.1.1 Jul 10 2013
|
55
|
+
- Remove support for Ruby 1.8 in compiled win32 binaries
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -31,7 +31,7 @@ re-hash those passwords. This vulernability only affected the JRuby gem.
|
|
31
31
|
The bcrypt-ruby gem is available on the following ruby platforms:
|
32
32
|
|
33
33
|
* JRuby
|
34
|
-
* RubyInstaller 1.
|
34
|
+
* RubyInstaller 1.9 builds on win32
|
35
35
|
* Any 1.8 or 1.9 ruby on a BSD/OSX/Linux system with a compiler
|
36
36
|
|
37
37
|
## How to use `bcrypt()` in your Rails application
|
data/Rakefile
CHANGED
@@ -58,23 +58,7 @@ else
|
|
58
58
|
ext.ext_dir = 'ext/mri'
|
59
59
|
ext.cross_compile = true
|
60
60
|
ext.cross_platform = ['x86-mingw32', 'x86-mswin32-60']
|
61
|
-
|
62
|
-
# inject 1.8/1.9 pure-ruby entry point
|
63
|
-
ext.cross_compiling do |spec|
|
64
|
-
spec.files += ["lib/#{ext.name}.rb"]
|
65
|
-
end
|
66
|
-
end
|
67
|
-
end
|
68
|
-
|
69
|
-
# Entry point for fat-binary gems on win32
|
70
|
-
file("lib/bcrypt_ext.rb") do |t|
|
71
|
-
File.open(t.name, 'wb') do |f|
|
72
|
-
f.write <<-eoruby
|
73
|
-
RUBY_VERSION =~ /(\\d+.\\d+)/
|
74
|
-
require "\#{$1}/#{File.basename(t.name, '.rb')}"
|
75
|
-
eoruby
|
76
61
|
end
|
77
|
-
at_exit{ FileUtils.rm t.name if File.exists?(t.name) }
|
78
62
|
end
|
79
63
|
|
80
64
|
desc "Run a set of benchmarks on the compiled extension."
|
data/bcrypt-ruby.gemspec
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bcrypt-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
5
|
-
prerelease:
|
4
|
+
version: 3.1.1.rc1
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Coda Hale
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake-compiler
|
@@ -124,16 +124,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
124
124
|
version: '0'
|
125
125
|
segments:
|
126
126
|
- 0
|
127
|
-
hash: -
|
127
|
+
hash: -217007
|
128
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
129
|
none: false
|
130
130
|
requirements:
|
131
|
-
- - ! '
|
131
|
+
- - ! '>'
|
132
132
|
- !ruby/object:Gem::Version
|
133
|
-
version:
|
134
|
-
segments:
|
135
|
-
- 0
|
136
|
-
hash: -315332781
|
133
|
+
version: 1.3.1
|
137
134
|
requirements: []
|
138
135
|
rubyforge_project: bcrypt-ruby
|
139
136
|
rubygems_version: 1.8.25
|