aroundhome_cops 5.0.1 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bfa5be96619d3d6451b2527a11ba2d8b24c3c27d49ee6401122ff5c3e8375a83
4
- data.tar.gz: 7cd6dc77595818f58716e0133b7e3745c863afcc23cc239fcd62818d278c7ebb
3
+ metadata.gz: b45c59ee0af534f7d9178626c6fd8c33756d414be9a9e5e12f04d92bc51bbf97
4
+ data.tar.gz: 9745fcb5d5f1d0501aaca110ff4e8bcb41a64fc944e7b4216d93158a73524e2e
5
5
  SHA512:
6
- metadata.gz: 6e813351d7e6fb2e5685f937c3531142d86624b7c8d192ba9b66f30e6e649c09d0fec2b622f879a6f800ce59aaf912fc52002c4964bc690e8fc4be2937ed2589
7
- data.tar.gz: 61acfe40d2081714749144715eb177d40bd57ac37300ab88b36d908d5e773c2506d8deca3d0a1f464e42d5e07de373152b68c230bafdac2f02b345347ac5b8c8
6
+ metadata.gz: 2c7ea1ed5ca3543e9e0ce2001e6f920c31a3f41a7ec2d18f1fbcbb55d964790041527b3c842edca2e09f63d32658694ef34f042f8244188ee3f3e49255929926
7
+ data.tar.gz: 11147059a588b84bc6d1c4cd0d3d76fb95b97185acf6d4d4bc901077099580d4c03a6ef6ca33fa3df1c580a7bdad3cc5fd500ac3b9e5ddac6de21c31eb56837a
data/.gitlab-ci.yml CHANGED
@@ -30,4 +30,4 @@ publish_gem:
30
30
  - gem build aroundhome_cops.gemspec
31
31
  - gem push $(find `pwd` -name "aroundhome_cops-*.gem")
32
32
  only:
33
- - master
33
+ - main
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
+ ## Version 5.10
2
+
3
+ * Disable `Rake/Desc` cop
4
+
5
+ ## Version 5.0.2
6
+ * use EnforcedStyle: explicit for [BlockForwarding](https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Naming/BlockForwarding)
7
+
1
8
  ## Version 5.0.1
2
9
  * [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
-
10
+
4
11
  ## Version 5.0.0
5
12
  * Opt into all Rubocop offenses up until 1.35 & rspec 2.12
6
13
  * 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:
@@ -183,6 +188,13 @@ RSpec/MessageSpies:
183
188
  Gemspec/RequireMFA: # new in 1.23
184
189
  Enabled: false
185
190
 
191
+ # Suggests to add a description to every rake task. However, we only
192
+ # want to describe "public" tasks, not all of them.
193
+ # The cop also flags places where we hook into internal tasks of other gems, e.g.
194
+ # task 'resque:setup' => :environment
195
+ Rake/Desc:
196
+ Enabled: false
197
+
186
198
  # ----------------- Rubocop-forced enablements --------------
187
199
 
188
200
  # Since version 0.80 rubocop wants to cause fewer breaking changes by new cops.
@@ -295,8 +307,6 @@ Lint/RequireRangeParentheses: # new in 1.32
295
307
  Enabled: true
296
308
  Lint/UselessRuby2Keywords: # new in 1.23
297
309
  Enabled: true
298
- Naming/BlockForwarding: # new in 1.24
299
- Enabled: true
300
310
  Security/CompoundHash: # new in 1.28
301
311
  Enabled: true
302
312
  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.1.0'
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.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Sandbrink
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-22 00:00:00.000000000 Z
11
+ date: 2023-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -52,7 +52,7 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2.5'
55
- description:
55
+ description:
56
56
  email:
57
57
  - jan.sandbrink@aroundhome.de
58
58
  executables: []
@@ -72,7 +72,7 @@ files:
72
72
  homepage: https://github.com/aroundhome/aroundhome_cops
73
73
  licenses: []
74
74
  metadata: {}
75
- post_install_message:
75
+ post_install_message:
76
76
  rdoc_options: []
77
77
  require_paths:
78
78
  - lib
@@ -87,8 +87,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  requirements: []
90
- rubygems_version: 3.3.7
91
- signing_key:
90
+ rubygems_version: 3.4.10
91
+ signing_key:
92
92
  specification_version: 4
93
93
  summary: Dependency and configuration for rubocop.
94
94
  test_files: []