rubocop-rickselby 0.5.0 → 0.6.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/README.md +8 -2
- data/config/rails.yml +16 -0
- data/lib/rubocop/rickselby/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: 05340f598fe6c80f2a24db0ea6afd84df3b2b88be34faa02d718c450442dcd33
|
4
|
+
data.tar.gz: badbee22727ac73a4729b830e9eaf84558caae86470f11734edcd0737f61b473
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6101d72451dd2d0529a060f53ab86d8136a0ce1eea4f9a45ee071f4b98ef547bdb3449eafeab2d1f777fca431db4ccc2fd06d2c695253ee128b9284e27553eec
|
7
|
+
data.tar.gz: d2ddff309870ccde4f25e22753170e45a7ac56bd50d3b283a553a78355fa3318da1ead158786a7d85f6a2fd5fccda074492c48ea2ffc5636dfa2011c9ef31875
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Config in `./config`
|
4
4
|
|
5
|
-
##
|
5
|
+
## Installation
|
6
6
|
|
7
7
|
Add `rubocop-rickselby` to your Gemfile:
|
8
8
|
|
@@ -23,7 +23,7 @@ group :development, :test do
|
|
23
23
|
end
|
24
24
|
```
|
25
25
|
|
26
|
-
Inherit the configuration in your `.rubocop.yml`:
|
26
|
+
Inherit the desired configuration in your `.rubocop.yml`:
|
27
27
|
|
28
28
|
```yaml
|
29
29
|
# .rubocop.yml
|
@@ -34,3 +34,9 @@ inherit_gem:
|
|
34
34
|
- config/rspec.yml # RSpec-specific rules and cops
|
35
35
|
- config/capybara.yml # capybara-specific rules and cops
|
36
36
|
```
|
37
|
+
|
38
|
+
## Contributing
|
39
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/rickselby/rubocop-rickselby.
|
40
|
+
|
41
|
+
## License
|
42
|
+
The gem is available as open source under the terms of the MIT License.
|
data/config/rails.yml
CHANGED
@@ -2,6 +2,22 @@ require:
|
|
2
2
|
- rubocop-rails
|
3
3
|
- rubocop-rails-accessibility
|
4
4
|
|
5
|
+
# casecmp does not work with all of Unicode, so this is not a good optimization for internationalized apps
|
6
|
+
Performance/Casecmp:
|
7
|
+
Enabled: false
|
8
|
+
|
9
|
+
# This cop is unsafe because it has known compatibility issues with ActiveRecord and other frameworks.
|
10
|
+
Performance/Count:
|
11
|
+
Enabled: false
|
12
|
+
|
13
|
+
# This cop is unsafe because it has known compatibility issues with ActiveRecord and other frameworks.
|
14
|
+
Performance/Detect:
|
15
|
+
Enabled: false
|
16
|
+
|
17
|
+
# Sum is different between enumerables and ActiveRecord, let's not cause confusion...
|
18
|
+
Performance/Sum:
|
19
|
+
Enabled: false
|
20
|
+
|
5
21
|
Style/Documentation:
|
6
22
|
Exclude:
|
7
23
|
- app/controllers/**/*
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-rickselby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rick Selby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|