devise-uncommon_password-alt 0.1.0 → 0.1.1
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/README.md +6 -1
- data/lib/devise/uncommon_password/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1fe5c9667d356a4ec1c981912fa5ded02a34255dcf60fd148664986824ef1f7
|
4
|
+
data.tar.gz: 56c0a31ed8d9df3d6315390927278caa0d3bc4416797fbb025dec94c6f287548
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d07b14dfa60260f17f69075d32208d63e773f870645fd8e686d637243e2218286b936adfff08660cb1ea333008205a380324bb82ec96a53fe8aa6751660c1f77
|
7
|
+
data.tar.gz: 637bc5c7de6a02f906e9ae9fd073b5fd9af3ce54bcf34d1a0d3d55bd9eeb24d58f2ad322a74613316146367c03662bdab59c3db63bc400aa0cf7c9fa624ba1d7
|
data/README.md
CHANGED
@@ -20,6 +20,11 @@ class AdminUser < ApplicationRecord
|
|
20
20
|
end
|
21
21
|
```
|
22
22
|
|
23
|
+
If it doesn't load, include this in the file you need or in `application.rb`
|
24
|
+
```
|
25
|
+
require 'devise/uncommon_password'
|
26
|
+
```
|
27
|
+
|
23
28
|
By default, the password is checked against the 100 most common passwords that fit within the minimum and maximum lengths specified in the /config/initializers/devise.rb file. However, if a developer wants to check against a larger list, they may override this default by adding the following line to that same file:
|
24
29
|
|
25
30
|
```ruby
|
@@ -53,7 +58,7 @@ en:
|
|
53
58
|
Add this line to your application's Gemfile:
|
54
59
|
|
55
60
|
```ruby
|
56
|
-
gem 'devise-uncommon_password'
|
61
|
+
gem 'devise-uncommon_password-alt'
|
57
62
|
```
|
58
63
|
|
59
64
|
And then execute:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-uncommon_password-alt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ChocoJun
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|