devise-secure_password 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/devise-secure_password.gemspec +1 -1
- data/lib/devise/secure_password.rb +2 -2
- data/lib/devise/secure_password/models/password_has_required_content.rb +2 -2
- data/lib/devise/secure_password/version.rb +1 -1
- data/pkg/devise-secure_password-1.0.0.gem +0 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d70ae9f92bd434bfd0032d53cb33d884a5720b2b32bc0ccada2efaaaa775e1d6
|
4
|
+
data.tar.gz: 27ac9711717dfed57c722257e8a22f7ec85c34062bb02bb43de60fbb3d2f0d84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4aecc1b10ce54cfb80ef105ac82e25c825cdc17f64b98a98a2459580960431d9867ad339f27be9b8906b3a7071a74fd12ae70f5189b6d4819b66108fa3317ba
|
7
|
+
data.tar.gz: ed769dbd6b35487700a8ca621e1d1baa0ef612403810e6151e1979dbc17a2583fbab30ce4bca9c1f195b8b9463957b42f5c19dea2e86e743bc7f4564a95e6939
|
data/Gemfile.lock
CHANGED
@@ -9,7 +9,7 @@ GIT
|
|
9
9
|
PATH
|
10
10
|
remote: .
|
11
11
|
specs:
|
12
|
-
devise-secure_password (1.0.
|
12
|
+
devise-secure_password (1.0.1)
|
13
13
|
devise (>= 4.0.0, < 5.0.0)
|
14
14
|
railties (>= 5.0.0, < 6.0.0)
|
15
15
|
|
@@ -266,7 +266,7 @@ DEPENDENCIES
|
|
266
266
|
rspec (~> 3.7)
|
267
267
|
rspec-rails (~> 3.7)
|
268
268
|
rspec_junit_formatter (~> 0.3)
|
269
|
-
rubocop (
|
269
|
+
rubocop (>= 0.49.0)
|
270
270
|
ruby2ruby (~> 2.4, >= 2.4.0)
|
271
271
|
sass-rails (~> 5.0)
|
272
272
|
selenium-webdriver (~> 3.7, >= 3.7.0)
|
@@ -44,7 +44,7 @@ Gem::Specification.new do |spec|
|
|
44
44
|
spec.add_development_dependency 'rspec', '~> 3.7'
|
45
45
|
spec.add_development_dependency 'rspec-rails', '~> 3.7'
|
46
46
|
spec.add_development_dependency 'rspec_junit_formatter', '~> 0.3'
|
47
|
-
spec.add_development_dependency 'rubocop', '
|
47
|
+
spec.add_development_dependency 'rubocop', '>= 0.49.0'
|
48
48
|
spec.add_development_dependency 'ruby2ruby', '~> 2.4', '>= 2.4.0'
|
49
49
|
spec.add_development_dependency 'sass-rails', '~> 5.0'
|
50
50
|
spec.add_development_dependency 'selenium-webdriver', '~> 3.7', '>= 3.7.0'
|
@@ -15,7 +15,7 @@ module Devise
|
|
15
15
|
@password_required_uppercase_count = 1
|
16
16
|
@password_required_lowercase_count = 1
|
17
17
|
@password_required_number_count = 1
|
18
|
-
@
|
18
|
+
@password_required_special_character_count = 1
|
19
19
|
|
20
20
|
# password_frequent_reuse_prevention configuration parameters
|
21
21
|
@password_previously_used_count = 24
|
@@ -30,7 +30,7 @@ module Devise
|
|
30
30
|
attr_accessor :password_required_uppercase_count
|
31
31
|
attr_accessor :password_required_lowercase_count
|
32
32
|
attr_accessor :password_required_number_count
|
33
|
-
attr_accessor :
|
33
|
+
attr_accessor :password_required_special_character_count
|
34
34
|
attr_accessor :password_previously_used_count
|
35
35
|
attr_accessor :password_minimum_age
|
36
36
|
attr_accessor :password_maximum_age
|
@@ -93,7 +93,7 @@ module Devise
|
|
93
93
|
password_required_uppercase_count
|
94
94
|
password_required_lowercase_count
|
95
95
|
password_required_number_count
|
96
|
-
|
96
|
+
password_required_special_character_count
|
97
97
|
)
|
98
98
|
::Devise::Models.config(self, *config_params)
|
99
99
|
|
@@ -114,7 +114,7 @@ module Devise
|
|
114
114
|
max: LENGTH_MAX
|
115
115
|
},
|
116
116
|
special: {
|
117
|
-
min:
|
117
|
+
min: password_required_special_character_count,
|
118
118
|
max: LENGTH_MAX
|
119
119
|
},
|
120
120
|
unknown: {
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-secure_password
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Eissler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise
|
@@ -278,16 +278,16 @@ dependencies:
|
|
278
278
|
name: rubocop
|
279
279
|
requirement: !ruby/object:Gem::Requirement
|
280
280
|
requirements:
|
281
|
-
- - "
|
281
|
+
- - ">="
|
282
282
|
- !ruby/object:Gem::Version
|
283
|
-
version:
|
283
|
+
version: 0.49.0
|
284
284
|
type: :development
|
285
285
|
prerelease: false
|
286
286
|
version_requirements: !ruby/object:Gem::Requirement
|
287
287
|
requirements:
|
288
|
-
- - "
|
288
|
+
- - ">="
|
289
289
|
- !ruby/object:Gem::Version
|
290
|
-
version:
|
290
|
+
version: 0.49.0
|
291
291
|
- !ruby/object:Gem::Dependency
|
292
292
|
name: ruby2ruby
|
293
293
|
requirement: !ruby/object:Gem::Requirement
|