rubocop-rubomatic 2.0.1 → 2.1.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.
@@ -85,47 +85,41 @@ module RuboCop
85
85
  RUBY
86
86
  README_ADDED_MESSAGE = '[modify] A link for the %{dept_vs_cop} has been added into %{readme_file_path}.'
87
87
 
88
- DEPT_README_TEMPLATE = <<~ADOC
89
- = %{department}
88
+ DEPT_README_TEMPLATE = <<~MARKDOWN
89
+ # %{department}
90
90
 
91
91
  Describe the department here
92
92
 
93
- == Cops
93
+ ## Cops
94
94
 
95
- ADOC
96
- COP_README_TEMPLATE = <<~ADOC
97
- = ``%{department}/%{cop_name}``
95
+ MARKDOWN
96
+ COP_README_TEMPLATE = <<~MARKDOWN
97
+ # `%{department}/%{cop_name}`
98
98
 
99
- == Description
99
+ ## Description
100
100
 
101
101
  Add a description here
102
102
 
103
- == Examples
103
+ ## Examples
104
104
 
105
- [source,ruby]
106
- ----
105
+ ```ruby
107
106
  # Bad
108
107
  # Add a bad example here
109
108
 
110
109
  # Good
111
110
  # Add a good example here
112
- ----
111
+ ```
113
112
 
114
- == Configurable Attributes
113
+ ## Configurable Attributes
115
114
 
116
- |===
117
- |Name |Default value |Configurable values
115
+ | Name | Default value | Configurable values |
116
+ | ---- | ------------- | ------------------- |
117
+ | Max | 120 | Integer |
118
118
 
119
- |Max
120
- |120
121
- |Integer
122
-
123
- |===
124
-
125
- == References
119
+ ## References
126
120
 
127
121
  https://github.com/BrandsInsurance/expert-chainsaw/issues
128
- ADOC
122
+ MARKDOWN
129
123
 
130
124
  # :nodoc:
131
125
  def initialize(name, output: $stdout)
@@ -135,8 +129,8 @@ module RuboCop
135
129
  raise(
136
130
  [
137
131
  'You must provide a single department under Rubomatic i.e. Rubomatic/Department/CopName',
138
- 'or Department/CopName'
139
- ].join(' ')
132
+ 'or Department/CopName',
133
+ ].join(' '),
140
134
  )
141
135
  end
142
136
 
@@ -182,12 +176,12 @@ module RuboCop
182
176
  #
183
177
  # @return [void]
184
178
  #
185
- def inject_dept_readme(readme_file_path: 'README.adoc')
179
+ def inject_dept_readme(readme_file_path: 'README.md')
186
180
  # Add this dept to base readme if not already there
187
181
  injector = DeptReadmeInjector.new(
188
182
  readme_file_path: readme_file_path,
189
183
  badge: badge,
190
- department: department
184
+ department: department,
191
185
  )
192
186
 
193
187
  injector.inject_string do
@@ -205,7 +199,7 @@ module RuboCop
205
199
  injector = CopReadmeInjector.new(
206
200
  readme_file_path: readme_file_path,
207
201
  badge: badge,
208
- department: department
202
+ department: department,
209
203
  )
210
204
 
211
205
  injector.inject_string do
@@ -247,11 +241,11 @@ module RuboCop
247
241
  format(template, {
248
242
  department: department,
249
243
  cop_name: badge.cop_name,
250
- cop_folder: snake_case(badge.cop_name.to_s)
244
+ cop_folder: snake_case(badge.cop_name.to_s),
251
245
  })
252
246
  end
253
247
 
254
- # Path to <department>/README.adoc
248
+ # Path to <department>/README.md
255
249
  #
256
250
  # @return [String]
257
251
  #
@@ -260,11 +254,11 @@ module RuboCop
260
254
  'docs',
261
255
  'cops',
262
256
  snake_case(department),
263
- 'README.adoc'
257
+ 'README.md',
264
258
  )
265
259
  end
266
260
 
267
- # Path to <department>/<cop>/README.adoc
261
+ # Path to <department>/<cop>/README.md
268
262
  #
269
263
  # @return [String]
270
264
  #
@@ -274,7 +268,7 @@ module RuboCop
274
268
  'cops',
275
269
  snake_case(department),
276
270
  snake_case(badge.cop_name.to_s),
277
- 'README.adoc'
271
+ 'README.md',
278
272
  )
279
273
  end
