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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bfa5be96619d3d6451b2527a11ba2d8b24c3c27d49ee6401122ff5c3e8375a83
4
- data.tar.gz: 7cd6dc77595818f58716e0133b7e3745c863afcc23cc239fcd62818d278c7ebb
3
+ metadata.gz: 7c08a92281cf5ab286b30ccdbf4212e1148157b7518352b8369553d6dde0148f
4
+ data.tar.gz: 510f0776b7ce314f7fb295873129a3646541c1331a39a756252fe28f0e04c683
5
5
  SHA512:
6
- metadata.gz: 6e813351d7e6fb2e5685f937c3531142d86624b7c8d192ba9b66f30e6e649c09d0fec2b622f879a6f800ce59aaf912fc52002c4964bc690e8fc4be2937ed2589
7
- data.tar.gz: 61acfe40d2081714749144715eb177d40bd57ac37300ab88b36d908d5e773c2506d8deca3d0a1f464e42d5e07de373152b68c230bafdac2f02b345347ac5b8c8
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AroundhomeCops
4
- VERSION = '5.0.1'
4
+ VERSION = '5.0.2'
5
5
  end
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.1
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-22 00:00:00.000000000 Z
11
+ date: 2022-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop