bcrypt 3.1.9-x64-mingw32 → 3.1.10-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -7
- data/.travis.yml +1 -0
- data/CHANGELOG +3 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/bcrypt.gemspec +1 -1
- data/lib/bcrypt/password.rb +1 -1
- data/spec/bcrypt/password_spec.rb +1 -0
- metadata +60 -51
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NTdhZDA4M2Q1N2Y1Y2EzMGNmMzcxYmI3YTc4OGFiYzAyNDU3YTc4YQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
OGQ4OGZlOWU5ZmUyNTc4ZDQ3Mjc4NzBkNDdlNjFjMzIyMDFhZGFhYQ==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
YTM1OTlhNjE0ZDUwMDNjN2M4MWQ4ZGI0ZjkzNDU4Yzg4M2YzZTZiMzY2OGZk
|
10
|
+
MTBjNjYyNjZmYzc2YjBlZTI3YjEzNzEzNmI2OGU3ZWJmOTNkNzAxMDUwZmFh
|
11
|
+
NTRhMjZmYWYzYzVlOTBlYzdmNGI3OTViMWVmZmY2YTBjZDA1OTg=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MWM3YzQ0ODI4NTA1NmNlODg2MTRmNTNiNzBmY2VmYTA1NWM4YmUzMzI5ZDJi
|
14
|
+
YTYzYzdhZjIzNDMwMDg0MzQzMDk4OTk5ZGJmMDdhMDNiNGU3ZGU3YTgwMTUx
|
15
|
+
NTg2ZTU3NDAyNWQ4NjllYWNiZWNiNGU4YzRmMWM3MTI2NWU1Yjc=
|
data/.travis.yml
CHANGED
data/CHANGELOG
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -31,7 +31,7 @@ The bcrypt gem is available on the following ruby platforms:
|
|
31
31
|
|
32
32
|
* JRuby
|
33
33
|
* RubyInstaller 1.8, 1.9, 2.0, and 2.1 builds on win32
|
34
|
-
* Any 1.8, 1.9, 2.0, or 2.
|
34
|
+
* Any 1.8, 1.9, 2.0, 2.1, or 2.2 Ruby on a BSD/OS X/Linux system with a compiler
|
35
35
|
|
36
36
|
## How to use `bcrypt()` in your Rails application
|
37
37
|
|
data/bcrypt.gemspec
CHANGED
data/lib/bcrypt/password.rb
CHANGED
@@ -80,7 +80,7 @@ module BCrypt
|
|
80
80
|
# Splits +h+ into version, cost, salt, and hash and returns them in that order.
|
81
81
|
def split_hash(h)
|
82
82
|
_, v, c, mash = h.split('$')
|
83
|
-
return v, c.to_i, h[0, 29].to_str, mash[-31, 31].to_str
|
83
|
+
return v.to_str, c.to_i, h[0, 29].to_str, mash[-31, 31].to_str
|
84
84
|
end
|
85
85
|
end
|
86
86
|
|
@@ -75,6 +75,7 @@ describe "Reading a hashed password" do
|
|
75
75
|
specify "should read the version, cost, salt, and hash" do
|
76
76
|
password = BCrypt::Password.new(@hash)
|
77
77
|
expect(password.version).to eql("2a")
|
78
|
+
expect(password.version.class).to eq String
|
78
79
|
expect(password.cost).to equal(5)
|
79
80
|
expect(password.salt).to eql("$2a$05$CCCCCCCCCCCCCCCCCCCCC.")
|
80
81
|
expect(password.salt.class).to eq String
|
metadata
CHANGED
@@ -1,53 +1,64 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: bcrypt
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.1.10
|
5
5
|
platform: x64-mingw32
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Coda Hale
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2015-01-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
15
14
|
name: rake-compiler
|
16
|
-
|
17
|
-
|
18
|
-
requirements:
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
19
17
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
18
|
+
- !ruby/object:Gem::Version
|
21
19
|
version: 0.9.2
|
22
|
-
version_requirements: *id001
|
23
20
|
type: :development
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
name: rspec
|
26
21
|
prerelease: false
|
27
|
-
|
28
|
-
requirements:
|
29
|
-
- -
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
version:
|
32
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.9.2
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3'
|
33
34
|
type: :development
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: rdoc
|
36
35
|
prerelease: false
|
37
|
-
|
38
|
-
requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rdoc
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
39
45
|
- - ~>
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version:
|
42
|
-
version_requirements: *id003
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.12'
|
43
48
|
type: :development
|
44
|
-
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.12'
|
55
|
+
description: ! " bcrypt() is a sophisticated and secure hash algorithm designed
|
56
|
+
by The OpenBSD project\n for hashing passwords. The bcrypt Ruby gem provides
|
57
|
+
a simple wrapper for safely handling\n passwords.\n"
|
45
58
|
email: coda.hale@gmail.com
|
46
59
|
executables: []
|
47
|
-
|
48
60
|
extensions: []
|
49
|
-
|
50
|
-
extra_rdoc_files:
|
61
|
+
extra_rdoc_files:
|
51
62
|
- README.md
|
52
63
|
- COPYING
|
53
64
|
- CHANGELOG
|
@@ -55,7 +66,7 @@ extra_rdoc_files:
|
|
55
66
|
- lib/bcrypt/error.rb
|
56
67
|
- lib/bcrypt/password.rb
|
57
68
|
- lib/bcrypt.rb
|
58
|
-
files:
|
69
|
+
files:
|
59
70
|
- .gitignore
|
60
71
|
- .rspec
|
61
72
|
- .travis.yml
|
@@ -75,6 +86,8 @@ files:
|
|
75
86
|
- ext/mri/extconf.rb
|
76
87
|
- ext/mri/ow-crypt.h
|
77
88
|
- ext/mri/wrapper.c
|
89
|
+
- lib/2.0/bcrypt_ext.so
|
90
|
+
- lib/2.1/bcrypt_ext.so
|
78
91
|
- lib/bcrypt.rb
|
79
92
|
- lib/bcrypt/engine.rb
|
80
93
|
- lib/bcrypt/error.rb
|
@@ -84,38 +97,34 @@ files:
|
|
84
97
|
- spec/bcrypt/error_spec.rb
|
85
98
|
- spec/bcrypt/password_spec.rb
|
86
99
|
- spec/spec_helper.rb
|
87
|
-
- lib/2.0/bcrypt_ext.so
|
88
|
-
- lib/2.1/bcrypt_ext.so
|
89
100
|
homepage: https://github.com/codahale/bcrypt-ruby
|
90
|
-
licenses:
|
101
|
+
licenses:
|
91
102
|
- MIT
|
92
103
|
metadata: {}
|
93
|
-
|
94
104
|
post_install_message:
|
95
|
-
rdoc_options:
|
105
|
+
rdoc_options:
|
96
106
|
- --title
|
97
107
|
- bcrypt-ruby
|
98
108
|
- --line-numbers
|
99
109
|
- --inline-source
|
100
110
|
- --main
|
101
111
|
- README.md
|
102
|
-
require_paths:
|
112
|
+
require_paths:
|
103
113
|
- lib
|
104
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
105
|
-
requirements:
|
106
|
-
-
|
107
|
-
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
114
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ! '>='
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ! '>='
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
113
124
|
requirements: []
|
114
|
-
|
115
125
|
rubyforge_project:
|
116
|
-
rubygems_version: 2.
|
126
|
+
rubygems_version: 2.4.5
|
117
127
|
signing_key:
|
118
128
|
specification_version: 4
|
119
129
|
summary: OpenBSD's bcrypt() password hashing algorithm.
|
120
130
|
test_files: []
|
121
|
-
|