280
274
  end
@@ -11,7 +11,7 @@ module RuboCop
11
11
  # For example
12
12
  MESSAGES = {
13
13
  abort: 'Use `#raise` instead of `#abort`.',
14
- tap: 'Do not use `#tap`'
14
+ tap: 'Do not use `#tap`',
15
15
  }.freeze
16
16
 
17
17
  # `on_send` will only be called if the method name is in this list
@@ -24,7 +24,7 @@ module RuboCop
24
24
 
25
25
  # @!method using_tap?(node)
26
26
  def_node_matcher :using_tap?, <<~PATTERN
27
- (send nil? :tap ...)
27
+ (call _ :tap ...)
28
28
  PATTERN
29
29
 
30
30
  # The main logic method of the cop
@@ -41,8 +41,9 @@ module RuboCop
41
41
 
42
42
  return if message.nil?
43
43
 
44
- add_offense(node, message: MESSAGES.fetch(message))
44
+ add_offense(node.loc.selector, message: MESSAGES.fetch(message))
45
45
  end
46
+ alias on_csend on_send
46
47
  end
47
48
  end
48
49
  end
@@ -12,7 +12,7 @@ module RuboCop
12
12
  name: 'rubocop-rubomatic',
13
13
  version: VERSION::STRING,
14
14
  homepage: 'https://github.com/BrandsInsurance/rubocop-rubomatic/',
15
- description: 'A collection of RuboCop cops to check for performance optimizations in Ruby code.'
15
+ description: 'A collection of RuboCop cops to check for performance optimizations in Ruby code.',
16
16
  )
17
17
  end
18
18
 
@@ -26,7 +26,7 @@ module RuboCop
26
26
  LintRoller::Rules.new(
27
27
  type: :path,
28
28
  config_format: :rubocop,
29
- value: Pathname.new(__dir__).join('../../../config/default.yml')
29
+ value: Pathname.new(__dir__).join('../../../config/default.yml'),
30
30
  )
31
31
  end
32
32
  end
@@ -4,13 +4,14 @@ module RuboCop
4
4
  module Rubomatic
5
5
  module VERSION
6
6
  MAJOR = 2
7
- MINOR = 0
8
- TINY = 1
7
+ MINOR = 1
8
+ PATCH = 1
9
+ TINY = PATCH
9
10
 
10
11
  # Set PRE to nil unless it's a pre-release (beta, rc, etc.)
11
12
  PRE = nil
12
13
 
13
- STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.').freeze
14
+ STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.').freeze
14
15
 
15
16
  # @return [String]
16
17
  def self.to_s
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: 2.0.1
4
+ version: 2.1.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: 2026-05-05 00:00:00.000000000 Z
11
+ date: 2026-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lint_roller
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.82.1
33
+ version: 1.92.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.82.1
40
+ version: 1.92.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-packaging
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,42 +58,56 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.26.1
61
+ version: 1.27.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.26.1
68
+ version: 1.27.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 3.8.0
75
+ version: 3.10.2
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 3.8.0
82
+ version: 3.10.2
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop-thread_safety
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 0.7.3
89
+ version: 0.8.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 0.7.3
96
+ version: 0.8.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubydex
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.4.1
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.4.1
97
111
  description:
98
112
  email:
99
113
  - documents@brandsinsurance.com
@@ -101,9 +115,9 @@ executables: []
101
115
  extensions: []
102
116
  extra_rdoc_files: []
103
117
  files:
104
- - CHANGELOG.adoc
118
+ - CHANGELOG.md
105
119
  - LICENSE
106
- - README.adoc
120
+ - README.md
107
121
  - config/bundler.yml
108
122
  - config/default.yml
109
123
  - config/gemspec.yml
@@ -122,10 +136,10 @@ files:
122
136
  - config/security.yml
123
137
  - config/style.yml
124
138
  - config/thread_safety.yml
125
- - docs/cops/layout/README.adoc
126
- - docs/cops/layout/multiline_array_line_breaks/README.adoc
127
- - docs/cops/style/README.adoc
128
- - docs/cops/style/disallowed_methods/README.adoc
139
+ - docs/cops/layout/README.md
140
+ - docs/cops/layout/multiline_array_line_breaks/README.md
141
+ - docs/cops/style/README.md
142
+ - docs/cops/style/disallowed_methods/README.md
129
143
  - lib/rubocop-rubomatic.rb
