form_input 0.9.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/form_input.gemspec CHANGED
@@ -21,10 +21,10 @@ EOT
21
21
  s.homepage = 'https://github.com/raxoft/form_input'
22
22
  s.license = 'MIT'
23
23
 
24
- s.files = `git ls-files`.split( "\n" )
24
+ s.files = %w[ LICENSE README.md Rakefile .yardopts form_input.gemspec ] + Dir[ '{lib,test,example}/**/*.{rb,yml,txt,slim}' ]
25
25
 
26
26
  s.required_ruby_version = '>= 2.0.0'
27
- s.add_runtime_dependency 'rack', '~> 1.5'
27
+ s.add_runtime_dependency 'rack', '>= 1.5', '< 3.0'
28
28
  s.add_development_dependency 'bacon', '~> 1.2'
29
29
  s.add_development_dependency 'rack-test', '~> 0.6'
30
30
  s.add_development_dependency 'r18n-core', '~> 2.0'
@@ -2,8 +2,8 @@
2
2
 
3
3
  class FormInput
4
4
  module Version
5
- MAJOR = 0
6
- MINOR = 9
5
+ MAJOR = 1
6
+ MINOR = 0
7
7
  PATCH = 0
8
8
  STRING = [ MAJOR, MINOR, PATCH ].join( '.' ).freeze
9
9
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: form_input
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrik Rak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-22 00:00:00.000000000 Z
11
+ date: 2016-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.5'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '3.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '1.5'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '3.0'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: bacon
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -79,11 +85,6 @@ executables: []
79
85
  extensions: []
80
86
  extra_rdoc_files: []
81
87
  files:
82
- - ".codeclimate.yml"
83
- - ".gitignore"
84
- - ".rubocop.yml"
85
- - ".travis.gemfile"
86
- - ".travis.yml"
87
88
  - ".yardopts"
88
89
  - LICENSE
89
90
  - README.md
