rubocop-rubomatic 1.3.0.pre.rc.1 → 1.4.0.pre.rc.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 917f2a46df8c001b3b821f0962123b1cafe48a43adc40928ebd71898f3b2ebc8
4
- data.tar.gz: 2f190274f225b75aa91d64410aafb232c3edff39792581f902deb077f53fcd8d
3
+ metadata.gz: cf1f436f7d2185ec2b70812d4fb16168932faa7a6fe63c684c3cc968d2afecb2
4
+ data.tar.gz: 5028bddd92022f47e13d4faf516fdbcc83095bb5f2208473bd09d3376edad703
5
5
  SHA512:
6
- metadata.gz: a87c2d9a37cea3b7bf65747d5e723b16175e7e87c356fa3e36085bc75a332d036e93bd59bcccba4dd26dc3919561dcaa6a2a746c8d2bcb100860754c943e6018
7
- data.tar.gz: db1d8dabb1fd6244565ee04f5acd2a5df8d64729593b9d83fc7692f01975e1c739fbc47892a0f7f06eff95c8409b72930097f2cc0b433981ac209ca13735b7cc
6
+ metadata.gz: 8b118c600a84fcaebd462e30a8783cdd22846617ae60584b5632826d78a56b8284a3d5923b8f2c834e948eb9b059e12cd74baed60e69404ba3addb55a3675b3f
7
+ data.tar.gz: d8f7662cce7636ed52229615a71d50663711af795de98016f30575cb426d79ff8c862cbf1d12a2fafa755b1dc237d3d4609a7c29ad2bf3e4f1528f8561aff267
data/CHANGELOG.adoc CHANGED
@@ -1,9 +1,33 @@
1
+ == 1.4.0
2
+
3
+ === Cops
4
+
5
+ * Added new ``Lint/ItWithoutArgumentsInBlock`` cop
6
+ * Added new ``Style/ArrayFirstLast`` cop
7
+ * Added new ``Style/SuperWithArgsParentheses`` cop
8
+ * Added new ``Lint/LiteralAssignmentInCondition`` cop
9
+ * Added new ``Style/SingleLineDoEndBlock`` cop
10
+ * Added new ``Performance/MapMethodChain`` cop
11
+
12
+ === Options
13
+
14
+ * Added ``UseAnonymousForwarding: true`` to ``Style/ArgumentsForwarding``, but only for ruby 3.2+
15
+
1
16
  == 1.3.0
2
17
 
3
18
  === Cops
4
19
 
20
+ * Added new ``Bundler/DuplicatedGroup`` cop
5
21
  * Removed ``SafeAutoCorrect`` key from all cops
6
22
 
23
+ === Options
24
+
25
+ * Added ``./\**/*.json.jbuilder`` to ``Exclude`` list for ``Performance/MultilineAssignmentLayout``
26
+
27
+ === Dependencies
28
+
29
+ * ``rubocop@1.56.0``
30
+
7
31
  == 1.2.0
8
32
 
9
33
  === Cops
data/config/bundler.yml CHANGED
@@ -1,29 +1,21 @@
1
1
  Bundler/DuplicatedGem:
2
- Description: 'Checks for duplicate gem entries in Gemfile.'
3
2
  Enabled: true
4
3
  Severity: warning
5
- VersionAdded: '0.46'
6
- VersionChanged: '1.40'
7
4
  Include:
8
5
  - '**/*.gemfile'
9
6
  - '**/Gemfile'
10
7
  - '**/gems.rb'
11
8
 
12
9
  Bundler/DuplicatedGroup:
13
- Description: Checks for duplicate group entries in Gemfile.
14
10
  Enabled: true
15
11
  Severity: warning
16
- VersionAdded: '1.56'
17
12
  Include:
18
13
  - '**/*.gemfile'
19
14
  - '**/Gemfile'
20
15
  - '**/gems.rb'
21
16
 
22
17
  Bundler/GemComment:
23
- Description: 'Add a comment describing each gem.'
24
18
  Enabled: false
25
- VersionAdded: '0.59'
26
- VersionChanged: '0.85'
27
19
  Include:
28
20
  - '**/*.gemfile'
29
21
  - '**/Gemfile'
@@ -32,9 +24,7 @@ Bundler/GemComment:
32
24
  OnlyFor: [ ]
33
25
 
34
26
  Bundler/GemFilename:
35
- Description: 'Enforces the filename for managing gems.'
36
27
  Enabled: true
37
- VersionAdded: '1.20'
38
28
  EnforcedStyle: 'Gemfile'
39
29
  SupportedStyles:
40
30
  - 'Gemfile'
@@ -46,9 +36,7 @@ Bundler/GemFilename:
46
36
  - '**/gems.locked'
47
37
 
48
38
  Bundler/GemVersion:
49
- Description: 'Requires or forbids specifying gem versions.'
50
39
  Enabled: true
51
- VersionAdded: '1.14'
52
40
  EnforcedStyle: 'required'
53
41
  SupportedStyles:
