sequel_secure_password 0.2.4 → 0.2.5
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 +4 -4
- data/.gitignore +1 -0
- data/lib/sequel_secure_password/version.rb +1 -1
- data/lib/sequel_secure_password.rb +1 -1
- data/spec/sequel_secure_password_spec.rb +4 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7568d71ff6c66afd4706e7aef26b184ce4d99bea
|
4
|
+
data.tar.gz: 7bc03cf71f94079c41b264022286bd0b173f1a79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc8fc5dd5f7e4629e84575e67cdefd062d8f7cfdb7ab4b79aa7f57577516aaa2911a22d4a2529022a3c880d6e240da96f22ffe99de39d3d4913978aa610631f5
|
7
|
+
data.tar.gz: fa7261d1cc3334edbd15a63ee42ec88fdd7ac0b1520f738230b9ce90ceea680b5f1fe1f307ee62bb8b420396c9912b3debbff2719e652be040c1dee81beb733b
|
data/.gitignore
CHANGED
@@ -44,6 +44,10 @@ describe "model using Sequel::Plugins::SecurePassword" do
|
|
44
44
|
it { should be_valid }
|
45
45
|
end
|
46
46
|
|
47
|
+
it "has an inherited instance variable :@cost" do
|
48
|
+
expect( User.inherited_instance_variables ).to include(:@cost)
|
49
|
+
end
|
50
|
+
|
47
51
|
describe "#authenticate" do
|
48
52
|
let(:secret) { "foo" }
|
49
53
|
before { user.password = secret }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequel_secure_password
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mateusz Lenik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bcrypt-ruby
|
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
131
|
version: '0'
|
132
132
|
requirements: []
|
133
133
|
rubyforge_project:
|
134
|
-
rubygems_version: 2.2.
|
134
|
+
rubygems_version: 2.2.2
|
135
135
|
signing_key:
|
136
136
|
specification_version: 4
|
137
137
|
summary: Plugin adds BCrypt authentication and password hashing to Sequel models.
|