tessitura_rest 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/.codeclimate.yml +42 -0
  3. data/.gitignore +10 -0
  4. data/.rspec +2 -0
  5. data/.rubocop.yml +553 -0
  6. data/.travis.yml +5 -0
  7. data/CODE_OF_CONDUCT.md +49 -0
  8. data/Gemfile +10 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +89 -0
  11. data/Rakefile +14 -0
  12. data/bin/console +14 -0
  13. data/bin/setup +8 -0
  14. data/lib/tessitura_rest.rb +52 -0
  15. data/lib/tessitura_rest/crm/accounts.rb +8 -0
  16. data/lib/tessitura_rest/crm/actions.rb +36 -0
  17. data/lib/tessitura_rest/crm/addresses.rb +122 -0
  18. data/lib/tessitura_rest/crm/attributes.rb +20 -0
  19. data/lib/tessitura_rest/crm/constituencies.rb +29 -0
  20. data/lib/tessitura_rest/crm/issues.rb +42 -0
  21. data/lib/tessitura_rest/crm/phones.rb +41 -0
  22. data/lib/tessitura_rest/crm/web_logins.rb +8 -0
  23. data/lib/tessitura_rest/custom/email.rb +30 -0
  24. data/lib/tessitura_rest/custom/local_procedure.rb +35 -0
  25. data/lib/tessitura_rest/diagnostics/diagnostics.rb +6 -0
  26. data/lib/tessitura_rest/finance/appeals.rb +7 -0
  27. data/lib/tessitura_rest/finance/gift_certificates.rb +7 -0
  28. data/lib/tessitura_rest/reference_data/billing_schedules.rb +6 -0
  29. data/lib/tessitura_rest/reference_data/countries.rb +7 -0
  30. data/lib/tessitura_rest/reference_data/sections.rb +7 -0
  31. data/lib/tessitura_rest/reference_data/states.rb +7 -0
  32. data/lib/tessitura_rest/security/security_user_groups.rb +8 -0
  33. data/lib/tessitura_rest/txn/orders.rb +23 -0
  34. data/lib/tessitura_rest/txn/package.rb +44 -0
  35. data/lib/tessitura_rest/txn/performance_extension.rb +44 -0
  36. data/lib/tessitura_rest/txn/performance_package_mode_of_sales.rb +8 -0
  37. data/lib/tessitura_rest/txn/price_types.rb +9 -0
  38. data/lib/tessitura_rest/txn/product_keywords.rb +9 -0
  39. data/lib/tessitura_rest/txn/production_extension.rb +14 -0
  40. data/lib/tessitura_rest/txn/production_season.rb +20 -0
  41. data/lib/tessitura_rest/txn/sub_line_items.rb +9 -0
  42. data/lib/tessitura_rest/txn/web_contents.rb +9 -0
  43. data/lib/tessitura_rest/version.rb +3 -0
  44. data/lib/tessitura_rest/web/cart.rb +293 -0
  45. data/lib/tessitura_rest/web/login.rb +55 -0
  46. data/lib/tessitura_rest/web/payment_plan_extension.rb +51 -0
  47. data/lib/tessitura_rest/web/session.rb +85 -0
  48. data/tessitura_rest.gemspec +29 -0
  49. metadata +189 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 21e59b420a3c2259ad858f79c7224a4309892fdc63e23599c7f5f7d0b376629a
