rubocop-rubomatic 1.4.0 → 1.5.0.pre.rc.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 +35 -0
- data/config/gemspec_on.yml +7 -0
- data/config/layout.yml +1 -0
- data/config/style.yml +15 -1
- data/lib/rubocop/rubomatic/version.rb +1 -1
- metadata +5 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61cdb8440a1e9517f96546279498c46ea22388a740bf7833d0ff061260311d63
|
4
|
+
data.tar.gz: a36ad07a0f4e32c5515b31416e6a74d33f189e7319ee27d9f6bf4e0f3cef6d76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37709bef7130b61a85a565c53bde5d5dfd1b94c1354135ea903d3667b1c57dfee525aac1d84ff9975fcc80355e520b220b07e9be348e707bf384a2cdddb88cbe
|
7
|
+
data.tar.gz: e4cdab1185c657d3ca6dd7bf78a32562017218aa864c5803e0397a1a3462673189ddf243c7423fd59b236c514a464148bf76e5d4b73cb209d80f2e402420f595
|
data/CHANGELOG.adoc
CHANGED
@@ -1,3 +1,38 @@
|
|
1
|
+
== Unreleased
|
2
|
+
|
3
|
+
== 1.5.0 (2024-10-22)
|
4
|
+
|
5
|
+
=== Cops
|
6
|
+
|
7
|
+
* Add new ``Style/MapIntoArray`` cop
|
8
|
+
* Add ``class_singleton`` to ``Layout/ClassStructure`` cop
|
9
|
+
* Add ``Style/SendWithLiteralMethodName`` cop
|
10
|
+
* Add ``Style/SuperArguments`` cop
|
11
|
+
* Add ``Gemspec/AddRuntimeDependency`` cop
|
12
|
+
* Add ``Gemspec/DevelopmentDependencies`` cop
|
13
|
+
|
14
|
+
=== Options
|
15
|
+
|
16
|
+
* Update ``Style/AccessModifierDeclarations`` cop options
|
17
|
+
** ``AllowModifiersOnSymbols: false``
|
18
|
+
** ``AllowModifiersOnAttrs: false``
|
19
|
+
* Update ``Style/DocumentationMethod`` cop options
|
20
|
+
** Add ``AllowedMethods`` option with defaults of:
|
21
|
+
*** ``method_missing``
|
22
|
+
*** ``respond_to_missing?``
|
23
|
+
|
24
|
+
=== Dependencies
|
25
|
+
|
26
|
+
* ``rubocop@1.65.1``
|
27
|
+
* ``rubocop-performance@1.22.1``
|
28
|
+
* ``rake@13.0.6``
|
29
|
+
* ``rspec@3.13.0``
|
30
|
+
* ``parser@3.3.4.2``
|
31
|
+
|
32
|
+
=== Misc
|
33
|
+
|
34
|
+
* Moved all gem dependencies to ``Gemfile``
|
35
|
+
|
1
36
|
== 1.4.0
|
2
37
|
|
3
38
|
=== Cops
|
data/config/gemspec_on.yml
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
Gemspec/AddRuntimeDependency:
|
2
|
+
Enabled: true
|
3
|
+
|
1
4
|
Gemspec/DependencyVersion:
|
2
5
|
Enabled: true
|
3
6
|
EnforcedStyle: 'required'
|
@@ -20,6 +23,10 @@ Gemspec/DuplicatedAssignment:
|
|
20
23
|
Include:
|
21
24
|
- '**/*.gemspec'
|
22
25
|
|
26
|
+
Gemspec/DevelopmentDependencies:
|
27
|
+
Enabled: true
|
28
|
+
EnforcedStyle: Gemfile
|
29
|
+
|
23
30
|
Gemspec/OrderedDependencies:
|
24
31
|
Enabled: true
|
25
32
|
TreatCommentsAsGroupSeparators: true
|
data/config/layout.yml
CHANGED
data/config/style.yml
CHANGED
@@ -4,7 +4,8 @@ Style/AccessModifierDeclarations:
|
|
4
4
|
SupportedStyles:
|
5
5
|
- inline
|
6
6
|
- group
|
7
|
-
AllowModifiersOnSymbols:
|
7
|
+
AllowModifiersOnSymbols: false
|
8
|
+
AllowModifiersOnAttrs: false
|
8
9
|
|
9
10
|
Style/AccessorGrouping:
|
10
11
|
Enabled: true
|
@@ -412,6 +413,9 @@ Style/DocumentationMethod:
|
|
412
413
|
- 'db/migrate/*'
|
413
414
|
- 'spec/**/*'
|
414
415
|
- 'test/**/*'
|
416
|
+
AllowedMethods:
|
417
|
+
- method_missing
|
418
|
+
- respond_to_missing?
|
415
419
|
|
416
420
|
Style/DoubleCopDisableDirective:
|
417
421
|
Enabled: true
|
@@ -784,6 +788,9 @@ Style/MagicCommentFormat:
|
|
784
788
|
Style/MapCompactWithConditionalBlock:
|
785
789
|
Enabled: true
|
786
790
|
|
791
|
+
Style/MapIntoArray:
|
792
|
+
Enabled: true
|
793
|
+
|
787
794
|
Style/MapToHash:
|
788
795
|
Enabled: true
|
789
796
|
|
@@ -1338,6 +1345,10 @@ Style/Semicolon:
|
|
1338
1345
|
Style/Send:
|
1339
1346
|
Enabled: true
|
1340
1347
|
|
1348
|
+
Style/SendWithLiteralMethodName:
|
1349
|
+
Enabled: true
|
1350
|
+
AllowSend: true
|
1351
|
+
|
1341
1352
|
Style/SignalException:
|
1342
1353
|
Enabled: true
|
1343
1354
|
EnforcedStyle: only_raise
|
@@ -1439,6 +1450,9 @@ Style/Strip:
|
|
1439
1450
|
Style/StructInheritance:
|
1440
1451
|
Enabled: true
|
1441
1452
|
|
1453
|
+
Style/SuperArguments:
|
1454
|
+
Enabled: true
|
1455
|
+
|
1442
1456
|
Style/SuperWithArgsParentheses:
|
1443
1457
|
Enabled: true
|
1444
1458
|
|
metadata
CHANGED
@@ -1,43 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-rubomatic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0.pre.rc.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brands Insurance
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: rubocop-performance
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.20.0
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 1.20.0
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rubocop
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.59.0
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 1.59.0
|
11
|
+
date: 2024-10-22 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
41
13
|
description:
|
42
14
|
email:
|
43
15
|
- documents@brandsinsurance.com
|
@@ -97,9 +69,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
97
69
|
version: 3.0.1
|
98
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
71
|
requirements:
|
100
|
-
- - "
|
72
|
+
- - ">"
|
101
73
|
- !ruby/object:Gem::Version
|
102
|
-
version:
|
74
|
+
version: 1.3.1
|
103
75
|
requirements: []
|
104
76
|
rubygems_version: 3.2.15
|
105
77
|
signing_key:
|