renuocop 0.8.6 → 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: 56c7e18befdd8145d1856850352b56dd784e4e4a1c1e8dd9b150c34ef4aa0577
4
- data.tar.gz: 33fa2a33eaf0f81c84a818681c7089890d3123c42e89b51d2653c9cbd9c331f2
3
+ metadata.gz: cd0a7830a6b87faea19674ab925768c47367716a2fbc9b29c615b1b6878e0ccb
4
+ data.tar.gz: a3e5784b1bd79309141f37b935c8e2d6aabeff07b0e90a43bc3b009448a7e014
5
5
  SHA512:
6
- metadata.gz: b03beed53ba8f1cf73f04fe6fc1a789ea873b27cb987aaa50179379f5be37406a1435f32f4ec64caad508fe44fb36f415f8fb29c032aaecedb3d21dbbf34e9d7
7
- data.tar.gz: 8f8a3a0ea2b3871a12bcc3be258266fb74c3ac8afb731de7fb6921872f8158acfca14a0c82fbd5c5535151be2b532a6f9cf54c45be67c76ff01fdd1d21b5dbd8
6
+ metadata.gz: 83b4b52119390f71e8bba61e5232a346eb127dd4c1bf72668052230cb99d6fd7e3fd5c85558904ae574af7b70ba5fa20bfaa36e9ef3d36fbd208f88f7cacc0d0
7
+ data.tar.gz: 2590eb1d96e0db9f584d041bdfd64863e4f5aadb81dc79bfdb3680d4096f76a138d5d3b62263ffcefd4f44375538234b6119be19f473b08b394ec920687e5b44
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## [0.8.7]
2
+ - Add `CountAsOne` option to `Metrics/BlockLength` cop
3
+
1
4
  ## [0.8.6]
2
5
  - Set `Layout/FirstArrayElementIndentation` and `Layout/FirstHashElementIndentation` to `consistent`
3
6
 
data/config/base.yml CHANGED
@@ -212,6 +212,10 @@ Metrics/AbcSize:
212
212
 
213
213
  Metrics/BlockLength:
214
214
  Enabled: true
215
+ CountAsOne:
216
+ - array
217
+ - hash
218
+ - heredoc
215
219
  Exclude:
216
220
  - 'spec/**/*.rb'
217
221
  - 'config/environments/**/*.rb'
@@ -235,12 +239,12 @@ Metrics/CyclomaticComplexity:
235
239
 
236
240
  Metrics/MethodLength:
237
241
  Enabled: true
238
- Exclude:
239
- - 'spec/system/**/*.rb'
240
242
  CountAsOne:
241
243
  - array
242
244
  - hash
243
245
  - heredoc
246
+ Exclude:
247
+ - 'spec/system/**/*.rb'
244
248
 
245
249
  Metrics/ModuleLength:
246
250
  Enabled: true
@@ -747,7 +751,7 @@ AllCops:
747
751
  - 'log/**/*'
748
752
  - 'public/**/*'
749
753
  - 'tmp/**/*'
750
- - 'db/schema.rb'
754
+ - 'db/*schema.rb'
751
755
  - 'db/migrate/**/*'
752
756
  - 'vendor/**/*'
753
757
  - 'node_modules/**/*'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Renuocop
4
- VERSION = "0.8.6"
4
+ VERSION = "0.8.7"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renuocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.6
4
+ version: 0.8.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Rodi
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  - !ruby/object:Gem::Version
169
169
  version: '0'
170
170
  requirements: []
171
- rubygems_version: 3.7.2
171
+ rubygems_version: 4.0.3
172
172
  specification_version: 4
173
173
  summary: Renuo default style guide, linter, and formatter.
174
174
  test_files: []