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