lookout-bcrypt 3.2.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e3b25462b9ef97c8535d6762337ebb8d56899b47
4
- data.tar.gz: e11dc66e0d18924890f1ca97c1daaf3e78f95a99
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MjQ3MjQwOWI4YWEwNWRkZjc3MzM2ZWIxZWMxZjE2MDNmNmJhZTQ3OA==
5
+ data.tar.gz: !binary |-
6
+ YTJlNDFlMzY3NGI3OTk4OGI4OWJmZDliNGJlMmNlY2JhNDAyYmJkNg==
5
7
  SHA512:
6
- metadata.gz: d1a1c044564b525f21ac6addedfc0b8ed733dd4b551c95bb157465a8307a9de676844f703a1325f8466601b1a5bb2191610d7a33db49b13585bc30d4d9353cf8
7
- data.tar.gz: 076010b3ef39b9a8ebf063833d8f0bb355a575713f19e5688e4d333e6368f9b39bbb21cb6da49ab16777275b8e1d13b32cac7ddfc3ff80f0eaae443584de5c1d
8
+ metadata.gz: !binary |-
9
+ ZmY3ZGZlNGU1YTc0OGU4NjE4ZjY4Y2I0MTE2NGIyMWFlMGI3NmYzNzBjZjg1
10
+ MmQ1NTJhZTk4MTdlMDk1NzY4MTYyYTM0OGU5MDZiMDBmNDJmOWFmYjU3OGNk
11
+ MWI1YjBmYzM5ZmZjNmFkMWJmYWQ3MTVhYjIxNmZiY2E2MzIyNTA=
12
+ data.tar.gz: !binary |-
13
+ ZjZkMmZjNTM4YTRhMmM4YTUyMmY3YWEyOGFkMjJkOWQ5YzQ1ZTVlNjM3MGUy
14
+ MzI2MTdjMmE4NDYxZjgxZTAzNTFjNDAzMjdlZTNhOTFlZGNlMTkxMGFjZGM4
15
+ MjFlMjkwZjAyMDAyNGM4MDZmOGYyZjA4NmEwMWFkMzBlYmI2NTE=
@@ -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
@@ -77,5 +77,14 @@
77
77
  3.1.9 Oct 23 2014
78
78
  - Rebuild corrupt binaries
79
79
 
80
- 3.2.0 Jan 23, 2014
81
- - Lookout fork: fix jBCrypt handling of binary strings
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]
82
+
83
+
84
+ Lookout fork:
85
+
86
+ 3.2.0 Jan 23 2014
87
+ - fix jBCrypt handling of binary strings
88
+
89
+ 3.2.1 Feb 10 2015
90
+ - merge fixes from 3.1.10
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lookout-bcrypt (3.2.0)
4
+ lookout-bcrypt (3.2.1)
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 = 'lookout-bcrypt'
3
- s.version = '3.2.0'
3
+ s.version = '3.2.1'
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,62 +1,61 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lookout-bcrypt
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Coda Hale
8
8
  - Ariel Salomon
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-26 00:00:00.000000000 Z
12
+ date: 2015-02-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake-compiler
16
- version_requirements: !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - ~>
19
19
  - !ruby/object:Gem::Version
20
20
  version: 0.9.2
21
- requirement: !ruby/object:Gem::Requirement
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
22
24
  requirements:
23
25
  - - ~>
24
26
  - !ruby/object:Gem::Version
25
27
  version: 0.9.2
26
- prerelease: false
27
- type: :development
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rspec
30
- version_requirements: !ruby/object:Gem::Requirement
30
+ requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ! '>='
33
33
  - !ruby/object:Gem::Version
34
34
  version: '3'
35
- requirement: !ruby/object:Gem::Requirement
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
36
38
  requirements:
37
- - - '>='
39
+ - - ! '>='
38
40
  - !ruby/object:Gem::Version
39
41
  version: '3'
40
- prerelease: false
41
- type: :development
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rdoc
44
- version_requirements: !ruby/object:Gem::Requirement
44
+ requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - ~>
47
47
  - !ruby/object:Gem::Version
48
48
  version: '3.12'
49
- requirement: !ruby/object:Gem::Requirement
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
50
52
  requirements:
51
53
  - - ~>
52
54
  - !ruby/object:Gem::Version
53
55
  version: '3.12'
54
- prerelease: false
55
- type: :development
56
- description: |2
57
- bcrypt() is a sophisticated and secure hash algorithm designed by The OpenBSD project
58
- for hashing passwords. The bcrypt Ruby gem provides a simple wrapper for safely handling
59
- passwords.
56
+ description: ! " bcrypt() is a sophisticated and secure hash algorithm designed
57
+ by The OpenBSD project\n for hashing passwords. The bcrypt Ruby gem provides
58
+ a simple wrapper for safely handling\n passwords.\n"
60
59
  email: ariel.salomon@gmail.com
61
60
  executables: []
62
61
  extensions:
@@ -65,10 +64,10 @@ extra_rdoc_files:
65
64
  - README.md
66
65
  - COPYING
67
66
  - CHANGELOG
68
- - lib/bcrypt.rb
69
67
  - lib/bcrypt/engine.rb
70
68
  - lib/bcrypt/error.rb
71
69
  - lib/bcrypt/password.rb
70
+ - lib/bcrypt.rb
72
71
  files:
73
72
  - .gitignore
74
73
  - .rspec
@@ -102,7 +101,7 @@ homepage: https://github.com/Oscil8/bcrypt-ruby
102
101
  licenses:
103
102
  - MIT
104
103
  metadata: {}
105
- post_install_message:
104
+ post_install_message:
106
105
  rdoc_options:
107
106
  - --title
108
107
  - bcrypt-ruby
@@ -114,18 +113,18 @@ require_paths:
114
113
  - lib
115
114
  required_ruby_version: !ruby/object:Gem::Requirement
116
115
  requirements:
117
- - - '>='
116
+ - - ! '>='
118
117
  - !ruby/object:Gem::Version
119
118
  version: '0'
120
119
  required_rubygems_version: !ruby/object:Gem::Requirement
121
120
  requirements:
122
- - - '>='
121
+ - - ! '>='
123
122
  - !ruby/object:Gem::Version
124
123
  version: '0'
125
124
  requirements: []
126
- rubyforge_project:
127
- rubygems_version: 2.1.9
128
- signing_key:
125
+ rubyforge_project:
126
+ rubygems_version: 2.4.5
127
+ signing_key:
129
128
  specification_version: 4
130
129
  summary: OpenBSD's bcrypt() password hashing algorithm.
131
130
  test_files: []