54
42
  - 'required'
@@ -60,14 +48,8 @@ Bundler/GemVersion:
60
48
  AllowedGems: [ ]
61
49
 
62
50
  Bundler/InsecureProtocolSource:
63
- Description: >-
64
- The source `:gemcutter`, `:rubygems` and `:rubyforge` are deprecated
65
- because HTTP requests are insecure. Please change your source to
66
- 'https://rubygems.org' if possible, or 'http://rubygems.org' if not.
67
51
  Enabled: true
68
52
  Severity: warning
69
- VersionAdded: '0.50'
70
- VersionChanged: '1.40'
71
53
  AllowHttpProtocol: true
72
54
  Include:
73
55
  - '**/*.gemfile'
@@ -75,11 +57,7 @@ Bundler/InsecureProtocolSource:
75
57
  - '**/gems.rb'
76
58
 
77
59
  Bundler/OrderedGems:
78
- Description: >-
79
- Gems within groups in the Gemfile should be alphabetically sorted.
80
60
  Enabled: false
81
- VersionAdded: '0.46'
82
- VersionChanged: '0.47'
83
61
  TreatCommentsAsGroupSeparators: true
84
62
  # By default, "-" and "_" are ignored for order purposes.
85
63
  # This can be overridden by setting this parameter to true.
data/config/default.yml CHANGED
@@ -1,11 +1,7 @@
1
1
  Rubomatic/Layout/MultilineArrayLineBreaks:
2
- Description: 'Extends base Layout/MultilineArrayLineBreaks cop'
3
2
  Enabled: true
4
- VersionAdded: '1.4.0'
5
3
  AllowMultilineFinalElement: true
6
4
  AllowPercentArray: true
7
5
 
8
6
  Rubomatic/Style/DisallowedMethods:
9
- Description: 'Disallows the usage of `#abort` and `#tap` methods'
10
7
  Enabled: true
11
- VersionAdded: '0.0.2'
@@ -1,7 +1,5 @@
1
1
  Gemspec/DependencyVersion:
2
- Description: 'Requires or forbids specifying gem dependency versions.'
3
2
  Enabled: true
4
- VersionAdded: '1.29'
5
3
  EnforcedStyle: 'required'
6
4
  SupportedStyles:
7
5
  - 'required'
@@ -11,28 +9,19 @@ Gemspec/DependencyVersion:
11
9
  AllowedGems: [ ]
12
10
 
13
11
  Gemspec/DeprecatedAttributeAssignment:
14
- Description: Checks that deprecated attribute assignments are not set in a gemspec file.
15
12
  Enabled: true
16
13
  Severity: warning
17
- VersionAdded: '1.30'
18
- VersionChanged: '1.40'
19
14
  Include:
20
15
  - '**/*.gemspec'
21
16
 
22
17
  Gemspec/DuplicatedAssignment:
23
- Description: 'An attribute assignment method calls should be listed only once in a gemspec.'
24
18
  Enabled: true
25
19
  Severity: warning
26
- VersionAdded: '0.52'
27
- VersionChanged: '1.40'
28
20
  Include:
29
21
  - '**/*.gemspec'
30
22
 
31
23
  Gemspec/OrderedDependencies:
32
- Description: >-
33
- Dependencies in the gemspec should be alphabetically sorted.
34
24
  Enabled: true
35
- VersionAdded: '0.51'
36
25
  TreatCommentsAsGroupSeparators: true
37
26
  # By default, "-" and "_" are ignored for order purposes.
38
27
  # This can be overridden by setting this parameter to true.
@@ -41,32 +30,20 @@ Gemspec/OrderedDependencies:
41
30
  - '**/*.gemspec'
42
31
 
43
32
  Gemspec/RequireMFA:
44
- Description: 'Checks that the gemspec has metadata to require Multi-Factor Authentication from RubyGems.'
45
33
  Enabled: true
46
34
  Severity: warning
47
- VersionAdded: '1.23'
48
- VersionChanged: '1.40'
49
- Reference:
50
- - https://guides.rubygems.org/mfa-requirement-opt-in/
51
35
  Include:
52
36
  - '**/*.gemspec'
53
37
 
54
38
  Gemspec/RequiredRubyVersion:
55
- Description: 'Checks that `required_ruby_version` of gemspec is specified and equal to `TargetRubyVersion` of .rubocop.yml.'
56
39
  Enabled: true
57
40
  Severity: warning
58
- VersionAdded: '0.52'
59
- VersionChanged: '1.40'
60
41
  Include:
61
42
  - '**/*.gemspec'
62
43
 
63
44
  Gemspec/RubyVersionGlobalsUsage:
64
- Description: Checks usage of RUBY_VERSION in gemspec.
65
- StyleGuide: '#no-ruby-version-in-the-gemspec'
66
45
  Enabled: true
67
46
  Severity: warning
68
- VersionAdded: '0.72'
69
- VersionChanged: '1.40'
70
47
  Include:
71
48
  - '**/*.gemspec'
72
49