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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6299aa1d6dc1a31a200f02397df073898877995a3a767612e2640f8a358c8357
4
- data.tar.gz: 95d25bc6e4b3031cacc6bf1ff1fefa6f03ad16795546e0389ab8f34fd7c7550f
3
+ metadata.gz: bccd4f7a39e75a1053ace700211a5e30c68dcc5753d021ec55aae6a9faadc018
4
+ data.tar.gz: 337741f0cf3ce246c45221ca6180e57b218cda12031e6cf64a622e65a2abf29f
5
5
  SHA512:
6
- metadata.gz: 71937ba3f918a5e43763986455ac56bf0dc2d0221152f1e9d856a3f9526b16e781d0f3e891ea83d4e407288abaec4a848c4f2400c7cc4c5c6697ac8c475c617c
7
- data.tar.gz: 7cf79012a365e0891ed7b36837ac814152959b8751610af5334d0d92448b357d198504436b2f4fa6bb4f8649994523fe0d4d8eb693d197d36799bf3d47eedfb2
6
+ metadata.gz: b08c5b6cd3a24ffde9bf093178fcd07c9989fb757a010f26a72c15b840fbb4debf1697cf5763f001d2a35bf083c4b422d98ef230307066eaae43abfb9db29acd
7
+ data.tar.gz: '0947210ee42bb23cffb955c9d9b82f7644cacd14d464294ed0dfa69c2ab6d7ee3fbeb5cfafe086e14b2801ef79bd2649c2f14042ed4cb083fd5ce8e47639d762'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ 0.4.1 / 2022-04-02
2
+ ------
3
+ * Added a post-install message and deprecation message regarding renaming
4
+ this library.
5
+ * No other functional changes.
6
+
1
7
  0.4.0 / 2021-08-10
2
8
  ------
3
9
  Support Ruby 3.0. Thanks matssigge!
@@ -1,3 +1,3 @@
1
1
  module PasswordBlacklist
2
- VERSION = '0.4.0'.freeze
2
+ VERSION = '0.4.1'.freeze
3
3
  end
@@ -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
@@ -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.0
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: 2021-08-10 00:00:00.000000000 Z
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