rubocop-github 0.26.0 → 0.27.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 +4 -4
- data/STYLEGUIDE.md +1 -1
- data/config/default.yml +20 -1
- data/lib/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a3a81bf68f02c64d5924878583ac15ab2d074fd04dc99af95c18835b46151e7
|
|
4
|
+
data.tar.gz: 1a2bcbbb6d51b61809b2f98af2e62386b0c3bb23ddf8588ea39425dcec6f91b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a929980cceae594cffb775cdacb830d4387237a97be920b06005a4a193cc6630797ddca7cb361ce0db75e1ce8062400f65b13344a4ac04ee31ab3ccefa25d0a1
|
|
7
|
+
data.tar.gz: 88851741cb4a060455f013d972b6bec989c0d1ae073afd8b64c4db977635be69b8d8403fec7c6abc93a7ba8738963b6ce2815d8eaca12dbab8c42ff89f67d358
|
data/STYLEGUIDE.md
CHANGED
|
@@ -236,7 +236,7 @@ end
|
|
|
236
236
|
|
|
237
237
|
* Indent the `public`, `protected`, and `private` methods as much the
|
|
238
238
|
method definitions they apply to. Leave one blank line above them.
|
|
239
|
-
<a name="access-modifier-
|
|
239
|
+
<a name="access-modifier-indentation"></a><sup>[[link](#access-modifier-indentation)]</sup>
|
|
240
240
|
* <a href="https://docs.rubocop.org/rubocop/cops_layout.html#layoutaccessmodifierindentation">RuboCop rule: Layout/AccessModifierIndentation</a>
|
|
241
241
|
* <a href="https://docs.rubocop.org/rubocop/cops_layout.html#layoutemptylinesaroundaccessmodifier">RuboCop rule: Layout/EmptyLinesAroundAccessModifier</a>
|
|
242
242
|
|
data/config/default.yml
CHANGED
|
@@ -55,6 +55,7 @@ GitHub/InsecureHashAlgorithm:
|
|
|
55
55
|
|
|
56
56
|
Layout/AccessModifierIndentation:
|
|
57
57
|
Enabled: false
|
|
58
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#user-content-access-modifier-indentation
|
|
58
59
|
|
|
59
60
|
Layout/ArgumentAlignment:
|
|
60
61
|
Enabled: false
|
|
@@ -117,12 +118,14 @@ Layout/EmptyLineAfterMultilineCondition:
|
|
|
117
118
|
|
|
118
119
|
Layout/EmptyLineBetweenDefs:
|
|
119
120
|
Enabled: false
|
|
121
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#empty-lines-def
|
|
120
122
|
|
|
121
123
|
Layout/EmptyLines:
|
|
122
124
|
Enabled: false
|
|
123
125
|
|
|
124
126
|
Layout/EmptyLinesAroundAccessModifier:
|
|
125
127
|
Enabled: false
|
|
128
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#access-modifier-indentation
|
|
126
129
|
|
|
127
130
|
Layout/EmptyLinesAroundArguments:
|
|
128
131
|
Enabled: false
|
|
@@ -354,6 +357,7 @@ Layout/SpaceInsideStringInterpolation:
|
|
|
354
357
|
|
|
355
358
|
Layout/TrailingEmptyLines:
|
|
356
359
|
Enabled: true
|
|
360
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#newlines
|
|
357
361
|
|
|
358
362
|
Layout/TrailingWhitespace:
|
|
359
363
|
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#trailing-whitespace
|
|
@@ -531,6 +535,7 @@ Lint/MissingSuper:
|
|
|
531
535
|
|
|
532
536
|
Lint/MixedRegexpCaptureTypes:
|
|
533
537
|
Enabled: false
|
|
538
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#capture-with-named-groups
|
|
534
539
|
|
|
535
540
|
Lint/MultipleComparison:
|
|
536
541
|
Enabled: false
|
|
@@ -793,9 +798,11 @@ Naming/BlockParameterName:
|
|
|
793
798
|
|
|
794
799
|
Naming/ClassAndModuleCamelCase:
|
|
795
800
|
Enabled: true
|
|
801
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#naming
|
|
796
802
|
|
|
797
803
|
Naming/ConstantName:
|
|
798
804
|
Enabled: false
|
|
805
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#naming
|
|
799
806
|
|
|
800
807
|
Naming/FileName:
|
|
801
808
|
Enabled: true
|
|
@@ -826,6 +833,7 @@ Naming/RescuedExceptionsVariableName:
|
|
|
826
833
|
|
|
827
834
|
Naming/VariableName:
|
|
828
835
|
Enabled: false
|
|
836
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#naming
|
|
829
837
|
|
|
830
838
|
Naming/VariableNumber:
|
|
831
839
|
Enabled: false
|
|
@@ -1032,6 +1040,7 @@ Style/AutoResourceCleanup:
|
|
|
1032
1040
|
|
|
1033
1041
|
Style/BarePercentLiterals:
|
|
1034
1042
|
Enabled: false
|
|
1043
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#percent-literals
|
|
1035
1044
|
|
|
1036
1045
|
Style/BeginBlock:
|
|
1037
1046
|
Enabled: true
|
|
@@ -1044,10 +1053,11 @@ Style/BlockComments:
|
|
|
1044
1053
|
|
|
1045
1054
|
Style/BlockDelimiters:
|
|
1046
1055
|
Enabled: false
|
|
1056
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#syntax
|
|
1047
1057
|
|
|
1048
1058
|
Style/CaseEquality:
|
|
1049
1059
|
Enabled: true
|
|
1050
|
-
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#type-checking-is-a-kind-of
|
|
1060
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#user-content-type-checking-is-a-kind-of
|
|
1051
1061
|
|
|
1052
1062
|
Style/CaseLikeIf:
|
|
1053
1063
|
Enabled: false
|
|
@@ -1306,6 +1316,7 @@ Style/MapToHash:
|
|
|
1306
1316
|
|
|
1307
1317
|
Style/MethodCallWithArgsParentheses:
|
|
1308
1318
|
Enabled: false
|
|
1319
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#parens-no-spaces
|
|
1309
1320
|
|
|
1310
1321
|
Style/MethodCallWithoutArgsParentheses:
|
|
1311
1322
|
Enabled: true
|
|
@@ -1372,6 +1383,7 @@ Style/NegatedIfElseCondition:
|
|
|
1372
1383
|
|
|
1373
1384
|
Style/NegatedUnless:
|
|
1374
1385
|
Enabled: true
|
|
1386
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#user-content-no-unless-negation
|
|
1375
1387
|
|
|
1376
1388
|
Style/NegatedWhile:
|
|
1377
1389
|
Enabled: false
|
|
@@ -1530,6 +1542,7 @@ Style/RedundantReturn:
|
|
|
1530
1542
|
|
|
1531
1543
|
Style/RedundantSelf:
|
|
1532
1544
|
Enabled: false
|
|
1545
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#self-messages
|
|
1533
1546
|
|
|
1534
1547
|
Style/RedundantSelfAssignment:
|
|
1535
1548
|
Enabled: false
|
|
@@ -1545,6 +1558,7 @@ Style/RedundantSortBy:
|
|
|
1545
1558
|
|
|
1546
1559
|
Style/RegexpLiteral:
|
|
1547
1560
|
Enabled: false
|
|
1561
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#percent-r-regular-expressions
|
|
1548
1562
|
|
|
1549
1563
|
Style/RescueModifier:
|
|
1550
1564
|
Enabled: false
|
|
@@ -1572,6 +1586,7 @@ Style/Semicolon:
|
|
|
1572
1586
|
|
|
1573
1587
|
Style/Send:
|
|
1574
1588
|
Enabled: false
|
|
1589
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#avoid-send
|
|
1575
1590
|
|
|
1576
1591
|
Style/SignalException:
|
|
1577
1592
|
Enabled: false
|
|
@@ -1593,6 +1608,7 @@ Style/SoleNestedConditional:
|
|
|
1593
1608
|
|
|
1594
1609
|
Style/SpecialGlobalVars:
|
|
1595
1610
|
Enabled: false
|
|
1611
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#no-cryptic-vars
|
|
1596
1612
|
|
|
1597
1613
|
Style/StabbyLambdaParentheses:
|
|
1598
1614
|
Enabled: true
|
|
@@ -1611,6 +1627,7 @@ Style/StringConcatenation:
|
|
|
1611
1627
|
|
|
1612
1628
|
Style/StringHashKeys:
|
|
1613
1629
|
Enabled: false
|
|
1630
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#symbols-as-keys
|
|
1614
1631
|
|
|
1615
1632
|
Style/StringLiterals:
|
|
1616
1633
|
EnforcedStyle: double_quotes
|
|
@@ -1699,8 +1716,10 @@ Style/WhileUntilDo:
|
|
|
1699
1716
|
Style/WhileUntilModifier:
|
|
1700
1717
|
Enabled: false
|
|
1701
1718
|
|
|
1719
|
+
# TODO: Enable this since it's in the styleguide.
|
|
1702
1720
|
Style/WordArray:
|
|
1703
1721
|
Enabled: false
|
|
1722
|
+
StyleGuide: https://github.com/github/rubocop-github/blob/main/STYLEGUIDE.md#percent-w
|
|
1704
1723
|
|
|
1705
1724
|
Style/YodaCondition:
|
|
1706
1725
|
Enabled: false
|
data/lib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-github
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.27.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GitHub
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 2026-03-13 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: rubocop
|
|
@@ -57,14 +57,14 @@ dependencies:
|
|
|
57
57
|
requirements:
|
|
58
58
|
- - "~>"
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: 7.2.
|
|
60
|
+
version: 7.2.3
|
|
61
61
|
type: :development
|
|
62
62
|
prerelease: false
|
|
63
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
64
64
|
requirements:
|
|
65
65
|
- - "~>"
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: 7.2.
|
|
67
|
+
version: 7.2.3
|
|
68
68
|
- !ruby/object:Gem::Dependency
|
|
69
69
|
name: minitest
|
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -141,7 +141,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
141
141
|
requirements:
|
|
142
142
|
- - ">="
|
|
143
143
|
- !ruby/object:Gem::Version
|
|
144
|
-
version: 3.
|
|
144
|
+
version: 3.3.0
|
|
145
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
146
|
requirements:
|
|
147
147
|
- - ">="
|