devise-uncommon_password 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c16281f7745f0753e5490a0610e1e1e08520b85c
4
- data.tar.gz: 98f7e25b4b0c9f2628e2afcbac0ddbe82d459d66
3
+ metadata.gz: 4285c7465d5ef460290ea0caa570de8c6d0a1034
4
+ data.tar.gz: 647bf4e13511ddeff7c330b9d6506904e0167fb5
5
5
  SHA512:
6
- metadata.gz: b647945ee7018b52e84b1aa2d1703babb2d13c2cd2067867baae8013fb1aeb8b4b095820960529b57bc0728e8da3101750b20b520d411fe06bcafdd42571eee8
7
- data.tar.gz: 7bed5651b5fabb2502ee7c5a1b77c2b87e50ae5ad8b9b0a911e897070d34a927ff2052225271f9b52bebff7d8d10ec18c2610a20b665069d7ec230d6c80af5f5
6
+ metadata.gz: bc5ee90e0b2138e897dfd58976713b353f0246a2fd7ce4bd1bfff2ac4516fd234c34df66c35eccb61664e46b449256b1c02976c15c42bb0cb2f0267999b7d848
7
+ data.tar.gz: b611ab7c6ba4e48cadd5b4c987f0c6d33d4dfbedd9dd456812c6363a3b4186013e375d7618928e517e4436f391bebe2cbd849562dcf0cafec222d35b3570d19d
@@ -19,7 +19,7 @@ module Devise
19
19
  end
20
20
 
21
21
  included do
22
- validate :not_common_password
22
+ validate :not_common_password, if: :password_required?
23
23
  end
24
24
 
25
25
  private
@@ -1,5 +1,5 @@
1
1
  module Devise
2
2
  module UncommonPassword
3
- VERSION = '0.1.2'
3
+ VERSION = '0.2.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise-uncommon_password
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Larsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-04 00:00:00.000000000 Z
11
+ date: 2017-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  version: '0'
100
100
  requirements: []
101
101
  rubyforge_project:
102
- rubygems_version: 2.4.5.1
102
+ rubygems_version: 2.6.14
103
103
  signing_key:
104
104
  specification_version: 4
105
105
  summary: Devise extension to prevent users from using a common password.