4
+ data.tar.gz: c8d812b49493cccca8d46a2178b5467baa45f9a20da7de043bd026b8ce656bdd
5
+ SHA512:
6
+ metadata.gz: 11c63f54d3a47b1ef68796c13e658413f36287ac3434b404ec7a4ddabb76c16b27b2d4c93b562b640873bad0d8bebc2e87cb7afdacb77b3d9a030ec0833aa746
7
+ data.tar.gz: ec9f8cedbabb6066a67ce0e11307706932c8cf9a95b8739a229cdfd95c184d733541f3de2258a6808cc4dad24e532b4acc0ae1ad62fd8282519c7a51f5e4dbf7
@@ -0,0 +1,42 @@
1
+ version: "2"
2
+ plugins:
3
+ brakeman:
4
+ enabled: false
5
+ bundler-audit:
6
+ enabled: false
7
+ eslint:
8
+ enabled: false
9
+ fixme:
10
+ enabled: true
11
+ flog:
12
+ enabled: true
13
+ config:
14
+ score_threshold: 20.0
15
+ haml-lint:
16
+ enabled: false
17
+ checks:
18
+ HamlLint/FinalNewline:
19
+ enabled: false
20
+ reek:
21
+ enabled: true
22
+ checks:
23
+ IrresponsibleModule:
24
+ enabled: false
25
+ UncommunicativeName:
26
+ enabled: false
27
+ UncommunicativeVariableName:
28
+ enabled: false
29
+ rubocop:
30
+ enabled: true
31
+ channel: rubocop-0-79
32
+ stylelint:
33
+ enabled: false
34
+ checks:
35
+ no-eol-whitespace:
36
+ enabled: false
37
+ no-missing-end-of-source-newline:
38
+ enabled: false
39
+ exclude_patterns:
40
+ - .rubocop.yml
41
+ - .rubocop_todo.yml
42
+ - spec/**/*
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ .env
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,553 @@
1
+ AllCops:
2
+ Exclude:
3
+ - spec/**/*
4
+
5
+ Naming/AccessorMethodName:
6
+ Description: Check the naming of accessor methods for get_/set_.
7
+ Enabled: false
8
+
9
+ Style/Alias:
10
+ Description: 'Use alias_method instead of alias.'
11
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#alias-method'
12
+ Enabled: false
13
+
14
+ Style/ArrayJoin:
15
+ Description: 'Use Array#join instead of Array#*.'
16
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#array-join'
17
+ Enabled: false
18
+
19
+ Style/AsciiComments:
20
+ Description: 'Use only ascii symbols in comments.'
21
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#english-comments'
22
+ Enabled: false
23
+
24
+ Naming/AsciiIdentifiers:
25
+ Description: 'Use only ascii symbols in identifiers.'
26
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#english-identifiers'
27
+ Enabled: false
28
+
29
+ Style/Attr:
30
+ Description: 'Checks for uses of Module#attr.'
31
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#attr'
32
+ Enabled: false
33
+
34
+ Metrics/BlockNesting:
35
+ Description: 'Avoid excessive block nesting'
36
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count'
37
+ Enabled: false
38
+
39
+ Style/CaseEquality:
40
+ Description: 'Avoid explicit use of the case equality operator(===).'
41
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-case-equality'
42
+ Enabled: false
43
+
44
+ Style/CharacterLiteral:
45
+ Description: 'Checks for uses of character literals.'
46
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-character-literals'
47
+ Enabled: false
48
+
49
+ # Style/ClassAndModuleChildren:
50
+ # Description: 'Checks style of children classes and modules.'
51
+ # Enabled: true
52
+ # EnforcedStyle: nested
53
+
54
+ Metrics/ClassLength:
55
+ Description: 'Avoid classes longer than 100 lines of code.'
56
+ Enabled: false
57
+
58
+ Metrics/ModuleLength:
59
+ Description: 'Avoid modules longer than 100 lines of code.'
60
+ Enabled: false
61
+
62
+ Style/ClassVars:
63
+ Description: 'Avoid the use of class variables.'
64
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-class-vars'
65
+ Enabled: false
66
+
67
+ Style/CollectionMethods:
68
+ Enabled: true
69
+ PreferredMethods:
70
+ find: detect
71
+ inject: reduce
72
+ collect: map
73
+ find_all: select
74
+
75
+ Style/ColonMethodCall:
76
+ Description: 'Do not use :: for method call.'
77
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#double-colons'
78
+ Enabled: false
79
+
80
+ Style/CommentAnnotation:
81
+ Description: >-
82
+ Checks formatting of special comments
83
+ (TODO, FIXME, OPTIMIZE, HACK, REVIEW).
84
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#annotate-keywords'
85
+ Enabled: false
86
+
87
+ Metrics/AbcSize:
88
+ Description: >-
89
+ A calculated magnitude based on number of assignments,
90
+ branches, and conditions.
91
+ Enabled: false
92
+
93
+ # Metrics/BlockLength:
94
+ # CountComments: true # count full line comments?
95
+ # Max: 25
96
+ # ExcludedMethods: []
97
+ # Exclude:
98
+ # - "spec/**/*"
99
+
100
+ Metrics/CyclomaticComplexity:
101
+ Description: >-
102
+ A complexity metric that is strongly correlated to the number
103
+ of test cases needed to validate a method.
104
+ Enabled: false
105
+
106
+ Style/PreferredHashMethods:
107
+ Description: 'Checks use of `has_key?` and `has_value?` Hash methods.'
108
+ StyleGuide: '#hash-key'
109
+ Enabled: false
110
+
111
+ Style/Documentation:
112
+ Description: 'Document classes and non-namespace modules.'
113
+ Enabled: false
114
+
115
+ Style/DoubleNegation:
116
+ Description: 'Checks for uses of double negation (!!).'
117
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-bang-bang'
118
+ Enabled: false
119
+
120
+ Style/EachWithObject:
121
+ Description: 'Prefer `each_with_object` over `inject` or `reduce`.'
122
+ Enabled: false
123
+
124
+ Style/EmptyLiteral:
125
+ Description: 'Prefer literals to Array.new/Hash.new/String.new.'
126
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#literal-array-hash'
127
+ Enabled: false
128
+
129
+ # Checks whether the source file has a utf-8 encoding comment or not
130
+ # AutoCorrectEncodingComment must match the regex
131
+ # /#.*coding\s?[:=]\s?(?:UTF|utf)-8/
132
+ Style/Encoding:
133
+ Enabled: false
134
+
135
+ Style/EvenOdd:
136
+ Description: 'Favor the use of Fixnum#even? && Fixnum#odd?'
137
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#predicate-methods'
138
+ Enabled: false
139
+
140
+ Naming/FileName:
141
+ Description: 'Use snake_case for source file names.'
142
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#snake-case-files'
143
+ Enabled: false
144
+
145
+ Style/FrozenStringLiteralComment:
146
+ Description: >-
147
+ Add the frozen_string_literal comment to the top of files
148
+ to help transition from Ruby 2.3.0 to Ruby 3.0.
149
+ Enabled: false
150
+
151
+ Style/FormatString:
152
+ Description: 'Enforce the use of Kernel#sprintf, Kernel#format or String#%.'
153
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#sprintf'
154
+ Enabled: false
155
+
156
+ Style/GlobalVars:
157
+ Description: 'Do not introduce global variables.'
158
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#instance-vars'
159
+ Reference: 'http://www.zenspider.com/Languages/Ruby/QuickRef.html'
160
+ Enabled: false
161
+
162
+ Style/GuardClause:
163
+ Description: 'Check for conditionals that can be replaced with guard clauses'
164
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals'
165
+ Enabled: false
166
+
167
+ Style/IfUnlessModifier:
168
+ Description: >-
169
+ Favor modifier if/unless usage when you have a
170
+ single-line body.
171
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier'
172
+ Enabled: false
173
+
174
+ Style/IfWithSemicolon:
175
+ Description: 'Do not use if x; .... Use the ternary operator instead.'
176
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-semicolon-ifs'
177
+ Enabled: false
178
+
179
+ Style/InlineComment:
180
+ Description: 'Avoid inline comments.'
181
+ Enabled: false
182
+
183
+ Style/Lambda:
184
+ Description: 'Use the new lambda literal syntax for single-line blocks.'
185
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#lambda-multi-line'
186
+ Enabled: false
187
+
188
+ Style/LambdaCall:
189
+ Description: 'Use lambda.call(...) instead of lambda.(...).'
190
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#proc-call'
191
+ Enabled: false
192
+
193
+ Style/LineEndConcatenation:
194
+ Description: >-
195
+ Use \ instead of + or << to concatenate two string literals at
196
+ line end.
197
+ Enabled: false
198
+
199
+ # Metrics/LineLength:
200
+ # Description: 'Limit lines to 80 characters.'
201
+ # StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#80-character-limits'
202
+ # Max: 80
203
+
204
+ Metrics/MethodLength:
205
+ Description: 'Avoid methods longer than 10 lines of code.'
206
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#short-methods'
207
+ Enabled: false
208
+
209
+ Style/ModuleFunction:
210
+ Description: 'Checks for usage of `extend self` in modules.'
211
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#module-function'
212
+ Enabled: false
213
+
214
+ Style/MultilineBlockChain:
215
+ Description: 'Avoid multi-line chains of blocks.'
216
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#single-line-blocks'
217
+ Enabled: false
218
+
219
+ Style/NegatedIf:
220
+ Description: >-
221
+ Favor unless over if for negative conditions
222
+ (or control flow or).
223
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#unless-for-negatives'
224
+ Enabled: false
225
+
226
+ Style/NegatedWhile:
227
+ Description: 'Favor until over while for negative conditions.'
228
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#until-for-negatives'
229
+ Enabled: false
230
+
231
+ Style/Next:
232
+ Description: 'Use `next` to skip iteration instead of a condition at the end.'
233
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals'
234
+ Enabled: false
235
+
236
+ Style/NilComparison:
237
+ Description: 'Prefer x.nil? to x == nil.'
238
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#predicate-methods'
239
+ Enabled: false
240
+
241
+ Style/Not:
242
+ Description: 'Use ! instead of not.'
243
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#bang-not-not'
244
+ Enabled: false
245
+
246
+ Style/NumericLiterals:
247
+ Description: >-
248
+ Add underscores to large numeric literals to improve their
249
+ readability.
250
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#underscores-in-numerics'
251
+ Enabled: false
252
+
253
+ Style/OneLineConditional:
254
+ Description: >-
255
+ Favor the ternary operator(?:) over
256
+ if/then/else/end constructs.
257
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#ternary-operator'
258
+ Enabled: false
259
+
260
+ Naming/BinaryOperatorParameterName:
261
+ Description: 'When defining binary operators, name the argument other.'
262
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#other-arg'
263
+ Enabled: false
264
+
265
+ Metrics/ParameterLists:
266
+ Description: 'Avoid parameter lists longer than three or four parameters.'
267
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#too-many-params'
268
+ Enabled: false
269
+
270
+ Style/PercentLiteralDelimiters:
271
+ Description: 'Use `%`-literal delimiters consistently'
272
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-literal-braces'
273
+ Enabled: false
274
+
275
+ Style/PerlBackrefs:
276
+ Description: 'Avoid Perl-style regex back references.'
277
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers'
278
+ Enabled: false
279
+
280
+ # Naming/PredicateName:
281
+ # Description: 'Check the names of predicate methods.'
282
+ # StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark'
283
+ # NamePrefixBlacklist:
284
+ # - is_
285
+ # Exclude:
286
+ # - spec/**/*
287
+
288
+ Style/Proc:
289
+ Description: 'Use proc instead of Proc.new.'
290
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#proc'
291
+ Enabled: false
292
+
293
+ Style/RaiseArgs:
294
+ Description: 'Checks the arguments passed to raise/fail.'
295
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#exception-class-messages'
296
+ Enabled: false
297
+
298
+ Style/RegexpLiteral:
299
+ Description: 'Use / or %r around regular expressions.'
300
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-r'
301
+ Enabled: false
302
+
303
+ Style/SelfAssignment:
304
+ Description: >-
305
+ Checks for places where self-assignment shorthand should have
306
+ been used.
307
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#self-assignment'
308
+ Enabled: false
309
+
310
+ Style/SingleLineBlockParams:
311
+ Description: 'Enforces the names of some block params.'
312
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#reduce-blocks'
313
+ Enabled: false
314
+
315
+ Style/SingleLineMethods:
316
+ Description: 'Avoid single-line methods.'
317
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-single-line-methods'
318
+ Enabled: false
319
+
320
+ Style/SignalException:
321
+ Description: 'Checks for proper usage of fail and raise.'
322
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#fail-method'
323
+ Enabled: false
324
+
325
+ Style/SpecialGlobalVars:
326
+ Description: 'Avoid Perl-style global variables.'
327
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-cryptic-perlisms'
328
+ Enabled: false
329
+
330
+ Style/StringLiterals:
331
+ Description: 'Checks if uses of quotes match the configured preference.'
332
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#consistent-string-literals'
333
+ EnforcedStyle: single_quotes
334
+ Enabled: true
335
+
336
+ Style/TrailingCommaInArguments:
337
+ Description: 'Checks for trailing comma in argument lists.'
338
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
339
+ EnforcedStyleForMultiline: comma
340
+ SupportedStylesForMultiline:
341
+ - comma
342
+ - consistent_comma
343
+ - no_comma
344
+ Enabled: true
345
+
346
+ Style/TrailingCommaInArrayLiteral:
347
+ Description: 'Checks for trailing comma in array literals.'
348
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
349
+ EnforcedStyleForMultiline: comma
350
+ SupportedStylesForMultiline:
351
+ - comma
352
+ - consistent_comma
353
+ - no_comma
354
+ Enabled: true
355
+
356
+ Style/TrailingCommaInHashLiteral:
357
+ Description: 'Checks for trailing comma in hash literals.'
358
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
359
+ EnforcedStyleForMultiline: comma
360
+ SupportedStylesForMultiline:
361
+ - comma
362
+ - consistent_comma
363
+ - no_comma
364
+ Enabled: true
365
+
366
+ Style/TrivialAccessors:
367
+ Description: 'Prefer attr_* methods to trivial readers/writers.'
368
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#attr_family'
369
+ Enabled: false
370
+
371
+ Style/VariableInterpolation:
372
+ Description: >-
373
+ Don't interpolate global, instance and class variables
374
+ directly in strings.
375
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#curlies-interpolate'
376
+ Enabled: false
377
+
378
+ Style/WhenThen:
379
+ Description: 'Use when x then ... for one-line cases.'
380
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#one-line-cases'
381
+ Enabled: false
382
+
383
+ Style/WhileUntilModifier:
384
+ Description: >-
385
+ Favor modifier while/until usage when you have a
386
+ single-line body.
387
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#while-as-a-modifier'
388
+ Enabled: false
389
+
390
+ Style/WordArray:
391
+ Description: 'Use %w or %W for arrays of words.'
392
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#percent-w'
393
+ Enabled: false
394
+
395
+ # Layout
396
+
397
+ Layout/ParameterAlignment:
398
+ Description: 'Here we check if the parameters on a multi-line method call or definition are aligned.'
399
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-double-indent'
400
+ Enabled: false
401
+
402
+ Layout/ConditionPosition:
403
+ Description: >-
404
+ Checks for condition placed in a confusing position relative to
405
+ the keyword.
406
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#same-line-condition'
407
+ Enabled: false
408
+
409
+ Layout/DotPosition:
410
+ Description: 'Checks the position of the dot in multi-line method calls.'
411
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains'
412
+ EnforcedStyle: trailing
413
+
414
+ Layout/ExtraSpacing:
415
+ Description: 'Do not use unnecessary spacing.'
416
+ Enabled: true
417
+
418
+ Layout/MultilineOperationIndentation:
419
+ Description: >-
420
+ Checks indentation of binary operations that span more than
421
+ one line.
422
+ Enabled: true
423
+ EnforcedStyle: indented
424
+
425
+ Layout/MultilineMethodCallIndentation:
426
+ Description: >-
427
+ Checks indentation of method calls with the dot operator
428
+ that span more than one line.
429
+ Enabled: true
430
+ EnforcedStyle: indented
431
+
432
+ Layout/InitialIndentation:
433
+ Description: >-
434
+ Checks the indentation of the first non-blank non-comment line in a file.
435
+ Enabled: false
436
+
437
+ Layout/TrailingEmptyLines:
438
+ Enabled: false
439
+
440
+ # Lint
441
+
442
+ Lint/AmbiguousOperator:
443
+ Description: >-
444
+ Checks for ambiguous operators in the first argument of a
445
+ method invocation without parentheses.
446
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-as-args'
447
+ Enabled: false
448
+
449
+ Lint/AmbiguousRegexpLiteral:
450
+ Description: >-
451
+ Checks for ambiguous regexp literals in the first argument of
452
+ a method invocation without parenthesis.
453
+ Enabled: false
454
+
455
+ Lint/AssignmentInCondition:
456
+ Description: "Don't use assignment in conditions."
457
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition'
458
+ Enabled: false
459
+
460
+ Lint/CircularArgumentReference:
461
+ Description: "Don't refer to the keyword argument in the default value."
462
+ Enabled: false
463
+
464
+ Lint/DeprecatedClassMethods:
465
+ Description: 'Check for deprecated class method calls.'
466
+ Enabled: false
467
+
468
+ Lint/DuplicateHashKey:
469
+ Description: 'Check for duplicate keys in hash literals.'
470
+ Enabled: false
471
+
472
+ Lint/EachWithObjectArgument:
473
+ Description: 'Check for immutable argument given to each_with_object.'
474
+ Enabled: false
475
+
476
+ Lint/ElseLayout:
477
+ Description: 'Check for odd code arrangement in an else block.'
478
+ Enabled: false
479
+
480
+ Lint/FormatParameterMismatch:
481
+ Description: 'The number of parameters to format/sprint must match the fields.'
482
+ Enabled: false
483
+
484
+ Lint/FlipFlop:
485
+ Description: 'Checks for flip flops'
486
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-flip-flops'
487
+ Enabled: false
488
+
489
+ Lint/SuppressedException:
490
+ Description: "Don't suppress exception."
491
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions'
492
+ Enabled: false
493
+
494
+ Lint/LiteralAsCondition:
495
+ Description: 'Checks of literals used in conditions.'
496
+ Enabled: false
497
+
498
+ Lint/LiteralInInterpolation:
499
+ Description: 'Checks for literals used in interpolation.'
500
+ Enabled: false
501
+
502
+ Lint/Loop:
503
+ Description: >-
504
+ Use Kernel#loop with break rather than begin/end/until or
505
+ begin/end/while for post-loop tests.
506
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#loop-with-break'
507
+ Enabled: false
508
+
509
+ Lint/NestedMethodDefinition:
510
+ Description: 'Do not use nested method definitions.'
511
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-nested-methods'
512
+ Enabled: false
513
+
514
+ Lint/NonLocalExitFromIterator:
515
+ Description: 'Do not use return in iterator to cause non-local exit.'
516
+ Enabled: false
517
+
518
+ Lint/ParenthesesAsGroupedExpression:
519
+ Description: >-
520
+ Checks for method calls with a space before the opening
521
+ parenthesis.
522
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-no-spaces'
523
+ Enabled: false
524
+
525
+ Lint/RequireParentheses:
526
+ Description: >-
527
+ Use parentheses in the method call to avoid confusion
528
+ about precedence.
529
+ Enabled: false
530
+
531
+ Lint/UnderscorePrefixedVariableName:
532
+ Description: 'Do not use prefix `_` for a variable that is used.'
533
+ Enabled: false
534
+
535
+ Lint/RedundantCopDisableDirective:
536
+ Description: >-
537
+ Checks for rubocop:disable comments that can be removed.
538
+ Note: this cop is not disabled when disabling all cops.
539
+ It must be explicitly disabled.
540
+ Enabled: false
541
+
542
+ Lint/Void:
543
+ Description: 'Possible use of operator/literal/variable in void context.'
544
+ Enabled: false
545
+
546
+ # Performance
547
+
548
+ Performance/Sample:
549
+ Description: >-
550
+ Use `sample` instead of `shuffle.first`,
551
+ `shuffle.last`, and `shuffle[Fixnum]`.
552
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#arrayshufflefirst-vs-arraysample-code'
553
+ Enabled: false