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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 189fcbc5ca7ad79fdb8577740343febeacfcd747ab748f75da785ba2fbb6eba9
4
- data.tar.gz: bfa8de3e9d21538efaed490908c1d55defc41f22b00a2456fb5fafff5216379c
3
+ metadata.gz: 05340f598fe6c80f2a24db0ea6afd84df3b2b88be34faa02d718c450442dcd33
4
+ data.tar.gz: badbee22727ac73a4729b830e9eaf84558caae86470f11734edcd0737f61b473
5
5
  SHA512:
6
- metadata.gz: 8eb8b13a0ac522df817a336fd2e6ee0402168e178038cc53f3df4092e0fc90e8056adf00aea33faf109692bfd9fcd33d79e8466b6e9023b5524217c72757e7dd
7
- data.tar.gz: b53a283a2a0ac3991ac51d0f0aed036561c925f7c6155eba2bb5e64953d33612bd8c0e8a510389c1ea2642cfe73152c63fa7b971b6ccd2f0efb52d747381f6f7
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
- ## Usage
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/**/*
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Rickselby
5
- VERSION = "0.5.0"
5
+ VERSION = "0.6.0"
6
6
  end
7
7
  end
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.5.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-03 00:00:00.000000000 Z
11
+ date: 2023-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop