bcrypt-ruby 3.1.1-x86-mingw32 → 3.1.2.rc1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,6 +1,7 @@
1
1
  *.o
2
2
  *.bundle
3
3
  *.so
4
+ *.jar
4
5
  ext/mri/Makefile
5
6
  doc
6
7
  pkg
data/CHANGELOG CHANGED
@@ -53,3 +53,7 @@
53
53
 
54
54
  3.1.1 Jul 10 2013
55
55
  - Remove support for Ruby 1.8 in compiled win32 binaries
56
+
57
+ 3.1.2 Aug 23 2013
58
+ - Add support for Ruby 1.8 and 2.0 (in addition to 1.9) in compiled Windows binaries
59
+ - Add support for 64-bit Windows
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bcrypt-ruby (3.1.1)
4
+ bcrypt-ruby (3.1.2.rc1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -9,8 +9,8 @@ GEM
9
9
  diff-lcs (1.2.4)
10
10
  json (1.7.3)
11
11
  json (1.7.3-java)
12
- rake (10.0.4)
13
- rake-compiler (0.8.3)
12
+ rake (10.1.0)
13
+ rake-compiler (0.9.1)
14
14
  rake
15
15
  rdoc (3.12)
16
16
  json (~> 1.4)
@@ -30,6 +30,6 @@ PLATFORMS
30
30
 
31
31
  DEPENDENCIES
32
32
  bcrypt-ruby!
33
- rake-compiler
33
+ rake-compiler (~> 0.9.0)
34
34
  rdoc
35
35
  rspec
data/README.md CHANGED
@@ -31,13 +31,13 @@ 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.9 builds on win32
35
- * Any 1.8 or 1.9 ruby on a BSD/OSX/Linux system with a compiler
34
+ * RubyInstaller 1.8, 1.9, and 2.0 builds on win32
35
+ * Any 1.8, 1.9, or 2.0 ruby on a BSD/OSX/Linux system with a compiler
36
36
 
37
37
  ## How to use `bcrypt()` in your Rails application
38
38
 
39
39
  *Note*: Rails versions >= 3 ship with `ActiveModel::SecurePassword` which uses bcrypt-ruby.
40
- `has_secure_password` [docs](http://api.rubyonrails.org/classes/ActiveModel/SecurePassword/ClassMethods.html#method-i-has_secure_password)
40
+ `has_secure_password` [docs](http://api.rubyonrails.org/classes/ActiveModel/SecurePassword/ClassMethods.html#method-i-has_secure_password)
41
41
  implements a similar authentication strategy to the code below.
42
42
 
43
43
  ### The _User_ model
data/Rakefile CHANGED
@@ -57,7 +57,7 @@ else
57
57
  Rake::ExtensionTask.new("bcrypt_ext", GEMSPEC) do |ext|
58
58
  ext.ext_dir = 'ext/mri'
59
59
  ext.cross_compile = true
60
- ext.cross_platform = ['x86-mingw32', 'x86-mswin32-60']
60
+ ext.cross_platform = ['x86-mingw32', 'x86-mswin32-60', 'x64-mingw32']
61
61
  end
62
62
  end
63
63
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'bcrypt-ruby'
3
- s.version = '3.1.1'
3
+ s.version = '3.1.2.rc1'
4
4
 
5
5
  s.summary = "OpenBSD's bcrypt() password hashing algorithm."
6
6
  s.description = <<-EOF
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.files = `git ls-files`.split("\n")
13
13
  s.require_path = 'lib'
14
14
 
15
- s.add_development_dependency 'rake-compiler'
15
+ s.add_development_dependency 'rake-compiler', '~> 0.9.0'
16
16
  s.add_development_dependency 'rspec'
17
17
  s.add_development_dependency 'rdoc'
18
18
 
@@ -9,7 +9,13 @@ 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
18
+
13
19
  require 'bcrypt/error'
14
20
  require 'bcrypt/engine'
15
21
  require 'bcrypt/password'
metadata CHANGED
@@ -1,71 +1,75 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: bcrypt-ruby
3
- version: !ruby/object:Gem::Version
4
- version: 3.1.1
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ hash: 2560206937
5
+ prerelease: 6
6
+ segments:
7
+ - 3
8
+ - 1
9
+ - 2
10
+ - rc
11
+ - 1
12
+ version: 3.1.2.rc1
6
13
  platform: x86-mingw32
7
- authors:
14
+ authors:
8
15
  - Coda Hale
9
16
  autorequire:
10
17
  bindir: bin
11
18
  cert_chain: []
12
- date: 2013-07-10 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: rake-compiler
16
- requirement: !ruby/object:Gem::Requirement
19
+
20
+ date: 2013-08-23 00:00:00 Z
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
23
+ version_requirements: &id001 !ruby/object:Gem::Requirement
17
24
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :development
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ hash: 59
29
+ segments:
30
+ - 0
31
+ - 9
32
+ - 0
33
+ version: 0.9.0
34
+ name: rake-compiler
23
35
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
36
+ type: :development
37
+ requirement: *id001
38
+ - !ruby/object:Gem::Dependency
39
+ version_requirements: &id002 !ruby/object:Gem::Requirement
25
40
  none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
30
- - !ruby/object:Gem::Dependency
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ hash: 3
45
+ segments:
46
+ - 0
47
+ version: "0"
31
48
  name: rspec
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
38
- type: :development
39
49
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
50
+ type: :development
51
+ requirement: *id002
52
+ - !ruby/object:Gem::Dependency
53
+ version_requirements: &id003 !ruby/object:Gem::Requirement
41
54
  none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- - !ruby/object:Gem::Dependency
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 0
61
+ version: "0"
47
62
  name: rdoc
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
54
- type: :development
55
63
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- description: ! " bcrypt() is a sophisticated and secure hash algorithm designed
63
- by The OpenBSD project\n for hashing passwords. bcrypt-ruby provides a simple,
64
- humane wrapper for safely handling\n passwords.\n"
64
+ type: :development
65
+ requirement: *id003
66
+ description: " bcrypt() is a sophisticated and secure hash algorithm designed by The OpenBSD project\n for hashing passwords. bcrypt-ruby provides a simple, humane wrapper for safely handling\n passwords.\n"
65
67
  email: coda.hale@gmail.com
66
68
  executables: []
69
+
67
70
  extensions: []
68
- extra_rdoc_files:
71
+
72
+ extra_rdoc_files:
69
73
  - README.md
70
74
  - COPYING
71
75
  - CHANGELOG
@@ -73,7 +77,7 @@ extra_rdoc_files:
73
77
  - lib/bcrypt/error.rb
74
78
  - lib/bcrypt/password.rb
75
79
  - lib/bcrypt.rb
76
- files:
80
+ files:
77
81
  - .gitignore
78
82
  - .rspec
79
83
  - .travis.yml
@@ -102,42 +106,48 @@ files:
102
106
  - spec/bcrypt/error_spec.rb
103
107
  - spec/bcrypt/password_spec.rb
104
108
  - spec/spec_helper.rb
105
- - lib/bcrypt_ext.so
109
+ - lib/1.8/bcrypt_ext.so
110
+ - lib/1.9/bcrypt_ext.so
111
+ - lib/2.0/bcrypt_ext.so
106
112
  homepage: http://bcrypt-ruby.rubyforge.org
107
- licenses:
113
+ licenses:
108
114
  - MIT
109
115
  post_install_message:
110
- rdoc_options:
116
+ rdoc_options:
111
117
  - --title
112
118
  - bcrypt-ruby
113
119
  - --line-numbers
114
120
  - --inline-source
115
121
  - --main
116
122
  - README.md
117
- require_paths:
123
+ require_paths:
118
124
  - lib
119
- required_ruby_version: !ruby/object:Gem::Requirement
125
+ required_ruby_version: !ruby/object:Gem::Requirement
120
126
  none: false
121
- requirements:
122
- - - ! '>='
123
- - !ruby/object:Gem::Version
124
- version: '0'
125
- segments:
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ hash: 3
131
+ segments:
126
132
  - 0
127
- hash: 295284865
128
- required_rubygems_version: !ruby/object:Gem::Requirement
133
+ version: "0"
134
+ required_rubygems_version: !ruby/object:Gem::Requirement
129
135
  none: false
130
- requirements:
131
- - - ! '>='
132
- - !ruby/object:Gem::Version
133
- version: '0'
134
- segments:
135
- - 0
136
- hash: 295284865
136
+ requirements:
137
+ - - ">"
138
+ - !ruby/object:Gem::Version
139
+ hash: 25
140
+ segments:
141
+ - 1
142
+ - 3
143
+ - 1
144
+ version: 1.3.1
137
145
  requirements: []
146
+
138
147
  rubyforge_project: bcrypt-ruby
139
148
  rubygems_version: 1.8.25
140
149
  signing_key:
141
150
  specification_version: 3
142
151
  summary: OpenBSD's bcrypt() password hashing algorithm.
143
152
  test_files: []
153
+