apple_dep_client 2.0.0 → 2.0.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
  SHA1:
3
- metadata.gz: e2ec56120be11c0f4a4cb56a5607023d1470a263
4
- data.tar.gz: 0cb9583140a5220e5fd61ca406970302df6293d5
3
+ metadata.gz: 169a8e8099cc6ec0e53ad9ea72fc2d70427a2b7a
4
+ data.tar.gz: 250606020aa272856f3908958445562f922b599b
5
5
  SHA512:
6
- metadata.gz: 35ebc4253ccf5091505e9cacf1cda70e53b528ecd5fd50cfbd6109f4709a82073ddd3b8ca6dc4d104c52e662df3a7bd6e09034433cc71644ec584a535a8e2580
7
- data.tar.gz: b760b22863a16fd4aab8ea24978c8b0d3f2c73af784bc43672976078540d118648af143ce7a63e2a52808705e2bab6613ebfa30234a697ef601df762bea778c1
6
+ metadata.gz: 21234e11acb80263c9d82edbfae09ddbbf7059685782573797a47699e4868a875e1354e4366d18d0df068a061cfb9542f7be11aa14e3fa60a5e738b620189682
7
+ data.tar.gz: 63e4fd678655142adf7ec5a302f431eaefb90ef06be02871c6989641358083ae412c190e093db09cc138c8acd9fad406b4d458b44e92501940acc6fa51a8a20c
data/.rubocop.yml ADDED
@@ -0,0 +1,599 @@
1
+ AllCops:
2
+ Exclude:
3
+ - db/schema.rb
4
+
5
+ Style/AccessorMethodName:
6
+ Description: Check the naming of accessor methods for get_/set_.
7
+ Enabled: false
8
+
9
+ Style/Alias:
10
+ Description: 'Use alias_method instead of alias.'
11
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#alias-method'
12
+ Enabled: false
13
+
14
+ Style/ArrayJoin:
15
+ Description: 'Use Array#join instead of Array#*.'
16
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#array-join'
17
+ Enabled: false
18
+
19
+ Style/AsciiComments:
20
+ Description: 'Use only ascii symbols in comments.'
21
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#english-comments'
22
+ Enabled: false
23
+
24
+ Style/AsciiIdentifiers:
25
+ Description: 'Use only ascii symbols in identifiers.'
26
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#english-identifiers'
27
+ Enabled: false
28
+
29
+ Style/Attr:
30
+ Description: 'Checks for uses of Module#attr.'
31
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#attr'
32
+ Enabled: false
33
+
34
+ Metrics/BlockNesting:
35
+ Description: 'Avoid excessive block nesting'
36
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count'
37
+ Enabled: false
38
+
39
+ Style/CaseEquality:
40
+ Description: 'Avoid explicit use of the case equality operator(===).'
41
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-case-equality'
42
+ Enabled: false
43
+
44
+ Style/CharacterLiteral:
45
+ Description: 'Checks for uses of character literals.'
46
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-character-literals'
47
+ Enabled: false
48
+
49
+ Style/ClassAndModuleChildren:
50
+ Description: 'Checks style of children classes and modules.'
51
+ Enabled: true
52
+ EnforcedStyle: nested
53
+
54
+ Metrics/ClassLength:
55
+ Description: 'Avoid classes longer than 100 lines of code.'
56
+ Enabled: false
57
+
58
+ Metrics/ModuleLength:
59
+ Description: 'Avoid modules longer than 100 lines of code.'
60
+ Enabled: false
61
+
62
+ Style/ClassVars:
63
+ Description: 'Avoid the use of class variables.'
64
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-class-vars'
65
+ Enabled: false
66
+
67
+ Style/CollectionMethods:
68
+ Enabled: true
69
+ PreferredMethods:
70
+ find: detect
71
+ inject: reduce
72
+ collect: map
73
+ find_all: select
74
+
75
+ Style/ColonMethodCall:
76
+ Description: 'Do not use :: for method call.'
77
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#double-colons'
78
+ Enabled: false
79
+
80
+ Style/CommentAnnotation:
81
+ Description: >-
82
+ Checks formatting of special comments
83
+ (TODO, FIXME, OPTIMIZE, HACK, REVIEW).
84
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#annotate-keywords'
85
+ Enabled: false
86
+
87
+ Metrics/CyclomaticComplexity:
88
+ Description: >-
89
+ A complexity metric that is strongly correlated to the number
90
+ of test cases needed to validate a method.
91
+ Enabled: false
92
+
93
+ Rails/Delegate:
94
+ Description: 'Prefer delegate method for delegations.'
95
+ Enabled: false
96
+
97
+ Style/DeprecatedHashMethods:
98
+ Description: 'Checks for use of deprecated Hash methods.'
99
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#hash-key'
100
+ Enabled: false
101
+
102
+ Style/Documentation:
103
+ Description: 'Document classes and non-namespace modules.'
104
+ Enabled: false
105
+
106
+ Style/DotPosition:
107
+ Description: 'Checks the position of the dot in multi-line method calls.'
108
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains'
109
+ EnforcedStyle: trailing
110
+
111
+ Style/DoubleNegation:
112
+ Description: 'Checks for uses of double negation (!!).'
113
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-bang-bang'
114
+ Enabled: false
115
+
116
+ Style/EachWithObject:
117
+ Description: 'Prefer `each_with_object` over `inject` or `reduce`.'
118
+ Enabled: false
119
+
120
+ Style/EmptyLiteral:
121
+ Description: 'Prefer literals to Array.new/Hash.new/String.new.'
122
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#literal-array-hash'
123
+ Enabled: false
124
+
125
+ # Checks whether the source file has a utf-8 encoding comment or not
126
+ # AutoCorrectEncodingComment must match the regex
127
+ # /#.*coding\s?[:=]\s?(?:UTF|utf)-8/
128
+ Style/Encoding:
129
+ Enabled: false
130
+
131
+ Style/EvenOdd:
132
+ Description: 'Favor the use of Fixnum#even? && Fixnum#odd?'
133
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#predicate-methods'
134
+ Enabled: false
135
+
136
+ Style/ExtraSpacing:
137
+ Description: 'Do not use unnecessary spacing.'
138
+ Enabled: true
139
+
140
+ Style/FileName:
141
+ Description: 'Use snake_case for source file names.'
142
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#snake-case-files'
143
+ Enabled: false
144
+
145
+ Style/FlipFlop:
146
+ Description: 'Checks for flip flops'
147
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-flip-flops'
148
+ Enabled: false
149
+
150
+ Style/FormatString:
151
+ Description: 'Enforce the use of Kernel#sprintf, Kernel#format or String#%.'
152
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#sprintf'
153
+ Enabled: false
154
+
155
+ Style/GlobalVars:
156
+ Description: 'Do not introduce global variables.'
157
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#instance-vars'
158
+ Reference: 'http://www.zenspider.com/Languages/Ruby/QuickRef.html'
159
+ Enabled: false
160
+
161
+ Style/GuardClause:
162
+ Description: 'Check for conditionals that can be replaced with guard clauses'
163
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals'
164
+ Enabled: false
165
+
166
+ Style/IfUnlessModifier:
167
+ Description: >-
168
+ Favor modifier if/unless usage when you have a
169
+ single-line body.
170
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier'
171
+ Enabled: false
172
+
173
+ Style/IfWithSemicolon:
174
+ Description: 'Do not use if x; .... Use the ternary operator instead.'
175
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-semicolon-ifs'
176
+ Enabled: false
177
+
178
+ Style/InlineComment:
179
+ Description: 'Avoid inline comments.'
180
+ Enabled: false
181
+
182
+ Style/Lambda:
183
+ Description: 'Use the new lambda literal syntax for single-line blocks.'
184
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#lambda-multi-line'
185
+ Enabled: false
186
+
187
+ Style/LambdaCall:
188
+ Description: 'Use lambda.call(...) instead of lambda.(...).'
189
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#proc-call'
190
+ Enabled: false
191
+
192
+ Style/LineEndConcatenation:
193
+ Description: >-
194
+ Use \ instead of + or << to concatenate two string literals at
195
+ line end.
196
+ Enabled: false
197
+
198
+ Metrics/LineLength:
199
+ Enabled: false # Override
200
+
201
+ Metrics/MethodLength:
202
+ Description: 'Avoid methods longer than 10 lines of code.'
203
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#short-methods'
204
+ Enabled: false
205
+
206
+ Style/ModuleFunction:
207
+ Description: 'Checks for usage of `extend self` in modules.'
208
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#module-function'
209
+ Enabled: false
210
+
211
+ Style/MultilineOperationIndentation:
212
+ Description: >-
213
+ Checks indentation of binary operations that span more than
214
+ one line.
215
+ Enabled: true
216
+ EnforcedStyle: indented
217
+
218
+ Style/NegatedIf:
219
+ Description: >-
220
+ Favor unless over if for negative conditions
221
+ (or control flow or).
222
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#unless-for-negatives'
223
+ Enabled: false
224
+
225
+ Style/NegatedWhile:
226
+ Description: 'Favor until over while for negative conditions.'
227
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#until-for-negatives'
228
+ Enabled: false
229
+
230
+ Style/Next:
231
+ Description: 'Use `next` to skip iteration instead of a condition at the end.'
232
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals'
233
+ Enabled: false
234
+
235
+ Style/NilComparison:
236
+ Description: 'Prefer x.nil? to x == nil.'
237
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#predicate-methods'
238
+ Enabled: false
239
+
240
+ Style/Not:
241
+ Description: 'Use ! instead of not.'
242
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#bang-not-not'
243
+ Enabled: false
244
+
245
+ Style/NumericLiterals:
246
+ Description: >-
247
+ Add underscores to large numeric literals to improve their
248
+ readability.
249
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscores-in-numerics'
250
+ Enabled: false
251
+
252
+ Style/OneLineConditional:
253
+ Description: >-
254
+ Favor the ternary operator(?:) over
255
+ if/then/else/end constructs.
256
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#ternary-operator'
257
+ Enabled: false
258
+
259
+ Style/OpMethod:
260
+ Description: 'When defining binary operators, name the argument other.'
261
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#other-arg'
262
+ Enabled: false
263
+
264
+ Metrics/ParameterLists:
265
+ Description: 'Avoid parameter lists longer than three or four parameters.'
266
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#too-many-params'
267
+ Enabled: false
268
+
269
+ Style/PercentLiteralDelimiters:
270
+ Description: 'Use `%`-literal delimiters consistently'
271
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-literal-braces'
272
+ Enabled: false
273
+
274
+ Style/PerlBackrefs:
275
+ Description: 'Avoid Perl-style regex back references.'
276
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers'
277
+ Enabled: false
278
+
279
+ Style/PredicateName:
280
+ Description: 'Check the names of predicate methods.'
281
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark'
282
+ NamePrefixBlacklist:
283
+ - is_
284
+ Exclude:
285
+ - spec/**/*
286
+
287
+ Style/Proc:
288
+ Description: 'Use proc instead of Proc.new.'
289
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#proc'
290
+ Enabled: false
291
+
292
+ Style/RaiseArgs:
293
+ Description: 'Checks the arguments passed to raise/fail.'
294
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#exception-class-messages'
295
+ Enabled: false
296
+
297
+ Style/RegexpLiteral:
298
+ Description: 'Use / or %r around regular expressions.'
299
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-r'
300
+ Enabled: false
301
+
302
+ Style/SelfAssignment:
303
+ Description: >-
304
+ Checks for places where self-assignment shorthand should have
305
+ been used.
306
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#self-assignment'
307
+ Enabled: false
308
+
309
+ Style/SingleLineBlockParams:
310
+ Description: 'Enforces the names of some block params.'
311
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#reduce-blocks'
312
+ Enabled: false
313
+
314
+ Style/SingleLineMethods:
315
+ Description: 'Avoid single-line methods.'
316
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-single-line-methods'
317
+ Enabled: false
318
+
319
+ Style/SignalException:
320
+ Description: 'Checks for proper usage of fail and raise.'
321
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#fail-method'
322
+ Enabled: false
323
+
324
+ Style/SpecialGlobalVars:
325
+ Description: 'Avoid Perl-style global variables.'
326
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-cryptic-perlisms'
327
+ Enabled: false
328
+
329
+ Style/StringLiterals:
330
+ Description: 'Checks if uses of quotes match the configured preference.'
331
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#consistent-string-literals'
332
+ EnforcedStyle: double_quotes
333
+ Enabled: true
334
+
335
+ Style/TrailingComma:
336
+ Description: 'Checks for trailing comma in parameter lists and literals.'
337
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
338
+ EnforcedStyleForMultiline: comma
339
+ SupportedStyles:
340
+ - comma
341
+ - no_comma
342
+ Enabled: true
343
+
344
+ Style/TrivialAccessors:
345
+ Description: 'Prefer attr_* methods to trivial readers/writers.'
346
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#attr_family'
347
+ Enabled: false
348
+
349
+ Style/VariableInterpolation:
350
+ Description: >-
351
+ Don't interpolate global, instance and class variables
352
+ directly in strings.
353
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#curlies-interpolate'
354
+ Enabled: false
355
+
356
+ Style/WhenThen:
357
+ Description: 'Use when x then ... for one-line cases.'
358
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#one-line-cases'
359
+ Enabled: false
360
+
361
+ Style/WhileUntilModifier:
362
+ Description: >-
363
+ Favor modifier while/until usage when you have a
364
+ single-line body.
365
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#while-as-a-modifier'
366
+ Enabled: false
367
+
368
+ Style/WordArray:
369
+ Description: 'Use %w or %W for arrays of words.'
370
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-w'
371
+ Enabled: false
372
+
373
+ # Lint
374
+
375
+ Lint/AmbiguousOperator:
376
+ Description: >-
377
+ Checks for ambiguous operators in the first argument of a
378
+ method invocation without parentheses.
379
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-as-args'
380
+ Enabled: false
381
+
382
+ Lint/AmbiguousRegexpLiteral:
383
+ Description: >-
384
+ Checks for ambiguous regexp literals in the first argument of
385
+ a method invocation without parenthesis.
386
+ Enabled: false
387
+
388
+ Lint/AssignmentInCondition:
389
+ Description: "Don't use assignment in conditions."
390
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition'
391
+ Enabled: false
392
+
393
+ Lint/CircularArgumentReference:
394
+ Description: "Don't refer to the keyword argument in the default value."
395
+ Enabled: false
396
+
397
+ Lint/ConditionPosition:
398
+ Description: >-
399
+ Checks for condition placed in a confusing position relative to
400
+ the keyword.
401
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#same-line-condition'
402
+ Enabled: false
403
+
404
+ Lint/DeprecatedClassMethods:
405
+ Description: 'Check for deprecated class method calls.'
406
+ Enabled: false
407
+
408
+ Lint/DuplicatedKey:
409
+ Description: 'Check for duplicate keys in hash literals.'
410
+ Enabled: false
411
+
412
+ Lint/EachWithObjectArgument:
413
+ Description: 'Check for immutable argument given to each_with_object.'
414
+ Enabled: false
415
+
416
+ Lint/ElseLayout:
417
+ Description: 'Check for odd code arrangement in an else block.'
418
+ Enabled: false
419
+
420
+ Lint/FormatParameterMismatch:
421
+ Description: 'The number of parameters to format/sprint must match the fields.'
422
+ Enabled: false
423
+
424
+ Lint/HandleExceptions:
425
+ Description: "Don't suppress exception."
426
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions'
427
+ Enabled: false
428
+
429
+ Lint/InvalidCharacterLiteral:
430
+ Description: >-
431
+ Checks for invalid character literals with a non-escaped
432
+ whitespace character.
433
+ Enabled: false
434
+
435
+ Style/InitialIndentation:
436
+ Description: >-
437
+ Checks the indentation of the first non-blank non-comment line in a file.
438
+ Enabled: false
439
+
440
+ Lint/LiteralInCondition:
441
+ Description: 'Checks of literals used in conditions.'
442
+ Enabled: false
443
+
444
+ Lint/LiteralInInterpolation:
445
+ Description: 'Checks for literals used in interpolation.'
446
+ Enabled: false
447
+
448
+ Lint/Loop:
449
+ Description: >-
450
+ Use Kernel#loop with break rather than begin/end/until or
451
+ begin/end/while for post-loop tests.
452
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#loop-with-break'
453
+ Enabled: false
454
+
455
+ Lint/NestedMethodDefinition:
456
+ Description: 'Do not use nested method definitions.'
457
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-methods'
458
+ Enabled: false
459
+
460
+ Lint/NonLocalExitFromIterator:
461
+ Description: 'Do not use return in iterator to cause non-local exit.'
462
+ Enabled: false
463
+
464
+ Lint/ParenthesesAsGroupedExpression:
465
+ Description: >-
466
+ Checks for method calls with a space before the opening
467
+ parenthesis.
468
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-no-spaces'
469
+ Enabled: false
470
+
471
+ Lint/RequireParentheses:
472
+ Description: >-
473
+ Use parentheses in the method call to avoid confusion
474
+ about precedence.
475
+ Enabled: false
476
+
477
+ Lint/UnderscorePrefixedVariableName:
478
+ Description: 'Do not use prefix `_` for a variable that is used.'
479
+ Enabled: false
480
+
481
+ Lint/UnneededDisable:
482
+ Description: >-
483
+ Checks for rubocop:disable comments that can be removed.
484
+ Note: this cop is not disabled when disabling all cops.
485
+ It must be explicitly disabled.
486
+ Enabled: false
487
+
488
+ Lint/Void:
489
+ Description: 'Possible use of operator/literal/variable in void context.'
490
+ Enabled: false
491
+
492
+ # Performance
493
+
494
+ Performance/CaseWhenSplat:
495
+ Description: >-
496
+ Place `when` conditions that use splat at the end
497
+ of the list of `when` branches.
498
+ Enabled: false
499
+
500
+ Performance/Count:
501
+ Description: >-
502
+ Use `count` instead of `select...size`, `reject...size`,
503
+ `select...count`, `reject...count`, `select...length`,
504
+ and `reject...length`.
505
+ Enabled: false
506
+
507
+ Performance/Detect:
508
+ Description: >-
509
+ Use `detect` instead of `select.first`, `find_all.first`,
510
+ `select.last`, and `find_all.last`.
511
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#enumerabledetect-vs-enumerableselectfirst-code'
512
+ Enabled: false
513
+
514
+ Performance/FlatMap:
515
+ Description: >-
516
+ Use `Enumerable#flat_map`
517
+ instead of `Enumerable#map...Array#flatten(1)`
518
+ or `Enumberable#collect..Array#flatten(1)`
519
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#enumerablemaparrayflatten-vs-enumerableflat_map-code'
520
+ Enabled: false
521
+
522
+ Performance/ReverseEach:
523
+ Description: 'Use `reverse_each` instead of `reverse.each`.'
524
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#enumerablereverseeach-vs-enumerablereverse_each-code'
525
+ Enabled: false
526
+
527
+ Performance/Sample:
528
+ Description: >-
529
+ Use `sample` instead of `shuffle.first`,
530
+ `shuffle.last`, and `shuffle[Fixnum]`.
531
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#arrayshufflefirst-vs-arraysample-code'
532
+ Enabled: false
533
+
534
+ Performance/Size:
535
+ Description: >-
536
+ Use `size` instead of `count` for counting
537
+ the number of elements in `Array` and `Hash`.
538
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#arraycount-vs-arraysize-code'
539
+ Enabled: false
540
+
541
+ Performance/StringReplacement:
542
+ Description: >-
543
+ Use `tr` instead of `gsub` when you are replacing the same
544
+ number of characters. Use `delete` instead of `gsub` when
545
+ you are deleting characters.
546
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#stringgsub-vs-stringtr-code'
547
+ Enabled: false
548
+
549
+ # Rails
550
+
551
+ Rails/ActionFilter:
552
+ Description: 'Enforces consistent use of action filter methods.'
553
+ Enabled: false
554
+
555
+ Rails/Date:
556
+ Description: >-
557
+ Checks the correct usage of date aware methods,
558
+ such as Date.today, Date.current etc.
559
+ Enabled: false
560
+
561
+ Rails/DefaultScope:
562
+ Description: 'Checks if the argument passed to default_scope is a block.'
563
+ Enabled: false
564
+
565
+ Rails/FindBy:
566
+ Description: 'Prefer find_by over where.first.'
567
+ Enabled: false
568
+
569
+ Rails/FindEach:
570
+ Description: 'Prefer all.find_each over all.find.'
571
+ Enabled: false
572
+
573
+ Rails/HasAndBelongsToMany:
574
+ Description: 'Prefer has_many :through to has_and_belongs_to_many.'
575
+ Enabled: false
576
+
577
+ Rails/Output:
578
+ Description: 'Checks for calls to puts, print, etc.'
579
+ Enabled: false
580
+
581
+ Rails/ReadWriteAttribute:
582
+ Description: >-
583
+ Checks for read_attribute(:attr) and
584
+ write_attribute(:attr, val).
585
+ Enabled: false
586
+
587
+ Rails/ScopeArgs:
588
+ Description: 'Checks the arguments of ActiveRecord scopes.'
589
+ Enabled: false
590
+
591
+ Rails/TimeZone:
592
+ Description: 'Checks the correct usage of time zone aware methods.'
593
+ StyleGuide: 'https://github.com/bbatsov/rails-style-guide#time'
594
+ Reference: 'http://danilenko.org/2012/7/6/rails_timezones'
595
+ Enabled: false
596
+
597
+ Rails/Validation:
598
+ Description: 'Use validates :attribute, hash of validations.'
599
+ Enabled: false