rubocop 0.93.1 → 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 (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/config/default.yml +59 -54
  4. data/lib/rubocop.rb +0 -2
  5. data/lib/rubocop/cli/command/version.rb +1 -1
  6. data/lib/rubocop/config.rb +4 -0
  7. data/lib/rubocop/config_loader.rb +19 -2
  8. data/lib/rubocop/config_loader_resolver.rb +7 -5
  9. data/lib/rubocop/config_validator.rb +7 -6
  10. data/lib/rubocop/cop/badge.rb +9 -24
  11. data/lib/rubocop/cop/base.rb +16 -1
  12. data/lib/rubocop/cop/commissioner.rb +34 -20
  13. data/lib/rubocop/cop/correctors/percent_literal_corrector.rb +1 -1
  14. data/lib/rubocop/cop/layout/class_structure.rb +7 -0
  15. data/lib/rubocop/cop/layout/space_around_operators.rb +4 -1
  16. data/lib/rubocop/cop/layout/trailing_whitespace.rb +37 -13
  17. data/lib/rubocop/cop/lint/to_json.rb +1 -1
  18. data/lib/rubocop/cop/metrics/parameter_lists.rb +4 -1
  19. data/lib/rubocop/cop/naming/binary_operator_parameter_name.rb +1 -1
  20. data/lib/rubocop/cop/security/open.rb +12 -10
  21. data/lib/rubocop/cop/style/accessor_grouping.rb +1 -1
  22. data/lib/rubocop/cop/style/format_string_token.rb +47 -2
  23. data/lib/rubocop/cop/style/method_call_with_args_parentheses.rb +10 -13
  24. data/lib/rubocop/cop/style/method_call_with_args_parentheses/omit_parentheses.rb +6 -11
  25. data/lib/rubocop/cop/style/method_call_with_args_parentheses/require_parentheses.rb +7 -11
  26. data/lib/rubocop/cop/style/redundant_parentheses.rb +4 -0
  27. data/lib/rubocop/cop/style/redundant_self.rb +3 -0
  28. data/lib/rubocop/cop/style/safe_navigation.rb +16 -4
  29. data/lib/rubocop/cop/style/string_concatenation.rb +13 -1
  30. data/lib/rubocop/cop/style/trailing_underscore_variable.rb +3 -1
  31. data/lib/rubocop/formatter/offense_count_formatter.rb +1 -1
  32. data/lib/rubocop/formatter/worst_offenders_formatter.rb +1 -1
  33. data/lib/rubocop/options.rb +4 -1
  34. data/lib/rubocop/version.rb +56 -6
  35. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b8ce11205d6a6bb518654cbe498544aa799fbb8d9c9057afd2f551edfc35bbb8
4
- data.tar.gz: a1f79001991b28508ca7c9a79d75ed58f39ae0dcf2bad419d6a75919b3a3d539
3
+ metadata.gz: c25c996f99dbf63d4ffad0041dd929fc0f3d11b5bd2abd5d0aea1ac97cd57afb
4
+ data.tar.gz: 462f0dcd3120a9911fe100c7fb2d02a6919cf81078e871c7896044ebd5e25358
5
5
  SHA512:
6
- metadata.gz: a32001a91575c41b5ca71b6a148af79f45b2a7b8cbc3909a0dcbb7a652f5e62b6a79a84c14189eda64fd3d2a9e8c40d207c37c0f5a78a156e1f636c5191b995e
7
- data.tar.gz: 9ac5df57938099031807a96bd87a7fb9c5f7f40c314528b4c3254edb45b1386ce199fa9c394c9e7531655d117df9d3d5215bd66e4a927b9b2b0878e0eac2a1f6
6
+ metadata.gz: e3f9afb1fc30fef47c2d3eb64d33f237ca21adcfaf81c64aa24a47eaca9bee840123e29bd07be63e88137544d2e5cf00c4b63110dddfa1f306e0b95a1bc02d45
7
+ data.tar.gz: b0b79a254b907beb97ea89c3e330ca0ed8ed9ad7c3e5e51848ad5dfe77f98aa0a3097dcdab06c8eb82d6981d6354fbbd81b4e43a49b2b3d5f1b7be9cc4dc614a
data/README.md CHANGED
@@ -49,7 +49,7 @@ haven't reached version 1.0 yet). To prevent an unwanted RuboCop update you
49
49
  might want to use a conservative version lock in your `Gemfile`:
50
50
 
51
51
  ```rb
52
- gem 'rubocop', '~> 0.93.1', require: false
52
+ gem 'rubocop', '~> 1.0.0', require: false
53
53
  ```
54
54
 
55
55
  ## Quickstart
@@ -313,7 +313,7 @@ Layout/AssignmentIndentation:
313
313
 
314
314
  Layout/BeginEndAlignment:
315
315
  Description: 'Align ends corresponding to begins correctly.'
316
- Enabled: pending
316
+ Enabled: true
317
317
  VersionAdded: '0.91'
318
318
  # The value `start_of_line` means that `end` should be aligned the start of the line
319
319
  # where the `begin` keyword is.
@@ -496,7 +496,7 @@ Layout/EmptyLinesAroundArguments:
496
496
  Layout/EmptyLinesAroundAttributeAccessor:
497
497
  Description: "Keep blank lines around attribute accessors."
498
498
  StyleGuide: '#empty-lines-around-attribute-accessor'
499
- Enabled: pending
499
+ Enabled: true
500
500
  VersionAdded: '0.83'
501
501
  VersionChanged: '0.84'
502
502
  AllowAliasSyntax: true
@@ -1145,7 +1145,7 @@ Layout/SpaceAroundKeyword:
1145
1145
 
1146
1146
  Layout/SpaceAroundMethodCallOperator:
1147
1147
  Description: 'Checks method call operators to not have spaces around them.'
1148
- Enabled: pending
1148
+ Enabled: true
1149
1149
  VersionAdded: '0.82'
1150
1150
 
1151
1151
  Layout/SpaceAroundOperators:
@@ -1335,7 +1335,7 @@ Layout/TrailingWhitespace:
1335
1335
  Enabled: true
1336
1336
  VersionAdded: '0.49'
1337
1337
  VersionChanged: '0.83'
1338
- AllowInHeredoc: true
1338
+ AllowInHeredoc: false
1339
1339
 
1340
1340
  #################### Lint ##################################
1341
1341
  ### Warnings
@@ -1379,7 +1379,7 @@ Lint/BigDecimalNew:
1379
1379
 
1380
1380
  Lint/BinaryOperatorWithIdenticalOperands:
1381
1381
  Description: 'This cop checks for places where binary operator has identical operands.'
1382
- Enabled: pending
1382
+ Enabled: true
1383
1383
  Safe: false
1384
1384
  VersionAdded: '0.89'
1385
1385
 
@@ -1398,7 +1398,7 @@ Lint/CircularArgumentReference:
1398
1398
  Lint/ConstantDefinitionInBlock:
1399
1399
  Description: 'Do not define constants within a block.'
1400
1400
  StyleGuide: '#no-constant-definition-in-block'
1401
- Enabled: pending
1401
+ Enabled: true
1402
1402
  VersionAdded: '0.91'
1403
1403
 
1404
1404
  Lint/ConstantResolution:
@@ -1423,7 +1423,7 @@ Lint/DeprecatedClassMethods:
1423
1423
 
1424
1424
  Lint/DeprecatedOpenSSLConstant:
1425
1425
  Description: "Don't use algorithm constants for `OpenSSL::Cipher` and `OpenSSL::Digest`."
1426
- Enabled: pending
1426
+ Enabled: true
1427
1427
  VersionAdded: '0.84'
1428
1428
 
1429
1429
  Lint/DisjunctiveAssignmentInConstructor:
@@ -1440,7 +1440,7 @@ Lint/DuplicateCaseCondition:
1440
1440
 
1441
1441
  Lint/DuplicateElsifCondition:
1442
1442
  Description: 'Do not repeat conditions used in if `elsif`.'
1443
- Enabled: 'pending'
1443
+ Enabled: true
1444
1444
  VersionAdded: '0.88'
1445
1445
 
1446
1446
  Lint/DuplicateHashKey:
@@ -1456,12 +1456,12 @@ Lint/DuplicateMethods:
1456
1456
 
1457
1457
  Lint/DuplicateRequire:
1458
1458
  Description: 'Check for duplicate `require`s and `require_relative`s.'
1459
- Enabled: pending
1459
+ Enabled: true
1460
1460
  VersionAdded: '0.90'
1461
1461
 
1462
1462
  Lint/DuplicateRescueException:
1463
1463
  Description: 'Checks that there are no repeated exceptions used in `rescue` expressions.'
1464
- Enabled: pending
1464
+ Enabled: true
1465
1465
  VersionAdded: '0.89'
1466
1466
 
1467
1467
  Lint/EachWithObjectArgument:
@@ -1476,7 +1476,7 @@ Lint/ElseLayout:
1476
1476
 
1477
1477
  Lint/EmptyConditionalBody:
1478
1478
  Description: 'This cop checks for the presence of `if`, `elsif` and `unless` branches without a body.'
1479
- Enabled: 'pending'
1479
+ Enabled: true
1480
1480
  AllowComments: true
1481
1481
  VersionAdded: '0.89'
1482
1482
 
@@ -1493,7 +1493,7 @@ Lint/EmptyExpression:
1493
1493
 
1494
1494
  Lint/EmptyFile:
1495
1495
  Description: 'Enforces that Ruby source files are not empty.'
1496
- Enabled: pending
1496
+ Enabled: true
1497
1497
  AllowComments: true
1498
1498
  VersionAdded: '0.90'
1499
1499
 
@@ -1531,7 +1531,7 @@ Lint/FlipFlop:
1531
1531
  Lint/FloatComparison:
1532
1532
  Description: 'Checks for the presence of precise comparison of floating point numbers.'
1533
1533
  StyleGuide: '#float-comparison'
1534
- Enabled: pending
1534
+ Enabled: true
1535
1535
  VersionAdded: '0.89'
1536
1536
 
1537
1537
  Lint/FloatOutOfRange:
@@ -1549,7 +1549,7 @@ Lint/FormatParameterMismatch:
1549
1549
  Lint/HashCompareByIdentity:
1550
1550
  Description: 'Prefer using `Hash#compare_by_identity` than using `object_id` for keys.'
1551
1551
  StyleGuide: '#identity-comparison'
1552
- Enabled: pending
1552
+ Enabled: true
1553
1553
  Safe: false
1554
1554
  VersionAdded: '0.93'
1555
1555
 
@@ -1563,7 +1563,7 @@ Lint/HeredocMethodCallPosition:
1563
1563
 
1564
1564
  Lint/IdentityComparison:
1565
1565
  Description: 'Prefer `equal?` over `==` when comparing `object_id`.'
1566
- Enabled: pending
1566
+ Enabled: true
1567
1567
  StyleGuide: '#identity-comparison'
1568
1568
  VersionAdded: '0.91'
1569
1569
 
@@ -1635,12 +1635,12 @@ Lint/MissingSuper:
1635
1635
  Description: >-
1636
1636
  This cop checks for the presence of constructors and lifecycle callbacks
1637
1637
  without calls to `super`'.
1638
- Enabled: pending
1638
+ Enabled: true
1639
1639
  VersionAdded: '0.89'
1640
1640
 
1641
1641
  Lint/MixedRegexpCaptureTypes:
1642
1642
  Description: 'Do not mix named captures and numbered captures in a Regexp literal.'
1643
- Enabled: pending
1643
+ Enabled: true
1644
1644
  VersionAdded: '0.85'
1645
1645
 
1646
1646
  Lint/MultipleComparison:
@@ -1692,7 +1692,7 @@ Lint/OrderedMagicComments:
1692
1692
 
1693
1693
  Lint/OutOfRangeRegexpRef:
1694
1694
  Description: 'Checks for out of range reference for Regexp because it always returns nil.'
1695
- Enabled: pending
1695
+ Enabled: true
1696
1696
  Safe: false
1697
1697
  VersionAdded: '0.89'
1698
1698
 
@@ -1721,7 +1721,7 @@ Lint/PercentSymbolArray:
1721
1721
  Lint/RaiseException:
1722
1722
  Description: Checks for `raise` or `fail` statements which are raising `Exception` class.
1723
1723
  StyleGuide: '#raise-exception'
1724
- Enabled: pending
1724
+ Enabled: true
1725
1725
  Safe: false
1726
1726
  VersionAdded: '0.81'
1727
1727
  VersionChanged: '0.86'
@@ -1755,7 +1755,7 @@ Lint/RedundantRequireStatement:
1755
1755
 
1756
1756
  Lint/RedundantSafeNavigation:
1757
1757
  Description: 'Checks for redundant safe navigation calls.'
1758
- Enabled: pending
1758
+ Enabled: true
1759
1759
  VersionAdded: '0.93'
1760
1760
  AllowedMethods:
1761
1761
  - instance_of?
@@ -1862,7 +1862,7 @@ Lint/ScriptPermission:
1862
1862
 
1863
1863
  Lint/SelfAssignment:
1864
1864
  Description: 'Checks for self-assignments.'
1865
- Enabled: pending
1865
+ Enabled: true
1866
1866
  VersionAdded: '0.89'
1867
1867
 
1868
1868
  Lint/SendWithMixinArgument:
@@ -1893,7 +1893,7 @@ Lint/ShadowingOuterLocalVariable:
1893
1893
 
1894
1894
  Lint/StructNewOverride:
1895
1895
  Description: 'Disallow overriding the `Struct` built-in methods via `Struct.new`.'
1896
- Enabled: pending
1896
+ Enabled: true
1897
1897
  VersionAdded: '0.81'
1898
1898
 
1899
1899
  Lint/SuppressedException:
@@ -1917,12 +1917,12 @@ Lint/ToJSON:
1917
1917
 
1918
1918
  Lint/TopLevelReturnWithArgument:
1919
1919
  Description: 'This cop detects top level return statements with argument.'
1920
- Enabled: 'pending'
1920
+ Enabled: true
1921
1921
  VersionAdded: '0.89'
1922
1922
 
1923
1923
  Lint/TrailingCommaInAttributeDeclaration:
1924
1924
  Description: 'This cop checks for trailing commas in attribute declarations.'
1925
- Enabled: pending
1925
+ Enabled: true
1926
1926
  VersionAdded: '0.90'
1927
1927
 
1928
1928
  Lint/UnderscorePrefixedVariableName:
@@ -1943,7 +1943,7 @@ Lint/UnreachableCode:
1943
1943
 
1944
1944
  Lint/UnreachableLoop:
1945
1945
  Description: 'This cop checks for loops that will have at most one iteration.'
1946
- Enabled: pending
1946
+ Enabled: true
1947
1947
  VersionAdded: '0.89'
1948
1948
 
1949
1949
  Lint/UnusedBlockArgument:
@@ -2002,7 +2002,7 @@ Lint/UselessElseWithoutRescue:
2002
2002
 
2003
2003
  Lint/UselessMethodDefinition:
2004
2004
  Description: 'Checks for useless method definitions.'
2005
- Enabled: pending
2005
+ Enabled: true
2006
2006
  VersionAdded: '0.90'
2007
2007
  Safe: false
2008
2008
  AllowComments: true
@@ -2016,7 +2016,7 @@ Lint/UselessSetterCall:
2016
2016
 
2017
2017
  Lint/UselessTimes:
2018
2018
  Description: 'Checks for useless `Integer#times` calls.'
2019
- Enabled: pending
2019
+ Enabled: true
2020
2020
  VersionAdded: '0.91'
2021
2021
  Safe: false
2022
2022
 
@@ -2415,9 +2415,10 @@ Security/MarshalLoad:
2415
2415
  VersionAdded: '0.47'
2416
2416
 
2417
2417
  Security/Open:
2418
- Description: 'The use of Kernel#open represents a serious security risk.'
2418
+ Description: 'The use of `Kernel#open` and `URI.open` represent a serious security risk.'
2419
2419
  Enabled: true
2420
2420
  VersionAdded: '0.53'
2421
+ VersionChanged: '1.0'
2421
2422
  Safe: false
2422
2423
 
2423
2424
  Security/YAMLLoad:
@@ -2444,7 +2445,7 @@ Style/AccessModifierDeclarations:
2444
2445
 
2445
2446
  Style/AccessorGrouping:
2446
2447
  Description: 'Checks for grouping of accessors in `class` and `module` bodies.'
2447
- Enabled: 'pending'
2448
+ Enabled: true
2448
2449
  VersionAdded: '0.87'
2449
2450
  EnforcedStyle: grouped
2450
2451
  SupportedStyles:
@@ -2533,7 +2534,7 @@ Style/BisectedAttrAccessor:
2533
2534
  Description: >-
2534
2535
  Checks for places where `attr_reader` and `attr_writer`
2535
2536
  for the same method can be combined into single `attr_accessor`.
2536
- Enabled: 'pending'
2537
+ Enabled: true
2537
2538
  VersionAdded: '0.87'
2538
2539
 
2539
2540
  Style/BlockComments:
@@ -2672,7 +2673,7 @@ Style/CaseEquality:
2672
2673
  Style/CaseLikeIf:
2673
2674
  Description: 'This cop identifies places where `if-elsif` constructions can be replaced with `case-when`.'
2674
2675
  StyleGuide: '#case-vs-if-else'
2675
- Enabled: 'pending'
2676
+ Enabled: true
2676
2677
  Safe: false
2677
2678
  VersionAdded: '0.88'
2678
2679
 
@@ -2725,7 +2726,7 @@ Style/ClassCheck:
2725
2726
  Style/ClassEqualityComparison:
2726
2727
  Description: 'Enforces the use of `Object#instance_of?` instead of class comparison for equality.'
2727
2728
  StyleGuide: '#instance-of-vs-class-comparison'
2728
- Enabled: pending
2729
+ Enabled: true
2729
2730
  VersionAdded: '0.93'
2730
2731
  IgnoredMethods:
2731
2732
  - ==
@@ -2793,7 +2794,7 @@ Style/CombinableLoops:
2793
2794
  Description: >-
2794
2795
  Checks for places where multiple consecutive loops over the same data
2795
2796
  can be combined into a single loop.
2796
- Enabled: pending
2797
+ Enabled: true
2797
2798
  Safe: false
2798
2799
  VersionAdded: '0.90'
2799
2800
 
@@ -3046,7 +3047,7 @@ Style/ExplicitBlockArgument:
3046
3047
  Consider using explicit block argument to avoid writing block literal
3047
3048
  that just passes its arguments to another block.
3048
3049
  StyleGuide: '#block-argument'
3049
- Enabled: pending
3050
+ Enabled: true
3050
3051
  # May change the yielding arity.
3051
3052
  Safe: false
3052
3053
  VersionAdded: '0.89'
@@ -3054,7 +3055,7 @@ Style/ExplicitBlockArgument:
3054
3055
  Style/ExponentialNotation:
3055
3056
  Description: 'When using exponential notation, favor a mantissa between 1 (inclusive) and 10 (exclusive).'
3056
3057
  StyleGuide: '#exponential-notation'
3057
- Enabled: pending
3058
+ Enabled: true
3058
3059
  VersionAdded: '0.82'
3059
3060
  EnforcedStyle: scientific
3060
3061
  SupportedStyles:
@@ -3109,8 +3110,12 @@ Style/FormatStringToken:
3109
3110
  # Prefer simple looking "template" style tokens like `%{name}`, `%{age}`
3110
3111
  - template
3111
3112
  - unannotated
3113
+ # `MaxUnannotatedPlaceholdersAllowed` defines the number of `unannotated`
3114
+ # style token in a format string to be allowed when enforced style is not
3115
+ # `unannotated`.
3116
+ MaxUnannotatedPlaceholdersAllowed: 1
3112
3117
  VersionAdded: '0.49'
3113
- VersionChanged: '0.75'
3118
+ VersionChanged: '1.0'
3114
3119
 
3115
3120
  Style/FrozenStringLiteralComment:
3116
3121
  Description: >-
@@ -3137,7 +3142,7 @@ Style/FrozenStringLiteralComment:
3137
3142
  Style/GlobalStdStream:
3138
3143
  Description: 'Enforces the use of `$stdout/$stderr/$stdin` instead of `STDOUT/STDERR/STDIN`.'
3139
3144
  StyleGuide: '#global-stdout'
3140
- Enabled: pending
3145
+ Enabled: true
3141
3146
  VersionAdded: '0.89'
3142
3147
  SafeAutoCorrect: false
3143
3148
 
@@ -3165,7 +3170,7 @@ Style/HashAsLastArrayItem:
3165
3170
  Checks for presence or absence of braces around hash literal as a last
3166
3171
  array item depending on configuration.
3167
3172
  StyleGuide: '#hash-literal-as-last-array-item'
3168
- Enabled: 'pending'
3173
+ Enabled: true
3169
3174
  VersionAdded: '0.88'
3170
3175
  EnforcedStyle: braces
3171
3176
  SupportedStyles:
@@ -3175,7 +3180,7 @@ Style/HashAsLastArrayItem:
3175
3180
  Style/HashEachMethods:
3176
3181
  Description: 'Use Hash#each_key and Hash#each_value.'
3177
3182
  StyleGuide: '#hash-each'
3178
- Enabled: pending
3183
+ Enabled: true
3179
3184
  VersionAdded: '0.80'
3180
3185
  Safe: false
3181
3186
 
@@ -3183,7 +3188,7 @@ Style/HashLikeCase:
3183
3188
  Description: >-
3184
3189
  Checks for places where `case-when` represents a simple 1:1
3185
3190
  mapping and can be replaced with a hash lookup.
3186
- Enabled: 'pending'
3191
+ Enabled: true
3187
3192
  VersionAdded: '0.88'
3188
3193
  # `MinBranchesCount` defines the number of branches `case` needs to have
3189
3194
  # to trigger this cop
@@ -3214,14 +3219,14 @@ Style/HashSyntax:
3214
3219
 
3215
3220
  Style/HashTransformKeys:
3216
3221
  Description: 'Prefer `transform_keys` over `each_with_object`, `map`, or `to_h`.'
3217
- Enabled: 'pending'
3222
+ Enabled: true
3218
3223
  VersionAdded: '0.80'
3219
3224
  VersionChanged: '0.90'
3220
3225
  Safe: false
3221
3226
 
3222
3227
  Style/HashTransformValues:
3223
3228
  Description: 'Prefer `transform_values` over `each_with_object`, `map`, or `to_h`.'
3224
- Enabled: 'pending'
3229
+ Enabled: true
3225
3230
  VersionAdded: '0.80'
3226
3231
  VersionChanged: '0.90'
3227
3232
  Safe: false
@@ -3328,7 +3333,7 @@ Style/IpAddresses:
3328
3333
  Style/KeywordParametersOrder:
3329
3334
  Description: 'Enforces that optional keyword parameters are placed at the end of the parameters list.'
3330
3335
  StyleGuide: '#keyword-parameters-order'
3331
- Enabled: pending
3336
+ Enabled: true
3332
3337
  VersionAdded: '0.90'
3333
3338
 
3334
3339
  Style/Lambda:
@@ -3753,7 +3758,7 @@ Style/OptionalArguments:
3753
3758
  Style/OptionalBooleanParameter:
3754
3759
  Description: 'Use keyword arguments when defining method with boolean argument.'
3755
3760
  StyleGuide: '#boolean-keyword-arguments'
3756
- Enabled: pending
3761
+ Enabled: true
3757
3762
  Safe: false
3758
3763
  VersionAdded: '0.89'
3759
3764
  AllowedMethods:
@@ -3857,7 +3862,7 @@ Style/RandomWithOffset:
3857
3862
 
3858
3863
  Style/RedundantAssignment:
3859
3864
  Description: 'Checks for redundant assignment before returning.'
3860
- Enabled: 'pending'
3865
+ Enabled: true
3861
3866
  VersionAdded: '0.87'
3862
3867
 
3863
3868
  Style/RedundantBegin:
@@ -3894,7 +3899,7 @@ Style/RedundantFetchBlock:
3894
3899
  Use `fetch(key, value)` instead of `fetch(key) { value }`
3895
3900
  when value has Numeric, Rational, Complex, Symbol or String type, `false`, `true`, `nil` or is a constant.
3896
3901
  Reference: 'https://github.com/JuanitoFatas/fast-ruby#hashfetch-with-argument-vs-hashfetch--block-code'
3897
- Enabled: 'pending'
3902
+ Enabled: true
3898
3903
  Safe: false
3899
3904
  # If enabled, this cop will autocorrect usages of
3900
3905
  # `fetch` being called with block returning a constant.
@@ -3907,7 +3912,7 @@ Style/RedundantFileExtensionInRequire:
3907
3912
  Checks for the presence of superfluous `.rb` extension in
3908
3913
  the filename provided to `require` and `require_relative`.
3909
3914
  StyleGuide: '#no-explicit-rb-to-require'
3910
- Enabled: 'pending'
3915
+ Enabled: true
3911
3916
  VersionAdded: '0.88'
3912
3917
 
3913
3918
  Style/RedundantFreeze:
@@ -3934,12 +3939,12 @@ Style/RedundantPercentQ:
3934
3939
 
3935
3940
  Style/RedundantRegexpCharacterClass:
3936
3941
  Description: 'Checks for unnecessary single-element Regexp character classes.'
3937
- Enabled: pending
3942
+ Enabled: true
3938
3943
  VersionAdded: '0.85'
3939
3944
 
3940
3945
  Style/RedundantRegexpEscape:
3941
3946
  Description: 'Checks for redundant escapes in Regexps.'
3942
- Enabled: pending
3947
+ Enabled: true
3943
3948
  VersionAdded: '0.85'
3944
3949
 
3945
3950
  Style/RedundantReturn:
@@ -3960,7 +3965,7 @@ Style/RedundantSelf:
3960
3965
 
3961
3966
  Style/RedundantSelfAssignment:
3962
3967
  Description: 'Checks for places where redundant assignments are made for in place modification methods.'
3963
- Enabled: pending
3968
+ Enabled: true
3964
3969
  Safe: false
3965
3970
  VersionAdded: '0.90'
3966
3971
 
@@ -4088,7 +4093,7 @@ Style/SignalException:
4088
4093
 
4089
4094
  Style/SingleArgumentDig:
4090
4095
  Description: 'Avoid using single argument dig method.'
4091
- Enabled: pending
4096
+ Enabled: true
4092
4097
  VersionAdded: '0.89'
4093
4098
  Safe: false
4094
4099
 
@@ -4115,7 +4120,7 @@ Style/SingleLineMethods:
4115
4120
 
4116
4121
  Style/SlicingWithRange:
4117
4122
  Description: 'Checks array slicing is done with endless ranges when suitable.'
4118
- Enabled: pending
4123
+ Enabled: true
4119
4124
  VersionAdded: '0.83'
4120
4125
  Safe: false
4121
4126
 
@@ -4123,7 +4128,7 @@ Style/SoleNestedConditional:
4123
4128
  Description: >-
4124
4129
  Finds sole nested conditional nodes
4125
4130
  which can be merged into outer conditional node.
4126
- Enabled: pending
4131
+ Enabled: true
4127
4132
  VersionAdded: '0.89'
4128
4133
  AllowModifier: false
4129
4134
 
@@ -4158,7 +4163,7 @@ Style/StderrPuts:
4158
4163
  Style/StringConcatenation:
4159
4164
  Description: 'Checks for places where string concatenation can be replaced with string interpolation.'
4160
4165
  StyleGuide: '#string-interpolation'
4161
- Enabled: pending
4166
+ Enabled: true
4162
4167
  Safe: false
4163
4168
  VersionAdded: '0.89'
4164
4169