bcrypt 3.1.9-x64-mingw32 → 3.1.10-x64-mingw32

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.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
- ---
2
- SHA1:
3
- data.tar.gz: b463c52b94462803846d3b84f146b16f4c8f433c
4
- metadata.gz: 43bff0354a7743597e2156be2e525c83fa6940be
5
- SHA512:
6
- data.tar.gz: 9acf422ddcdd8dad1e598a52d04f5979cd3c3e2887a5019b0ca893ff68ddfe8936cd021fc784b49ea3843b491d6ff94eb881a45362c906d19d61c240a6a48233
7
- metadata.gz: c67cdc456ea6df3fbaa6a66f7f4b7911ebab59bc6d30c51ef06a13ec8a129c673072198464eb7e77e210e0acd430118563cc90c889ff756b77740fbbc04f5519
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=
@@ -5,6 +5,7 @@ rvm:
5
5
  - 1.9.3
6
6
  - 2.0.0
7
7
  - 2.1.0
8
+ - 2.2.0
8
9
  - ruby-head
9
10
  - jruby-18mode
10
11
  - jruby-19mode
data/CHANGELOG CHANGED
@@ -76,3 +76,6 @@
76
76
 
77
77
  3.1.9 Oct 23 2014
78
78
  - Rebuild corrupt binaries
79
+
80
+ 3.1.10 Jan 28 2015
81
+ - Fix issue with dumping a BCrypt::Password instance to YAML in Ruby 2.2 [GH #107 by @mattwildig]
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bcrypt (3.1.9)
4
+ bcrypt (3.1.10)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
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.1 ruby on a BSD/OSX/Linux system with a compiler
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
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'bcrypt'
3
- s.version = '3.1.9'
3
+ s.version = '3.1.10'
4
4
 
5
5
  s.summary = "OpenBSD's bcrypt() password hashing algorithm."
6
6
  s.description = <<-EOF
@@ -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.9
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
- date: 2014-10-23 00:00:00 Z
13
- dependencies:
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
- prerelease: false
17
- requirement: &id001 !ruby/object:Gem::Requirement
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
- requirement: &id002 !ruby/object:Gem::Requirement
28
- requirements:
29
- - - ">="
30
- - !ruby/object:Gem::Version
31
- version: "3"
32
- version_requirements: *id002
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
- requirement: &id003 !ruby/object:Gem::Requirement
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: "3.12"
42
- version_requirements: *id003
46
+ - !ruby/object:Gem::Version
47
+ version: '3.12'
43
48
  type: :development
44
- description: " bcrypt() is a sophisticated and secure hash algorithm designed by The OpenBSD project\n for hashing passwords. The bcrypt Ruby gem provides a simple wrapper for safely handling\n passwords.\n"
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
- - &id004
107
- - ">="
108
- - !ruby/object:Gem::Version
109
- version: "0"
110
- required_rubygems_version: !ruby/object:Gem::Requirement
111
- requirements:
112
- - *id004
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.0.14
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
-