lookout-bcrypt 3.2.0-java → 3.2.1-java

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,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f96c2294b385122dc8fce0cfb55b2b09fc92aeef
4
- data.tar.gz: b9a44dd7cf201a7da9c1ff28048ef54a71f37757
3
+ metadata.gz: feb71c6a876835683c468aae72753a79bd758fa6
4
+ data.tar.gz: 666e817028deb76a7b70f0e540faa42ecca164a6
5
5
  SHA512:
6
- metadata.gz: 46ef6330e81791da8f9cda11cfbaf4ded99c60300ce4e3b55eb504dc452ccbd50e2bf2efae6185ecdc1764122eb4bbfe2379cbebaa3222079413a91caa6005a9
7
- data.tar.gz: d1eef89efc00d1e1ddcd4a4d0b2dc1308dc04af3204581a07d279a2e525923821ef5faa559d924046a2086bfa062a35e571ba9e987cb6817757e8f0008a9f098
6
+ metadata.gz: e0a00ac9b9eae70fc6c63b8bce95d2de3473efc3284bf8f69c625d3562979144bea0dd4ccdee1d738be38dbc8620c3fa73985ac1c538851b30f66b0a52701098
7
+ data.tar.gz: e255a671c98b19ced9869500b60e473e1d5484931415863c9406bc125c7cf7fb53071a81248a41753f012f603d61c4a60ad5bd1153f127cbad156634d7dfed59
data/.travis.yml CHANGED
@@ -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
data/Gemfile.lock CHANGED
@@ -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
 
data/bcrypt.gemspec CHANGED
@@ -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,7 +1,7 @@
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: java
6
6
  authors:
7
7
  - Coda Hale
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-27 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