europeana-api 0.3.2 → 0.3.3

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: 500f7c88f44dbde522ac372b0ae2c1fb476abf63
4
- data.tar.gz: 34aa954f4695ea86ee8da7de5fac762583e421d1
3
+ metadata.gz: 9d80e47704d3b09489e1edbaed39ae4066fbb150
4
+ data.tar.gz: 9b7d7798b9bb9531e8456e14428d688add2f3b45
5
5
  SHA512:
6
- metadata.gz: 908669cc6589a3691015692c16288ebf0e653f8e6efa9e8cd380d2291ac6961dcab42a1a8cae596266dc4fb482586086f5c972d6bcc106db5b96d1f777dc1eb9
7
- data.tar.gz: 0e45855f5af50ff70351a43f6fff753c2146136b1d615f07c59b5decfcdee0d1d15cc877b1e2a29916ca36764ff2bde661fa15c08ece65b2109585ad48160048
6
+ metadata.gz: 0a1de32f7dd7001eaff9f0388e0d1cbe25751ea17e1b1138d4eddc58a395c669d976a7a20b39cbb6968b512705809c24ad9550d803a42188452152d8c999dd76
7
+ data.tar.gz: 1503c8b82c8e175031f87dc17b6edbe5bd8832502017ecb4a1e77ce0b9d9cdcab1c891117df18b91c73cb9b7a8db8b540ac587736da34aeef2d81d3ba118bb58
data/.hound.yml ADDED
@@ -0,0 +1,10 @@
1
+ coffeescript:
2
+ enabled: false
3
+ haml:
4
+ enabled: false
5
+ javascript:
6
+ enabled: false
7
+ ruby:
8
+ config_file: .ruby-style.yml
9
+ scss:
10
+ enabled: false
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --color
2
+ --require spec_helper
3
+ --format documentation
data/.rubocop.yml ADDED
@@ -0,0 +1 @@
1
+ inherit_from: ./.ruby-style.yml
data/.ruby-style.yml ADDED
@@ -0,0 +1,1054 @@
1
+ AllCops:
2
+ Include:
3
+ - "**/*.rake"
4
+ - "**/Gemfile"
5
+ - "**/Rakefile"
6
+ Exclude:
7
+ - "vendor/**/*"
8
+ - "db/**/*"
9
+ RunRailsCops: true
10
+ DisplayCopNames: false
11
+ StyleGuideCopsOnly: false
12
+ Style/AccessModifierIndentation:
13
+ Description: Check indentation of private/protected visibility modifiers.
14
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-public-private-protected
15
+ Enabled: true
16
+ EnforcedStyle: indent
17
+ SupportedStyles:
18
+ - outdent
19
+ - indent
20
+ Style/AlignHash:
21
+ Description: Align the elements of a hash literal if they span more than one line.
22
+ Enabled: true
23
+ EnforcedHashRocketStyle: key
24
+ EnforcedColonStyle: key
25
+ EnforcedLastArgumentHashStyle: always_inspect
26
+ SupportedLastArgumentHashStyles:
27
+ - always_inspect
28
+ - always_ignore
29
+ - ignore_implicit
30
+ - ignore_explicit
31
+ Style/AlignParameters:
32
+ Description: Align the parameters of a method call if they span more than one line.
33
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-double-indent
34
+ Enabled: true
35
+ EnforcedStyle: with_first_parameter
36
+ SupportedStyles:
37
+ - with_first_parameter
38
+ - with_fixed_indentation
39
+ Style/AndOr:
40
+ Description: Use &&/|| instead of and/or.
41
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-and-or-or
42
+ Enabled: true
43
+ EnforcedStyle: always
44
+ SupportedStyles:
45
+ - always
46
+ - conditionals
47
+ Style/BarePercentLiterals:
48
+ Description: Checks if usage of %() or %Q() matches configuration.
49
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-q-shorthand
50
+ Enabled: true
51
+ EnforcedStyle: bare_percent
52
+ SupportedStyles:
53
+ - percent_q
54
+ - bare_percent
55
+ Style/BracesAroundHashParameters:
56
+ Description: Enforce braces style around hash parameters.
57
+ Enabled: true
58
+ EnforcedStyle: no_braces
59
+ SupportedStyles:
60
+ - braces
61
+ - no_braces
62
+ - context_dependent
63
+ Style/CaseIndentation:
64
+ Description: Indentation of when in a case/when/[else/]end.
65
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-when-to-case
66
+ Enabled: true
67
+ IndentWhenRelativeTo: case
68
+ SupportedStyles:
69
+ - case
70
+ - end
71
+ IndentOneStep: false
72
+ Style/ClassAndModuleChildren:
73
+ Description: Checks style of children classes and modules.
74
+ Enabled: false
75
+ EnforcedStyle: nested
76
+ SupportedStyles:
77
+ - nested
78
+ - compact
79
+ Style/ClassCheck:
80
+ Description: Enforces consistent use of `Object#is_a?` or `Object#kind_of?`.
81
+ Enabled: true
82
+ EnforcedStyle: is_a?
83
+ SupportedStyles:
84
+ - is_a?
85
+ - kind_of?
86
+ Style/CollectionMethods:
87
+ Description: Preferred collection methods.
88
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#map-find-select-reduce-size
89
+ Enabled: true
90
+ PreferredMethods:
91
+ collect: map
92
+ collect!: map!
93
+ inject: reduce
94
+ detect: find
95
+ find_all: select
96
+ find: detect
97
+ Style/CommentAnnotation:
98
+ Description: Checks formatting of special comments (TODO, FIXME, OPTIMIZE, HACK,
99
+ REVIEW).
100
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#annotate-keywords
101
+ Enabled: false
102
+ Keywords:
103
+ - TODO
104
+ - FIXME
105
+ - OPTIMIZE
106
+ - HACK
107
+ - REVIEW
108
+ Style/DotPosition:
109
+ Description: Checks the position of the dot in multi-line method calls.
110
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
111
+ Enabled: true
112
+ EnforcedStyle: trailing
113
+ SupportedStyles:
114
+ - leading
115
+ - trailing
116
+ Style/EmptyLineBetweenDefs:
117
+ Description: Use empty lines between defs.
118
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#empty-lines-between-methods
119
+ Enabled: true
120
+ AllowAdjacentOneLineDefs: false
121
+ Style/EmptyLinesAroundBlockBody:
122
+ Description: Keeps track of empty lines around block bodies.
123
+ Enabled: true
124
+ EnforcedStyle: no_empty_lines
125
+ SupportedStyles:
126
+ - empty_lines
127
+ - no_empty_lines
128
+ Style/EmptyLinesAroundClassBody:
129
+ Description: Keeps track of empty lines around class bodies.
130
+ Enabled: true
131
+ EnforcedStyle: no_empty_lines
132
+ SupportedStyles:
133
+ - empty_lines
134
+ - no_empty_lines
135
+ Style/EmptyLinesAroundModuleBody:
136
+ Description: Keeps track of empty lines around module bodies.
137
+ Enabled: true
138
+ EnforcedStyle: no_empty_lines
139
+ SupportedStyles:
140
+ - empty_lines
141
+ - no_empty_lines
142
+ Style/Encoding:
143
+ Description: Use UTF-8 as the source file encoding.
144
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#utf-8
145
+ Enabled: false
146
+ EnforcedStyle: always
147
+ SupportedStyles:
148
+ - when_needed
149
+ - always
150
+ Style/FileName:
151
+ Description: Use snake_case for source file names.
152
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
153
+ Enabled: false
154
+ Exclude: []
155
+ Style/FirstParameterIndentation:
156
+ Description: Checks the indentation of the first parameter in a method call.
157
+ Enabled: true
158
+ EnforcedStyle: special_for_inner_method_call_in_parentheses
159
+ SupportedStyles:
160
+ - consistent
161
+ - special_for_inner_method_call
162
+ - special_for_inner_method_call_in_parentheses
163
+ Style/For:
164
+ Description: Checks use of for or each in multiline loops.
165
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-for-loops
166
+ Enabled: true
167
+ EnforcedStyle: each
168
+ SupportedStyles:
169
+ - for
170
+ - each
171
+ Style/FormatString:
172
+ Description: Enforce the use of Kernel#sprintf, Kernel#format or String#%.
173
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#sprintf
174
+ Enabled: false
175
+ EnforcedStyle: format
176
+ SupportedStyles:
177
+ - format
178
+ - sprintf
179
+ - percent
180
+ Style/GlobalVars:
181
+ Description: Do not introduce global variables.
182
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#instance-vars
183
+ Enabled: false
184
+ AllowedVariables: []
185
+ Style/GuardClause:
186
+ Description: Check for conditionals that can be replaced with guard clauses
187
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals
188
+ Enabled: false
189
+ MinBodyLength: 1
190
+ Style/HashSyntax:
191
+ Description: 'Prefer Ruby 1.9 hash syntax { a: 1, b: 2 } over 1.8 syntax { :a =>
192
+ 1, :b => 2 }.'
193
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-literals
194
+ Enabled: true
195
+ EnforcedStyle: ruby19
196
+ SupportedStyles:
197
+ - ruby19
198
+ - hash_rockets
199
+ Style/IfUnlessModifier:
200
+ Description: Favor modifier if/unless usage when you have a single-line body.
201
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier
202
+ Enabled: false
203
+ MaxLineLength: 80
204
+ Style/IndentationWidth:
205
+ Description: Use 2 spaces for indentation.
206
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
207
+ Enabled: true
208
+ Width: 2
209
+ Style/IndentHash:
210
+ Description: Checks the indentation of the first key in a hash literal.
211
+ Enabled: true
212
+ EnforcedStyle: special_inside_parentheses
213
+ SupportedStyles:
214
+ - special_inside_parentheses
215
+ - consistent
216
+ Style/LambdaCall:
217
+ Description: Use lambda.call(...) instead of lambda.(...).
218
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#proc-call
219
+ Enabled: false
220
+ EnforcedStyle: call
221
+ SupportedStyles:
222
+ - call
223
+ - braces
224
+ Style/Next:
225
+ Description: Use `next` to skip iteration instead of a condition at the end.
226
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals
227
+ Enabled: false
228
+ EnforcedStyle: skip_modifier_ifs
229
+ MinBodyLength: 3
230
+ SupportedStyles:
231
+ - skip_modifier_ifs
232
+ - always
233
+ Style/NonNilCheck:
234
+ Description: Checks for redundant nil checks.
235
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-non-nil-checks
236
+ Enabled: true
237
+ IncludeSemanticChanges: false
238
+ Style/MethodDefParentheses:
239
+ Description: Checks if the method definitions have or don't have parentheses.
240
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#method-parens
241
+ Enabled: true
242
+ EnforcedStyle: require_parentheses
243
+ SupportedStyles:
244
+ - require_parentheses
245
+ - require_no_parentheses
246
+ Style/MethodName:
247
+ Description: Use the configured style when naming methods.
248
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars
249
+ Enabled: true
250
+ EnforcedStyle: snake_case
251
+ SupportedStyles:
252
+ - snake_case
253
+ - camelCase
254
+ Style/MultilineOperationIndentation:
255
+ Description: Checks indentation of binary operations that span more than one line.
256
+ Enabled: true
257
+ EnforcedStyle: indented
258
+ SupportedStyles:
259
+ - aligned
260
+ - indented
261
+ Style/NumericLiterals:
262
+ Description: Add underscores to large numeric literals to improve their readability.
263
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscores-in-numerics
264
+ Enabled: false
265
+ MinDigits: 5
266
+ Style/ParenthesesAroundCondition:
267
+ Description: Don't use parentheses around the condition of an if/unless/while.
268
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-parens-if
269
+ Enabled: true
270
+ AllowSafeAssignment: true
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
+ PreferredDelimiters:
276
+ "%": "()"
277
+ "%i": "()"
278
+ "%q": "()"
279
+ "%Q": "()"
280
+ "%r": "{}"
281
+ "%s": "()"
282
+ "%w": "()"
283
+ "%W": "()"
284
+ "%x": "()"
285
+ Style/PercentQLiterals:
286
+ Description: Checks if uses of %Q/%q match the configured preference.
287
+ Enabled: true
288
+ EnforcedStyle: lower_case_q
289
+ SupportedStyles:
290
+ - lower_case_q
291
+ - upper_case_q
292
+ Style/PredicateName:
293
+ Description: Check the names of predicate methods.
294
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark
295
+ Enabled: true
296
+ NamePrefix:
297
+ - is_
298
+ - has_
299
+ - have_
300
+ NamePrefixBlacklist:
301
+ - is_
302
+ Style/RaiseArgs:
303
+ Description: Checks the arguments passed to raise/fail.
304
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#exception-class-messages
305
+ Enabled: false
306
+ EnforcedStyle: exploded
307
+ SupportedStyles:
308
+ - compact
309
+ - exploded
310
+ Style/RedundantReturn:
311
+ Description: Don't use return where it's not required.
312
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-explicit-return
313
+ Enabled: true
314
+ AllowMultipleReturnValues: false
315
+ Style/RegexpLiteral:
316
+ Description: Use %r for regular expressions matching more than `MaxSlashes` '/'
317
+ characters. Use %r only for regular expressions matching more than `MaxSlashes`
318
+ '/' character.
319
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-r
320
+ Enabled: false
321
+ MaxSlashes: 1
322
+ Style/Semicolon:
323
+ Description: Don't use semicolons to terminate expressions.
324
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-semicolon
325
+ Enabled: true
326
+ AllowAsExpressionSeparator: false
327
+ Style/SignalException:
328
+ Description: Checks for proper usage of fail and raise.
329
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#fail-method
330
+ Enabled: false
331
+ EnforcedStyle: semantic
332
+ SupportedStyles:
333
+ - only_raise
334
+ - only_fail
335
+ - semantic
336
+ Style/SingleLineBlockParams:
337
+ Description: Enforces the names of some block params.
338
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#reduce-blocks
339
+ Enabled: false
340
+ Methods:
341
+ - reduce:
342
+ - a
343
+ - e
344
+ - inject:
345
+ - a
346
+ - e
347
+ Style/SingleLineMethods:
348
+ Description: Avoid single-line methods.
349
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-single-line-methods
350
+ Enabled: false
351
+ AllowIfMethodIsEmpty: true
352
+ Style/StringLiterals:
353
+ Description: Checks if uses of quotes match the configured preference.
354
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
355
+ Enabled: true
356
+ EnforcedStyle: single_quotes
357
+ SupportedStyles:
358
+ - single_quotes
359
+ - double_quotes
360
+ Style/StringLiteralsInInterpolation:
361
+ Description: Checks if uses of quotes inside expressions in interpolated strings
362
+ match the configured preference.
363
+ Enabled: true
364
+ EnforcedStyle: single_quotes
365
+ SupportedStyles:
366
+ - single_quotes
367
+ - double_quotes
368
+ Style/SpaceAroundBlockParameters:
369
+ Description: Checks the spacing inside and after block parameters pipes.
370
+ Enabled: true
371
+ EnforcedStyleInsidePipes: no_space
372
+ SupportedStyles:
373
+ - space
374
+ - no_space
375
+ Style/SpaceAroundEqualsInParameterDefault:
376
+ Description: Checks that the equals signs in parameter default assignments have
377
+ or don't have surrounding space depending on configuration.
378
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-around-equals
379
+ Enabled: true
380
+ EnforcedStyle: space
381
+ SupportedStyles:
382
+ - space
383
+ - no_space
384
+ Style/SpaceBeforeBlockBraces:
385
+ Description: Checks that the left block brace has or doesn't have space before it.
386
+ Enabled: true
387
+ EnforcedStyle: space
388
+ SupportedStyles:
389
+ - space
390
+ - no_space
391
+ Style/SpaceInsideBlockBraces:
392
+ Description: Checks that block braces have or don't have surrounding space. For
393
+ blocks taking parameters, checks that the left brace has or doesn't have trailing
394
+ space.
395
+ Enabled: true
396
+ EnforcedStyle: space
397
+ SupportedStyles:
398
+ - space
399
+ - no_space
400
+ EnforcedStyleForEmptyBraces: no_space
401
+ SpaceBeforeBlockParameters: true
402
+ Style/SpaceInsideHashLiteralBraces:
403
+ Description: Use spaces inside hash literal braces - or don't.
404
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
405
+ Enabled: true
406
+ EnforcedStyle: space
407
+ EnforcedStyleForEmptyBraces: no_space
408
+ SupportedStyles:
409
+ - space
410
+ - no_space
411
+ Style/SymbolProc:
412
+ Description: Use symbols as procs instead of blocks when possible.
413
+ Enabled: true
414
+ IgnoredMethods:
415
+ - respond_to
416
+ Style/TrailingBlankLines:
417
+ Description: Checks trailing blank lines and final newline.
418
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#newline-eof
419
+ Enabled: true
420
+ EnforcedStyle: final_newline
421
+ SupportedStyles:
422
+ - final_newline
423
+ - final_blank_line
424
+ Style/TrailingComma:
425
+ Description: Checks for trailing comma in parameter lists and literals.
426
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas
427
+ Enabled: false
428
+ EnforcedStyleForMultiline: no_comma
429
+ SupportedStyles:
430
+ - comma
431
+ - no_comma
432
+ Style/TrivialAccessors:
433
+ Description: Prefer attr_* methods to trivial readers/writers.
434
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#attr_family
435
+ Enabled: false
436
+ ExactNameMatch: false
437
+ AllowPredicates: false
438
+ AllowDSLWriters: false
439
+ Whitelist:
440
+ - to_ary
441
+ - to_a
442
+ - to_c
443
+ - to_enum
444
+ - to_h
445
+ - to_hash
446
+ - to_i
447
+ - to_int
448
+ - to_io
449
+ - to_open
450
+ - to_path
451
+ - to_proc
452
+ - to_r
453
+ - to_regexp
454
+ - to_str
455
+ - to_s
456
+ - to_sym
457
+ Style/VariableName:
458
+ Description: Use the configured style when naming variables.
459
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars
460
+ Enabled: true
461
+ EnforcedStyle: snake_case
462
+ SupportedStyles:
463
+ - snake_case
464
+ - camelCase
465
+ Style/WhileUntilModifier:
466
+ Description: Favor modifier while/until usage when you have a single-line body.
467
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#while-as-a-modifier
468
+ Enabled: false
469
+ MaxLineLength: 80
470
+ Style/WordArray:
471
+ Description: Use %w or %W for arrays of words.
472
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-w
473
+ Enabled: false
474
+ MinSize: 0
475
+ WordRegex: !ruby/regexp /\A[\p{Word}]+\z/
476
+ Metrics/AbcSize:
477
+ Description: A calculated magnitude based on number of assignments, branches, and
478
+ conditions.
479
+ Enabled: true
480
+ Max: 15
481
+ Metrics/BlockNesting:
482
+ Description: Avoid excessive block nesting
483
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count
484
+ Enabled: true
485
+ Max: 3
486
+ Metrics/ClassLength:
487
+ Description: Avoid classes longer than 100 lines of code.
488
+ Enabled: false
489
+ CountComments: false
490
+ Max: 100
491
+ Metrics/CyclomaticComplexity:
492
+ Description: A complexity metric that is strongly correlated to the number of test
493
+ cases needed to validate a method.
494
+ Enabled: true
495
+ Max: 6
496
+ Metrics/LineLength:
497
+ Description: Limit lines to 80 characters.
498
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#80-character-limits
499
+ Enabled: true
500
+ Max: 80
501
+ AllowURI: true
502
+ URISchemes:
503
+ - http
504
+ - https
505
+ Metrics/MethodLength:
506
+ Description: Avoid methods longer than 10 lines of code.
507
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#short-methods
508
+ Enabled: true
509
+ CountComments: true
510
+ Max: 10
511
+ Exclude:
512
+ - "spec/**/*"
513
+ Metrics/ParameterLists:
514
+ Description: Avoid long parameter lists.
515
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#too-many-params
516
+ Enabled: true
517
+ Max: 5
518
+ CountKeywordArgs: true
519
+ Metrics/PerceivedComplexity:
520
+ Description: A complexity metric geared towards measuring complexity for a human
521
+ reader.
522
+ Enabled: true
523
+ Max: 7
524
+ Lint/AssignmentInCondition:
525
+ Description: Don't use assignment in conditions.
526
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition
527
+ Enabled: false
528
+ AllowSafeAssignment: true
529
+ Lint/EndAlignment:
530
+ Description: Align ends correctly.
531
+ Enabled: true
532
+ AlignWith: keyword
533
+ SupportedStyles:
534
+ - keyword
535
+ - variable
536
+ Lint/DefEndAlignment:
537
+ Description: Align ends corresponding to defs correctly.
538
+ Enabled: true
539
+ AlignWith: start_of_line
540
+ SupportedStyles:
541
+ - start_of_line
542
+ - def
543
+ Rails/ActionFilter:
544
+ Description: Enforces consistent use of action filter methods.
545
+ Enabled: true
546
+ EnforcedStyle: action
547
+ SupportedStyles:
548
+ - action
549
+ - filter
550
+ Include:
551
+ - app/controllers/**/*.rb
552
+ Rails/DefaultScope:
553
+ Description: Checks if the argument passed to default_scope is a block.
554
+ Enabled: true
555
+ Include:
556
+ - app/models/**/*.rb
557
+ Rails/HasAndBelongsToMany:
558
+ Description: Prefer has_many :through to has_and_belongs_to_many.
559
+ Enabled: true
560
+ Include:
561
+ - app/models/**/*.rb
562
+ Rails/Output:
563
+ Description: Checks for calls to puts, print, etc.
564
+ Enabled: true
565
+ Include:
566
+ - app/**/*.rb
567
+ - config/**/*.rb
568
+ - db/**/*.rb
569
+ - lib/**/*.rb
570
+ Rails/ReadWriteAttribute:
571
+ Description: Checks for read_attribute(:attr) and write_attribute(:attr, val).
572
+ Enabled: true
573
+ Include:
574
+ - app/models/**/*.rb
575
+ Rails/ScopeArgs:
576
+ Description: Checks the arguments of ActiveRecord scopes.
577
+ Enabled: true
578
+ Include:
579
+ - app/models/**/*.rb
580
+ Rails/Validation:
581
+ Description: Use validates :attribute, hash of validations.
582
+ Enabled: true
583
+ Include:
584
+ - app/models/**/*.rb
585
+ Style/InlineComment:
586
+ Description: Avoid inline comments.
587
+ Enabled: false
588
+ Style/MethodCalledOnDoEndBlock:
589
+ Description: Avoid chaining a method call on a do...end block.
590
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
591
+ Enabled: false
592
+ Style/SymbolArray:
593
+ Description: Use %i or %I for arrays of symbols.
594
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-i
595
+ Enabled: false
596
+ Style/ExtraSpacing:
597
+ Description: Do not use unnecessary spacing.
598
+ Enabled: true
599
+ Style/AccessorMethodName:
600
+ Description: Check the naming of accessor methods for get_/set_.
601
+ Enabled: false
602
+ Style/Alias:
603
+ Description: Use alias_method instead of alias.
604
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#alias-method
605
+ Enabled: false
606
+ Style/AlignArray:
607
+ Description: Align the elements of an array literal if they span more than one line.
608
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#align-multiline-arrays
609
+ Enabled: true
610
+ Style/ArrayJoin:
611
+ Description: Use Array#join instead of Array#*.
612
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#array-join
613
+ Enabled: false
614
+ Style/AsciiComments:
615
+ Description: Use only ascii symbols in comments.
616
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-comments
617
+ Enabled: false
618
+ Style/AsciiIdentifiers:
619
+ Description: Use only ascii symbols in identifiers.
620
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-identifiers
621
+ Enabled: false
622
+ Style/Attr:
623
+ Description: Checks for uses of Module#attr.
624
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#attr
625
+ Enabled: false
626
+ Style/BeginBlock:
627
+ Description: Avoid the use of BEGIN blocks.
628
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-BEGIN-blocks
629
+ Enabled: true
630
+ Style/BlockComments:
631
+ Description: Do not use block comments.
632
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-block-comments
633
+ Enabled: true
634
+ Style/BlockEndNewline:
635
+ Description: Put end statement of multiline block on its own line.
636
+ Enabled: true
637
+ Style/Blocks:
638
+ Description: Avoid using {...} for multi-line blocks (multiline chaining is always
639
+ ugly). Prefer {...} over do...end for single-line blocks.
640
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
641
+ Enabled: true
642
+ Style/CaseEquality:
643
+ Description: Avoid explicit use of the case equality operator(===).
644
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-case-equality
645
+ Enabled: false
646
+ Style/CharacterLiteral:
647
+ Description: Checks for uses of character literals.
648
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-character-literals
649
+ Enabled: false
650
+ Style/ClassAndModuleCamelCase:
651
+ Description: Use CamelCase for classes and modules.
652
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#camelcase-classes
653
+ Enabled: true
654
+ Style/ClassMethods:
655
+ Description: Use self when defining module/class methods.
656
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#def-self-singletons
657
+ Enabled: true
658
+ Style/ClassVars:
659
+ Description: Avoid the use of class variables.
660
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-class-vars
661
+ Enabled: false
662
+ Style/ColonMethodCall:
663
+ Description: 'Do not use :: for method call.'
664
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#double-colons
665
+ Enabled: false
666
+ Style/CommentIndentation:
667
+ Description: Indentation of comments.
668
+ Enabled: true
669
+ Style/ConstantName:
670
+ Description: Constants should use SCREAMING_SNAKE_CASE.
671
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#screaming-snake-case
672
+ Enabled: true
673
+ Style/DefWithParentheses:
674
+ Description: Use def with parentheses when there are arguments.
675
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#method-parens
676
+ Enabled: true
677
+ Style/DeprecatedHashMethods:
678
+ Description: Checks for use of deprecated Hash methods.
679
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-key
680
+ Enabled: false
681
+ Style/Documentation:
682
+ Description: Document classes and non-namespace modules.
683
+ Enabled: false
684
+ Style/DoubleNegation:
685
+ Description: Checks for uses of double negation (!!).
686
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-bang-bang
687
+ Enabled: false
688
+ Style/EachWithObject:
689
+ Description: Prefer `each_with_object` over `inject` or `reduce`.
690
+ Enabled: false
691
+ Style/ElseAlignment:
692
+ Description: Align elses and elsifs correctly.
693
+ Enabled: true
694
+ Style/EmptyElse:
695
+ Description: Avoid empty else-clauses.
696
+ Enabled: true
697
+ Style/EmptyLines:
698
+ Description: Don't use several empty lines in a row.
699
+ Enabled: true
700
+ Style/EmptyLinesAroundAccessModifier:
701
+ Description: Keep blank lines around access modifiers.
702
+ Enabled: true
703
+ Style/EmptyLinesAroundMethodBody:
704
+ Description: Keeps track of empty lines around method bodies.
705
+ Enabled: true
706
+ Style/EmptyLiteral:
707
+ Description: Prefer literals to Array.new/Hash.new/String.new.
708
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#literal-array-hash
709
+ Enabled: false
710
+ Style/EndBlock:
711
+ Description: Avoid the use of END blocks.
712
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-END-blocks
713
+ Enabled: true
714
+ Style/EndOfLine:
715
+ Description: Use Unix-style line endings.
716
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#crlf
717
+ Enabled: true
718
+ Style/EvenOdd:
719
+ Description: Favor the use of Fixnum#even? && Fixnum#odd?
720
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#predicate-methods
721
+ Enabled: false
722
+ Style/FlipFlop:
723
+ Description: Checks for flip flops
724
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-flip-flops
725
+ Enabled: false
726
+ Style/IfWithSemicolon:
727
+ Description: Do not use if x; .... Use the ternary operator instead.
728
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-semicolon-ifs
729
+ Enabled: false
730
+ Style/IndentationConsistency:
731
+ Description: Keep indentation straight.
732
+ Enabled: true
733
+ Style/IndentArray:
734
+ Description: Checks the indentation of the first element in an array literal.
735
+ Enabled: true
736
+ Style/InfiniteLoop:
737
+ Description: Use Kernel#loop for infinite loops.
738
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#infinite-loop
739
+ Enabled: true
740
+ Style/Lambda:
741
+ Description: Use the new lambda literal syntax for single-line blocks.
742
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#lambda-multi-line
743
+ Enabled: false
744
+ Style/LeadingCommentSpace:
745
+ Description: Comments should start with a space.
746
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-space
747
+ Enabled: true
748
+ Style/LineEndConcatenation:
749
+ Description: Use \ instead of + or << to concatenate two string literals at line
750
+ end.
751
+ Enabled: false
752
+ Style/MethodCallParentheses:
753
+ Description: Do not use parentheses for method calls with no arguments.
754
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-args-no-parens
755
+ Enabled: true
756
+ Style/ModuleFunction:
757
+ Description: Checks for usage of `extend self` in modules.
758
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#module-function
759
+ Enabled: false
760
+ Style/MultilineBlockChain:
761
+ Description: Avoid multi-line chains of blocks.
762
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
763
+ Enabled: true
764
+ Style/MultilineBlockLayout:
765
+ Description: Ensures newlines after multiline block do statements.
766
+ Enabled: true
767
+ Style/MultilineIfThen:
768
+ Description: Do not use then for multi-line if/unless.
769
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-then
770
+ Enabled: true
771
+ Style/MultilineTernaryOperator:
772
+ Description: 'Avoid multi-line ?: (the ternary operator); use if/unless instead.'
773
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-multiline-ternary
774
+ Enabled: true
775
+ Style/NegatedIf:
776
+ Description: Favor unless over if for negative conditions (or control flow or).
777
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#unless-for-negatives
778
+ Enabled: false
779
+ Style/NegatedWhile:
780
+ Description: Favor until over while for negative conditions.
781
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#until-for-negatives
782
+ Enabled: false
783
+ Style/NestedTernaryOperator:
784
+ Description: Use one expression per branch in a ternary operator.
785
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-ternary
786
+ Enabled: true
787
+ Style/NilComparison:
788
+ Description: Prefer x.nil? to x == nil.
789
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#predicate-methods
790
+ Enabled: false
791
+ Style/Not:
792
+ Description: Use ! instead of not.
793
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#bang-not-not
794
+ Enabled: false
795
+ Style/OneLineConditional:
796
+ Description: Favor the ternary operator(?:) over if/then/else/end constructs.
797
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#ternary-operator
798
+ Enabled: false
799
+ Style/OpMethod:
800
+ Description: When defining binary operators, name the argument other.
801
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#other-arg
802
+ Enabled: false
803
+ Style/PerlBackrefs:
804
+ Description: Avoid Perl-style regex back references.
805
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers
806
+ Enabled: false
807
+ Style/Proc:
808
+ Description: Use proc instead of Proc.new.
809
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#proc
810
+ Enabled: false
811
+ Style/RedundantBegin:
812
+ Description: Don't use begin blocks when they are not needed.
813
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#begin-implicit
814
+ Enabled: true
815
+ Style/RedundantException:
816
+ Description: Checks for an obsolete RuntimeException argument in raise/fail.
817
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-explicit-runtimeerror
818
+ Enabled: true
819
+ Style/RedundantSelf:
820
+ Description: Don't use self where it's not needed.
821
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-self-unless-required
822
+ Enabled: true
823
+ Style/RescueModifier:
824
+ Description: Avoid using rescue in its modifier form.
825
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-rescue-modifiers
826
+ Enabled: true
827
+ Style/SelfAssignment:
828
+ Description: Checks for places where self-assignment shorthand should have been
829
+ used.
830
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#self-assignment
831
+ Enabled: false
832
+ Style/SingleSpaceBeforeFirstArg:
833
+ Description: Checks that exactly one space is used between a method name and the
834
+ first argument for method calls without parentheses.
835
+ Enabled: true
836
+ Style/SpaceAfterColon:
837
+ Description: Use spaces after colons.
838
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
839
+ Enabled: true
840
+ Style/SpaceAfterComma:
841
+ Description: Use spaces after commas.
842
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
843
+ Enabled: true
844
+ Style/SpaceAfterControlKeyword:
845
+ Description: Use spaces after if/elsif/unless/while/until/case/when.
846
+ Enabled: true
847
+ Style/SpaceAfterMethodName:
848
+ Description: Do not put a space between a method name and the opening parenthesis
849
+ in a method definition.
850
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-no-spaces
851
+ Enabled: true
852
+ Style/SpaceAfterNot:
853
+ Description: Tracks redundant space after the ! operator.
854
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-space-bang
855
+ Enabled: true
856
+ Style/SpaceAfterSemicolon:
857
+ Description: Use spaces after semicolons.
858
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
859
+ Enabled: true
860
+ Style/SpaceBeforeComma:
861
+ Description: No spaces before commas.
862
+ Enabled: true
863
+ Style/SpaceBeforeComment:
864
+ Description: Checks for missing space between code and a comment on the same line.
865
+ Enabled: true
866
+ Style/SpaceBeforeSemicolon:
867
+ Description: No spaces before semicolons.
868
+ Enabled: true
869
+ Style/SpaceAroundOperators:
870
+ Description: Use spaces around operators.
871
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
872
+ Enabled: true
873
+ Style/SpaceBeforeModifierKeyword:
874
+ Description: Put a space before the modifier keyword.
875
+ Enabled: true
876
+ Style/SpaceInsideBrackets:
877
+ Description: No spaces after [ or before ].
878
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-spaces-braces
879
+ Enabled: true
880
+ Style/SpaceInsideParens:
881
+ Description: No spaces after ( or before ).
882
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-spaces-braces
883
+ Enabled: true
884
+ Style/SpaceInsideRangeLiteral:
885
+ Description: No spaces inside range literals.
886
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-space-inside-range-literals
887
+ Enabled: true
888
+ Style/SpecialGlobalVars:
889
+ Description: Avoid Perl-style global variables.
890
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-cryptic-perlisms
891
+ Enabled: false
892
+ Style/StructInheritance:
893
+ Description: Checks for inheritance from Struct.new.
894
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-extend-struct-new
895
+ Enabled: true
896
+ Style/Tab:
897
+ Description: No hard tabs.
898
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
899
+ Enabled: true
900
+ Style/TrailingWhitespace:
901
+ Description: Avoid trailing whitespace.
902
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-whitespace
903
+ Enabled: true
904
+ Style/UnlessElse:
905
+ Description: Do not use unless with else. Rewrite these with the positive case first.
906
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-else-with-unless
907
+ Enabled: true
908
+ Style/UnneededCapitalW:
909
+ Description: Checks for %W when interpolation is not needed.
910
+ Enabled: true
911
+ Style/UnneededPercentQ:
912
+ Description: Checks for %q/%Q when single quotes or double quotes would do.
913
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-q
914
+ Enabled: true
915
+ Style/UnneededPercentX:
916
+ Description: Checks for %x when `` would do.
917
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-x
918
+ Enabled: true
919
+ Style/VariableInterpolation:
920
+ Description: Don't interpolate global, instance and class variables directly in
921
+ strings.
922
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#curlies-interpolate
923
+ Enabled: false
924
+ Style/WhenThen:
925
+ Description: Use when x then ... for one-line cases.
926
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#one-line-cases
927
+ Enabled: false
928
+ Style/WhileUntilDo:
929
+ Description: Checks for redundant do after while or until.
930
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-multiline-while-do
931
+ Enabled: true
932
+ Lint/AmbiguousOperator:
933
+ Description: Checks for ambiguous operators in the first argument of a method invocation
934
+ without parentheses.
935
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-as-args
936
+ Enabled: false
937
+ Lint/AmbiguousRegexpLiteral:
938
+ Description: Checks for ambiguous regexp literals in the first argument of a method
939
+ invocation without parenthesis.
940
+ Enabled: false
941
+ Lint/BlockAlignment:
942
+ Description: Align block ends correctly.
943
+ Enabled: true
944
+ Lint/ConditionPosition:
945
+ Description: Checks for condition placed in a confusing position relative to the
946
+ keyword.
947
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#same-line-condition
948
+ Enabled: false
949
+ Lint/Debugger:
950
+ Description: Check for debugger calls.
951
+ Enabled: true
952
+ Lint/DeprecatedClassMethods:
953
+ Description: Check for deprecated class method calls.
954
+ Enabled: false
955
+ Lint/DuplicateMethods:
956
+ Description: Check for duplicate methods calls.
957
+ Enabled: true
958
+ Lint/ElseLayout:
959
+ Description: Check for odd code arrangement in an else block.
960
+ Enabled: false
961
+ Lint/EmptyEnsure:
962
+ Description: Checks for empty ensure block.
963
+ Enabled: true
964
+ Lint/EmptyInterpolation:
965
+ Description: Checks for empty string interpolation.
966
+ Enabled: true
967
+ Lint/EndInMethod:
968
+ Description: END blocks should not be placed inside method definitions.
969
+ Enabled: true
970
+ Lint/EnsureReturn:
971
+ Description: Do not use return in an ensure block.
972
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-return-ensure
973
+ Enabled: true
974
+ Lint/Eval:
975
+ Description: The use of eval represents a serious security risk.
976
+ Enabled: true
977
+ Lint/HandleExceptions:
978
+ Description: Don't suppress exception.
979
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions
980
+ Enabled: false
981
+ Lint/InvalidCharacterLiteral:
982
+ Description: Checks for invalid character literals with a non-escaped whitespace
983
+ character.
984
+ Enabled: false
985
+ Lint/LiteralInCondition:
986
+ Description: Checks of literals used in conditions.
987
+ Enabled: false
988
+ Lint/LiteralInInterpolation:
989
+ Description: Checks for literals used in interpolation.
990
+ Enabled: false
991
+ Lint/Loop:
992
+ Description: Use Kernel#loop with break rather than begin/end/until or begin/end/while
993
+ for post-loop tests.
994
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#loop-with-break
995
+ Enabled: false
996
+ Lint/ParenthesesAsGroupedExpression:
997
+ Description: Checks for method calls with a space before the opening parenthesis.
998
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-no-spaces
999
+ Enabled: false
1000
+ Lint/RequireParentheses:
1001
+ Description: Use parentheses in the method call to avoid confusion about precedence.
1002
+ Enabled: false
1003
+ Lint/RescueException:
1004
+ Description: Avoid rescuing the Exception class.
1005
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-blind-rescues
1006
+ Enabled: true
1007
+ Lint/ShadowingOuterLocalVariable:
1008
+ Description: Do not use the same name as outer local variable for block arguments
1009
+ or block local variables.
1010
+ Enabled: true
1011
+ Lint/SpaceBeforeFirstArg:
1012
+ Description: Put a space between a method name and the first argument in a method
1013
+ call without parentheses.
1014
+ Enabled: true
1015
+ Lint/StringConversionInInterpolation:
1016
+ Description: Checks for Object#to_s usage in string interpolation.
1017
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-to-s
1018
+ Enabled: true
1019
+ Lint/UnderscorePrefixedVariableName:
1020
+ Description: Do not use prefix `_` for a variable that is used.
1021
+ Enabled: false
1022
+ Lint/UnusedBlockArgument:
1023
+ Description: Checks for unused block arguments.
1024
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
1025
+ Enabled: true
1026
+ Lint/UnusedMethodArgument:
1027
+ Description: Checks for unused method arguments.
1028
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
1029
+ Enabled: true
1030
+ Lint/UnreachableCode:
1031
+ Description: Unreachable code.
1032
+ Enabled: true
1033
+ Lint/UselessAccessModifier:
1034
+ Description: Checks for useless access modifiers.
1035
+ Enabled: true
1036
+ Lint/UselessAssignment:
1037
+ Description: Checks for useless assignment to a local variable.
1038
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
1039
+ Enabled: true
1040
+ Lint/UselessComparison:
1041
+ Description: Checks for comparison of something with itself.
1042
+ Enabled: true
1043
+ Lint/UselessElseWithoutRescue:
1044
+ Description: Checks for useless `else` in `begin..end` without `rescue`.
1045
+ Enabled: true
1046
+ Lint/UselessSetterCall:
1047
+ Description: Checks for useless setter call to a local variable.
1048
+ Enabled: true
1049
+ Lint/Void:
1050
+ Description: Possible use of operator/literal/variable in void context.
1051
+ Enabled: false
1052
+ Rails/Delegate:
1053
+ Description: Prefer delegate method for delegations.
1054
+ Enabled: false