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 +4 -4
- data/CHANGELOG.md +6 -0
- data/config/base.yml +7 -9
- data/lib/renuocop/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd0a7830a6b87faea19674ab925768c47367716a2fbc9b29c615b1b6878e0ccb
|
|
4
|
+
data.tar.gz: a3e5784b1bd79309141f37b935c8e2d6aabeff07b0e90a43bc3b009448a7e014
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
754
|
+
- 'db/*schema.rb'
|
|
757
755
|
- 'db/migrate/**/*'
|
|
758
756
|
- 'vendor/**/*'
|
|
759
757
|
- 'node_modules/**/*'
|
data/lib/renuocop/version.rb
CHANGED
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.
|
|
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:
|
|
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:
|
|
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: []
|