renuocop 0.8.5 → 0.8.7

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: 1e165099d46120e53d7b15a0b86b4fe852665c7aa8f5e2693ea7edb02355f0d8
4
- data.tar.gz: f16923ca54e46557c12b90e67d4a5b0b5c8ec8d8c84a9ad0d2c035bbaacfabff
3
+ metadata.gz: cd0a7830a6b87faea19674ab925768c47367716a2fbc9b29c615b1b6878e0ccb
4
+ data.tar.gz: a3e5784b1bd79309141f37b935c8e2d6aabeff07b0e90a43bc3b009448a7e014
5
5
  SHA512:
6
- metadata.gz: d7bf325cc92b69d1a1b031de3778e4d18d3818877fbe3aacca50d15f30fe92c37555d31c446b478f4af777619f0963b319edb7cdf98cb7e9f8f524f95baf4625
7
- data.tar.gz: bd86d3c70ffa70687278703eba44a8cb91556ef259abe85b7b74735d49bd29e3c94429a5a81eccb5a1f4a17f8c8c6221b0cce1a214de5f9a8b205a45e5cab6dd
6
+ metadata.gz: 83b4b52119390f71e8bba61e5232a346eb127dd4c1bf72668052230cb99d6fd7e3fd5c85558904ae574af7b70ba5fa20bfaa36e9ef3d36fbd208f88f7cacc0d0
7
+ data.tar.gz: 2590eb1d96e0db9f584d041bdfd64863e4f5aadb81dc79bfdb3680d4096f76a138d5d3b62263ffcefd4f44375538234b6119be19f473b08b394ec920687e5b44
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [0.8.7]
2
+ - Add `CountAsOne` option to `Metrics/BlockLength` cop
3
+
4
+ ## [0.8.6]
5
+ - Set `Layout/FirstArrayElementIndentation` and `Layout/FirstHashElementIndentation` to `consistent`
6
+
1
7
  ## [0.8.5]
2
8
  - Update cop name (`Naming/PredicateName` -> `Naming/PredicatePrefix`)
3
9
 
data/config/base.yml CHANGED
@@ -52,12 +52,6 @@ Layout/ExtraSpacing:
52
52
  Layout/FirstArgumentIndentation:
53
53
  EnforcedStyle: special_for_inner_method_call_in_parentheses
54
54
 
55
- Layout/FirstArrayElementIndentation:
56
- EnforcedStyle: special_inside_parentheses
57
-
58
- Layout/FirstHashElementIndentation:
59
- EnforcedStyle: special_inside_parentheses
60
-
61
55
  Layout/FirstParameterIndentation:
62
56
  Enabled: true
63
57
 
@@ -218,6 +212,10 @@ Metrics/AbcSize:
218
212
 
219
213
  Metrics/BlockLength:
220
214
  Enabled: true
215
+ CountAsOne:
216
+ - array
217
+ - hash
218
+ - heredoc
221
219
  Exclude:
222
220
  - 'spec/**/*.rb'
223
221
  - 'config/environments/**/*.rb'
@@ -241,12 +239,12 @@ Metrics/CyclomaticComplexity:
241
239
 
242
240
  Metrics/MethodLength:
243
241
  Enabled: true
244
- Exclude:
245
- - 'spec/system/**/*.rb'
246
242
  CountAsOne:
247
243
  - array
248
244
  - hash
249
245
  - heredoc
246
+ Exclude:
247
+ - 'spec/system/**/*.rb'
250
248
 
251
249
  Metrics/ModuleLength:
252
250
  Enabled: true
@@ -753,7 +751,7 @@ AllCops:
753
751
  - 'log/**/*'
754
752
  - 'public/**/*'
755
753
  - 'tmp/**/*'
756
- - 'db/schema.rb'
754
+ - 'db/*schema.rb'
757
755
  - 'db/migrate/**/*'
758
756
  - 'vendor/**/*'
759
757
  - 'node_modules/**/*'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Renuocop
4
- VERSION = "0.8.5"
4
+ VERSION = "0.8.7"
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renuocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Rodi
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2025-09-22 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rubocop
@@ -155,7 +154,6 @@ metadata:
155
154
  source_code_uri: https://github.com/renuo/renuocop
156
155
  changelog_uri: https://github.com/renuo/renuocop/CHANGELOG.md
157
156
  rubygems_mfa_required: 'true'
158
- post_install_message:
159
157
  rdoc_options: []
160
158
  require_paths:
161
159
  - lib
@@ -170,8 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
168
  - !ruby/object:Gem::Version
171
169
  version: '0'
172
170
  requirements: []
173
- rubygems_version: 3.5.22
174
- signing_key:
171
+ rubygems_version: 4.0.3
175
172
  specification_version: 4
176
173
  summary: Renuo default style guide, linter, and formatter.
177
174
  test_files: []