aroundhome_cops 5.0.0 → 5.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/default.yml +11 -2
- data/lib/aroundhome_cops.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: 7c08a92281cf5ab286b30ccdbf4212e1148157b7518352b8369553d6dde0148f
|
4
|
+
data.tar.gz: 510f0776b7ce314f7fb295873129a3646541c1331a39a756252fe28f0e04c683
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77ab5d8ac51f8fbcd85e79e002abe0def7d0e5db685e7b78da3ec33e4aecd1d3a1087a080245af829a61331e803c5643a20f69b1ccae460f09625266a5990793
|
7
|
+
data.tar.gz: 51be35b7bcb81d2b0e7574038d1ea57c410d005b01a7eb60744d204ad6c89b333d116cb5baa7658424698ebb892343f51f2dd0fe764691500f328cfb2fd29eba
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## Version 5.0.2
|
2
|
+
* use EnforcedStyle: explicit for [BlockForwarding](https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Naming/BlockForwarding)
|
3
|
+
|
4
|
+
## Version 5.0.1
|
5
|
+
* [do not expect syntax](https://www.rubydoc.info/gems/rubocop-rspec/1.10.0/RuboCop/Cop/RSpec/MessageSpies) of [message spies](https://relishapp.com/rspec/rspec-mocks/docs/basics/spies) by default
|
6
|
+
|
1
7
|
## Version 5.0.0
|
2
8
|
* Opt into all Rubocop offenses up until 1.35 & rspec 2.12
|
3
9
|
* Update minimum rubocop to 1.35
|
data/default.yml
CHANGED
@@ -131,6 +131,11 @@ Style/FormatStringToken:
|
|
131
131
|
Metrics/ParameterLists:
|
132
132
|
CountKeywordArgs: false
|
133
133
|
|
134
|
+
# People coming from other languages or our junior colleagues will find a single & confusing.
|
135
|
+
# Omitting the parameter name is neither more readable or helpful, therefore we prefer to use &block syntax.
|
136
|
+
Naming/BlockForwarding:
|
137
|
+
EnforcedStyle: explicit
|
138
|
+
|
134
139
|
# Adding "and" prefix to list of allowed prefixes to allow for nested contexts
|
135
140
|
# that start with "and" as a connector word "when foo is true and bar is false"
|
136
141
|
RSpec/ContextWording:
|
@@ -174,6 +179,11 @@ RSpec/NestedGroups:
|
|
174
179
|
RSpec/PredicateMatcher:
|
175
180
|
Enabled: false
|
176
181
|
|
182
|
+
# Our codebase was consistent across the company before we started to introduce rubocop-rspec
|
183
|
+
# lots of our repositories are not using message spies currently
|
184
|
+
RSpec/MessageSpies:
|
185
|
+
EnforcedStyle: receive
|
186
|
+
|
177
187
|
# While in general 2FA is a good idea, adding 2FA to CI/CD is a difficulty.
|
178
188
|
Gemspec/RequireMFA: # new in 1.23
|
179
189
|
Enabled: false
|
@@ -290,8 +300,6 @@ Lint/RequireRangeParentheses: # new in 1.32
|
|
290
300
|
Enabled: true
|
291
301
|
Lint/UselessRuby2Keywords: # new in 1.23
|
292
302
|
Enabled: true
|
293
|
-
Naming/BlockForwarding: # new in 1.24
|
294
|
-
Enabled: true
|
295
303
|
Security/CompoundHash: # new in 1.28
|
296
304
|
Enabled: true
|
297
305
|
Style/EmptyHeredoc: # new in 1.32
|
@@ -342,3 +350,4 @@ RSpec/FactoryBot/SyntaxMethods: # new in 2.7
|
|
342
350
|
Enabled: true
|
343
351
|
RSpec/Rails/HaveHttpStatus: # new in 2.12
|
344
352
|
Enabled: true
|
353
|
+
|
data/lib/aroundhome_cops.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aroundhome_cops
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Sandbrink
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|