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 +4 -4
- data/CHANGELOG.md +8 -1
- data/README.md +22 -0
- data/lib/password_blocklist/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9eeb70ce0617419b563fc60e9d09bfc21f8199e308025e2dec3c5976799729c9
|
|
4
|
+
data.tar.gz: d45a2e71f50cffe7f1d0c550f2ef774dd22b60a73d70e4e30829f67f1ab0a2dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f8b60e4939cf4bc2fa4e9fa2ec58281245599d184a6f08d112994810139cf668552af6e62ce869725a9f7ee5aa3dc16641e8dc536ce819a18d976b3d9a322ff
|
|
7
|
+
data.tar.gz: 44cc4ad7ed01ee24a0c3ce96239c0651baf5a4ea32d22601271788ed0297dae7b77a6511329593ff775a4e107e5ae58dd356f0485bb95ab66bc9fd9b166338ad
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
0.5.0 /
|
|
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.
|
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
|
|
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:
|
|
193
|
+
version: '0'
|
|
194
194
|
requirements: []
|
|
195
195
|
rubygems_version: 3.1.6
|
|
196
196
|
signing_key:
|