ingreedyfork 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 759c544ed7cfbe977ae98480e6511e51ce3c6398
4
+ data.tar.gz: f097040e73d47972e9172e44e0931eeca4c5711d
5
+ SHA512:
6
+ metadata.gz: 97aff1c6885ccf9655ecdc1b5b3e8b03859ef9f77d6e00b5ca4d8f8df5942f00046b7f1d921399995578bed70753b71a8b33ce07ab646d266a1084b6bf2efec8
7
+ data.tar.gz: dd00f7ed900419704bfa6f1f8cdd9158dfe3bb8180a17c57b80f84ac5bad86279cbde88b7940a1ffe655f38f2261988f02d500f781c9da9c2b54ac995338ec83
data/.gitignore ADDED
@@ -0,0 +1,5 @@
1
+ .idea/
2
+ *.gem
3
+ Gemfile.lock
4
+ coverage
5
+ .DS_Store
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/.rubocop.yml ADDED
@@ -0,0 +1,601 @@
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
+ Description: 'Limit lines to 80 characters.'
200
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#80-character-limits'
201
+ Max: 80
202
+
203
+ Metrics/MethodLength:
204
+ Description: 'Avoid methods longer than 10 lines of code.'
205
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#short-methods'
206
+ Enabled: false
207
+
208
+ Style/ModuleFunction:
209
+ Description: 'Checks for usage of `extend self` in modules.'
210
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#module-function'
211
+ Enabled: false
212
+
213
+ Style/MultilineOperationIndentation:
214
+ Description: >-
215
+ Checks indentation of binary operations that span more than
216
+ one line.
217
+ Enabled: true
218
+ EnforcedStyle: indented
219
+
220
+ Style/NegatedIf:
221
+ Description: >-
222
+ Favor unless over if for negative conditions
223
+ (or control flow or).
224
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#unless-for-negatives'
225
+ Enabled: false
226
+
227
+ Style/NegatedWhile:
228
+ Description: 'Favor until over while for negative conditions.'
229
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#until-for-negatives'
230
+ Enabled: false
231
+
232
+ Style/Next:
233
+ Description: 'Use `next` to skip iteration instead of a condition at the end.'
234
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals'
235
+ Enabled: false
236
+
237
+ Style/NilComparison:
238
+ Description: 'Prefer x.nil? to x == nil.'
239
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#predicate-methods'
240
+ Enabled: false
241
+
242
+ Style/Not:
243
+ Description: 'Use ! instead of not.'
244
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#bang-not-not'
245
+ Enabled: false
246
+
247
+ Style/NumericLiterals:
248
+ Description: >-
249
+ Add underscores to large numeric literals to improve their
250
+ readability.
251
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscores-in-numerics'
252
+ Enabled: false
253
+
254
+ Style/OneLineConditional:
255
+ Description: >-
256
+ Favor the ternary operator(?:) over
257
+ if/then/else/end constructs.
258
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#ternary-operator'
259
+ Enabled: false
260
+
261
+ Style/OpMethod:
262
+ Description: 'When defining binary operators, name the argument other.'
263
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#other-arg'
264
+ Enabled: false
265
+
266
+ Metrics/ParameterLists:
267
+ Description: 'Avoid parameter lists longer than three or four parameters.'
268
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#too-many-params'
269
+ Enabled: false
270
+
271
+ Style/PercentLiteralDelimiters:
272
+ Description: 'Use `%`-literal delimiters consistently'
273
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-literal-braces'
274
+ Enabled: false
275
+
276
+ Style/PerlBackrefs:
277
+ Description: 'Avoid Perl-style regex back references.'
278
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers'
279
+ Enabled: false
280
+
281
+ Style/PredicateName:
282
+ Description: 'Check the names of predicate methods.'
283
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark'
284
+ NamePrefixBlacklist:
285
+ - is_
286
+ Exclude:
287
+ - spec/**/*
288
+
289
+ Style/Proc:
290
+ Description: 'Use proc instead of Proc.new.'
291
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#proc'
292
+ Enabled: false
293
+
294
+ Style/RaiseArgs:
295
+ Description: 'Checks the arguments passed to raise/fail.'
296
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#exception-class-messages'
297
+ Enabled: false
298
+
299
+ Style/RegexpLiteral:
300
+ Description: 'Use / or %r around regular expressions.'
301
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-r'
302
+ Enabled: false
303
+
304
+ Style/SelfAssignment:
305
+ Description: >-
306
+ Checks for places where self-assignment shorthand should have
307
+ been used.
308
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#self-assignment'
309
+ Enabled: false
310
+
311
+ Style/SingleLineBlockParams:
312
+ Description: 'Enforces the names of some block params.'
313
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#reduce-blocks'
314
+ Enabled: false
315
+
316
+ Style/SingleLineMethods:
317
+ Description: 'Avoid single-line methods.'
318
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-single-line-methods'
319
+ Enabled: false
320
+
321
+ Style/SignalException:
322
+ Description: 'Checks for proper usage of fail and raise.'
323
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#fail-method'
324
+ Enabled: false
325
+
326
+ Style/SpecialGlobalVars:
327
+ Description: 'Avoid Perl-style global variables.'
328
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-cryptic-perlisms'
329
+ Enabled: false
330
+
331
+ Style/StringLiterals:
332
+ Description: 'Checks if uses of quotes match the configured preference.'
333
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#consistent-string-literals'
334
+ EnforcedStyle: double_quotes
335
+ Enabled: true
336
+
337
+ Style/TrailingComma:
338
+ Description: 'Checks for trailing comma in parameter lists and literals.'
339
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
340
+ EnforcedStyleForMultiline: comma
341
+ SupportedStyles:
342
+ - comma
343
+ - no_comma
344
+ Enabled: true
345
+
346
+ Style/TrivialAccessors:
347
+ Description: 'Prefer attr_* methods to trivial readers/writers.'
348
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#attr_family'
349
+ Enabled: false
350
+
351
+ Style/VariableInterpolation:
352
+ Description: >-
353
+ Don't interpolate global, instance and class variables
354
+ directly in strings.
355
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#curlies-interpolate'
356
+ Enabled: false
357
+
358
+ Style/WhenThen:
359
+ Description: 'Use when x then ... for one-line cases.'
360
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#one-line-cases'
361
+ Enabled: false
362
+
363
+ Style/WhileUntilModifier:
364
+ Description: >-
365
+ Favor modifier while/until usage when you have a
366
+ single-line body.
367
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#while-as-a-modifier'
368
+ Enabled: false
369
+
370
+ Style/WordArray:
371
+ Description: 'Use %w or %W for arrays of words.'
372
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-w'
373
+ Enabled: false
374
+
375
+ # Lint
376
+
377
+ Lint/AmbiguousOperator:
378
+ Description: >-
379
+ Checks for ambiguous operators in the first argument of a
380
+ method invocation without parentheses.
381
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-as-args'
382
+ Enabled: false
383
+
384
+ Lint/AmbiguousRegexpLiteral:
385
+ Description: >-
386
+ Checks for ambiguous regexp literals in the first argument of
387
+ a method invocation without parenthesis.
388
+ Enabled: false
389
+
390
+ Lint/AssignmentInCondition:
391
+ Description: "Don't use assignment in conditions."
392
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition'
393
+ Enabled: false
394
+
395
+ Lint/CircularArgumentReference:
396
+ Description: "Don't refer to the keyword argument in the default value."
397
+ Enabled: false
398
+
399
+ Lint/ConditionPosition:
400
+ Description: >-
401
+ Checks for condition placed in a confusing position relative to
402
+ the keyword.
403
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#same-line-condition'
404
+ Enabled: false
405
+
406
+ Lint/DeprecatedClassMethods:
407
+ Description: 'Check for deprecated class method calls.'
408
+ Enabled: false
409
+
410
+ Lint/DuplicatedKey:
411
+ Description: 'Check for duplicate keys in hash literals.'
412
+ Enabled: false
413
+
414
+ Lint/EachWithObjectArgument:
415
+ Description: 'Check for immutable argument given to each_with_object.'
416
+ Enabled: false
417
+
418
+ Lint/ElseLayout:
419
+ Description: 'Check for odd code arrangement in an else block.'
420
+ Enabled: false
421
+
422
+ Lint/FormatParameterMismatch:
423
+ Description: 'The number of parameters to format/sprint must match the fields.'
424
+ Enabled: false
425
+
426
+ Lint/HandleExceptions:
427
+ Description: "Don't suppress exception."
428
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions'
429
+ Enabled: false
430
+
431
+ Lint/InvalidCharacterLiteral:
432
+ Description: >-
433
+ Checks for invalid character literals with a non-escaped
434
+ whitespace character.
435
+ Enabled: false
436
+
437
+ Style/InitialIndentation:
438
+ Description: >-
439
+ Checks the indentation of the first non-blank non-comment line in a file.
440
+ Enabled: false
441
+
442
+ Lint/LiteralInCondition:
443
+ Description: 'Checks of literals used in conditions.'
444
+ Enabled: false
445
+
446
+ Lint/LiteralInInterpolation:
447
+ Description: 'Checks for literals used in interpolation.'
448
+ Enabled: false
449
+
450
+ Lint/Loop:
451
+ Description: >-
452
+ Use Kernel#loop with break rather than begin/end/until or
453
+ begin/end/while for post-loop tests.
454
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#loop-with-break'
455
+ Enabled: false
456
+
457
+ Lint/NestedMethodDefinition:
458
+ Description: 'Do not use nested method definitions.'
459
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-methods'
460
+ Enabled: false
461
+
462
+ Lint/NonLocalExitFromIterator:
463
+ Description: 'Do not use return in iterator to cause non-local exit.'
464
+ Enabled: false
465
+
466
+ Lint/ParenthesesAsGroupedExpression:
467
+ Description: >-
468
+ Checks for method calls with a space before the opening
469
+ parenthesis.
470
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-no-spaces'
471
+ Enabled: false
472
+
473
+ Lint/RequireParentheses:
474
+ Description: >-
475
+ Use parentheses in the method call to avoid confusion
476
+ about precedence.
477
+ Enabled: false
478
+
479
+ Lint/UnderscorePrefixedVariableName:
480
+ Description: 'Do not use prefix `_` for a variable that is used.'
481
+ Enabled: false
482
+
483
+ Lint/UnneededDisable:
484
+ Description: >-
485
+ Checks for rubocop:disable comments that can be removed.
486
+ Note: this cop is not disabled when disabling all cops.
487
+ It must be explicitly disabled.
488
+ Enabled: false
489
+
490
+ Lint/Void:
491
+ Description: 'Possible use of operator/literal/variable in void context.'
492
+ Enabled: false
493
+
494
+ # Performance
495
+
496
+ Performance/CaseWhenSplat:
497
+ Description: >-
498
+ Place `when` conditions that use splat at the end
499
+ of the list of `when` branches.
500
+ Enabled: false
501
+
502
+ Performance/Count:
503
+ Description: >-
504
+ Use `count` instead of `select...size`, `reject...size`,
505
+ `select...count`, `reject...count`, `select...length`,
506
+ and `reject...length`.
507
+ Enabled: false
508
+
509
+ Performance/Detect:
510
+ Description: >-
511
+ Use `detect` instead of `select.first`, `find_all.first`,
512
+ `select.last`, and `find_all.last`.
513
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#enumerabledetect-vs-enumerableselectfirst-code'
514
+ Enabled: false
515
+
516
+ Performance/FlatMap:
517
+ Description: >-
518
+ Use `Enumerable#flat_map`
519
+ instead of `Enumerable#map...Array#flatten(1)`
520
+ or `Enumberable#collect..Array#flatten(1)`
521
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#enumerablemaparrayflatten-vs-enumerableflat_map-code'
522
+ Enabled: false
523
+
524
+ Performance/ReverseEach:
525
+ Description: 'Use `reverse_each` instead of `reverse.each`.'
526
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#enumerablereverseeach-vs-enumerablereverse_each-code'
527
+ Enabled: false
528
+
529
+ Performance/Sample:
530
+ Description: >-
531
+ Use `sample` instead of `shuffle.first`,
532
+ `shuffle.last`, and `shuffle[Fixnum]`.
533
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#arrayshufflefirst-vs-arraysample-code'
534
+ Enabled: false
535
+
536
+ Performance/Size:
537
+ Description: >-
538
+ Use `size` instead of `count` for counting
539
+ the number of elements in `Array` and `Hash`.
540
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#arraycount-vs-arraysize-code'
541
+ Enabled: false
542
+
543
+ Performance/StringReplacement:
544
+ Description: >-
545
+ Use `tr` instead of `gsub` when you are replacing the same
546
+ number of characters. Use `delete` instead of `gsub` when
547
+ you are deleting characters.
548
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#stringgsub-vs-stringtr-code'
549
+ Enabled: false
550
+
551
+ # Rails
552
+
553
+ Rails/ActionFilter:
554
+ Description: 'Enforces consistent use of action filter methods.'
555
+ Enabled: false
556
+
557
+ Rails/Date:
558
+ Description: >-
559
+ Checks the correct usage of date aware methods,
560
+ such as Date.today, Date.current etc.
561
+ Enabled: false
562
+
563
+ Rails/DefaultScope:
564
+ Description: 'Checks if the argument passed to default_scope is a block.'
565
+ Enabled: false
566
+
567
+ Rails/FindBy:
568
+ Description: 'Prefer find_by over where.first.'
569
+ Enabled: false
570
+
571
+ Rails/FindEach:
572
+ Description: 'Prefer all.find_each over all.find.'
573
+ Enabled: false
574
+
575
+ Rails/HasAndBelongsToMany:
576
+ Description: 'Prefer has_many :through to has_and_belongs_to_many.'
577
+ Enabled: false
578
+
579
+ Rails/Output:
580
+ Description: 'Checks for calls to puts, print, etc.'
581
+ Enabled: false
582
+
583
+ Rails/ReadWriteAttribute:
584
+ Description: >-
585
+ Checks for read_attribute(:attr) and
586
+ write_attribute(:attr, val).
587
+ Enabled: false
588
+
589
+ Rails/ScopeArgs:
590
+ Description: 'Checks the arguments of ActiveRecord scopes.'
591
+ Enabled: false
592
+
593
+ Rails/TimeZone:
594
+ Description: 'Checks the correct usage of time zone aware methods.'
595
+ StyleGuide: 'https://github.com/bbatsov/rails-style-guide#time'
596
+ Reference: 'http://danilenko.org/2012/7/6/rails_timezones'
597
+ Enabled: false
598
+
599
+ Rails/Validation:
600
+ Description: 'Use validates :attribute, hash of validations.'
601
+ Enabled: false