bcrypt 3.1.9-x86-mingw32 → 3.1.10-x86-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: 422fca19af3330496c74c67f33937e8fdc9388c1
4
- metadata.gz: 12924446ad852b36ddd81c0b659ec0e0c0637c75
5
- SHA512:
6
- data.tar.gz: 1085f9f2074756376e73495f31fed3ca35aca26c0c323c4c68fb6e722425a527d1094d1ac4abd5aff36fec0aa6a6c16099a0eb804340b3ffa29d857fd03e5c14
7
- metadata.gz: 3ed11b8051a3581e92ff278d25cbd197842eb264b4f06ba5840952a6a33638b0cc3cc790e21122863ea324597589b4558db8f96292bbecdee9252aca31feaf68
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ Y2U5YTk4NjhhNGQ0MWNmMDA4NDc4MzNhYzAxZTc5NWFkNmFjMzdmYQ==
5
+ data.tar.gz: !binary |-
6
+ M2EwNDRjMmM2Mzk5YWM0ZmIxMDJlMmRmNzAyYjA3MDQ3ZTU1NjM2YQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ZTUyYmMxMWEzYzI0OWNiYjFkYTAzYTMxZGJiOThmYWM0N2IyYWMyMzljYWI3
10
+ NWM5MWFkYzllZjcwM2ZlY2M4ZWJiM2FmOTY3OTE5YmVkNTVkZTA2MWZmY2Q2
11
+ ZTU5ZmU0YmVlNjgxNzlhOGM4NTE2M2RlMjRjY2U2ZDIwMTNiODM=
12
+ data.tar.gz: !binary |-
13
+ OGNhNjQ2ODQ5ZDUxOTQ3N2Y2OGUxYzE4YWM3Njg4N2JjZDYyNWQ5OTMxZTI0
14
+ NTllMWM3ZTFhODBkMjhiOTAzMDYyNDQwNzhmMzIxNWVkMzVkODRhNzg0MzI1
15
+ YzkxNzBjMWFjMWRkYWUxYzE0NWQ0ZWE2NzBkNjg2YzA4YTdmNWU=
@@ -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: x86-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,10 @@ files:
75
86
  - ext/mri/extconf.rb
76
87
  - ext/mri/ow-crypt.h
77
88
  - ext/mri/wrapper.c
89
+ - lib/1.8/bcrypt_ext.so
90
+ - lib/1.9/bcrypt_ext.so
91
+ - lib/2.0/bcrypt_ext.so
92
+ - lib/2.1/bcrypt_ext.so
78
93
  - lib/bcrypt.rb
79
94
  - lib/bcrypt/engine.rb
80
95
  - lib/bcrypt/error.rb
@@ -84,40 +99,34 @@ files:
84
99
  - spec/bcrypt/error_spec.rb
85
100
  - spec/bcrypt/password_spec.rb
86
101
  - spec/spec_helper.rb
87
- - lib/1.8/bcrypt_ext.so
88
- - lib/1.9/bcrypt_ext.so
89
- - lib/2.0/bcrypt_ext.so
90
- - lib/2.1/bcrypt_ext.so
91
102
  homepage: https://github.com/codahale/bcrypt-ruby
92
- licenses:
103
+ licenses:
93
104
  - MIT
94
105
  metadata: {}
95
-
96
106
  post_install_message:
97
- rdoc_options:
107
+ rdoc_options:
98
108
  - --title
99
109
  - bcrypt-ruby
100
110
  - --line-numbers
101
111
  - --inline-source
102
112
  - --main
103
113
  - README.md
104
- require_paths:
114
+ require_paths:
105
115
  - lib
106
- required_ruby_version: !ruby/object:Gem::Requirement
107
- requirements:
108
- - &id004
109
- - ">="
110
- - !ruby/object:Gem::Version
111
- version: "0"
112
- required_rubygems_version: !ruby/object:Gem::Requirement
113
- requirements:
114
- - *id004
116
+ required_ruby_version: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ required_rubygems_version: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
115
126
  requirements: []
116
-
117
127
  rubyforge_project:
118
- rubygems_version: 2.0.14
128
+ rubygems_version: 2.4.5
119
129
  signing_key:
120
130
  specification_version: 4
121
131
  summary: OpenBSD's bcrypt() password hashing algorithm.
122
132
  test_files: []
123
-