data/.codeclimate.yml DELETED
@@ -1,19 +0,0 @@
1
- # Config file for Code Climate.
2
-
3
- engines:
4
- duplication:
5
- enabled: true
6
- config:
7
- languages:
8
- - ruby
9
- fixme:
10
- enabled: true
11
- rubocop:
12
- enabled: true
13
- ratings:
14
- paths:
15
- - "**.rb"
16
- exclude_paths:
17
- - test/
18
-
19
- # EOF #
data/.gitignore DELETED
@@ -1,5 +0,0 @@
1
- *~
2
- /form_input-*.gem
3
- /coverage
4
- /doc
5
- /.yardoc
data/.rubocop.yml DELETED
@@ -1,1161 +0,0 @@
1
- # Config file for Rubocop, used by Code Climate.
2
-
3
- AllCops:
4
- DisabledByDefault: true
5
-
6
- #################### Lint ################################
7
-
8
- Lint/AmbiguousOperator:
9
- Description: >-
10
- Checks for ambiguous operators in the first argument of a
11
- method invocation without parentheses.
12
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-as-args'
13
- Enabled: true
14
-
15
- Lint/AmbiguousRegexpLiteral:
16
- Description: >-
17
- Checks for ambiguous regexp literals in the first argument of
18
- a method invocation without parenthesis.
19
- Enabled: true
20
-
21
- Lint/AssignmentInCondition:
22
- Description: "Don't use assignment in conditions."
23
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition'
24
- Enabled: false
25
-
26
- Lint/BlockAlignment:
27
- Description: 'Align block ends correctly.'
28
- Enabled: true
29
-
30
- Lint/CircularArgumentReference:
31
- Description: "Don't refer to the keyword argument in the default value."
32
- Enabled: true
33
-
34
- Lint/ConditionPosition:
35
- Description: >-
36
- Checks for condition placed in a confusing position relative to
37
- the keyword.
38
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#same-line-condition'
39
- Enabled: true
40
-
41
- Lint/Debugger:
42
- Description: 'Check for debugger calls.'
43
- Enabled: true
44
-
45
- Lint/DefEndAlignment:
46
- Description: 'Align ends corresponding to defs correctly.'
47
- Enabled: true
48
-
49
- Lint/DeprecatedClassMethods:
50
- Description: 'Check for deprecated class method calls.'
51
- Enabled: true
52
-
53
- Lint/DuplicateMethods:
54
- Description: 'Check for duplicate methods calls.'
55
- Enabled: true
56
-
57
- Lint/EachWithObjectArgument:
58
- Description: 'Check for immutable argument given to each_with_object.'
59
- Enabled: true
60
-
61
- Lint/ElseLayout:
62
- Description: 'Check for odd code arrangement in an else block.'
63
- Enabled: true
64
-
65
- Lint/EmptyEnsure:
66
- Description: 'Checks for empty ensure block.'
67
- Enabled: true
68
-
69
- Lint/EmptyInterpolation:
70
- Description: 'Checks for empty string interpolation.'
71
- Enabled: true
72
-
73
- Lint/EndAlignment:
74
- Description: 'Align ends correctly.'
75
- Enabled: true
76
-
77
- Lint/EndInMethod:
78
- Description: 'END blocks should not be placed inside method definitions.'
79
- Enabled: true
80
-
81
- Lint/EnsureReturn:
82
- Description: 'Do not use return in an ensure block.'
83
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-return-ensure'
84
- Enabled: true
85
-
86
- Lint/Eval:
87
- Description: 'The use of eval represents a serious security risk.'
88
- Enabled: true
89
-
90
- Lint/FormatParameterMismatch:
91
- Description: 'The number of parameters to format/sprint must match the fields.'
92
- Enabled: true
93
-
94
- Lint/HandleExceptions:
95
- Description: "Don't suppress exception."
96
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions'
97
- Enabled: true
98
-
99
- Lint/InvalidCharacterLiteral:
100
- Description: >-
101
- Checks for invalid character literals with a non-escaped
102
- whitespace character.
103
- Enabled: true
104
-
105
- Lint/LiteralInCondition:
106
- Description: 'Checks of literals used in conditions.'
107
- Enabled: true
108
-
109
- Lint/LiteralInInterpolation:
110
- Description: 'Checks for literals used in interpolation.'
111
- Enabled: true
112
-
113
- Lint/Loop:
114
- Description: >-
115
- Use Kernel#loop with break rather than begin/end/until or
116
- begin/end/while for post-loop tests.
117
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#loop-with-break'
118
- Enabled: true
119
-
120
- Lint/NestedMethodDefinition:
121
- Description: 'Do not use nested method definitions.'
122
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-methods'
123
- Enabled: true
124
-
125
- Lint/NonLocalExitFromIterator:
126
- Description: 'Do not use return in iterator to cause non-local exit.'
127
- Enabled: true
128
-
129
- Lint/ParenthesesAsGroupedExpression:
130
- Description: >-
131
- Checks for method calls with a space before the opening
132
- parenthesis.
133
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-no-spaces'
134
- Enabled: true
135
-
136
- Lint/RequireParentheses:
137
- Description: >-
138
- Use parentheses in the method call to avoid confusion
139
- about precedence.
140
- Enabled: true
141
-
142
- Lint/RescueException:
143
- Description: 'Avoid rescuing the Exception class.'
144
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-blind-rescues'
145
- Enabled: true
146
-
147
- Lint/ShadowingOuterLocalVariable:
148
- Description: >-
149
- Do not use the same name as outer local variable
150
- for block arguments or block local variables.
151
- Enabled: true
152
-
153
- Lint/StringConversionInInterpolation:
154
- Description: 'Checks for Object#to_s usage in string interpolation.'
155
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-to-s'
156
- Enabled: true
157
-
158
- Lint/UnderscorePrefixedVariableName:
159
- Description: 'Do not use prefix `_` for a variable that is used.'
160
- Enabled: true
161
-
162
- Lint/UnneededDisable:
163
- Description: >-
164
- Checks for rubocop:disable comments that can be removed.
165
- Note: this cop is not disabled when disabling all cops.
166
- It must be explicitly disabled.
167
- Enabled: true
168
-
169
- Lint/UnusedBlockArgument:
170
- Description: 'Checks for unused block arguments.'
171
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
172
- Enabled: true
173
-
174
- Lint/UnusedMethodArgument:
175
- Description: 'Checks for unused method arguments.'
176
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
177
- Enabled: true
178
-
179
- Lint/UnreachableCode:
180
- Description: 'Unreachable code.'
181
- Enabled: true
182
-
183
- Lint/UselessAccessModifier:
184
- Description: 'Checks for useless access modifiers.'
185
- Enabled: true
186
-
187
- Lint/UselessAssignment:
188
- Description: 'Checks for useless assignment to a local variable.'
189
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars'
190
- Enabled: true
191
-
192
- Lint/UselessComparison:
193
- Description: 'Checks for comparison of something with itself.'
194
- Enabled: true
195
-
196
- Lint/UselessElseWithoutRescue:
197
- Description: 'Checks for useless `else` in `begin..end` without `rescue`.'
198
- Enabled: true
199
-
200
- Lint/UselessSetterCall:
201
- Description: 'Checks for useless setter call to a local variable.'
202
- Enabled: true
203
-
204
- Lint/Void:
205
- Description: 'Possible use of operator/literal/variable in void context.'
206
- Enabled: true
207
-
208
- ###################### Metrics ####################################
209
-
210
- Metrics/AbcSize:
211
- Description: >-
212
- A calculated magnitude based on number of assignments,
213
- branches, and conditions.
214
- Reference: 'http://c2.com/cgi/wiki?AbcMetric'
215
- Enabled: false
216
- Max: 20
217
-
218
- Metrics/BlockNesting:
219
- Description: 'Avoid excessive block nesting'
220
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count'
221
- Enabled: true
222
- Max: 4
223
-
224
- Metrics/ClassLength:
225
- Description: 'Avoid classes longer than 400 lines of code.'
226
- Enabled: true
227
- Max: 400
228
-
229
- Metrics/CyclomaticComplexity:
230
- Description: >-
231
- A complexity metric that is strongly correlated to the number
232
- of test cases needed to validate a method.
233
- Enabled: true
234
- Max: 10
235
-
236
- Metrics/LineLength:
237
- Description: 'Limit lines to 80 characters.'
238
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#80-character-limits'
239
- Enabled: false
240
-
241
- Metrics/MethodLength:
242
- Description: 'Avoid methods longer than 30 lines of code.'
243
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#short-methods'
244
- Enabled: true
245
- Max: 30
246
-
247
- Metrics/ModuleLength:
248
- Description: 'Avoid modules longer than 250 lines of code.'
249
- Enabled: true
250
- Max: 250
251
-
252
- Metrics/ParameterLists:
253
- Description: 'Avoid parameter lists longer than three or four parameters.'
254
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#too-many-params'
255
- Enabled: true
256
-
257
- Metrics/PerceivedComplexity:
258
- Description: >-
259
- A complexity metric geared towards measuring complexity for a
260
- human reader.
261
- Enabled: false
262
-
263
- ##################### Performance #############################
264
-
265
- Performance/Count:
266
- Description: >-
267
- Use `count` instead of `select...size`, `reject...size`,
268
- `select...count`, `reject...count`, `select...length`,
269
- and `reject...length`.
270
- Enabled: true
271
-
272
- Performance/Detect:
273
- Description: >-
274
- Use `detect` instead of `select.first`, `find_all.first`,
275
- `select.last`, and `find_all.last`.
276
- Reference: 'https://github.com/JuanitoFatas/fast-ruby#enumerabledetect-vs-enumerableselectfirst-code'
277
- Enabled: true
278
-
279
- Performance/FlatMap:
280
- Description: >-
281
- Use `Enumerable#flat_map`
282
- instead of `Enumerable#map...Array#flatten(1)`
283
- or `Enumberable#collect..Array#flatten(1)`
284
- Reference: 'https://github.com/JuanitoFatas/fast-ruby#enumerablemaparrayflatten-vs-enumerableflat_map-code'
285
- Enabled: true
286
- EnabledForFlattenWithoutParams: false
287
- # If enabled, this cop will warn about usages of
288
- # `flatten` being called without any parameters.
289
- # This can be dangerous since `flat_map` will only flatten 1 level, and
290
- # `flatten` without any parameters can flatten multiple levels.
291
-
292
- Performance/ReverseEach:
293
- Description: 'Use `reverse_each` instead of `reverse.each`.'
294
- Reference: 'https://github.com/JuanitoFatas/fast-ruby#enumerablereverseeach-vs-enumerablereverse_each-code'
295
- Enabled: true
296
-
297
- Performance/Sample:
298
- Description: >-
299
- Use `sample` instead of `shuffle.first`,
300
- `shuffle.last`, and `shuffle[Fixnum]`.
301
- Reference: 'https://github.com/JuanitoFatas/fast-ruby#arrayshufflefirst-vs-arraysample-code'
302
- Enabled: true
303
-
304
- Performance/Size:
305
- Description: >-
306
- Use `size` instead of `count` for counting
307
- the number of elements in `Array` and `Hash`.
308
- Reference: 'https://github.com/JuanitoFatas/fast-ruby#arraycount-vs-arraysize-code'
309
- Enabled: true
310
-
311
- Performance/StringReplacement:
312
- Description: >-
313
- Use `tr` instead of `gsub` when you are replacing the same
314
- number of characters. Use `delete` instead of `gsub` when
315
- you are deleting characters.
316
- Reference: 'https://github.com/JuanitoFatas/fast-ruby#stringgsub-vs-stringtr-code'
317
- Enabled: true
318
-
319
- ##################### Rails ##################################
320
-
321
- Rails/ActionFilter:
322
- Description: 'Enforces consistent use of action filter methods.'
323
- Enabled: false
324
-
325
- Rails/Date:
326
- Description: >-
327
- Checks the correct usage of date aware methods,
328
- such as Date.today, Date.current etc.
329
- Enabled: false
330
-
331
- Rails/Delegate:
332
- Description: 'Prefer delegate method for delegations.'
333
- Enabled: false
334
-
335
- Rails/FindBy:
336
- Description: 'Prefer find_by over where.first.'
337
- Enabled: false
338
-
339
- Rails/FindEach:
340
- Description: 'Prefer all.find_each over all.find.'
341
- Enabled: false
342
-
343
- Rails/HasAndBelongsToMany:
344
- Description: 'Prefer has_many :through to has_and_belongs_to_many.'
345
- Enabled: false
346
-
347
- Rails/Output:
348
- Description: 'Checks for calls to puts, print, etc.'
349
- Enabled: false
350
-
351
- Rails/ReadWriteAttribute:
352
- Description: >-
353
- Checks for read_attribute(:attr) and
354
- write_attribute(:attr, val).
355
- Enabled: false
356
-
357
- Rails/ScopeArgs:
358
- Description: 'Checks the arguments of ActiveRecord scopes.'
359
- Enabled: false
360
-
361
- Rails/TimeZone:
362
- Description: 'Checks the correct usage of time zone aware methods.'
363
- StyleGuide: 'https://github.com/bbatsov/rails-style-guide#time'
364
- Reference: 'http://danilenko.org/2012/7/6/rails_timezones'
365
- Enabled: false
366
-
367
- Rails/Validation:
368
- Description: 'Use validates :attribute, hash of validations.'
369
- Enabled: false
370
-
371
- ################## Style #################################
372
-
373
- Style/AccessModifierIndentation:
374
- Description: Check indentation of private/protected visibility modifiers.
375
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#indent-public-private-protected'
376
- Enabled: false
377
-
378
- Style/AccessorMethodName:
379
- Description: Check the naming of accessor methods for get_/set_.
380
- Enabled: false
381
-
382
- Style/Alias:
383
- Description: 'Use alias_method instead of alias.'
384
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#alias-method'
385
- Enabled: false
386
-
387
- Style/AlignArray:
388
- Description: >-
389
- Align the elements of an array literal if they span more than
390
- one line.
391
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#align-multiline-arrays'
392
- Enabled: false
393
-
394
- Style/AlignHash:
395
- Description: >-
396
- Align the elements of a hash literal if they span more than
397
- one line.
398
- Enabled: false
399
-
400
- Style/AlignParameters:
401
- Description: >-
402
- Align the parameters of a method call if they span more
403
- than one line.
404
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-double-indent'
405
- Enabled: false
406
-
407
- Style/AndOr:
408
- Description: 'Use &&/|| instead of and/or.'
409
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-and-or-or'
410
- Enabled: false
411
-
412
- Style/ArrayJoin:
413
- Description: 'Use Array#join instead of Array#*.'
414
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#array-join'
415
- Enabled: false
416
-
417
- Style/AsciiComments:
418
- Description: 'Use only ascii symbols in comments.'
419
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#english-comments'
420
- Enabled: false
421
-
422
- Style/AsciiIdentifiers:
423
- Description: 'Use only ascii symbols in identifiers.'
424
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#english-identifiers'
425
- Enabled: false
426
-
427
- Style/Attr:
428
- Description: 'Checks for uses of Module#attr.'
429
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#attr'
430
- Enabled: false
431
-
432
- Style/BeginBlock:
433
- Description: 'Avoid the use of BEGIN blocks.'
434
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-BEGIN-blocks'
435
- Enabled: false
436
-
437
- Style/BarePercentLiterals:
438
- Description: 'Checks if usage of %() or %Q() matches configuration.'
439
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-q-shorthand'
440
- Enabled: false
441
-
442
- Style/BlockComments:
443
- Description: 'Do not use block comments.'
444
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-block-comments'
445
- Enabled: false
446
-
447
- Style/BlockEndNewline:
448
- Description: 'Put end statement of multiline block on its own line.'
449
- Enabled: false
450
-
451
- Style/BlockDelimiters:
452
- Description: >-
453
- Avoid using {...} for multi-line blocks (multiline chaining is
454
- always ugly).
455
- Prefer {...} over do...end for single-line blocks.
456
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#single-line-blocks'
457
- Enabled: false
458
-
459
- Style/BracesAroundHashParameters:
460
- Description: 'Enforce braces style around hash parameters.'
461
- Enabled: false
462
-
463
- Style/CaseEquality:
464
- Description: 'Avoid explicit use of the case equality operator(===).'
465
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-case-equality'
466
- Enabled: false
467
-
468
- Style/CaseIndentation:
469
- Description: 'Indentation of when in a case/when/[else/]end.'
470
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#indent-when-to-case'
471
- Enabled: false
472
-
473
- Style/CharacterLiteral:
474
- Description: 'Checks for uses of character literals.'
475
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-character-literals'
476
- Enabled: false
477
-
478
- Style/ClassAndModuleCamelCase:
479
- Description: 'Use CamelCase for classes and modules.'
480
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#camelcase-classes'
481
- Enabled: false
482
-
483
- Style/ClassAndModuleChildren:
484
- Description: 'Checks style of children classes and modules.'
485
- Enabled: false
486
-
487
- Style/ClassCheck:
488
- Description: 'Enforces consistent use of `Object#is_a?` or `Object#kind_of?`.'
489
- Enabled: false
490
-
491
- Style/ClassMethods:
492
- Description: 'Use self when defining module/class methods.'
493
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#def-self-class-methods'
494
- Enabled: false
495
-
496
- Style/ClassVars:
497
- Description: 'Avoid the use of class variables.'
498
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-class-vars'
499
- Enabled: false
500
-
501
- Style/ClosingParenthesisIndentation:
502
- Description: 'Checks the indentation of hanging closing parentheses.'
503
- Enabled: false
504
-
505
- Style/ColonMethodCall:
506
- Description: 'Do not use :: for method call.'
507
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#double-colons'
508
- Enabled: false
509
-
510
- Style/CommandLiteral:
511
- Description: 'Use `` or %x around command literals.'
512
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-x'
513
- Enabled: false
514
-
515
- Style/CommentAnnotation:
516
- Description: 'Checks formatting of annotation comments.'
517
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#annotate-keywords'
518
- Enabled: false
519
-
520
- Style/CommentIndentation:
521
- Description: 'Indentation of comments.'
522
- Enabled: false
523
-
524
- Style/ConstantName:
525
- Description: 'Constants should use SCREAMING_SNAKE_CASE.'
526
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#screaming-snake-case'
527
- Enabled: false
528
-
529
- Style/DefWithParentheses:
530
- Description: 'Use def with parentheses when there are arguments.'
531
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#method-parens'
532
- Enabled: false
533
-
534
- Style/DeprecatedHashMethods:
535
- Description: 'Checks for use of deprecated Hash methods.'
536
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#hash-key'
537
- Enabled: false
538
-
539
- Style/Documentation:
540
- Description: 'Document classes and non-namespace modules.'
541
- Enabled: false
542
-
543
- Style/DotPosition:
544
- Description: 'Checks the position of the dot in multi-line method calls.'
545
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains'
546
- Enabled: false
547
-
548
- Style/DoubleNegation:
549
- Description: 'Checks for uses of double negation (!!).'
550
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-bang-bang'
551
- Enabled: false
552
-
553
- Style/EachWithObject:
554
- Description: 'Prefer `each_with_object` over `inject` or `reduce`.'
555
- Enabled: false
556
-
557
- Style/ElseAlignment:
558
- Description: 'Align elses and elsifs correctly.'
559
- Enabled: false
560
-
561
- Style/EmptyElse:
562
- Description: 'Avoid empty else-clauses.'
563
- Enabled: false
564
-
565
- Style/EmptyLineBetweenDefs:
566
- Description: 'Use empty lines between defs.'
567
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#empty-lines-between-methods'
568
- Enabled: false
569
-
570
- Style/EmptyLines:
571
- Description: "Don't use several empty lines in a row."
572
- Enabled: false
573
-
574
- Style/EmptyLinesAroundAccessModifier:
575
- Description: "Keep blank lines around access modifiers."
576
- Enabled: false
577
-
578
- Style/EmptyLinesAroundBlockBody:
579
- Description: "Keeps track of empty lines around block bodies."
580
- Enabled: false
581
-
582
- Style/EmptyLinesAroundClassBody:
583
- Description: "Keeps track of empty lines around class bodies."
584
- Enabled: false
585
-
586
- Style/EmptyLinesAroundModuleBody:
587
- Description: "Keeps track of empty lines around module bodies."
588
- Enabled: false
589
-
590
- Style/EmptyLinesAroundMethodBody:
591
- Description: "Keeps track of empty lines around method bodies."
592
- Enabled: false
593
-
594
- Style/EmptyLiteral:
595
- Description: 'Prefer literals to Array.new/Hash.new/String.new.'
596
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#literal-array-hash'
597
- Enabled: false
598
-
599
- Style/EndBlock:
600
- Description: 'Avoid the use of END blocks.'
601
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-END-blocks'
602
- Enabled: false
603
-
604
- Style/EndOfLine:
605
- Description: 'Use Unix-style line endings.'
606
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#crlf'
607
- Enabled: false
608
-
609
- Style/EvenOdd:
610
- Description: 'Favor the use of Fixnum#even? && Fixnum#odd?'
611
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#predicate-methods'
612
- Enabled: false
613
-
614
- Style/ExtraSpacing:
615
- Description: 'Do not use unnecessary spacing.'
616
- Enabled: false
617
-
618
- Style/FileName:
619
- Description: 'Use snake_case for source file names.'
620
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#snake-case-files'
621
- Enabled: false
622
-
623
- Style/InitialIndentation:
624
- Description: >-
625
- Checks the indentation of the first non-blank non-comment line in a file.
626
- Enabled: false
627
-
628
- Style/FirstParameterIndentation:
629
- Description: 'Checks the indentation of the first parameter in a method call.'
630
- Enabled: false
631
-
632
- Style/FlipFlop:
633
- Description: 'Checks for flip flops'
634
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-flip-flops'
635
- Enabled: false
636
-
637
- Style/For:
638
- Description: 'Checks use of for or each in multiline loops.'
639
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-for-loops'
640
- Enabled: false
641
-
642
- Style/FormatString:
643
- Description: 'Enforce the use of Kernel#sprintf, Kernel#format or String#%.'
644
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#sprintf'
645
- Enabled: false
646
-
647
- Style/GlobalVars:
648
- Description: 'Do not introduce global variables.'
649
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#instance-vars'
650
- Reference: 'http://www.zenspider.com/Languages/Ruby/QuickRef.html'
651
- Enabled: false
652
-
653
- Style/GuardClause:
654
- Description: 'Check for conditionals that can be replaced with guard clauses'
655
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals'
656
- Enabled: false
657
-
658
- Style/HashSyntax:
659
- Description: >-
660
- Prefer Ruby 1.9 hash syntax { a: 1, b: 2 } over 1.8 syntax
661
- { :a => 1, :b => 2 }.
662
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#hash-literals'
663
- Enabled: false
664
-
665
- Style/IfUnlessModifier:
666
- Description: >-
667
- Favor modifier if/unless usage when you have a
668
- single-line body.
669
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier'
670
- Enabled: false
671
-
672
- Style/IfWithSemicolon:
673
- Description: 'Do not use if x; .... Use the ternary operator instead.'
674
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-semicolon-ifs'
675
- Enabled: false
676
-
677
- Style/IndentationConsistency:
678
- Description: 'Keep indentation straight.'
679
- Enabled: false
680
-
681
- Style/IndentationWidth:
682
- Description: 'Use 2 spaces for indentation.'
683
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-indentation'
684
- Enabled: false
685
-
686
- Style/IndentArray:
687
- Description: >-
688
- Checks the indentation of the first element in an array
689
- literal.
690
- Enabled: false
691
-
692
- Style/IndentHash:
693
- Description: 'Checks the indentation of the first key in a hash literal.'
694
- Enabled: false
695
-
696
- Style/InfiniteLoop:
697
- Description: 'Use Kernel#loop for infinite loops.'
698
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#infinite-loop'
699
- Enabled: false
700
-
701
- Style/Lambda:
702
- Description: 'Use the new lambda literal syntax for single-line blocks.'
703
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#lambda-multi-line'
704
- Enabled: false
705
-
706
- Style/LambdaCall:
707
- Description: 'Use lambda.call(...) instead of lambda.(...).'
708
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#proc-call'
709
- Enabled: false
710
-
711
- Style/LeadingCommentSpace:
712
- Description: 'Comments should start with a space.'
713
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#hash-space'
714
- Enabled: false
715
-
716
- Style/LineEndConcatenation:
717
- Description: >-
718
- Use \ instead of + or << to concatenate two string literals at
719
- line end.
720
- Enabled: false
721
-
722
- Style/MethodCallParentheses:
723
- Description: 'Do not use parentheses for method calls with no arguments.'
724
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-args-no-parens'
725
- Enabled: false
726
-
727
- Style/MethodDefParentheses:
728
- Description: >-
729
- Checks if the method definitions have or don't have
730
- parentheses.
731
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#method-parens'
732
- Enabled: false
733
-
734
- Style/MethodName:
735
- Description: 'Use the configured style when naming methods.'
736
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars'
737
- Enabled: false
738
-
739
- Style/ModuleFunction:
740
- Description: 'Checks for usage of `extend self` in modules.'
741
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#module-function'
742
- Enabled: false
743
-
744
- Style/MultilineBlockChain:
745
- Description: 'Avoid multi-line chains of blocks.'
746
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#single-line-blocks'
747
- Enabled: false
748
-
749
- Style/MultilineBlockLayout:
750
- Description: 'Ensures newlines after multiline block do statements.'
751
- Enabled: false
752
-
753
- Style/MultilineIfThen:
754
- Description: 'Do not use then for multi-line if/unless.'
755
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-then'
756
- Enabled: false
757
-
758
- Style/MultilineOperationIndentation:
759
- Description: >-
760
- Checks indentation of binary operations that span more than
761
- one line.
762
- Enabled: false
763
-
764
- Style/MultilineTernaryOperator:
765
- Description: >-
766
- Avoid multi-line ?: (the ternary operator);
767
- use if/unless instead.
768
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-multiline-ternary'
769
- Enabled: false
770
-
771
- Style/NegatedIf:
772
- Description: >-
773
- Favor unless over if for negative conditions
774
- (or control flow or).
775
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#unless-for-negatives'
776
- Enabled: false
777
-
778
- Style/NegatedWhile:
779
- Description: 'Favor until over while for negative conditions.'
780
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#until-for-negatives'
781
- Enabled: false
782
-
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: false
787
-
788
- Style/Next:
789
- Description: 'Use `next` to skip iteration instead of a condition at the end.'
790
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals'
791
- Enabled: false
792
-
793
- Style/NilComparison:
794
- Description: 'Prefer x.nil? to x == nil.'
795
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#predicate-methods'
796
- Enabled: false
797
-
798
- Style/NonNilCheck:
799
- Description: 'Checks for redundant nil checks.'
800
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-non-nil-checks'
801
- Enabled: false
802
-
803
- Style/Not:
804
- Description: 'Use ! instead of not.'
805
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#bang-not-not'
806
- Enabled: false
807
-
808
- Style/NumericLiterals:
809
- Description: >-
810
- Add underscores to large numeric literals to improve their
811
- readability.
812
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscores-in-numerics'
813
- Enabled: false
814
-
815
- Style/OneLineConditional:
816
- Description: >-
817
- Favor the ternary operator(?:) over
818
- if/then/else/end constructs.
819
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#ternary-operator'
820
- Enabled: false
821
-
822
- Style/OpMethod:
823
- Description: 'When defining binary operators, name the argument other.'
824
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#other-arg'
825
- Enabled: false
826
-
827
- Style/OptionalArguments:
828
- Description: >-
829
- Checks for optional arguments that do not appear at the end
830
- of the argument list
831
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#optional-arguments'
832
- Enabled: false
833
-
834
- Style/ParallelAssignment:
835
- Description: >-
836
- Check for simple usages of parallel assignment.
837
- It will only warn when the number of variables
838
- matches on both sides of the assignment.
839
- This also provides performance benefits
840
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parallel-assignment'
841
- Enabled: false
842
-
843
- Style/ParenthesesAroundCondition:
844
- Description: >-
845
- Don't use parentheses around the condition of an
846
- if/unless/while.
847
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-parens-if'
848
- Enabled: false
849
-
850
- Style/PercentLiteralDelimiters:
851
- Description: 'Use `%`-literal delimiters consistently'
852
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-literal-braces'
853
- Enabled: false
854
-
855
- Style/PercentQLiterals:
856
- Description: 'Checks if uses of %Q/%q match the configured preference.'
857
- Enabled: false
858
-
859
- Style/PerlBackrefs:
860
- Description: 'Avoid Perl-style regex back references.'
861
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers'
862
- Enabled: false
863
-
864
- Style/PredicateName:
865
- Description: 'Check the names of predicate methods.'
866
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark'
867
- Enabled: false
868
-
869
- Style/Proc:
870
- Description: 'Use proc instead of Proc.new.'
871
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#proc'
872
- Enabled: false
873
-
874
- Style/RaiseArgs:
875
- Description: 'Checks the arguments passed to raise/fail.'
876
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#exception-class-messages'
877
- Enabled: false
878
-
879
- Style/RedundantBegin:
880
- Description: "Don't use begin blocks when they are not needed."
881
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#begin-implicit'
882
- Enabled: false
883
-
884
- Style/RedundantException:
885
- Description: "Checks for an obsolete RuntimeException argument in raise/fail."
886
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-explicit-runtimeerror'
887
- Enabled: false
888
-
889
- Style/RedundantReturn:
890
- Description: "Don't use return where it's not required."
891
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-explicit-return'
892
- Enabled: false
893
-
894
- Style/RedundantSelf:
895
- Description: "Don't use self where it's not needed."
896
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-self-unless-required'
897
- Enabled: false
898
-
899
- Style/RegexpLiteral:
900
- Description: 'Use / or %r around regular expressions.'
901
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-r'
902
- Enabled: false
903
-
904
- Style/RescueEnsureAlignment:
905
- Description: 'Align rescues and ensures correctly.'
906
- Enabled: false
907
-
908
- Style/RescueModifier:
909
- Description: 'Avoid using rescue in its modifier form.'
910
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-rescue-modifiers'
911
- Enabled: false
912
-
913
- Style/SelfAssignment:
914
- Description: >-
915
- Checks for places where self-assignment shorthand should have
916
- been used.
917
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#self-assignment'
918
- Enabled: false
919
-
920
- Style/Semicolon:
921
- Description: "Don't use semicolons to terminate expressions."
922
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-semicolon'
923
- Enabled: false
924
-
925
- Style/SignalException:
926
- Description: 'Checks for proper usage of fail and raise.'
927
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#fail-method'
928
- Enabled: false
929
-
930
- Style/SingleLineBlockParams:
931
- Description: 'Enforces the names of some block params.'
932
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#reduce-blocks'
933
- Enabled: false
934
-
935
- Style/SingleLineMethods:
936
- Description: 'Avoid single-line methods.'
937
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-single-line-methods'
938
- Enabled: false
939
-
940
- Style/SpaceBeforeFirstArg:
941
- Description: >-
942
- Checks that exactly one space is used between a method name
943
- and the first argument for method calls without parentheses.
944
- Enabled: true
945
-
946
- Style/SpaceAfterColon:
947
- Description: 'Use spaces after colons.'
948
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
949
- Enabled: false
950
-
951
- Style/SpaceAfterComma:
952
- Description: 'Use spaces after commas.'
953
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
954
- Enabled: false
955
-
956
- Style/SpaceAroundKeyword:
957
- Description: 'Use spaces around keywords.'
958
- Enabled: false
959
-
960
- Style/SpaceAfterMethodName:
961
- Description: >-
962
- Do not put a space between a method name and the opening
963
- parenthesis in a method definition.
964
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-no-spaces'
965
- Enabled: false
966
-
967
- Style/SpaceAfterNot:
968
- Description: Tracks redundant space after the ! operator.
969
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-space-bang'
970
- Enabled: false
971
-
972
- Style/SpaceAfterSemicolon:
973
- Description: 'Use spaces after semicolons.'
974
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
975
- Enabled: false
976
-
977
- Style/SpaceBeforeBlockBraces:
978
- Description: >-
979
- Checks that the left block brace has or doesn't have space
980
- before it.
981
- Enabled: false
982
-
983
- Style/SpaceBeforeComma:
984
- Description: 'No spaces before commas.'
985
- Enabled: false
986
-
987
- Style/SpaceBeforeComment:
988
- Description: >-
989
- Checks for missing space between code and a comment on the
990
- same line.
991
- Enabled: false
992
-
993
- Style/SpaceBeforeSemicolon:
994
- Description: 'No spaces before semicolons.'
995
- Enabled: false
996
-
997
- Style/SpaceInsideBlockBraces:
998
- Description: >-
999
- Checks that block braces have or don't have surrounding space.
1000
- For blocks taking parameters, checks that the left brace has
1001
- or doesn't have trailing space.
1002
- Enabled: false
1003
-
1004
- Style/SpaceAroundBlockParameters:
1005
- Description: 'Checks the spacing inside and after block parameters pipes.'
1006
- Enabled: false
1007
-
1008
- Style/SpaceAroundEqualsInParameterDefault:
1009
- Description: >-
1010
- Checks that the equals signs in parameter default assignments
1011
- have or don't have surrounding space depending on
1012
- configuration.
1013
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-around-equals'
1014
- Enabled: false
1015
-
1016
- Style/SpaceAroundOperators:
1017
- Description: 'Use a single space around operators.'
1018
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
1019
- Enabled: false
1020
-
1021
- Style/SpaceInsideBrackets:
1022
- Description: 'No spaces after [ or before ].'
1023
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-spaces-braces'
1024
- Enabled: false
1025
-
1026
- Style/SpaceInsideHashLiteralBraces:
1027
- Description: "Use spaces inside hash literal braces - or don't."
1028
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
1029
- Enabled: false
1030
-
1031
- Style/SpaceInsideParens:
1032
- Description: 'No spaces after ( or before ).'
1033
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-spaces-braces'
1034
- Enabled: false
1035
-
1036
- Style/SpaceInsideRangeLiteral:
1037
- Description: 'No spaces inside range literals.'
1038
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-space-inside-range-literals'
1039
- Enabled: false
1040
-
1041
- Style/SpaceInsideStringInterpolation:
1042
- Description: 'Checks for padding/surrounding spaces inside string interpolation.'
1043
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#string-interpolation'
1044
- Enabled: false
1045
-
1046
- Style/SpecialGlobalVars:
1047
- Description: 'Avoid Perl-style global variables.'
1048
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-cryptic-perlisms'
1049
- Enabled: false
1050
-
1051
- Style/StringLiterals:
1052
- Description: 'Checks if uses of quotes match the configured preference.'
1053
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#consistent-string-literals'
1054
- Enabled: false
1055
-
1056
- Style/StringLiteralsInInterpolation:
1057
- Description: >-
1058
- Checks if uses of quotes inside expressions in interpolated
1059
- strings match the configured preference.
1060
- Enabled: false
1061
-
1062
- Style/StructInheritance:
1063
- Description: 'Checks for inheritance from Struct.new.'
1064
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-extend-struct-new'
1065
- Enabled: false
1066
-
1067
- Style/SymbolLiteral:
1068
- Description: 'Use plain symbols instead of string symbols when possible.'
1069
- Enabled: false
1070
-
1071
- Style/SymbolProc:
1072
- Description: 'Use symbols as procs instead of blocks when possible.'
1073
- Enabled: false
1074
-
1075
- Style/Tab:
1076
- Description: 'No hard tabs.'
1077
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-indentation'
1078
- Enabled: false
1079
-
1080
- Style/TrailingBlankLines:
1081
- Description: 'Checks trailing blank lines and final newline.'
1082
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#newline-eof'
1083
- Enabled: false
1084
-
1085
- Style/TrailingCommaInArguments:
1086
- Description: 'Checks for trailing comma in parameter lists.'
1087
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-params-comma'
1088
- Enabled: false
1089
-
1090
- Style/TrailingCommaInLiteral:
1091
- Description: 'Checks for trailing comma in literals.'
1092
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
1093
- Enabled: false
1094
-
1095
- Style/TrailingWhitespace:
1096
- Description: 'Avoid trailing whitespace.'
1097
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-whitespace'
1098
- Enabled: false
1099
-
1100
- Style/TrivialAccessors:
1101
- Description: 'Prefer attr_* methods to trivial readers/writers.'
1102
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#attr_family'
1103
- Enabled: false
1104
-
1105
- Style/UnlessElse:
1106
- Description: >-
1107
- Do not use unless with else. Rewrite these with the positive
1108
- case first.
1109
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-else-with-unless'
1110
- Enabled: false
1111
-
1112
- Style/UnneededCapitalW:
1113
- Description: 'Checks for %W when interpolation is not needed.'
1114
- Enabled: false
1115
-
1116
- Style/UnneededPercentQ:
1117
- Description: 'Checks for %q/%Q when single quotes or double quotes would do.'
1118
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-q'
1119
- Enabled: false
1120
-
1121
- Style/TrailingUnderscoreVariable:
1122
- Description: >-
1123
- Checks for the usage of unneeded trailing underscores at the
1124
- end of parallel variable assignment.
1125
- Enabled: false
1126
-
1127
- Style/VariableInterpolation:
1128
- Description: >-
1129
- Don't interpolate global, instance and class variables
1130
- directly in strings.
1131
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#curlies-interpolate'
1132
- Enabled: false
1133
-
1134
- Style/VariableName:
1135
- Description: 'Use the configured style when naming variables.'
1136
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars'
1137
- Enabled: false
1138
-
1139
- Style/WhenThen:
1140
- Description: 'Use when x then ... for one-line cases.'
1141
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#one-line-cases'
1142
- Enabled: false
1143
-
1144
- Style/WhileUntilDo:
1145
- Description: 'Checks for redundant do after while or until.'
1146
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-multiline-while-do'
1147
- Enabled: false
1148
-
1149
- Style/WhileUntilModifier:
1150
- Description: >-
1151
- Favor modifier while/until usage when you have a
1152
- single-line body.
1153
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#while-as-a-modifier'
1154
- Enabled: false
1155
-
1156
- Style/WordArray:
1157
- Description: 'Use %w or %W for arrays of words.'
1158
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-w'
1159
- Enabled: false
1160
-
1161
- # EOF #