bcrypt-ruby 3.1.0-x86-mingw32 → 3.1.1.rc1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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 -10
- data/lib/bcrypt_ext.rb +0 -2
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: x86-mingw32
|
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
|
@@ -103,7 +103,6 @@ files:
|
|
103
103
|
- spec/bcrypt/password_spec.rb
|
104
104
|
- spec/spec_helper.rb
|
105
105
|
- lib/bcrypt_ext.so
|
106
|
-
- lib/bcrypt_ext.rb
|
107
106
|
homepage: http://bcrypt-ruby.rubyforge.org
|
108
107
|
licenses:
|
109
108
|
- MIT
|
@@ -125,16 +124,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
125
124
|
version: '0'
|
126
125
|
segments:
|
127
126
|
- 0
|
128
|
-
hash: -
|
127
|
+
hash: -217007
|
129
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
129
|
none: false
|
131
130
|
requirements:
|
132
|
-
- - ! '
|
131
|
+
- - ! '>'
|
133
132
|
- !ruby/object:Gem::Version
|
134
|
-
version:
|
135
|
-
segments:
|
136
|
-
- 0
|
137
|
-
hash: -315332781
|
133
|
+
version: 1.3.1
|
138
134
|
requirements: []
|
139
135
|
rubyforge_project: bcrypt-ruby
|
140
136
|
rubygems_version: 1.8.25
|
data/lib/bcrypt_ext.rb
DELETED