rubocop-fourshark 0.10.0 → 0.11.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 +13 -0
- data/README.md +2 -1
- data/config/default.yml +5 -0
- data/lib/rubocop/fourshark/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d37d6aedd6756dcc500a7295b9f03dd99f413d12375c29826d5ac6970e11aacc
|
|
4
|
+
data.tar.gz: 7e406a1cb9ddde1f494a3e6d1c90561c87b6bf2d19cc585d69c25c43516a39ea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac6cbcbeaa39f99a6e548b93a7ad05c2cc204013210dbb50686252c3e0c7285d419daf306d53aedc00080d295b7c61efd016f59276e48a0519391e427e287e5c
|
|
7
|
+
data.tar.gz: 540e6ea1264bcf27eeb261546ab74bd75c165bb19488e7098dd358d303e10e162d120c3ef0ea5b3698077bb03cc3a18e59af2ae7f009f24020463ebc3956d8e2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## [0.11.0] - 2026-10-07
|
|
2
|
+
|
|
3
|
+
### Changed
|
|
4
|
+
|
|
5
|
+
- `RSpec/MultipleMemoizedHelpers` disabled
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Dependency age check failing on a transient registry error
|
|
10
|
+
- Dependency age check failing on a transient GitHub API error
|
|
11
|
+
- Dependency age check stalling on an unresponsive registry
|
|
12
|
+
- Dependency age check stalling on an unresponsive GitHub API
|
|
13
|
+
|
|
1
14
|
## [0.10.0] - 2026-10-02
|
|
2
15
|
|
|
3
16
|
### Added
|
data/README.md
CHANGED
|
@@ -61,12 +61,13 @@ Cop names follow RuboCop's empirical convention — a noun phrase describing the
|
|
|
61
61
|
|
|
62
62
|
### Stock cops disabled
|
|
63
63
|
|
|
64
|
-
Where a 4Shark cop supersedes or contradicts a stock cop, `config/default.yml` turns the stock one off:
|
|
64
|
+
Where a 4Shark cop supersedes or contradicts a stock cop, or a stock cop contradicts a 4Shark convention, `config/default.yml` turns the stock one off:
|
|
65
65
|
|
|
66
66
|
| Disabled stock cop | Why |
|
|
67
67
|
|---|---|
|
|
68
68
|
| `Rails/Delegate` | contradicts `Style/DisallowDelegate` — it turns an explicit method into `delegate`, we forbid the macro |
|
|
69
69
|
| `Rails/InverseOf` | superseded by `Rails/MandatoryInverseOf` (covers its cases and more) |
|
|
70
|
+
| `RSpec/MultipleMemoizedHelpers` | contradicts the spec convention of keeping every `let` at the top level, which the cop's default `Max: 5` cannot hold |
|
|
70
71
|
| `Style/MultilineTernaryOperator` | superseded by `Style/DisallowTernary` — it shapes a construct we forbid outright |
|
|
71
72
|
| `Style/NestedTernaryOperator` | superseded by `Style/DisallowTernary` — same |
|
|
72
73
|
| `Style/SafeNavigation` | contradicts `Style/DisallowSafeNavigation` — it pushes `&.`, we forbid it |
|
data/config/default.yml
CHANGED
|
@@ -106,6 +106,11 @@ RSpec/Dialect:
|
|
|
106
106
|
Include:
|
|
107
107
|
- 'spec/**/*_spec.rb'
|
|
108
108
|
|
|
109
|
+
# Stock cop disabled (not superseded by a 4Shark cop): the spec convention keeps
|
|
110
|
+
# every `let` at the top level, which the cop's default `Max: 5` cannot hold.
|
|
111
|
+
RSpec/MultipleMemoizedHelpers:
|
|
112
|
+
Enabled: false
|
|
113
|
+
|
|
109
114
|
RSpec/InverseOfMatcher:
|
|
110
115
|
Description: 'Root models must include `.inverse_of` in association specs; subclasses must not.'
|
|
111
116
|
Enabled: true
|