aroundhome_cops 5.0.1 → 5.0.2
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 +3 -0
- data/default.yml +5 -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,6 @@
|
|
|
1
|
+
## Version 5.0.2
|
|
2
|
+
* use EnforcedStyle: explicit for [BlockForwarding](https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Naming/BlockForwarding)
|
|
3
|
+
|
|
1
4
|
## Version 5.0.1
|
|
2
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
|
|
3
6
|
|
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:
|
|
@@ -295,8 +300,6 @@ Lint/RequireRangeParentheses: # new in 1.32
|
|
|
295
300
|
Enabled: true
|
|
296
301
|
Lint/UselessRuby2Keywords: # new in 1.23
|
|
297
302
|
Enabled: true
|
|
298
|
-
Naming/BlockForwarding: # new in 1.24
|
|
299
|
-
Enabled: true
|
|
300
303
|
Security/CompoundHash: # new in 1.28
|
|
301
304
|
Enabled: true
|
|
302
305
|
Style/EmptyHeredoc: # new in 1.32
|
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-
|
|
11
|
+
date: 2022-11-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|