password_blacklist 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/password_blacklist/version.rb +1 -1
- data/lib/password_blacklist.rb +7 -0
- data/password_blacklist.gemspec +5 -0
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bccd4f7a39e75a1053ace700211a5e30c68dcc5753d021ec55aae6a9faadc018
|
4
|
+
data.tar.gz: 337741f0cf3ce246c45221ca6180e57b218cda12031e6cf64a622e65a2abf29f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b08c5b6cd3a24ffde9bf093178fcd07c9989fb757a010f26a72c15b840fbb4debf1697cf5763f001d2a35bf083c4b422d98ef230307066eaae43abfb9db29acd
|
7
|
+
data.tar.gz: '0947210ee42bb23cffb955c9d9b82f7644cacd14d464294ed0dfa69c2ab6d7ee3fbeb5cfafe086e14b2801ef79bd2649c2f14042ed4cb083fd5ce8e47639d762'
|
data/CHANGELOG.md
CHANGED
data/lib/password_blacklist.rb
CHANGED
@@ -1,9 +1,16 @@
|
|
1
1
|
require 'password_blacklist/version'
|
2
2
|
require 'password_blacklist/checker'
|
3
|
+
require 'logger'
|
3
4
|
|
4
5
|
module PasswordBlacklist
|
5
6
|
module_function
|
6
7
|
|
8
|
+
Logger.new(STDOUT).warn(
|
9
|
+
"password_blacklist has been renamed to password_blacklist. Please " \
|
10
|
+
"switch to password_blocklist for continued support and new features. " \
|
11
|
+
"Migration guide can be found in the README."
|
12
|
+
)
|
13
|
+
|
7
14
|
def blacklisted?(password)
|
8
15
|
Checker.new.blacklisted?(password)
|
9
16
|
end
|
data/password_blacklist.gemspec
CHANGED
@@ -15,6 +15,11 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.homepage = 'https://www.github.com/gchan/password_blacklist'
|
16
16
|
spec.license = 'MIT'
|
17
17
|
|
18
|
+
spec.post_install_message = "The password_blacklist gem has been deprecated" \
|
19
|
+
" and has been replaced by password_blocklist.\nPlease switch to " \
|
20
|
+
"password_blocklist for continued support and new features.\nMigration " \
|
21
|
+
"guide can be found in the README."
|
22
|
+
|
18
23
|
spec.files = Dir['lib/**/*.rb'] + Dir['data/*'] +
|
19
24
|
%w(password_blacklist.gemspec CHANGELOG.md LICENSE.txt README.md)
|
20
25
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: password_blacklist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gordon Chan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -157,7 +157,10 @@ homepage: https://www.github.com/gchan/password_blacklist
|
|
157
157
|
licenses:
|
158
158
|
- MIT
|
159
159
|
metadata: {}
|
160
|
-
post_install_message:
|
160
|
+
post_install_message: |-
|
161
|
+
The password_blacklist gem has been deprecated and has been replaced by password_blocklist.
|
162
|
+
Please switch to password_blocklist for continued support and new features.
|
163
|
+
Migration guide can be found in the README.
|
161
164
|
rdoc_options: []
|
162
165
|
require_paths:
|
163
166
|
- lib
|