rubocop-rubomatic 1.6.3 → 2.0.0.rc.pre.1
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.adoc +33 -0
- data/config/gemspec_on.yml +3 -0
- data/config/layout.yml +6 -0
- data/config/rspec.yml +6 -3
- data/config/style.yml +11 -1
- data/lib/rubocop/rubomatic/version.rb +4 -4
- metadata +16 -22
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8401dbae55a8bfaa56b26cb657de88acdf89f3f85041ee6b4b5d78bf963e3374
|
|
4
|
+
data.tar.gz: af495c91c7fe758688a95af0033663b268f4a4af23e6c7bcfa1d11463504ed29
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f5fe501805770f107b2fa7dc68b6386472eeb161f533725214f350277f89c3ee555ecade61ea733a9b9f321063f4be9306bb0799691f1b9fce7dadcde1dcc3d
|
|
7
|
+
data.tar.gz: 9cb27bbb3ca13b2049e1549ee0808781800ac03d3ffa3858ea1d6d8009628206319f69f304eaacde0253b3892c53679b17d94353fc9ef9570bdbd3514c0c2fce
|
data/CHANGELOG.adoc
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
|
+
== 2.0.0 (2025-12-29)
|
|
2
|
+
|
|
3
|
+
=== BREAKING CHANGES
|
|
4
|
+
|
|
5
|
+
* Drop support for ruby < ``3.3.4``
|
|
6
|
+
|
|
7
|
+
=== Layout
|
|
8
|
+
|
|
9
|
+
* Enabled ``Layout/EmptyLinesAfterModuleInclusion``
|
|
10
|
+
* Added ``Layout/LineLength`` options:
|
|
11
|
+
** ``AllowQualifiedName: true``
|
|
12
|
+
** ``SplitStrings: true``
|
|
13
|
+
** ``AllowRBSInlineAnnotation: false``
|
|
14
|
+
|
|
15
|
+
=== Style
|
|
16
|
+
|
|
17
|
+
* Enabled ``Style/ModuleMemberExistenceCheck``
|
|
18
|
+
* Added ``IncludedMacroPatterns: [ ]`` to ``Style/MethodCallWithArgsParentheses``
|
|
19
|
+
* Enabled ``Style/ArrayIntersectWithSingleElement``
|
|
20
|
+
* Added ``0.0.0.0`` and ``127.0.0.1`` to ``Style/IpAddresses/AllowedAddresses``
|
|
21
|
+
* Added ``DefaultToNil: false`` to ``Style/FetchEnvVar``
|
|
22
|
+
|
|
23
|
+
=== RSpec
|
|
24
|
+
|
|
25
|
+
* Enabled ``RSpec/LeakyLocalVariable``
|
|
26
|
+
* Disabled ``RSpec/MultipleExpectations``
|
|
27
|
+
* Increased ``RSpec/NestedGroups/Max`` from 3 to 5
|
|
28
|
+
* Increased ``RSpec/MultipleMemoizedHelpers/Max`` from 5 to 10
|
|
29
|
+
|
|
30
|
+
=== Gemspec
|
|
31
|
+
|
|
32
|
+
* Enabled ``Gemspec/AttributeAssignment`` (in gemspec_on.yml)
|
|
33
|
+
|
|
1
34
|
== 1.6.3 (2025-06-18)
|
|
2
35
|
|
|
3
36
|
* Missing inclusion of ``config/rspec.yml``
|
data/config/gemspec_on.yml
CHANGED
data/config/layout.yml
CHANGED
|
@@ -245,6 +245,9 @@ Layout/EmptyLinesAroundAccessModifier:
|
|
|
245
245
|
Layout/EmptyLinesAroundArguments:
|
|
246
246
|
Enabled: true
|
|
247
247
|
|
|
248
|
+
Layout/EmptyLinesAfterModuleInclusion:
|
|
249
|
+
Enabled: true
|
|
250
|
+
|
|
248
251
|
Layout/EmptyLinesAroundAttributeAccessor:
|
|
249
252
|
Enabled: true
|
|
250
253
|
AllowAliasSyntax: true
|
|
@@ -561,9 +564,11 @@ Layout/LineLength:
|
|
|
561
564
|
# containing a URI to be longer than Max.
|
|
562
565
|
AllowHeredoc: true
|
|
563
566
|
AllowURI: true
|
|
567
|
+
AllowQualifiedName: true
|
|
564
568
|
URISchemes:
|
|
565
569
|
- http
|
|
566
570
|
- https
|
|
571
|
+
SplitStrings: true
|
|
567
572
|
# The IgnoreCopDirectives option causes the LineLength rule to ignore cop
|
|
568
573
|
# directives like '# rubocop: enable ...' when calculating a line's length.
|
|
569
574
|
IgnoreCopDirectives: true
|
|
@@ -571,6 +576,7 @@ Layout/LineLength:
|
|
|
571
576
|
# elements. Strings will be converted to Regexp objects. A line that matches
|
|
572
577
|
# any regular expression listed in this option will be ignored by LineLength.
|
|
573
578
|
AllowedPatterns: [ ]
|
|
579
|
+
AllowRBSInlineAnnotation: false
|
|
574
580
|
|
|
575
581
|
Layout/MultilineArrayBraceLayout:
|
|
576
582
|
Enabled: true
|
data/config/rspec.yml
CHANGED
|
@@ -227,6 +227,9 @@ RSpec/LeadingSubject:
|
|
|
227
227
|
RSpec/LeakyConstantDeclaration:
|
|
228
228
|
Enabled: true
|
|
229
229
|
|
|
230
|
+
RSpec/LeakyLocalVariable:
|
|
231
|
+
Enabled: true
|
|
232
|
+
|
|
230
233
|
RSpec/LetBeforeExamples:
|
|
231
234
|
Enabled: true
|
|
232
235
|
|
|
@@ -261,13 +264,13 @@ RSpec/MultipleDescribes:
|
|
|
261
264
|
Enabled: true
|
|
262
265
|
|
|
263
266
|
RSpec/MultipleExpectations:
|
|
264
|
-
Enabled:
|
|
267
|
+
Enabled: false
|
|
265
268
|
Max: 1
|
|
266
269
|
|
|
267
270
|
RSpec/MultipleMemoizedHelpers:
|
|
268
271
|
Enabled: true
|
|
269
272
|
AllowSubject: true
|
|
270
|
-
Max:
|
|
273
|
+
Max: 10
|
|
271
274
|
|
|
272
275
|
RSpec/MultipleSubjects:
|
|
273
276
|
Enabled: true
|
|
@@ -279,7 +282,7 @@ RSpec/NamedSubject:
|
|
|
279
282
|
|
|
280
283
|
RSpec/NestedGroups:
|
|
281
284
|
Enabled: true
|
|
282
|
-
Max:
|
|
285
|
+
Max: 5
|
|
283
286
|
AllowedGroups: [ ]
|
|
284
287
|
|
|
285
288
|
RSpec/NoExpectationExample:
|
data/config/style.yml
CHANGED
|
@@ -52,6 +52,9 @@ Style/ArrayFirstLast:
|
|
|
52
52
|
Style/ArrayIntersect:
|
|
53
53
|
Enabled: true
|
|
54
54
|
|
|
55
|
+
Style/ArrayIntersectWithSingleElement:
|
|
56
|
+
Enabled: true
|
|
57
|
+
|
|
55
58
|
Style/ArrayJoin:
|
|
56
59
|
Enabled: true
|
|
57
60
|
|
|
@@ -531,6 +534,7 @@ Style/FetchEnvVar:
|
|
|
531
534
|
Enabled: true
|
|
532
535
|
# Environment variables to be excluded from the inspection.
|
|
533
536
|
AllowedVars: [ ]
|
|
537
|
+
DefaultToNil: false
|
|
534
538
|
|
|
535
539
|
Style/FileEmpty:
|
|
536
540
|
Enabled: true
|
|
@@ -770,8 +774,10 @@ Style/IpAddresses:
|
|
|
770
774
|
Enabled: true
|
|
771
775
|
# Allow addresses to be permitted
|
|
772
776
|
AllowedAddresses:
|
|
773
|
-
- "::"
|
|
774
777
|
# :: is a valid IPv6 address, but could potentially be legitimately in code
|
|
778
|
+
- "::"
|
|
779
|
+
- '0.0.0.0'
|
|
780
|
+
- '127.0.0.1'
|
|
775
781
|
Exclude:
|
|
776
782
|
- '**/*.gemfile'
|
|
777
783
|
- '**/Gemfile'
|
|
@@ -846,6 +852,7 @@ Style/MethodCallWithArgsParentheses:
|
|
|
846
852
|
AllowedMethods: [ ]
|
|
847
853
|
AllowedPatterns: [ ]
|
|
848
854
|
IncludedMacros: [ ]
|
|
855
|
+
IncludedMacroPatterns: [ ]
|
|
849
856
|
AllowParenthesesInMultilineCall: false
|
|
850
857
|
AllowParenthesesInChaining: false
|
|
851
858
|
AllowParenthesesInCamelCaseMethod: false
|
|
@@ -917,6 +924,9 @@ Style/ModuleFunction:
|
|
|
917
924
|
- forbidden
|
|
918
925
|
Autocorrect: false
|
|
919
926
|
|
|
927
|
+
Style/ModuleMemberExistenceCheck:
|
|
928
|
+
Enabled: true
|
|
929
|
+
|
|
920
930
|
Style/MultilineBlockChain:
|
|
921
931
|
Enabled: true
|
|
922
932
|
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
module RuboCop
|
|
4
4
|
module Rubomatic
|
|
5
5
|
module VERSION
|
|
6
|
-
MAJOR =
|
|
7
|
-
MINOR =
|
|
8
|
-
TINY =
|
|
6
|
+
MAJOR = 2
|
|
7
|
+
MINOR = 0
|
|
8
|
+
TINY = 0
|
|
9
9
|
|
|
10
10
|
# Set PRE to nil unless it's a pre-release (beta, rc, etc.)
|
|
11
|
-
PRE =
|
|
11
|
+
PRE = 'rc.pre.1'
|
|
12
12
|
|
|
13
13
|
STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.').freeze
|
|
14
14
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-rubomatic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0.rc.pre.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brands Insurance
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-12-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lint_roller
|
|
@@ -30,20 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 1.
|
|
34
|
-
- - ">="
|
|
35
|
-
- !ruby/object:Gem::Version
|
|
36
|
-
version: 1.76.2
|
|
33
|
+
version: 1.81.1
|
|
37
34
|
type: :runtime
|
|
38
35
|
prerelease: false
|
|
39
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
40
37
|
requirements:
|
|
41
38
|
- - "~>"
|
|
42
39
|
- !ruby/object:Gem::Version
|
|
43
|
-
version: 1.
|
|
44
|
-
- - ">="
|
|
45
|
-
- !ruby/object:Gem::Version
|
|
46
|
-
version: 1.76.2
|
|
40
|
+
version: 1.81.1
|
|
47
41
|
- !ruby/object:Gem::Dependency
|
|
48
42
|
name: rubocop-packaging
|
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -64,43 +58,43 @@ dependencies:
|
|
|
64
58
|
requirements:
|
|
65
59
|
- - "~>"
|
|
66
60
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: 1.
|
|
61
|
+
version: 1.26.1
|
|
68
62
|
type: :runtime
|
|
69
63
|
prerelease: false
|
|
70
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
71
65
|
requirements:
|
|
72
66
|
- - "~>"
|
|
73
67
|
- !ruby/object:Gem::Version
|
|
74
|
-
version: 1.
|
|
68
|
+
version: 1.26.1
|
|
75
69
|
- !ruby/object:Gem::Dependency
|
|
76
70
|
name: rubocop-rspec
|
|
77
71
|
requirement: !ruby/object:Gem::Requirement
|
|
78
72
|
requirements:
|
|
79
73
|
- - "~>"
|
|
80
74
|
- !ruby/object:Gem::Version
|
|
81
|
-
version: 3.
|
|
75
|
+
version: 3.8.0
|
|
82
76
|
type: :runtime
|
|
83
77
|
prerelease: false
|
|
84
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
85
79
|
requirements:
|
|
86
80
|
- - "~>"
|
|
87
81
|
- !ruby/object:Gem::Version
|
|
88
|
-
version: 3.
|
|
82
|
+
version: 3.8.0
|
|
89
83
|
- !ruby/object:Gem::Dependency
|
|
90
84
|
name: rubocop-thread_safety
|
|
91
85
|
requirement: !ruby/object:Gem::Requirement
|
|
92
86
|
requirements:
|
|
93
87
|
- - '='
|
|
94
88
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: 0.7.
|
|
89
|
+
version: 0.7.3
|
|
96
90
|
type: :runtime
|
|
97
91
|
prerelease: false
|
|
98
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
99
93
|
requirements:
|
|
100
94
|
- - '='
|
|
101
95
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: 0.7.
|
|
103
|
-
description:
|
|
96
|
+
version: 0.7.3
|
|
97
|
+
description:
|
|
104
98
|
email:
|
|
105
99
|
- documents@brandsinsurance.com
|
|
106
100
|
executables: []
|
|
@@ -151,7 +145,7 @@ metadata:
|
|
|
151
145
|
homepage_uri: https://github.com/BrandsInsurance/rubocop-rubomatic/
|
|
152
146
|
source_code_uri: https://github.com/BrandsInsurance/rubocop-rubomatic/tree/main
|
|
153
147
|
changelog_uri: https://github.com/BrandsInsurance/rubocop-rubomatic/blob/main/CHANGELOG.adoc
|
|
154
|
-
post_install_message:
|
|
148
|
+
post_install_message:
|
|
155
149
|
rdoc_options: []
|
|
156
150
|
require_paths:
|
|
157
151
|
- lib
|
|
@@ -159,15 +153,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
159
153
|
requirements:
|
|
160
154
|
- - ">="
|
|
161
155
|
- !ruby/object:Gem::Version
|
|
162
|
-
version: 3.
|
|
156
|
+
version: 3.3.4
|
|
163
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
158
|
requirements:
|
|
165
159
|
- - ">="
|
|
166
160
|
- !ruby/object:Gem::Version
|
|
167
161
|
version: '0'
|
|
168
162
|
requirements: []
|
|
169
|
-
rubygems_version: 3.
|
|
170
|
-
signing_key:
|
|
163
|
+
rubygems_version: 3.5.11
|
|
164
|
+
signing_key:
|
|
171
165
|
specification_version: 4
|
|
172
166
|
summary: Custom cops and shared config for BrandsInsurance
|
|
173
167
|
test_files: []
|