nxt_cop 1.2.0 → 1.2.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/CHANGELOG.md +7 -0
- data/Gemfile.lock +1 -1
- data/README.md +11 -2
- data/default.yml +6 -0
- data/lib/nxt_cop/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: 78af6281cb547ff41b08a36a19955bc105d26d77de18cabc30e3f7bcbac30925
|
4
|
+
data.tar.gz: 0f34a2c51945d1178a6a345661dec279bee3f1eb6fff58f24b54f31b294f2c0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 417325d56c7ca90d9d795b28e678c1dd82d51b506d6d1aed547a7aabc1617e64747a252d4c8d854d0a53a1ebe21e0d57d8cb9ed4049fc39206bf1a5b78241536
|
7
|
+
data.tar.gz: 4145773f53dc203e9043da35f451d2dc77a5f17053c5c65581db58dbb6c15d70c4c0e5aacfde9b41c49cb69f64481ae61e8f4fbc8844131d2775c2f4a9f3eadc
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# v1.2.1 2023-08-23
|
2
|
+
## What's Changed
|
3
|
+
* Add `Lint/MixedCaseRange`
|
4
|
+
* Add `Lint/RedundantRegexpQuantifiers`
|
5
|
+
|
6
|
+
**Full Changelog**: https://github.com/nxt-insurance/nxt_cop/compare/v1.2.0...v1.2.1
|
7
|
+
|
1
8
|
# v1.2.0 2023-08-23
|
2
9
|
## What's Changed
|
3
10
|
Bumped dependencies version
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -64,7 +64,7 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
64
64
|
To install this gem onto your local machine, run `bundle exec rake install`.
|
65
65
|
|
66
66
|
## Release a new version
|
67
|
-
|
67
|
+
### Setup credentials
|
68
68
|
```shell
|
69
69
|
bundle config set gem.push_key rubygems
|
70
70
|
```
|
@@ -75,7 +75,16 @@ Add to `~/.gem/credentials` (create if it doesn't exist):
|
|
75
75
|
:rubygems: <your Rubygems API key>
|
76
76
|
```
|
77
77
|
|
78
|
-
|
78
|
+
### Release process
|
79
|
+
- Merge all Depfu updates
|
80
|
+
- Run `bundle install` to update dependencies
|
81
|
+
- Run `rubocop` to see if new rules were added
|
82
|
+
- If yes, add them to `default.yml` to prevent "New rules" warning
|
83
|
+
- Update the version number in `version.rb`
|
84
|
+
- Update the `CHANGELOG.md`
|
85
|
+
- Open the PR, merge everything to `main`
|
86
|
+
|
87
|
+
Once PR is merged, switch to main and run `bundle exec rake release` which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
79
88
|
|
80
89
|
## Contributing
|
81
90
|
|
data/default.yml
CHANGED
@@ -242,9 +242,15 @@ Lint/ToEnumArguments:
|
|
242
242
|
Enabled: false
|
243
243
|
Lint/UselessRuby2Keywords:
|
244
244
|
Enabled: false
|
245
|
+
|
246
|
+
# Since we don't have all cops enabled by default we have to add every new cop explicitly
|
245
247
|
Lint/DuplicateMagicComment:
|
246
248
|
Enabled: true
|
247
249
|
Lint/UselessRescue:
|
248
250
|
Enabled: false
|
249
251
|
Lint/DuplicateMatchPattern:
|
250
252
|
Enabled: true
|
253
|
+
Lint/MixedCaseRange:
|
254
|
+
Enabled: true
|
255
|
+
Lint/RedundantRegexpQuantifiers:
|
256
|
+
Enabled: true
|
data/lib/nxt_cop/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nxt_cop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Livingstone
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|