shear 0.1.1

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: fba40e2d5ed22e01135a1ef814a036610fea59834af0bec29a87262c4c7d38c6
4
+ data.tar.gz: 9144bc58d61a4777ed39941bc3221f95353de00150c8732eb61a124298367984
5
+ SHA512:
6
+ metadata.gz: 9be73c04ebf6ed3e7ceeb2ef53cafc5b9e45f63fc9b7ef3bc273b29e0b7be779792ca1512eb99a8fe1ee3a5a637464f113cb104cd4f3d26d54612185672b0d46
7
+ data.tar.gz: 465637ca89c60757ac2d2bee1ea27b0fb5ea57e54cfd7bbbe71a73e30ea127c07df57e459c12444d378e8897dee70ef85a2e4f8129257e9b4c92eb5eff490d8c
@@ -0,0 +1,13 @@
1
+ name: Setup ruby and run specs
2
+ on: [push, pull_request]
3
+ jobs:
4
+ test:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ - uses: actions/checkout@v2
8
+ - uses: ruby/setup-ruby@v1
9
+ with:
10
+ ruby-version: 2.4
11
+ - run: sudo apt-get install libcurl3-dev
12
+ - run: bundle install
13
+ - run: bundle exec rspec spec/
@@ -0,0 +1,18 @@
1
+ name: Publish to rubygems
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - v*
7
+ jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v1
12
+
13
+ - name: Release Gem
14
+ uses: cadwallion/publish-rubygems-action@master
15
+ env:
16
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
17
+ RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
18
+ RELEASE_COMMAND: rake release
@@ -0,0 +1,56 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ # Used by dotenv library to load environment variables.
14
+ # .env
15
+
16
+ # Ignore Byebug command history file.
17
+ .byebug_history
18
+
19
+ ## Specific to RubyMotion:
20
+ .dat*
21
+ .repl_history
22
+ build/
23
+ *.bridgesupport
24
+ build-iPhoneOS/
25
+ build-iPhoneSimulator/
26
+
27
+ ## Specific to RubyMotion (use of CocoaPods):
28
+ #
29
+ # We recommend against adding the Pods directory to your .gitignore. However
30
+ # you should judge for yourself, the pros and cons are mentioned at:
31
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
32
+ #
33
+ # vendor/Pods/
34
+
35
+ ## Documentation cache and generated files:
36
+ /.yardoc/
37
+ /_yardoc/
38
+ /doc/
39
+ /rdoc/
40
+
41
+ ## Environment normalization:
42
+ /.bundle/
43
+ /vendor/bundle
44
+ /lib/bundler/man/
45
+
46
+ # for a library or gem, you might want to ignore these files since the code is
47
+ # intended to run in multiple environments; otherwise, check them in:
48
+ # Gemfile.lock
49
+ # .ruby-version
50
+ # .ruby-gemset
51
+
52
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
53
+ .rvmrc
54
+
55
+ # Used by RuboCop. Remote config files pulled in from inherit_from directive.
56
+ # .rubocop-https?--*
@@ -0,0 +1,4 @@
1
+ ---
2
+ ruby:
3
+ enabled: true
4
+ config_file: ".rubocop.yml"
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,491 @@
1
+ require: rubocop-rspec
2
+ AllCops:
3
+ Exclude:
4
+ - "vendor/**/*"
5
+ - "db/**/*"
6
+ - "bin/**/*"
7
+ DisplayCopNames: false
8
+ TargetRubyVersion: 2.5
9
+ Rails:
10
+ Enabled: true
11
+ Layout/AlignParameters:
12
+ Description: Align the parameters of a method call if they span more than one line.
13
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-double-indent
14
+ Enabled: true
15
+ EnforcedStyle: with_fixed_indentation
16
+ SupportedStyles:
17
+ - with_first_parameter
18
+ - with_fixed_indentation
19
+ Metrics/BlockLength:
20
+ Enabled: false
21
+ Style/ClassAndModuleChildren:
22
+ Description: Checks style of children classes and modules.
23
+ Enabled: false
24
+ EnforcedStyle: nested
25
+ SupportedStyles:
26
+ - nested
27
+ - compact
28
+ Style/CommentAnnotation:
29
+ Description: Checks formatting of special comments (TODO, FIXME, OPTIMIZE, HACK,
30
+ REVIEW).
31
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#annotate-keywords
32
+ Enabled: false
33
+ Keywords:
34
+ - TODO
35
+ - FIXME
36
+ - OPTIMIZE
37
+ - HACK
38
+ - REVIEW
39
+ Naming/FileName:
40
+ Description: Use snake_case for source file names.
41
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
42
+ Enabled: false
43
+ Exclude: []
44
+ Style/FormatString:
45
+ Description: Enforce the use of Kernel#sprintf, Kernel#format or String#%.
46
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#sprintf
47
+ Enabled: false
48
+ EnforcedStyle: format
49
+ SupportedStyles:
50
+ - format
51
+ - sprintf
52
+ - percent
53
+ Style/FrozenStringLiteralComment:
54
+ Enabled: false
55
+ Style/GlobalVars:
56
+ Description: Do not introduce global variables.
57
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#instance-vars
58
+ Enabled: false
59
+ AllowedVariables: []
60
+ Style/GuardClause:
61
+ Description: Check for conditionals that can be replaced with guard clauses
62
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals
63
+ Enabled: false
64
+ MinBodyLength: 1
65
+ Style/IfUnlessModifier:
66
+ Description: Favor modifier if/unless usage when you have a single-line body.
67
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier
68
+ Enabled: false
69
+ Style/LambdaCall:
70
+ Description: Use lambda.call(...) instead of lambda.(...).
71
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#proc-call
72
+ Enabled: false
73
+ EnforcedStyle: call
74
+ SupportedStyles:
75
+ - call
76
+ - braces
77
+ Style/Next:
78
+ Description: Use `next` to skip iteration instead of a condition at the end.
79
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals
80
+ Enabled: false
81
+ EnforcedStyle: skip_modifier_ifs
82
+ MinBodyLength: 3
83
+ SupportedStyles:
84
+ - skip_modifier_ifs
85
+ - always
86
+ Layout/MultilineOperationIndentation:
87
+ Description: Checks indentation of binary operations that span more than one line.
88
+ Enabled: true
89
+ EnforcedStyle: indented
90
+ SupportedStyles:
91
+ - aligned
92
+ - indented
93
+ Style/MutableConstant:
94
+ Description: Do not assign mutable objects to constants.
95
+ Enabled: false
96
+ Style/NumericLiterals:
97
+ Description: Add underscores to large numeric literals to improve their readability.
98
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscores-in-numerics
99
+ Enabled: false
100
+ MinDigits: 5
101
+ Style/PercentLiteralDelimiters:
102
+ Description: Use `%`-literal delimiters consistently
103
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-literal-braces
104
+ Enabled: false
105
+ PreferredDelimiters:
106
+ "%": "()"
107
+ "%i": "()"
108
+ "%q": "()"
109
+ "%Q": "()"
110
+ "%r": "{}"
111
+ "%s": "()"
112
+ "%w": "()"
113
+ "%W": "()"
114
+ "%x": "()"
115
+ Naming/PredicateName:
116
+ Description: Check the names of predicate methods.
117
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark
118
+ Enabled: true
119
+ NamePrefix:
120
+ - is_
121
+ - has_
122
+ - have_
123
+ NamePrefixBlacklist:
124
+ - is_
125
+ Style/RaiseArgs:
126
+ Description: Checks the arguments passed to raise/fail.
127
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#exception-class-messages
128
+ Enabled: false
129
+ EnforcedStyle: exploded
130
+ SupportedStyles:
131
+ - compact
132
+ - exploded
133
+ Style/SignalException:
134
+ Description: Checks for proper usage of fail and raise.
135
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#fail-method
136
+ Enabled: false
137
+ EnforcedStyle: semantic
138
+ SupportedStyles:
139
+ - only_raise
140
+ - only_fail
141
+ - semantic
142
+ Style/SingleLineMethods:
143
+ Description: Avoid single-line methods.
144
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-single-line-methods
145
+ Enabled: false
146
+ AllowIfMethodIsEmpty: true
147
+ Style/StringLiterals:
148
+ Description: Checks if uses of quotes match the configured preference.
149
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
150
+ Enabled: false
151
+ EnforcedStyle: double_quotes
152
+ SupportedStyles:
153
+ - single_quotes
154
+ - double_quotes
155
+ Style/TrailingCommaInArguments:
156
+ Description: Checks for trailing comma in argument lists.
157
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas
158
+ Enabled: true
159
+ Style/TrailingCommaInArrayLiteral:
160
+ Description: Checks for trailing comma in array and hash literals.
161
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#no-trailing-array-commas
162
+ Enabled: true
163
+ Style/TrailingCommaInHashLiteral:
164
+ Description: Checks for trailing comma in array and hash literals.
165
+ StyleGuide: https://github.com/rubocop-hq/ruby-style-guide#no-trailing-array-commas
166
+ Enabled: true
167
+ Style/TrivialAccessors:
168
+ Description: Prefer attr_* methods to trivial readers/writers.
169
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#attr_family
170
+ Enabled: false
171
+ ExactNameMatch: false
172
+ AllowPredicates: false
173
+ AllowDSLWriters: false
174
+ Whitelist:
175
+ - to_ary
176
+ - to_a
177
+ - to_c
178
+ - to_enum
179
+ - to_h
180
+ - to_hash
181
+ - to_i
182
+ - to_int
183
+ - to_io
184
+ - to_open
185
+ - to_path
186
+ - to_proc
187
+ - to_r
188
+ - to_regexp
189
+ - to_str
190
+ - to_s
191
+ - to_sym
192
+ Style/WhileUntilModifier:
193
+ Description: Favor modifier while/until usage when you have a single-line body.
194
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#while-as-a-modifier
195
+ Enabled: false
196
+ Style/WordArray:
197
+ Description: Use %w or %W for arrays of words.
198
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-w
199
+ Enabled: false
200
+ MinSize: 0
201
+ WordRegex: !ruby/regexp /\A[\p{Word}]+\z/
202
+ Metrics/AbcSize:
203
+ Description: A calculated magnitude based on number of assignments, branches, and
204
+ conditions.
205
+ Enabled: true
206
+ Max: 25
207
+ Metrics/BlockNesting:
208
+ Description: Avoid excessive block nesting
209
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count
210
+ Enabled: true
211
+ Max: 3
212
+ Metrics/ClassLength:
213
+ Description: Avoid classes longer than 100 lines of code.
214
+ Enabled: false
215
+ CountComments: false
216
+ Max: 100
217
+ Metrics/LineLength:
218
+ Description: Limit lines to 100 characters.
219
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#100-character-limits
220
+ Enabled: true
221
+ Max: 100
222
+ AllowURI: true
223
+ URISchemes:
224
+ - http
225
+ - https
226
+ Metrics/MethodLength:
227
+ Description: Avoid methods longer than 15 lines of code.
228
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#short-methods
229
+ Enabled: true
230
+ CountComments: true
231
+ Max: 15
232
+ Exclude:
233
+ - "spec/**/*"
234
+ Metrics/ParameterLists:
235
+ Description: Avoid long parameter lists.
236
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#too-many-params
237
+ Enabled: false
238
+ Max: 5
239
+ CountKeywordArgs: true
240
+ Lint/AssignmentInCondition:
241
+ Description: Don't use assignment in conditions.
242
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition
243
+ Enabled: false
244
+ AllowSafeAssignment: true
245
+ Layout/EndAlignment:
246
+ Description: Align ends correctly.
247
+ Enabled: true
248
+ EnforcedStyleAlignWith: keyword
249
+ SupportedStylesAlignWith:
250
+ - keyword
251
+ - variable
252
+ Layout/DefEndAlignment:
253
+ Description: Align ends corresponding to defs correctly.
254
+ Enabled: true
255
+ EnforcedStyleAlignWith: start_of_line
256
+ SupportedStylesAlignWith:
257
+ - start_of_line
258
+ - def
259
+ Style/SymbolArray:
260
+ Description: Use %i or %I for arrays of symbols.
261
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-i
262
+ Enabled: false
263
+ Layout/ExtraSpacing:
264
+ Description: Do not use unnecessary spacing.
265
+ Enabled: false
266
+ Naming/AccessorMethodName:
267
+ Description: Check the naming of accessor methods for get_/set_.
268
+ Enabled: false
269
+ Style/Alias:
270
+ Description: Use alias_method instead of alias.
271
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#alias-method
272
+ Enabled: false
273
+ Style/ArrayJoin:
274
+ Description: Use Array#join instead of Array#*.
275
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#array-join
276
+ Enabled: false
277
+ Style/AsciiComments:
278
+ Description: Use only ascii symbols in comments.
279
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-comments
280
+ Enabled: false
281
+ Naming/AsciiIdentifiers:
282
+ Description: Use only ascii symbols in identifiers.
283
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-identifiers
284
+ Enabled: false
285
+ Style/Attr:
286
+ Description: Checks for uses of Module#attr.
287
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#attr
288
+ Enabled: false
289
+ Style/BlockComments:
290
+ Description: Do not use block comments.
291
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-block-comments
292
+ Enabled: false
293
+ Style/CaseEquality:
294
+ Description: Avoid explicit use of the case equality operator(===).
295
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-case-equality
296
+ Enabled: false
297
+ Style/CharacterLiteral:
298
+ Description: Checks for uses of character literals.
299
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-character-literals
300
+ Enabled: false
301
+ Style/ClassVars:
302
+ Description: Avoid the use of class variables.
303
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-class-vars
304
+ Enabled: false
305
+ Style/ColonMethodCall:
306
+ Description: 'Do not use :: for method call.'
307
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#double-colons
308
+ Enabled: false
309
+ Style/PreferredHashMethods:
310
+ Description: Checks for use of deprecated Hash methods.
311
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-key
312
+ Enabled: false
313
+ Style/Documentation:
314
+ Description: Document classes and non-namespace modules.
315
+ Enabled: false
316
+ Style/DoubleNegation:
317
+ Description: Checks for uses of double negation (!!).
318
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-bang-bang
319
+ Enabled: false
320
+ Style/EachWithObject:
321
+ Description: Prefer `each_with_object` over `inject` or `reduce`.
322
+ Enabled: false
323
+ Style/EmptyElse:
324
+ Description: Avoid empty else-clauses.
325
+ Enabled: true
326
+ Style/EmptyLiteral:
327
+ Description: Prefer literals to Array.new/Hash.new/String.new.
328
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#literal-array-hash
329
+ Enabled: false
330
+ Layout/EndOfLine:
331
+ Description: Use Unix-style line endings.
332
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#crlf
333
+ Enabled: true
334
+ Style/EvenOdd:
335
+ Description: Favor the use of Fixnum#even? && Fixnum#odd?
336
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#predicate-methods
337
+ Enabled: false
338
+ Lint/FlipFlop:
339
+ Description: Checks for flip flops
340
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-flip-flops
341
+ Enabled: false
342
+ Style/IfWithSemicolon:
343
+ Description: Do not use if x; .... Use the ternary operator instead.
344
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-semicolon-ifs
345
+ Enabled: false
346
+ Style/Lambda:
347
+ Description: Use the new lambda literal syntax for single-line blocks.
348
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#lambda-multi-line
349
+ Enabled: false
350
+ Style/LineEndConcatenation:
351
+ Description: Use \ instead of + or << to concatenate two string literals at line
352
+ end.
353
+ Enabled: false
354
+ Style/ModuleFunction:
355
+ Description: Checks for usage of `extend self` in modules.
356
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#module-function
357
+ Enabled: false
358
+ Style/MultilineBlockChain:
359
+ Description: Avoid multi-line chains of blocks.
360
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
361
+ Enabled: false
362
+ Layout/MultilineBlockLayout:
363
+ Description: Ensures newlines after multiline block do statements.
364
+ Enabled: false
365
+ Style/NegatedIf:
366
+ Description: Favor unless over if for negative conditions (or control flow or).
367
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#unless-for-negatives
368
+ Enabled: false
369
+ Style/NegatedWhile:
370
+ Description: Favor until over while for negative conditions.
371
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#until-for-negatives
372
+ Enabled: false
373
+ Style/NilComparison:
374
+ Description: Prefer x.nil? to x == nil.
375
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#predicate-methods
376
+ Enabled: false
377
+ Style/OneLineConditional:
378
+ Description: Favor the ternary operator(?:) over if/then/else/end constructs.
379
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#ternary-operator
380
+ Enabled: false
381
+ Naming/BinaryOperatorParameterName:
382
+ Description: When defining binary operators, name the argument other.
383
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#other-arg
384
+ Enabled: false
385
+ Style/PerlBackrefs:
386
+ Description: Avoid Perl-style regex back references.
387
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers
388
+ Enabled: false
389
+ Style/Proc:
390
+ Description: Use proc instead of Proc.new.
391
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#proc
392
+ Enabled: false
393
+ Style/SelfAssignment:
394
+ Description: Checks for places where self-assignment shorthand should have been
395
+ used.
396
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#self-assignment
397
+ Enabled: false
398
+ Layout/SpaceBeforeFirstArg:
399
+ Description: Put a space between a method name and the first argument in a method
400
+ call without parentheses.
401
+ Enabled: true
402
+ Layout/SpaceAroundOperators:
403
+ Description: Use spaces around operators.
404
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
405
+ Enabled: true
406
+ Layout/SpaceInsideParens:
407
+ Description: No spaces after ( or before ).
408
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-spaces-braces
409
+ Enabled: true
410
+ Style/SpecialGlobalVars:
411
+ Description: Avoid Perl-style global variables.
412
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-cryptic-perlisms
413
+ Enabled: false
414
+ Style/VariableInterpolation:
415
+ Description: Don't interpolate global, instance and class variables directly in
416
+ strings.
417
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#curlies-interpolate
418
+ Enabled: false
419
+ Style/WhenThen:
420
+ Description: Use when x then ... for one-line cases.
421
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#one-line-cases
422
+ Enabled: false
423
+ Lint/AmbiguousOperator:
424
+ Description: Checks for ambiguous operators in the first argument of a method invocation
425
+ without parentheses.
426
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-as-args
427
+ Enabled: false
428
+ Lint/AmbiguousRegexpLiteral:
429
+ Description: Checks for ambiguous regexp literals in the first argument of a method
430
+ invocation without parenthesis.
431
+ Enabled: false
432
+ Layout/BlockAlignment:
433
+ Description: Align block ends correctly.
434
+ Enabled: true
435
+ Layout/ConditionPosition:
436
+ Description: Checks for condition placed in a confusing position relative to the
437
+ keyword.
438
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#same-line-condition
439
+ Enabled: false
440
+ Lint/DeprecatedClassMethods:
441
+ Description: Check for deprecated class method calls.
442
+ Enabled: false
443
+ Lint/ElseLayout:
444
+ Description: Check for odd code arrangement in an else block.
445
+ Enabled: false
446
+ Lint/HandleExceptions:
447
+ Description: Don't suppress exception.
448
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions
449
+ Enabled: false
450
+ Lint/LiteralAsCondition:
451
+ Description: Checks of literals used in conditions.
452
+ Enabled: false
453
+ Lint/LiteralInInterpolation:
454
+ Description: Checks for literals used in interpolation.
455
+ Enabled: false
456
+ Lint/Loop:
457
+ Description: Use Kernel#loop with break rather than begin/end/until or begin/end/while
458
+ for post-loop tests.
459
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#loop-with-break
460
+ Enabled: false
461
+ Lint/ParenthesesAsGroupedExpression:
462
+ Description: Checks for method calls with a space before the opening parenthesis.
463
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-no-spaces
464
+ Enabled: false
465
+ Lint/RequireParentheses:
466
+ Description: Use parentheses in the method call to avoid confusion about precedence.
467
+ Enabled: false
468
+ Lint/UnderscorePrefixedVariableName:
469
+ Description: Do not use prefix `_` for a variable that is used.
470
+ Enabled: false
471
+ Lint/Void:
472
+ Description: Possible use of operator/literal/variable in void context.
473
+ Enabled: false
474
+ Rails/Delegate:
475
+ Description: Prefer delegate method for delegations.
476
+ Enabled: false
477
+ Performance/RedundantBlockCall:
478
+ Description: Use `yield` instead of `block.call`.
479
+ Reference: https://github.com/JuanitoFatas/fast-ruby#proccall-vs-yield-code
480
+ Enabled: false
481
+ RSpec/MultipleExpectations:
482
+ Max: 5
483
+ RSpec/NestedGroups:
484
+ Max: 5
485
+ RSpec/ExampleLength:
486
+ Max: 10
487
+ RSpec/LetSetup:
488
+ Enabled: false
489
+ RSpec/ExpectChange:
490
+ Enabled: true
491
+ EnforcedStyle: block