rubocop-nosolosoftware 0.9.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +62 -0
- data/README.md +1 -0
- data/rubocop-layout.yml +0 -12
- data/rubocop-lint.yml +20 -66
- data/rubocop-metrics.yml +14 -0
- data/rubocop-naming.yml +4 -0
- data/rubocop-performance.yml +29 -9
- data/rubocop-rspec.yml +6 -8
- data/rubocop-style.yml +23 -80
- metadata +13 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc810e1d9062199b0c0b36a25525b303e8858fbad3a9171dd8c2d4bfa8be1c01
|
4
|
+
data.tar.gz: c6de1928007bec97e01cb1877174ad501e2b79c39771d3932c8e95dc8c7c5c9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '078c0c3e9c70626d552a0bb37352f7ca0b7ec278829f62ca7782ee42b5a2bc2cf88c3bd09d0f9d2524302e532e9469d220a6f405c122b00fb48faad71fd3a8e8'
|
7
|
+
data.tar.gz: 3171eb2a61170ca41b00cc2ceace94e779fa590dd850c246ecd086ef268c153c22d2b65852e4d642c33dccf4af0ecaa1064d8beaa63233d636af5cde14a37aba
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,68 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## 1.3.0 - 2020-11-25
|
9
|
+
### Added
|
10
|
+
- Added new rules introduced in the last version.
|
11
|
+
- rubocop
|
12
|
+
- Style/RedundantArgument (1.4)
|
13
|
+
- rubocop-performance
|
14
|
+
- Performance/ArraySemiInfiniteRangeSlice (1.9)
|
15
|
+
- Performance/BlockGivenWithExplicitBlock (1.9)
|
16
|
+
- Performance/CollectionLiteralInLoop (1.8)
|
17
|
+
- Performance/ConstantRegexp (1.9)
|
18
|
+
- Performance/MethodObjectAsBlock (1.9)
|
19
|
+
|
20
|
+
## 1.2.0 - 2020-11-13
|
21
|
+
### Added
|
22
|
+
- Added new rules introduced in the last version.
|
23
|
+
- Lint/DuplicateBranch (1.3)
|
24
|
+
- Lint/EmptyClass (1.3)
|
25
|
+
- Style/NilLambda (1.3)
|
26
|
+
|
27
|
+
## 1.1.0 - 2020-11-13
|
28
|
+
### Added
|
29
|
+
- Added new rules introduced in the last version.
|
30
|
+
- Lint/NoReturnInBeginEndBlocks (1.2)
|
31
|
+
- Style/CollectionCompact (1.2)
|
32
|
+
- Style/NegatedIfElseCondition (1.2)
|
33
|
+
|
34
|
+
### Changed
|
35
|
+
- Changed Naming/VariableNumber to start using snake_case
|
36
|
+
|
37
|
+
## 1.0.0 - 2020-11-04
|
38
|
+
### Added
|
39
|
+
- Added new rules introduced in the last version.
|
40
|
+
- Lint/DuplicateRegexpCharacterClassElement (1.1)
|
41
|
+
- Lint/EmptyBlock (1.1)
|
42
|
+
- Lint/ToEnumArguments (1.1)
|
43
|
+
- Lint/UnmodifiedReduceAccumulator (1.1)
|
44
|
+
- Style/ArgumentsForwarding (1.1)
|
45
|
+
- Style/DocumentDynamicEvalDefinition (1.1)
|
46
|
+
- Style/SwapValues (1.1)
|
47
|
+
- Added new rules introduced in the last version of rubocop-rspec
|
48
|
+
- RSpec/Rails/HttpStatus (2.pre)
|
49
|
+
|
50
|
+
### Changed
|
51
|
+
- Removed shared enabled rules with rubocop 1.0
|
52
|
+
- Bump dependencies (rubocop 1.0 and rubocop-rspec 2.pre)
|
53
|
+
- Bump ruby version to use `...`
|
54
|
+
- Reordered some rules following the convention of namespace/file.
|
55
|
+
|
56
|
+
|
57
|
+
## 0.10.0 - 2020-11-04
|
58
|
+
### Added
|
59
|
+
- Added new rules introduced in the last version.
|
60
|
+
- Lint/HashCompareByIdentity (0.93)
|
61
|
+
- Lint/RedundantSafeNavigation (0.93)
|
62
|
+
- Style/ClassEqualityComparison (0.93)
|
63
|
+
|
64
|
+
- Added new rules introduced in the last version of rubocop-rspec
|
65
|
+
- RSpec/StubbedMock (1.44)
|
66
|
+
|
67
|
+
### Changed
|
68
|
+
- Bump dependencies
|
69
|
+
|
8
70
|
## 0.9.0 - 2020-09-18
|
9
71
|
### Added
|
10
72
|
- Added new rules introduced in the last version.
|
data/README.md
CHANGED
data/rubocop-layout.yml
CHANGED
@@ -2,14 +2,6 @@
|
|
2
2
|
## https://rubocop.readthedocs.io/en/latest/cops_layout/
|
3
3
|
#
|
4
4
|
|
5
|
-
# https://docs.rubocop.org/en/stable/cops_layout/#layoutemptylinesaroundattributeaccessor
|
6
|
-
Layout/EmptyLinesAroundAttributeAccessor:
|
7
|
-
Enabled: true
|
8
|
-
|
9
|
-
# https://docs.rubocop.org/en/stable/cops_layout/#layoutspacearoundmethodcalloperator
|
10
|
-
Layout/SpaceAroundMethodCallOperator:
|
11
|
-
Enabled: true
|
12
|
-
|
13
5
|
# https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutfirstarrayelementindentation
|
14
6
|
Layout/FirstArrayElementIndentation:
|
15
7
|
EnforcedStyle: consistent
|
@@ -29,7 +21,3 @@ Layout/SpaceAroundEqualsInParameterDefault:
|
|
29
21
|
# https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutspaceinsidehashliteralbraces
|
30
22
|
Layout/SpaceInsideHashLiteralBraces:
|
31
23
|
EnforcedStyle: no_space
|
32
|
-
|
33
|
-
# https://docs.rubocop.org/rubocop/cops_layout.html#layoutbeginendalignment
|
34
|
-
Layout/BeginEndAlignment:
|
35
|
-
Enabled: true
|
data/rubocop-lint.yml
CHANGED
@@ -2,86 +2,40 @@
|
|
2
2
|
## https://rubocop.readthedocs.io/en/latest/cops_lint/
|
3
3
|
#
|
4
4
|
|
5
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#
|
6
|
-
Lint/
|
5
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicateregexpcharacterclasselement
|
6
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
7
7
|
Enabled: true
|
8
8
|
|
9
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#
|
10
|
-
Lint/
|
9
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintemptyblock
|
10
|
+
Lint/EmptyBlock:
|
11
11
|
Enabled: true
|
12
|
+
Exclude:
|
13
|
+
- "**/spec/factories/**/*.rb"
|
12
14
|
|
13
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#
|
14
|
-
Lint/
|
15
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#linttoenumarguments
|
16
|
+
Lint/ToEnumArguments:
|
15
17
|
Enabled: true
|
16
18
|
|
17
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#
|
18
|
-
Lint/
|
19
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintunmodifiedreduceaccumulator
|
20
|
+
Lint/UnmodifiedReduceAccumulator:
|
19
21
|
Enabled: true
|
20
22
|
|
21
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#
|
22
|
-
Lint/
|
23
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#linthashcomparebyidentity
|
24
|
+
Lint/HashCompareByIdentity:
|
23
25
|
Enabled: true
|
24
26
|
|
25
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#
|
26
|
-
Lint/
|
27
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintredundantsafenavigation
|
28
|
+
Lint/RedundantSafeNavigation:
|
27
29
|
Enabled: true
|
28
30
|
|
29
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#
|
30
|
-
Lint/
|
31
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintnoreturninbeginendblocks
|
32
|
+
Lint/NoReturnInBeginEndBlocks:
|
31
33
|
Enabled: true
|
32
34
|
|
33
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#
|
34
|
-
Lint/
|
35
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicatebranch
|
36
|
+
Lint/DuplicateBranch:
|
35
37
|
Enabled: true
|
36
38
|
|
37
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#
|
38
|
-
Lint/
|
39
|
-
Enabled: true
|
40
|
-
|
41
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#lintoutofrangeregexpref
|
42
|
-
Lint/OutOfRangeRegexpRef:
|
43
|
-
Enabled: true
|
44
|
-
|
45
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#lintselfassignment
|
46
|
-
Lint/SelfAssignment:
|
47
|
-
Enabled: true
|
48
|
-
|
49
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#linttoplevelreturnwithargument
|
50
|
-
Lint/TopLevelReturnWithArgument:
|
51
|
-
Enabled: true
|
52
|
-
|
53
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#lintunreachableloop
|
54
|
-
Lint/UnreachableLoop:
|
55
|
-
Enabled: true
|
56
|
-
|
57
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#lintmissingsuper
|
58
|
-
Lint/MissingSuper:
|
59
|
-
Enabled: true
|
60
|
-
|
61
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#lintconstantdefinitioninblock
|
62
|
-
Lint/ConstantDefinitionInBlock:
|
63
|
-
Enabled: true
|
64
|
-
|
65
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicaterequire
|
66
|
-
Lint/DuplicateRequire:
|
67
|
-
Enabled: true
|
68
|
-
|
69
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#lintemptyfile
|
70
|
-
Lint/EmptyFile:
|
71
|
-
Enabled: true
|
72
|
-
|
73
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#lintidentitycomparison
|
74
|
-
Lint/IdentityComparison:
|
75
|
-
Enabled: true
|
76
|
-
|
77
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#linttrailingcommainattributedeclaration
|
78
|
-
Lint/TrailingCommaInAttributeDeclaration:
|
79
|
-
Enabled: true
|
80
|
-
|
81
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#lintuselessmethoddefinition
|
82
|
-
Lint/UselessMethodDefinition:
|
83
|
-
Enabled: true
|
84
|
-
|
85
|
-
# https://docs.rubocop.org/rubocop/cops_lint.html#lintuselesstimes
|
86
|
-
Lint/UselessTimes:
|
39
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintemptyclass
|
40
|
+
Lint/EmptyClass:
|
87
41
|
Enabled: true
|
data/rubocop-metrics.yml
CHANGED
@@ -13,3 +13,17 @@ Metrics/ClassLength:
|
|
13
13
|
# https://rubocop.readthedocs.io/en/latest/cops_metrics/#metricsmethodlength
|
14
14
|
Metrics/MethodLength:
|
15
15
|
Enabled: false
|
16
|
+
|
17
|
+
# https://rubocop.readthedocs.io/en/latest/cops_metrics/#metricsmodulelength
|
18
|
+
Metrics/ModuleLength:
|
19
|
+
Exclude:
|
20
|
+
- "**/config/routes.rb"
|
21
|
+
- "**/spec/**/*.rb"
|
22
|
+
|
23
|
+
# https://rubocop.readthedocs.io/en/latest/cops_metrics/#blocklength
|
24
|
+
Metrics/BlockLength:
|
25
|
+
Exclude:
|
26
|
+
- "**/spec/**/*.rb"
|
27
|
+
- "**/config/environments/*.rb"
|
28
|
+
- "**/config/routes.rb"
|
29
|
+
- "**/lib/tasks/auto_annotate_models.rake"
|
data/rubocop-naming.yml
CHANGED
data/rubocop-performance.yml
CHANGED
@@ -4,38 +4,58 @@
|
|
4
4
|
|
5
5
|
require: rubocop-performance
|
6
6
|
|
7
|
-
# https://docs.rubocop.org/rubocop-performance/
|
7
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceancestorsinclude
|
8
8
|
Performance/AncestorsInclude:
|
9
9
|
Enabled: true
|
10
10
|
|
11
|
-
# https://docs.rubocop.org/rubocop-performance/
|
11
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancebigdecimalwithnumericargument
|
12
12
|
Performance/BigDecimalWithNumericArgument:
|
13
13
|
Enabled: false
|
14
14
|
|
15
|
-
# https://docs.rubocop.org/rubocop-performance/
|
15
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceredundantsortblock
|
16
16
|
Performance/RedundantSortBlock:
|
17
17
|
Enabled: true
|
18
18
|
|
19
|
-
# https://docs.rubocop.org/rubocop-performance/
|
19
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceredundantstringchars
|
20
20
|
Performance/RedundantStringChars:
|
21
21
|
Enabled: true
|
22
22
|
|
23
|
-
# https://docs.rubocop.org/rubocop-performance/
|
23
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancereversefirst
|
24
24
|
Performance/ReverseFirst:
|
25
25
|
Enabled: true
|
26
26
|
|
27
|
-
# https://docs.rubocop.org/rubocop-performance/
|
27
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancesortreverse
|
28
28
|
Performance/SortReverse:
|
29
29
|
Enabled: true
|
30
30
|
|
31
|
-
# https://docs.rubocop.org/rubocop-performance/
|
31
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancesqueeze
|
32
32
|
Performance/Squeeze:
|
33
33
|
Enabled: true
|
34
34
|
|
35
|
-
# https://docs.rubocop.org/rubocop-performance/
|
35
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancestringinclude
|
36
36
|
Performance/StringInclude:
|
37
37
|
Enabled: true
|
38
38
|
|
39
|
-
# https://docs.rubocop.org/rubocop-performance/
|
39
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancesum
|
40
40
|
Performance/Sum:
|
41
41
|
Enabled: true
|
42
|
+
|
43
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancearraysemiinfiniterangeslice
|
44
|
+
Performance/ArraySemiInfiniteRangeSlice:
|
45
|
+
Enabled: true
|
46
|
+
|
47
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceblockgivenwithexplicitblock
|
48
|
+
Performance/BlockGivenWithExplicitBlock:
|
49
|
+
Enabled: true
|
50
|
+
|
51
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancecollectionliteralinloop
|
52
|
+
Performance/CollectionLiteralInLoop:
|
53
|
+
Enabled: true
|
54
|
+
|
55
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceconstantregexp
|
56
|
+
Performance/ConstantRegexp:
|
57
|
+
Enabled: true
|
58
|
+
|
59
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancemethodobjectasblock
|
60
|
+
Performance/MethodObjectAsBlock:
|
61
|
+
Enabled: true
|
data/rubocop-rspec.yml
CHANGED
@@ -38,12 +38,10 @@ RSpec/MultipleExpectations:
|
|
38
38
|
RSpec/NestedGroups:
|
39
39
|
Max: 5
|
40
40
|
|
41
|
-
# https://rubocop.
|
42
|
-
|
43
|
-
|
44
|
-
- "**/spec/**/*.rb"
|
41
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecstubbedmock
|
42
|
+
RSpec/StubbedMock:
|
43
|
+
Enabled: true
|
45
44
|
|
46
|
-
# https://rubocop.
|
47
|
-
|
48
|
-
|
49
|
-
- "**/spec/**/*.rb"
|
45
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rails.html#railshttpstatus
|
46
|
+
RSpec/Rails/HttpStatus:
|
47
|
+
EnforcedStyle: numeric
|
data/rubocop-style.yml
CHANGED
@@ -9,115 +9,58 @@ Style/AsciiComments:
|
|
9
9
|
# https://rubocop.readthedocs.io/en/latest/cops_style/#styleblockdelimiters
|
10
10
|
Style/BlockDelimiters:
|
11
11
|
EnforcedStyle: braces_for_chaining
|
12
|
+
Exclude:
|
13
|
+
- "**/spec/**/*.rb"
|
12
14
|
|
13
15
|
# https://docs.rubocop.org/rubocop/cops_style.html#styledocumentation
|
14
16
|
Style/Documentation:
|
15
17
|
Enabled: false
|
16
18
|
|
17
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#styleexponentialnotation
|
18
|
-
Style/ExponentialNotation:
|
19
|
-
Enabled: true
|
20
|
-
|
21
19
|
# https://docs.rubocop.org/rubocop/cops_style.html#stylefrozenstringliteralcommetn
|
22
20
|
Style/FrozenStringLiteralComment:
|
23
21
|
Enabled: false
|
24
22
|
|
25
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#stylehasheachmethods
|
26
|
-
Style/HashEachMethods:
|
27
|
-
Enabled: true
|
28
|
-
|
29
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#stylehashtransformkeys
|
30
|
-
Style/HashTransformKeys:
|
31
|
-
Enabled: true
|
32
|
-
|
33
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#stylehashtransformvalues
|
34
|
-
Style/HashTransformValues:
|
35
|
-
Enabled: true
|
36
|
-
|
37
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#styleregexpliteral
|
38
|
-
Style/RegexpLiteral:
|
39
|
-
AllowInnerSlashes: true
|
40
|
-
|
41
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#styleslicingwithrange
|
42
|
-
Style/SlicingWithRange:
|
43
|
-
Enabled: true
|
44
|
-
|
45
23
|
# https://docs.rubocop.org/rubocop/cops_style.html#styleaccessorgrouping
|
46
24
|
Style/AccessorGrouping:
|
47
25
|
Enabled: false
|
48
26
|
|
49
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#stylebisectedattraccessor
|
50
|
-
Style/BisectedAttrAccessor:
|
51
|
-
Enabled: true
|
52
|
-
|
53
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantassignment
|
54
|
-
Style/RedundantAssignment:
|
55
|
-
Enabled: true
|
56
|
-
|
57
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantfetchblock
|
58
|
-
Style/RedundantFetchBlock:
|
59
|
-
Enabled: true
|
60
|
-
|
61
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantregexpcharacterclass
|
62
|
-
Style/RedundantRegexpCharacterClass:
|
63
|
-
Enabled: true
|
64
|
-
|
65
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantregexpescape
|
66
|
-
Style/RedundantRegexpEscape:
|
67
|
-
Enabled: true
|
68
|
-
|
69
27
|
# https://docs.rubocop.org/rubocop/cops_style.html#stylearraycoercion
|
70
28
|
Style/ArrayCoercion:
|
71
29
|
Enabled: true
|
72
30
|
|
73
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#
|
74
|
-
Style/
|
75
|
-
Enabled: true
|
76
|
-
|
77
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#stylehashaslastarrayitem
|
78
|
-
Style/HashAsLastArrayItem:
|
79
|
-
Enabled: true
|
80
|
-
|
81
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#stylehashlikecase
|
82
|
-
Style/HashLikeCase:
|
31
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleargumentsforwarding
|
32
|
+
Style/ArgumentsForwarding:
|
83
33
|
Enabled: true
|
84
34
|
|
85
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#
|
86
|
-
Style/
|
35
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styledocumentdynamicevaldefinition
|
36
|
+
Style/DocumentDynamicEvalDefinition:
|
87
37
|
Enabled: true
|
88
38
|
|
89
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#
|
90
|
-
Style/
|
39
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleswapvalues
|
40
|
+
Style/SwapValues:
|
91
41
|
Enabled: true
|
92
42
|
|
93
|
-
# https://
|
94
|
-
Style/
|
95
|
-
|
96
|
-
|
97
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#styleoptionalbooleanparameter
|
98
|
-
Style/OptionalBooleanParameter:
|
99
|
-
Enabled: true
|
100
|
-
|
101
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#stylesingleargumentdig
|
102
|
-
Style/SingleArgumentDig:
|
103
|
-
Enabled: true
|
43
|
+
# https://rubocop.readthedocs.io/en/latest/cops_style/#styleblockcomments
|
44
|
+
Style/BlockComments:
|
45
|
+
Exclude:
|
46
|
+
- "**/spec/**/*.rb"
|
104
47
|
|
105
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#
|
106
|
-
Style/
|
107
|
-
|
48
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleregexpliteral
|
49
|
+
Style/RegexpLiteral:
|
50
|
+
AllowInnerSlashes: true
|
108
51
|
|
109
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#
|
110
|
-
Style/
|
52
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylecollectioncompact
|
53
|
+
Style/CollectionCompact:
|
111
54
|
Enabled: true
|
112
55
|
|
113
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#
|
114
|
-
Style/
|
56
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylenegatedifelsecondition
|
57
|
+
Style/NegatedIfElseCondition:
|
115
58
|
Enabled: true
|
116
59
|
|
117
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#
|
118
|
-
Style/
|
60
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylenillambda
|
61
|
+
Style/NilLambda:
|
119
62
|
Enabled: true
|
120
63
|
|
121
|
-
# https://docs.rubocop.org/rubocop/cops_style.html#
|
122
|
-
Style/
|
64
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantargument
|
65
|
+
Style/RedundantArgument:
|
123
66
|
Enabled: true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-nosolosoftware
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Aranda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '1.4'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '1.4'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-faker
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
47
|
+
version: '1.9'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '1.
|
54
|
+
version: '1.9'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-rails
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 2.pre
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 2.pre
|
97
97
|
description: ''
|
98
98
|
email: jaranda@nosolosoftware.es
|
99
99
|
executables: []
|
@@ -125,8 +125,8 @@ homepage: https://github.com/nosolosoftware/rubocop-nosolosoftware
|
|
125
125
|
licenses:
|
126
126
|
- MIT
|
127
127
|
metadata:
|
128
|
-
source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/
|
129
|
-
changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/
|
128
|
+
source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v1.3.0
|
129
|
+
changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.3.0/CHANGELOG.md
|
130
130
|
homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
|
131
131
|
post_install_message:
|
132
132
|
rdoc_options:
|
@@ -137,14 +137,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
137
137
|
requirements:
|
138
138
|
- - ">="
|
139
139
|
- !ruby/object:Gem::Version
|
140
|
-
version: 2.
|
140
|
+
version: 2.7.0
|
141
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
|
-
|
147
|
+
rubyforge_project:
|
148
|
+
rubygems_version: 2.7.6.2
|
148
149
|
signing_key:
|
149
150
|
specification_version: 4
|
150
151
|
summary: Default Rubocop configuration used in NoSoloSoftware developments
|