130
144
  - lib/rubocop/cop/rubomatic/generator.rb
131
145
  - lib/rubocop/cop/rubomatic/generator/cop_readme_injector.rb
@@ -138,13 +152,13 @@ files:
138
152
  - lib/rubocop/rubomatic/version.rb
139
153
  homepage: https://github.com/BrandsInsurance/rubocop-rubomatic/
140
154
  licenses:
141
- - MIT
155
+ - BSD-3-Clause
142
156
  metadata:
143
157
  default_lint_roller_plugin: RuboCop::Rubomatic::Plugin
144
158
  rubygems_mfa_required: 'true'
145
159
  homepage_uri: https://github.com/BrandsInsurance/rubocop-rubomatic/
146
160
  source_code_uri: https://github.com/BrandsInsurance/rubocop-rubomatic/tree/main
147
- changelog_uri: https://github.com/BrandsInsurance/rubocop-rubomatic/blob/main/CHANGELOG.adoc
161
+ changelog_uri: https://github.com/BrandsInsurance/rubocop-rubomatic/blob/main/CHANGELOG.md
148
162
  post_install_message:
149
163
  rdoc_options: []
150
164
  require_paths:
data/CHANGELOG.adoc DELETED
@@ -1,332 +0,0 @@
1
- == 2.0.1 (2026-05-05)
2
-
3
- * Just a version bump
4
-
5
- == 2.0.0 (2026-01-05)
6
-
7
- === BREAKING CHANGES
8
-
9
- * Drop support for ruby < ``3.3.4``
10
-
11
- === Layout
12
-
13
- * Enabled ``Layout/EmptyLinesAfterModuleInclusion``
14
- * Added ``Layout/LineLength`` options:
15
- ** ``AllowQualifiedName: true``
16
- ** ``SplitStrings: true``
17
- ** ``AllowRBSInlineAnnotation: false``
18
-
19
- === Style
20
-
21
- * Enabled ``Style/ModuleMemberExistenceCheck``
22
- * Added ``IncludedMacroPatterns: [ ]`` to ``Style/MethodCallWithArgsParentheses``
23
- * Enabled ``Style/ArrayIntersectWithSingleElement``
24
- * Added ``0.0.0.0`` and ``127.0.0.1`` to ``Style/IpAddresses/AllowedAddresses``
25
- * Added ``DefaultToNil: false`` to ``Style/FetchEnvVar``
26
- * Use ``diff_comma`` for ``Style/TrailingCommaInArguments``, ``Style/TrailingCommaInArrayLiteral``, and ``Style/TrailingCommaInHashLiteral``
27
-
28
- === RSpec
29
-
30
- * Enabled ``RSpec/LeakyLocalVariable``
31
- * Disabled ``RSpec/MultipleExpectations``
32
- * Increased ``RSpec/NestedGroups/Max`` from 3 to 5
33
- * Increased ``RSpec/MultipleMemoizedHelpers/Max`` from 5 to 10
34
-
35
- === Gemspec
36
-
37
- * Enabled ``Gemspec/AttributeAssignment`` (in gemspec_on.yml)
38
-
39
- == 1.6.3 (2025-06-18)
40
-
41
- * Missing inclusion of ``config/rspec.yml``
42
-
43
- == 1.6.2 (2025-06-18)
44
-
45
- * Updated to ``rubocop 1.76.2``
46
- ** Set defaults for ``Naming/PredicateMethod/AllowBangMethods``
47
-
48
- == 1.6.1 (2025-06-13)
49
-
50
- * Changed ``ENV['RUBY_MAJOR']`` to ``ENV['RUBY_VERSION']``
51
-
52
- == 1.6.0 (2025-06-12)
53
-
54
- * Upgrade to ``ruobcop 1.76.1``
55
- ** This includes the change from ``require:`` to ``plugins:``.
56
- While ``require:`` will still work, there will be a deprecation warning
57
- ** Set
58
- *** ``Layout/LeadingCommentSpace/AllowSteepAnnotation`` to ``false``
59
- *** ``Lint/DuplicateBranch/IgnoreDuplicateElseBranch`` to ``true``
60
- ** Enabled
61
- *** ``Lint/ArrayLiteralInRegexp``
62
- *** ``Lint/ConstantReassignment``
63
- *** ``Lint/CopDirectiveSyntax``
64
- *** ``Lint/DuplicateSetElement``
65
- *** ``Lint/HashNewWithKeywordArgumentsAsDefault``
66
- *** ``Lint/NumericOperationWithConstantResult``
67
- *** ``Lint/RedundantTypeConversion``
68
- *** ``Lint/SharedMutableDefault``
69
- *** ``Lint/SuppressedExceptionInNumberConversion``
70
- *** ``Lint/UnescapedBracketInRegexp``
71
- *** ``Lint/UselessConstantScoping``
72
- *** ``Lint/UselessDefaultValueArgument``
73
- *** ``Lint/UselessDefined``
74
- *** ``Lint/UselessNumericOperation``
75
- *** ``Lint/UselessOr``
76
- *** ``Naming/PredicateMethod``
77
- *** ``Style/AmbiguousEndlessMethodDefinition``
78
- *** ``Style/BitwisePredicate``
79
- *** ``Style/ComparableBetween``
80
- *** ``Style/CombinableDefined``
81
- *** ``Style/DigChain``
82
- *** ``Style/EmptyStringInsideInterpolation``
83
- *** ``Style/FileNull``
84
- *** ``Style/FileTouch``
85
- *** ``Style/HashFetchChain``
86
- *** ``Style/HashSlice``
87
- *** ``Style/ItAssignment``
88
- *** ``Style/ItBlockParameter``
89
- *** ``Style/KeywordArgumentsMergin``
90
- *** ``Style/RedundantArrayFlatten``
91
- *** ``Style/RedundantFormat``
92
- *** ``Style/RedundantInterpolationUnfreeze``
93
- ** Disabled ``Style/SafeNavigationChainLength``
94
- * Added ``rack_attack.rb`` to exclude list for ``Style/IpAddresses``
95
- * Upgraded to ``rubocop-performance 1.25.0``
96
- ** Enabled
97
- *** ``Performance/StringBytesize``
98
- *** ``Performance/ZipWithoutBlock``
99
- * Added ``rubocop-packaging 0.6.0``
100
- ** Enabled ``Packaging/GemspecGit``
101
- * Added ``rubocop-rspec 3.6.0``
102
- ** Did **not** enable
103
- *** ``RSpec/AlignLeftLetBrace``
104
- *** ``RSpec/AlignRightLetBrace``
105
- *** ``RSpec/Dialect``
106
- *** ``RSpec/Pending``
107
- ** Enabled
108
- *** ``RSpec/AnyInstance``
109
- *** ``RSpec/AroundBlock``
110
- *** ``RSpec/Be``
111
- *** ``RSpec/BeEmpty``
112
- *** ``RSpec/BeEq``
113
- *** ``RSpec/BeEql``
114
- *** ``RSpec/BeNil``
115
- *** ``RSpec/BeforeAfterAll``
116
- *** ``RSpec/ChangeByZero``
117
- *** ``RSpec/ClassCheck``
118
- *** ``RSpec/ContainExactly``
119
- *** ``RSpec/ContextMethod``
120
- *** ``RSpec/ContextWording``
121
- *** ``RSpec/DescribeClass``
122
- *** ``RSpec/DescribeMethod``
123
- *** ``RSpec/DescribeSymbol``
124
- *** ``RSpec/DescribedClass``
125
- *** ``RSpec/DescribedClassModuleWrapping``
126
- *** ``RSpec/DuplicatedMetadata``
127
- *** ``RSpec/EmptyExampleGroup``
128
- *** ``RSpec/EmptyHook``
129
- *** ``RSpec/EmptyLineAfterExample``
130
- *** ``RSpec/EmptyLineAfterExampleGroup``
131
- *** ``RSpec/EmptyLineAfterFinalLet``
132
- *** ``RSpec/EmptyLineAfterHook``
133
- *** ``RSpec/EmptyLineAfterSubject``
134
- *** ``RSpec/EmptyMetadata``
135
- *** ``RSpec/EmptyOutput``
136
- *** ``RSpec/Eq``
137
- *** ``RSpec/ExampleLength``
138
- *** ``RSpec/ExampleWithoutDescription``
139
- *** ``RSpec/ExampleWording``
140
- *** ``RSpec/ExcessiveDocstringSpacing``
141
- *** ``RSpec/ExpectActual``
142
- *** ``RSpec/ExpectChange``
143
- *** ``RSpec/ExpectInHook``
144
- *** ``RSpec/ExpectInLet``
145
- *** ``RSpec/ExpectOutput``
146
- *** ``RSpec/Focus``
147
- *** ``RSpec/HookArgument``
148
- *** ``RSpec/HooksBeforeExamples``
149
- *** ``RSpec/IdenticalEqualityAssertion``
150
- *** ``RSpec/ImplicitBlockExpectation``
151
- *** ``RSpec/ImplicitExpect``
152
- *** ``RSpec/ImplicitSubject``
153
- *** ``RSpec/IncludeExamples``
154
- *** ``RSpec/IndexedLet``
155
- *** ``RSpec/InstanceSpy``
156
- *** ``RSpec/InstanceVariable``
157
- *** ``RSpec/IsExpectedSpecify``
158
- *** ``RSpec/ItBehavesLike``
159
- *** ``RSpec/IteratedExpectation``
160
- *** ``RSpec/LeadingSubject``
161
- *** ``RSpec/LeakyConstantDeclaration``
162
- *** ``RSpec/LetBeforeExamples``
163
- *** ``RSpec/LetSetup``
164
- *** ``RSpec/MatchArray``
165
- *** ``RSpec/MessageChain``
166
- *** ``RSpec/MessageExpectation``
167
- *** ``RSpec/MessageSpies``
168
- *** ``RSpec/MetadataStyle``
169
- *** ``RSpec/MissingExampleGroupArgument``
170
- *** ``RSpec/MissingExpectationTargetMethod``
171
- *** ``RSpec/MultipleDescribes``
172
- *** ``RSpec/MultipleExpectations``
173
- *** ``RSpec/MultipleMemoizedHelpers``
174
- *** ``RSpec/MultipleSubjects``
175
- *** ``RSpec/NamedSubject``
176
- *** ``RSpec/NestedGroups``
177
- *** ``RSpec/NoExpectationExample``
178
- *** ``RSpec/NotToNot``
179
- *** ``RSpec/OverwritingSetup``
180
- *** ``RSpec/PendingWithoutReason``
181
- *** ``RSpec/PredicateMatcher``
182
- *** ``RSpec/ReceiveCounts``
183
- *** ``RSpec/ReceiveMessages``
184
- *** ``RSpec/ReceiveNever``
185
- *** ``RSpec/RedundantAround``
186
- *** ``RSpec/RedundantPredicateMatcher``
187
- *** ``RSpec/RemoveConst``
188
- *** ``RSpec/RepeatedDescription``
189
- *** ``RSpec/RepeatedExample``
190
- *** ``RSpec/RepeatedExampleGroupBody``
191
- *** ``RSpec/RepeatedExampleGroupDescription``
192
- *** ``RSpec/RepeatedIncludeExample``
193
- *** ``RSpec/RepeatedSubjectCall``
194
- *** ``RSpec/ReturnFromStub``
195
- *** ``RSpec/ScatteredLet``
196
- *** ``RSpec/ScatteredSetup``
197
- *** ``RSpec/SharedContext``
198
- *** ``RSpec/SharedExamples``
199
- *** ``RSpec/SingleArgumentMessageChain``
200
- *** ``RSpec/SkipBlockInsideExample``
201
- *** ``RSpec/SortMetadata``
202
- *** ``RSpec/SpecFilePathFormat``
203
- *** ``RSpec/SpecFilePathSuffix``
204
- *** ``RSpec/StubbedMock``
205
- *** ``RSpec/SubjectDeclaration``
206
- *** ``RSpec/SubjectStub``
207
- *** ``RSpec/UndescriptiveLiteralsDescription``
208
- *** ``RSpec/UnspecifiedException``
209
- *** ``RSpec/VariableDefinition``
210
- *** ``RSpec/VariableName``
211
- *** ``RSpec/VerifiedDoubleReference``
212
- *** ``RSpec/VerifiedDoubles``
213
- *** ``RSpec/VoidExpect``
214
- *** ``RSpec/Yield``
215
- * Added ``rubocop-thread_safety 0.7.2``
216
- ** Enabled
217
- *** ``ThreadSafety/ClassAndModuleAttributes``
218
- *** ``ThreadSafety/ClassInstanceVariable``
219
- *** ``ThreadSafety/DirChdir``
220
- *** ``ThreadSafety/MutableClassInstanceVariable``
221
- *** ``ThreadSafety/NewThread``
222
- *** ``ThreadSafety/RackMiddlewareInstanceVariable``
223
-
224
- == 1.5.1 (2024-10-22)
225
-
226
- === Misc
227
-
228
- * Move runtime dependencies back into the gemspec
229
-
230
- == 1.5.0 (2024-10-22)
231
-
232
- === Cops
233
-
234
- * Add new ``Style/MapIntoArray`` cop
235
- * Add ``class_singleton`` to ``Layout/ClassStructure`` cop
236
- * Add ``Style/SendWithLiteralMethodName`` cop
237
- * Add ``Style/SuperArguments`` cop
238
- * Add ``Gemspec/AddRuntimeDependency`` cop
239
- * Add ``Gemspec/DevelopmentDependencies`` cop
240
-
241
- === Options
242
-
243
- * Update ``Style/AccessModifierDeclarations`` cop options
244
- ** ``AllowModifiersOnSymbols: false``
245
- ** ``AllowModifiersOnAttrs: false``
246
- * Update ``Style/DocumentationMethod`` cop options
247
- ** Add ``AllowedMethods`` option with defaults of:
248
- *** ``method_missing``
249
- *** ``respond_to_missing?``
250
-
251
- === Dependencies
252
-
253
- * ``rubocop@1.65.1``
254
- * ``rubocop-performance@1.22.1``
255
- * ``rake@13.0.6``
256
- * ``rspec@3.13.0``
257
- * ``parser@3.3.4.2``
258
-
259
- === Misc
260
-
261
- * Moved all gem dependencies to ``Gemfile``
262
-
263
- == 1.4.0
264
-
265
- === Cops
266
-
267
- * Added new ``Lint/ItWithoutArgumentsInBlock`` cop
268
- * Added new ``Style/ArrayFirstLast`` cop
269
- * Added new ``Style/SuperWithArgsParentheses`` cop
270
- * Added new ``Lint/LiteralAssignmentInCondition`` cop
271
- * Added new ``Style/SingleLineDoEndBlock`` cop
272
- * Added new ``Performance/MapMethodChain`` cop
273
-
274
- === Options
275
-
276
- * Added ``UseAnonymousForwarding: true`` to ``Style/ArgumentsForwarding``, but only for ruby 3.2+
277
-
278
- == 1.3.0
279
-
280
- === Cops
281
-
282
- * Added new ``Bundler/DuplicatedGroup`` cop
283
- * Removed ``SafeAutoCorrect`` key from all cops
284
-
285
- === Options
286
-
287
- * Added ``./\**/*.json.jbuilder`` to ``Exclude`` list for ``Performance/MultilineAssignmentLayout``
288
-
289
- === Dependencies
290
-
291
- * ``rubocop@1.56.0``
292
-
293
- == 1.2.0
294
-
295
- === Cops
296
-
297
- * `Metrics/BlockLength/Exclude` add route files
298
-
299
- == 1.1.0
300
-
301
- === Cops
302
-
303
- * `Lint/DuplicateMatchPattern`
304
- * `Lint/MixedCaseRange`
305
- * `Lint/RedundantRegexpQuantifiers`
306
- * `Performance/RedundantEqualityComparisonBlock/AllowRegexpMatch` added
307
- * `Style/ExactRegexpMatch`
308
- * `Style/MethodCallWithArgsParentheses/Exclude` added `Gemfile`
309
- * `Style/MultipleComparison/ComparisonsThreshold` added with `2`
310
- * `Style/RedundantArrayConstructor`
311
- * `Style/RedundantCurrentDirectoryInPath`
312
- * `Style/RedundantFilterChain`
313
- * `Style/RedundantRegexpArgument`
314
- * `Style/RedundantRegexpConstructor`
315
- * `Style/ReturnNilInPredicateMethodDefinition`
316
- * `Style/YAMLFileRead`
317
-
318
- === Dependencies
319
-
320
- * `rubocop@1.53.0`
321
- * `rubocop-performance@1.18.0`
322
-
323
- == 1.0.0
324
-
325
- * Initial merging migration
326
- ** Replaced rubomatic
327
- ** Replaced rubocop-brands_insurance
328
-
329
- === Dependencies
330
-
331
- * `rubocop@1.49.0`
332
- * `rubocop-performance@1.16.0`
@@ -1,7 +0,0 @@
1
- = Layout
2
-
3
- Layout cops check for stylistic whitespace in your code
4
-
5
- == Cops
6
-
7
- * xref:./multiline_array_line_breaks/README.adoc[``Layout/MultilineArrayLineBreaks``]