neverbounce-cli 1.0.0

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