rubocop-able 0.1.0 → 0.2.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4bd88397fda0f2eba26fa8e3ac17f2d280801c1c530202ec64d8df6cb97b4449
4
- data.tar.gz: 5d4883ba3a1ec2a47f8d5bbb2f057a1c27f98c94889470c91baca46fb3fe6ed8
3
+ metadata.gz: ba1a72f730346a62d5ee4e2e7ffcdb15a1b594c5a3b7e15cf5aab14ec424b1b4
4
+ data.tar.gz: 367a9a6d1275b60a60270bf11dc891b482ba5b4b79e3aa9485982fb690d620e0
5
5
  SHA512:
6
- metadata.gz: 200fe375649f21edb12dbf22a9fed03b371fb2d7496c69a7d789eb499c9be83b67e8fb169e7508edb1593ee9a61863333b8210e687ff92ae5a8bd6c8e0fd1de0
7
- data.tar.gz: dc3620292edfeac8b5f445a3183af93a9b184f8d5535d61e3a82fb8b758f9642956af1ece7d1bb8530fc45a5aad57fbd01d88b115fdc43e274313848acde623a
6
+ metadata.gz: 705725c6713279a68f2efb84c6d8135c9d1e3c0e2c4914dd9f609730060dceb08d8e7d7a969ac14da1f03425d7e70031e5832db7c08488b2c7355160b8f98144
7
+ data.tar.gz: 41a995880c45f1fcd4103212705c857538357974ff22a6895685e1bd48ed5f4f8728a62ab4bbbbcf4b9eec91392dc5e32232f6fd1cb03cb2d2c0d4732d107899
data/config/bundle.yml ADDED
@@ -0,0 +1,395 @@
1
+ require: rubocop-rails
2
+ AllCops:
3
+ Exclude:
4
+ - bin/**/*
5
+ - node_modules/**/*
6
+ - log/**/*
7
+ - tmp/**/*
8
+ - vendor/**/*
9
+ - db/migrate/*
10
+ - db/schema.rb
11
+ DisabledByDefault: true
12
+
13
+ Bundler/DuplicatedGem:
14
+ Enabled: true
15
+
16
+ Bundler/InsecureProtocolSource:
17
+ Enabled: true
18
+
19
+ Layout/AccessModifierIndentation:
20
+ EnforcedStyle: indent
21
+
22
+ Layout/ArgumentAlignment:
23
+ Enabled: true
24
+
25
+ Layout/ArrayAlignment:
26
+ Enabled: true
27
+
28
+ Layout/BeginEndAlignment:
29
+ Enabled: true
30
+
31
+ Layout/BlockAlignment:
32
+ Enabled: true
33
+
34
+ Layout/BlockEndNewline:
35
+ Enabled: true
36
+
37
+ Layout/ClosingParenthesisIndentation:
38
+ Enabled: true
39
+
40
+ Layout/DefEndAlignment:
41
+ EnforcedStyleAlignWith: start_of_line
42
+
43
+ Layout/DotPosition:
44
+ EnforcedStyle: leading
45
+
46
+ Layout/EmptyComment:
47
+ Enabled: true
48
+
49
+ Layout/EmptyLineBetweenDefs:
50
+ Enabled: true
51
+ NumberOfEmptyLines: 1
52
+
53
+ Layout/EmptyLinesAroundAttributeAccessor:
54
+ Enabled: true
55
+
56
+ Layout/EmptyLinesAroundBlockBody:
57
+ EnforcedStyle: no_empty_lines
58
+
59
+ Layout/EmptyLinesAroundClassBody:
60
+ EnforcedStyle: no_empty_lines
61
+
62
+ Layout/EmptyLinesAroundModuleBody:
63
+ EnforcedStyle: no_empty_lines
64
+
65
+ Layout/EndAlignment:
66
+ EnforcedStyleAlignWith: start_of_line
67
+
68
+ Layout/ExtraSpacing:
69
+ AllowForAlignment: true
70
+
71
+ Layout/FirstArgumentIndentation:
72
+ Enabled: true
73
+
74
+ Layout/FirstArrayElementIndentation:
75
+ EnforcedStyle: consistent
76
+
77
+ Layout/FirstHashElementIndentation:
78
+ EnforcedStyle: consistent
79
+
80
+ Layout/FirstParameterIndentation:
81
+ Enabled: true
82
+
83
+ Layout/HashAlignment:
84
+ Enabled: true
85
+
86
+ Layout/IndentationConsistency:
87
+ EnforcedStyle: normal
88
+
89
+ Layout/IndentationStyle:
90
+ Enabled: true
91
+
92
+ Layout/IndentationWidth:
93
+ Enabled: true
94
+ Width: 2
95
+
96
+ Layout/LineLength:
97
+ IgnoredPatterns: [(\A|\s)#]
98
+ Max: 100
99
+
100
+ Layout/MultilineArrayLineBreaks:
101
+ Enabled: true
102
+
103
+ Layout/MultilineBlockLayout:
104
+ Enabled: true
105
+
106
+ Layout/MultilineHashBraceLayout:
107
+ Enabled: true
108
+
109
+ Layout/MultilineHashKeyLineBreaks:
110
+ Enabled: true
111
+
112
+ Layout/MultilineMethodArgumentLineBreaks:
113
+ Enabled: true
114
+
115
+ Layout/MultilineMethodCallIndentation:
116
+ Enabled: true
117
+ EnforcedStyle: indented_relative_to_receiver
118
+
119
+ Layout/ParameterAlignment:
120
+ Enabled: true
121
+
122
+ Layout/SpaceAroundBlockParameters:
123
+ EnforcedStyleInsidePipes: no_space
124
+
125
+ Layout/SpaceAroundEqualsInParameterDefault:
126
+ EnforcedStyle: space
127
+
128
+ Layout/SpaceAroundMethodCallOperator:
129
+ Enabled: true
130
+
131
+ Layout/SpaceAroundOperators:
132
+ Enabled: true
133
+
134
+ Layout/SpaceBeforeBlockBraces:
135
+ EnforcedStyle: space
136
+
137
+ Layout/SpaceInLambdaLiteral:
138
+ EnforcedStyle: require_no_space
139
+
140
+ Layout/SpaceInsideBlockBraces:
141
+ EnforcedStyle: space
142
+ EnforcedStyleForEmptyBraces: no_space
143
+
144
+ Layout/SpaceInsideHashLiteralBraces:
145
+ EnforcedStyle: space
146
+ EnforcedStyleForEmptyBraces: no_space
147
+
148
+ Layout/SpaceInsideReferenceBrackets:
149
+ EnforcedStyle: no_space
150
+
151
+ Layout/SpaceInsideStringInterpolation:
152
+ EnforcedStyle: no_space
153
+
154
+ Layout/TrailingEmptyLines:
155
+ Enabled: true
156
+
157
+ Layout/TrailingWhitespace:
158
+ Enabled: true
159
+
160
+ Lint/BinaryOperatorWithIdenticalOperands:
161
+ Enabled: true
162
+
163
+ Lint/ConstantDefinitionInBlock:
164
+ Enabled: true
165
+
166
+ Lint/Debugger:
167
+ Enabled: true
168
+
169
+ Lint/DeprecatedOpenSSLConstant:
170
+ Enabled: true
171
+
172
+ Lint/DuplicateElsifCondition:
173
+ Enabled: true
174
+
175
+ Lint/DuplicateRequire:
176
+ Enabled: true
177
+
178
+ Lint/DuplicateRescueException:
179
+ Enabled: true
180
+
181
+ Lint/EmptyConditionalBody:
182
+ Enabled: true
183
+
184
+ Lint/EmptyFile:
185
+ Enabled: true
186
+
187
+ Lint/FloatComparison:
188
+ Enabled: true
189
+
190
+ Lint/IdentityComparison:
191
+ Enabled: true
192
+
193
+ Lint/MissingSuper:
194
+ Enabled: true
195
+
196
+ Lint/MixedRegexpCaptureTypes:
197
+ Enabled: true
198
+
199
+ Lint/OutOfRangeRegexpRef:
200
+ Enabled: true
201
+
202
+ Lint/RaiseException:
203
+ Enabled: true
204
+
205
+ Lint/SafeNavigationChain:
206
+ Enabled: true
207
+
208
+ Lint/SelfAssignment:
209
+ Enabled: true
210
+
211
+ Lint/ShadowedArgument:
212
+ Enabled: true
213
+
214
+ Lint/StructNewOverride:
215
+ Enabled: true
216
+
217
+ Lint/TopLevelReturnWithArgument:
218
+ Enabled: true
219
+
220
+ Lint/TrailingCommaInAttributeDeclaration:
221
+ Enabled: true
222
+
223
+ Lint/UnreachableLoop:
224
+ Enabled: true
225
+
226
+ Lint/UnusedBlockArgument:
227
+ Enabled: true
228
+
229
+ Lint/UnusedMethodArgument:
230
+ Enabled: true
231
+
232
+ Lint/UselessMethodDefinition:
233
+ Enabled: true
234
+
235
+ Naming/PredicateName:
236
+ Enabled: true
237
+
238
+ Naming/VariableName:
239
+ EnforcedStyle: snake_case
240
+
241
+ Style/AccessorGrouping:
242
+ Enabled: true
243
+
244
+ Style/ArrayCoercion:
245
+ Enabled: true
246
+
247
+ Style/BisectedAttrAccessor:
248
+ Enabled: true
249
+
250
+ Style/BlockDelimiters:
251
+ Enabled: true
252
+
253
+ Style/CaseLikeIf:
254
+ Enabled: true
255
+
256
+ Style/CombinableLoops:
257
+ Enabled: true
258
+
259
+ Style/DateTime:
260
+ Enabled: true
261
+
262
+ Style/EmptyElse:
263
+ EnforcedStyle: both
264
+
265
+ Style/EmptyMethod:
266
+ EnforcedStyle: expanded
267
+
268
+ Style/ExplicitBlockArgument:
269
+ Enabled: true
270
+
271
+ Style/ExponentialNotation:
272
+ Enabled: true
273
+
274
+ Style/GlobalStdStream:
275
+ Enabled: true
276
+
277
+ Style/GlobalVars:
278
+ AllowedVariables: ["$rollout"]
279
+
280
+ Style/HashAsLastArrayItem:
281
+ Enabled: true
282
+
283
+ Style/HashEachMethods:
284
+ Enabled: true
285
+
286
+ Style/HashLikeCase:
287
+ Enabled: true
288
+
289
+ Style/HashSyntax:
290
+ EnforcedStyle: ruby19_no_mixed_keys
291
+
292
+ Style/HashTransformKeys:
293
+ Enabled: true
294
+
295
+ Style/HashTransformValues:
296
+ Enabled: true
297
+
298
+ Style/IfUnlessModifier:
299
+ Enabled: true
300
+
301
+ Style/KeywordParametersOrder:
302
+ Enabled: true
303
+
304
+ Style/MethodDefParentheses:
305
+ EnforcedStyle: require_parentheses
306
+
307
+ Style/NumericLiterals:
308
+ MinDigits: 5
309
+ Strict: false
310
+
311
+ Style/NumericPredicate:
312
+ Enabled: true
313
+
314
+ Style/OptionalBooleanParameter:
315
+ Enabled: true
316
+
317
+ Style/RedundantAssignment:
318
+ Enabled: true
319
+
320
+ Style/RedundantFetchBlock:
321
+ Enabled: true
322
+
323
+ Style/RedundantFileExtensionInRequire:
324
+ Enabled: true
325
+
326
+ Style/RedundantRegexpCharacterClass:
327
+ Enabled: true
328
+
329
+ Style/RedundantRegexpEscape:
330
+ Enabled: true
331
+
332
+ Style/RedundantReturn:
333
+ Enabled: true
334
+
335
+ Style/RedundantSelfAssignment:
336
+ Enabled: true
337
+
338
+ Style/Semicolon:
339
+ Enabled: true
340
+
341
+ Style/SingleArgumentDig:
342
+ Enabled: true
343
+
344
+ Style/SingleLineMethods:
345
+ Enabled: true
346
+
347
+ Style/SlicingWithRange:
348
+ Enabled: true
349
+
350
+ Style/SoleNestedConditional:
351
+ Enabled: true
352
+
353
+ Style/StabbyLambdaParentheses:
354
+ EnforcedStyle: require_parentheses
355
+
356
+ Style/StringConcatenation:
357
+ Enabled: true
358
+
359
+ Style/StringLiterals:
360
+ EnforcedStyle: double_quotes
361
+
362
+ Style/StringLiteralsInInterpolation:
363
+ EnforcedStyle: single_quotes
364
+
365
+ Style/TrailingCommaInArguments:
366
+ EnforcedStyleForMultiline: no_comma
367
+
368
+ Style/TrailingCommaInArrayLiteral:
369
+ EnforcedStyleForMultiline: no_comma
370
+
371
+ Style/TrailingCommaInHashLiteral:
372
+ EnforcedStyleForMultiline: no_comma
373
+
374
+ Rails/FindBy:
375
+ Enabled: true
376
+
377
+ Rails/HttpStatus:
378
+ Enabled: true
379
+
380
+ Rails/Pluck:
381
+ Enabled: true
382
+
383
+ Rails/PluckInWhere:
384
+ Enabled: true
385
+ EnforcedStyle: aggressive
386
+
387
+ Rails/TimeZone:
388
+ EnforcedStyle: flexible
389
+
390
+ Rails/UnknownEnv:
391
+ Environments:
392
+ - development
393
+ - test
394
+ - production
395
+ - staging
data/config/default.yml CHANGED
@@ -9,11 +9,32 @@ AllCops:
9
9
  - db/schema.rb
10
10
  DisabledByDefault: true
11
11
 
12
+ Bundler/DuplicatedGem:
13
+ Enabled: true
14
+
15
+ Bundler/InsecureProtocolSource:
16
+ Enabled: true
17
+
12
18
  Layout/AccessModifierIndentation:
13
19
  EnforcedStyle: indent
14
20
 
21
+ Layout/ArgumentAlignment:
22
+ Enabled: true
23
+
24
+ Layout/ArrayAlignment:
25
+ Enabled: true
26
+
27
+ Layout/BeginEndAlignment:
28
+ Enabled: true
29
+
15
30
  Layout/BlockAlignment:
16
- EnforcedStyleAlignWith: either
31
+ Enabled: true
32
+
33
+ Layout/BlockEndNewline:
34
+ Enabled: true
35
+
36
+ Layout/ClosingParenthesisIndentation:
37
+ Enabled: true
17
38
 
18
39
  Layout/DefEndAlignment:
19
40
  EnforcedStyleAlignWith: start_of_line
@@ -28,6 +49,9 @@ Layout/EmptyLineBetweenDefs:
28
49
  Enabled: true
29
50
  NumberOfEmptyLines: 1
30
51
 
52
+ Layout/EmptyLinesAroundAttributeAccessor:
53
+ Enabled: true
54
+
31
55
  Layout/EmptyLinesAroundBlockBody:
32
56
  EnforcedStyle: no_empty_lines
33
57
 
@@ -43,24 +67,66 @@ Layout/EndAlignment:
43
67
  Layout/ExtraSpacing:
44
68
  AllowForAlignment: true
45
69
 
46
- Layout/IndentFirstArrayElement:
70
+ Layout/FirstArgumentIndentation:
71
+ Enabled: true
72
+
73
+ Layout/FirstArrayElementIndentation:
47
74
  EnforcedStyle: consistent
48
75
 
49
- Layout/IndentFirstHashElement:
76
+ Layout/FirstHashElementIndentation:
50
77
  EnforcedStyle: consistent
51
78
 
79
+ Layout/FirstParameterIndentation:
80
+ Enabled: true
81
+
82
+ Layout/HashAlignment:
83
+ Enabled: true
84
+
52
85
  Layout/IndentationConsistency:
53
86
  EnforcedStyle: normal
54
87
 
88
+ Layout/IndentationStyle:
89
+ Enabled: true
90
+
55
91
  Layout/IndentationWidth:
92
+ Enabled: true
56
93
  Width: 2
57
94
 
95
+ Layout/LineLength:
96
+ IgnoredPatterns: [(\A|\s)#]
97
+ Max: 100
98
+
99
+ Layout/MultilineArrayLineBreaks:
100
+ Enabled: true
101
+
102
+ Layout/MultilineBlockLayout:
103
+ Enabled: true
104
+
105
+ Layout/MultilineHashBraceLayout:
106
+ Enabled: true
107
+
108
+ Layout/MultilineHashKeyLineBreaks:
109
+ Enabled: true
110
+
111
+ Layout/MultilineMethodArgumentLineBreaks:
112
+ Enabled: true
113
+
114
+ Layout/MultilineMethodCallIndentation:
115
+ Enabled: true
116
+ EnforcedStyle: indented_relative_to_receiver
117
+
118
+ Layout/ParameterAlignment:
119
+ Enabled: true
120
+
58
121
  Layout/SpaceAroundBlockParameters:
59
122
  EnforcedStyleInsidePipes: no_space
60
123
 
61
124
  Layout/SpaceAroundEqualsInParameterDefault:
62
125
  EnforcedStyle: space
63
126
 
127
+ Layout/SpaceAroundMethodCallOperator:
128
+ Enabled: true
129
+
64
130
  Layout/SpaceAroundOperators:
65
131
  Enabled: true
66
132
 
@@ -84,36 +150,119 @@ Layout/SpaceInsideReferenceBrackets:
84
150
  Layout/SpaceInsideStringInterpolation:
85
151
  EnforcedStyle: no_space
86
152
 
87
- Layout/Tab:
153
+ Layout/TrailingEmptyLines:
88
154
  Enabled: true
89
155
 
90
156
  Layout/TrailingWhitespace:
91
157
  Enabled: true
92
158
 
159
+ Lint/BinaryOperatorWithIdenticalOperands:
160
+ Enabled: true
161
+
162
+ Lint/ConstantDefinitionInBlock:
163
+ Enabled: true
164
+
165
+ Lint/Debugger:
166
+ Enabled: true
167
+
168
+ Lint/DeprecatedOpenSSLConstant:
169
+ Enabled: true
170
+
171
+ Lint/DuplicateElsifCondition:
172
+ Enabled: true
173
+
174
+ Lint/DuplicateRequire:
175
+ Enabled: true
176
+
177
+ Lint/DuplicateRescueException:
178
+ Enabled: true
179
+
180
+ Lint/EmptyConditionalBody:
181
+ Enabled: true
182
+
183
+ Lint/EmptyFile:
184
+ Enabled: true
185
+
186
+ Lint/FloatComparison:
187
+ Enabled: true
188
+
189
+ Lint/IdentityComparison:
190
+ Enabled: true
191
+
192
+ Lint/MissingSuper:
193
+ Enabled: true
194
+
195
+ Lint/MixedRegexpCaptureTypes:
196
+ Enabled: true
197
+
198
+ Lint/OutOfRangeRegexpRef:
199
+ Enabled: true
200
+
201
+ Lint/RaiseException:
202
+ Enabled: true
203
+
93
204
  Lint/SafeNavigationChain:
94
205
  Enabled: true
95
206
 
207
+ Lint/SelfAssignment:
208
+ Enabled: true
209
+
96
210
  Lint/ShadowedArgument:
97
211
  Enabled: true
98
212
 
213
+ Lint/StructNewOverride:
214
+ Enabled: true
215
+
216
+ Lint/TopLevelReturnWithArgument:
217
+ Enabled: true
218
+
219
+ Lint/TrailingCommaInAttributeDeclaration:
220
+ Enabled: true
221
+
222
+ Lint/UnreachableLoop:
223
+ Enabled: true
224
+
99
225
  Lint/UnusedBlockArgument:
100
226
  Enabled: true
101
227
 
102
228
  Lint/UnusedMethodArgument:
103
229
  Enabled: true
104
230
 
105
- Metrics/LineLength:
106
- Max: 80
107
- IgnoredPatterns: [(\A|\s)#]
231
+ Lint/UselessMethodDefinition:
232
+ Enabled: true
233
+
234
+ Lint/DuplicateBranch:
235
+ Enabled: true
236
+
237
+ Naming/PredicateName:
238
+ Enabled: true
108
239
 
109
240
  Naming/VariableName:
110
241
  EnforcedStyle: snake_case
111
242
 
243
+ Naming/InclusiveLanguage:
244
+ Enabled: true
245
+
246
+ Style/AccessorGrouping:
247
+ Enabled: true
248
+
249
+ Style/ArrayCoercion:
250
+ Enabled: true
251
+
252
+ Style/BisectedAttrAccessor:
253
+ Enabled: true
254
+
112
255
  Style/BlockDelimiters:
113
- EnforcedStyle: line_count_based
256
+ Enabled: true
257
+
258
+ Style/CaseLikeIf:
259
+ Enabled: true
260
+
261
+ Style/CombinableLoops:
262
+ Enabled: true
114
263
 
115
- Style/BracesAroundHashParameters:
116
- EnforcedStyle: no_braces
264
+ Style/DateTime:
265
+ Enabled: true
117
266
 
118
267
  Style/EmptyElse:
119
268
  EnforcedStyle: both
@@ -121,12 +270,42 @@ Style/EmptyElse:
121
270
  Style/EmptyMethod:
122
271
  EnforcedStyle: expanded
123
272
 
273
+ Style/ExplicitBlockArgument:
274
+ Enabled: true
275
+
276
+ Style/ExponentialNotation:
277
+ Enabled: true
278
+
279
+ Style/GlobalStdStream:
280
+ Enabled: true
281
+
124
282
  Style/GlobalVars:
125
283
  AllowedVariables: ["$rollout"]
126
284
 
285
+ Style/HashAsLastArrayItem:
286
+ Enabled: true
287
+
288
+ Style/HashEachMethods:
289
+ Enabled: true
290
+
291
+ Style/HashLikeCase:
292
+ Enabled: true
293
+
127
294
  Style/HashSyntax:
128
295
  EnforcedStyle: ruby19_no_mixed_keys
129
296
 
297
+ Style/HashTransformKeys:
298
+ Enabled: true
299
+
300
+ Style/HashTransformValues:
301
+ Enabled: true
302
+
303
+ Style/IfUnlessModifier:
304
+ Enabled: true
305
+
306
+ Style/KeywordParametersOrder:
307
+ Enabled: true
308
+
130
309
  Style/MethodDefParentheses:
131
310
  EnforcedStyle: require_parentheses
132
311
 
@@ -134,18 +313,54 @@ Style/NumericLiterals:
134
313
  MinDigits: 5
135
314
  Strict: false
136
315
 
316
+ Style/NumericPredicate:
317
+ Enabled: true
318
+
319
+ Style/OptionalBooleanParameter:
320
+ Enabled: true
321
+
322
+ Style/RedundantAssignment:
323
+ Enabled: true
324
+
325
+ Style/RedundantFetchBlock:
326
+ Enabled: true
327
+
328
+ Style/RedundantFileExtensionInRequire:
329
+ Enabled: true
330
+
331
+ Style/RedundantRegexpCharacterClass:
332
+ Enabled: true
333
+
334
+ Style/RedundantRegexpEscape:
335
+ Enabled: true
336
+
137
337
  Style/RedundantReturn:
138
338
  Enabled: true
139
339
 
340
+ Style/RedundantSelfAssignment:
341
+ Enabled: true
342
+
140
343
  Style/Semicolon:
141
344
  Enabled: true
142
345
 
346
+ Style/SingleArgumentDig:
347
+ Enabled: true
348
+
143
349
  Style/SingleLineMethods:
144
350
  Enabled: true
145
351
 
352
+ Style/SlicingWithRange:
353
+ Enabled: true
354
+
355
+ Style/SoleNestedConditional:
356
+ Enabled: true
357
+
146
358
  Style/StabbyLambdaParentheses:
147
359
  EnforcedStyle: require_parentheses
148
360
 
361
+ Style/StringConcatenation:
362
+ Enabled: true
363
+
149
364
  Style/StringLiterals:
150
365
  EnforcedStyle: double_quotes
151
366
 
@@ -160,3 +375,12 @@ Style/TrailingCommaInArrayLiteral:
160
375
 
161
376
  Style/TrailingCommaInHashLiteral:
162
377
  EnforcedStyleForMultiline: no_comma
378
+
379
+ Style/RedundantInterpolation:
380
+ Enabled: true
381
+
382
+ Style/RedundantBegin:
383
+ Enabled: true
384
+
385
+ Style/ClassEqualityComparison:
386
+ Enabled: true
data/config/rails.yml CHANGED
@@ -1,9 +1,17 @@
1
1
  require: rubocop-rails
2
2
 
3
- Rails/LexicallyScopedActionFilter:
4
- Enabled: false
5
- Include:
6
- - app/controllers/**/*.rb
3
+ Rails/FindBy:
4
+ Enabled: true
5
+
6
+ Rails/HttpStatus:
7
+ Enabled: true
8
+
9
+ Rails/Pluck:
10
+ Enabled: true
11
+
12
+ Rails/PluckInWhere:
13
+ Enabled: true
14
+ EnforcedStyle: aggressive
7
15
 
8
16
  Rails/TimeZone:
9
17
  EnforcedStyle: flexible
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-able
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Able
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-29 00:00:00.000000000 Z
11
+ date: 2021-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.74'
19
+ version: '1.18'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.74'
26
+ version: '1.18'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.3.0
33
+ version: 2.8.1
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: 2.3.0
40
+ version: 2.8.1
41
41
  description: Code style checking for Able Ruby repositories
42
42
  email: engineering@able.co
43
43
  executables: []
@@ -46,6 +46,7 @@ extra_rdoc_files: []
46
46
  files:
47
47
  - LICENSE
48
48
  - README.md
49
+ - config/bundle.yml
49
50
  - config/default.yml
50
51
  - config/rails.yml
51
52
  homepage: https://github.com/ableco/rubocop-able
@@ -67,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
68
  - !ruby/object:Gem::Version
68
69
  version: '0'
69
70
  requirements: []
70
- rubygems_version: 3.0.3
71
+ rubygems_version: 3.2.22
71
72
  signing_key:
72
73
  specification_version: 4
73
74
  summary: RuboCop Able