password_blocklist 0.0.1.pre → 0.5.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 581e4f6a1c04cffaeec8e91433f40aec29b49719d180e6b918730b45e03e9596
4
- data.tar.gz: 8bdef267b2447a0a6d81bcf41c3b20261e1a70252afc162130fe757e8780c14b
3
+ metadata.gz: 9eeb70ce0617419b563fc60e9d09bfc21f8199e308025e2dec3c5976799729c9
4
+ data.tar.gz: d45a2e71f50cffe7f1d0c550f2ef774dd22b60a73d70e4e30829f67f1ab0a2dc
5
5
  SHA512:
6
- metadata.gz: fc3f5b5d953f97843467be1eddf1f81b718571b96f9b1ede86357026b9f2355cb9d377b06b5a848c7820fe30e78afa6e28b52f62dd4d4e4f638bfd58ef80b03f
7
- data.tar.gz: 31876bdbf7d19d96deae282ad924d1debb6fa7a4fabf4ccc2af5cf91b1ca7e1d3b7714f8f03cf7a95f94b82fbe28f39bc078a52fdf2ce1a71220358a9c5735eb
6
+ metadata.gz: 4f8b60e4939cf4bc2fa4e9fa2ec58281245599d184a6f08d112994810139cf668552af6e62ce869725a9f7ee5aa3dc16641e8dc536ce819a18d976b3d9a322ff
7
+ data.tar.gz: 44cc4ad7ed01ee24a0c3ce96239c0651baf5a4ea32d22601271788ed0297dae7b77a6511329593ff775a4e107e5ae58dd356f0485bb95ab66bc9fd9b166338ad
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
- 0.5.0 / unreleased
1
+ 0.5.0 / 2022-04-02
2
2
  ------
3
3
  * Support different sized blocklists as an option. Thanks roberttravispierce!
4
+ * Renamed password_blacklist to password_blocklist.
5
+
6
+ 0.4.1 / 2022-04-02
7
+ ------
8
+ * Added a post-install message and deprecation message regarding renaming
9
+ this library.
10
+ * No other functional changes.
4
11
 
5
12
  0.4.0 / 2021-08-10
6
13
  ------
data/README.md CHANGED
@@ -85,6 +85,28 @@ checker.blocklisted?("pokemon")
85
85
 
86
86
  password_blocklist supports MRI Ruby 2.5+ and Ruby 3.x. The specific Ruby versions we build and test on can be found on this Github Action [workflow file](https://github.com/gchan/password_blocklist/blob/main/.github/workflow/ruby.yml).
87
87
 
88
+ ## Migrating to v0.5.0
89
+
90
+ This library was renamed to password_blocklist in v0.5.0
91
+
92
+ To easily migrate across:
93
+
94
+ 1. Update your Gemfile to use `password_blocklist` and run `bundle`
95
+ 2. Rename all instances of original Module
96
+ ```bash
97
+ sed -i s/PasswordBlacklist/PasswordBlocklist/g ./**/*.rb
98
+ ```
99
+ 3. Rename all method calls
100
+ ```bash
101
+ sed -i s/blacklisted?/blocklisted?/g ./**/*.rb
102
+ ```
103
+ 4. One last rename
104
+ ```bash
105
+ sed -i s/password_blacklist/password_blocklist/g ./**/*.rb
106
+ ```
107
+ 5. Verify the correct files have been updated and your code remains
108
+ functional
109
+
88
110
  ## Development
89
111
 
90
112
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` or `rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. Use `bin/benchmark` to run some benchmarks.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PasswordBlocklist
4
- VERSION = '0.0.1.pre'
4
+ VERSION = '0.5.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: password_blocklist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.pre
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gordon Chan
@@ -188,9 +188,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
188
188
  version: '2.0'
189
189
  required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  requirements:
191
- - - ">"
191
+ - - ">="
192
192
  - !ruby/object:Gem::Version
193
- version: 1.3.1
193
+ version: '0'
194
194
  requirements: []
195
195
  rubygems_version: 3.1.6
196
196
  signing_key: