rubocop-nosolosoftware 0.5.0 → 0.10.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 +84 -3
- data/README.md +4 -1
- data/rubocop-faker.yml +5 -0
- data/rubocop-layout.yml +4 -0
- data/rubocop-lint.yml +86 -2
- data/rubocop-performance.yml +36 -0
- data/rubocop-rails.yml +60 -0
- data/rubocop-rspec.yml +4 -0
- data/rubocop-style.yml +92 -8
- metadata +27 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07ca8a274841470a96eeb6bd9761984ac584fe6271bd97f580963582d0c202b5
|
4
|
+
data.tar.gz: 839ef10484ba232f3308aa43a838697d6ed522b5c5455a6ae9514086327e86d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9681fc80559d1314aea2139d0098de30a364fcd03a4d5f3685a9c437553113448036bd2d9b7beb1c03a054fb11ef5bc0ae1a089abe88eab21d9d35f53527578f
|
7
|
+
data.tar.gz: 3e936394ba3ea3e92dafb13b79c1a7b703bda9fb46a1861b6620a58dcbcfbbd03cb67476b82c9ce4926ab33945a4326d4ab7d495289dfa765bd4c38b518ef119
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,90 @@ 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
|
+
## 0.10.0 - 2020-11-04
|
9
|
+
### Added
|
10
|
+
- Added new rules introduced in the last version.
|
11
|
+
- Lint/HashCompareByIdentity (0.93)
|
12
|
+
- Lint/RedundantSafeNavigation (0.93)
|
13
|
+
- Style/ClassEqualityComparison (0.93)
|
14
|
+
|
15
|
+
- Added new rules introduced in the last version of rubocop-rspec
|
16
|
+
- RSpec/StubbedMock (1.44)
|
17
|
+
|
18
|
+
### Changed
|
19
|
+
- Bump dependencies
|
20
|
+
|
21
|
+
## 0.9.0 - 2020-09-18
|
22
|
+
### Added
|
23
|
+
- Added new rules introduced in the last version.
|
24
|
+
- Layout/BeginEndAlignment (0.91)
|
25
|
+
- Lint/ConstantDefinitionInBlock (0.91)
|
26
|
+
- Lint/DuplicateRequire (0.90)
|
27
|
+
- Lint/EmptyFile (0.90)
|
28
|
+
- Lint/IdentityComparison (0.91)
|
29
|
+
- Lint/TrailingCommaInAttributeDeclaration (0.90)
|
30
|
+
- Lint/UselessMethodDefinition (0.90)
|
31
|
+
- Lint/UselessTimes (0.91)
|
32
|
+
- Style/CombinableLoops (0.90)
|
33
|
+
- Style/KeywordParametersOrder (0.90)
|
34
|
+
- Style/RedundantSelfAssignment (0.90)
|
35
|
+
- Style/SoleNestedConditional (0.89)
|
36
|
+
- Performance/Sum (1.8)
|
37
|
+
- Rails/AfterCommitOverride (2.8)
|
38
|
+
- Rails/SquishedSQLHeredocs (2.8)
|
39
|
+
- Rails/WhereNot (2.8)
|
40
|
+
|
41
|
+
### Changed
|
42
|
+
- Updated all the extensions.
|
43
|
+
|
44
|
+
## 0.8.0 - 2020-08-07
|
45
|
+
|
46
|
+
### Added
|
47
|
+
- Added new rules introduced in the last version.
|
48
|
+
- Lint/BinaryOperatorWithIdenticalOperands (0.89)
|
49
|
+
- Lint/DuplicateRescueException (0.89)
|
50
|
+
- Lint/EmptyConditionalBody (0.89)
|
51
|
+
- Lint/FloatComparison (0.89)
|
52
|
+
- Lint/MissingSuper (0.89)
|
53
|
+
- Lint/OutOfRangeRegexpRef (0.89)
|
54
|
+
- Lint/SelfAssignment (0.89)
|
55
|
+
- Lint/TopLevelReturnWithArgument (0.89)
|
56
|
+
- Lint/UnreachableLoop (0.89)
|
57
|
+
- Style/ExplicitBlockArgument (0.89)
|
58
|
+
- Style/GlobalStdStream (0.89)
|
59
|
+
- Style/OptionalBooleanParameter (0.89)
|
60
|
+
- Style/SingleArgumentDig (0.89)
|
61
|
+
- Style/StringConcatenation (0.89)
|
62
|
+
|
63
|
+
## 0.7.0 - 2020-08-03
|
64
|
+
|
65
|
+
### Added
|
66
|
+
- Added rubocop-faker as new extension
|
67
|
+
|
68
|
+
### Changed
|
69
|
+
- Updated all the extensions, and configured new rules
|
70
|
+
|
71
|
+
## 0.6.0 - 2020-07-13
|
72
|
+
|
73
|
+
### Added
|
74
|
+
- Added new rules introduced in the last version.
|
75
|
+
- Lint/DeprecatedOpenSSLConstant (0.84)
|
76
|
+
- Lint/MixedRegexpCaptureTypes (0.85)
|
77
|
+
- Style/AccessorGrouping (0.87)
|
78
|
+
- Style/BisectedAttrAccessor (0.87)
|
79
|
+
- Style/RedundantAssignment (0.87)
|
80
|
+
- Style/RedundantFetchBlock (0.86)
|
81
|
+
- Style/RedundantRegexpCharacterClass (0.85)
|
82
|
+
- Style/RedundantRegexpEscape (0.85)
|
83
|
+
- Performance/AncestorsInclude (1.7)
|
84
|
+
- Performance/BigDecimalWithNumericArgument (1.7)
|
85
|
+
- Performance/RedundantSortBlock (1.7)
|
86
|
+
- Performance/RedundantStringChars (1.7)
|
87
|
+
- Performance/ReverseFirst (1.7)
|
88
|
+
- Performance/SortReverse (1.7)
|
89
|
+
- Performance/Squeeze (1.7)
|
90
|
+
- Performance/StringInclude (1.7)
|
91
|
+
|
8
92
|
## 0.5.0 - 2020-07-07
|
9
93
|
|
10
94
|
### Changed
|
@@ -29,6 +113,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
29
113
|
## [0.1.0] - 2019-12-03
|
30
114
|
|
31
115
|
First version of this gem.
|
32
|
-
|
33
|
-
|
34
|
-
This changelog was generated using [ChangeFu](https://github.com/javierav/changefu).
|
data/README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
Common Rubocop config for all our projects.
|
4
4
|
|
5
|
+
Please if you are using `rubocop < 1.0` use the branch [0.x](https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/0.x) and `rubocop-nosolosoftware < 1.0`.
|
5
6
|
|
6
7
|
## Installation
|
7
8
|
|
@@ -44,7 +45,7 @@ inherit_gem:
|
|
44
45
|
- rubocop-rails.yml
|
45
46
|
```
|
46
47
|
|
47
|
-
**Optional Rake and Rspec rules**:
|
48
|
+
**Optional Rake, Faker and Rspec rules**:
|
48
49
|
|
49
50
|
```yaml
|
50
51
|
inherit_gem:
|
@@ -53,6 +54,7 @@ inherit_gem:
|
|
53
54
|
- rubocop-rails.yml
|
54
55
|
- rubocop-rake.yml
|
55
56
|
- rubocop-rspec.yml
|
57
|
+
- rubocop-faker.yml
|
56
58
|
```
|
57
59
|
|
58
60
|
**For Mongoid projects**:
|
@@ -64,6 +66,7 @@ inherit_gem:
|
|
64
66
|
- rubocop-rails.yml
|
65
67
|
- rubocop-rake.yml
|
66
68
|
- rubocop-rspec.yml
|
69
|
+
- rubocop-faker.yml
|
67
70
|
- rubocop-mongoid.yml
|
68
71
|
```
|
69
72
|
|
data/rubocop-faker.yml
ADDED
data/rubocop-layout.yml
CHANGED
@@ -29,3 +29,7 @@ Layout/SpaceAroundEqualsInParameterDefault:
|
|
29
29
|
# https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutspaceinsidehashliteralbraces
|
30
30
|
Layout/SpaceInsideHashLiteralBraces:
|
31
31
|
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,10 +2,94 @@
|
|
2
2
|
## https://rubocop.readthedocs.io/en/latest/cops_lint/
|
3
3
|
#
|
4
4
|
|
5
|
-
# https://docs.rubocop.org/
|
5
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintraiseexception
|
6
6
|
Lint/RaiseException:
|
7
7
|
Enabled: true
|
8
8
|
|
9
|
-
# https://docs.rubocop.org/
|
9
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintstructnewoverride
|
10
10
|
Lint/StructNewOverride:
|
11
11
|
Enabled: true
|
12
|
+
|
13
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintdeprecatedopensslconstant
|
14
|
+
Lint/DeprecatedOpenSSLConstant:
|
15
|
+
Enabled: true
|
16
|
+
|
17
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintmixedregexpcapturetypes
|
18
|
+
Lint/MixedRegexpCaptureTypes:
|
19
|
+
Enabled: true
|
20
|
+
|
21
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicateelsifcondition
|
22
|
+
Lint/DuplicateElsifCondition:
|
23
|
+
Enabled: true
|
24
|
+
|
25
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintbinaryoperatorwithidenticaloperands
|
26
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
27
|
+
Enabled: true
|
28
|
+
|
29
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintduplicaterescueexception
|
30
|
+
Lint/DuplicateRescueException:
|
31
|
+
Enabled: true
|
32
|
+
|
33
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintemptyconditionalbody
|
34
|
+
Lint/EmptyConditionalBody:
|
35
|
+
Enabled: true
|
36
|
+
|
37
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintfloatcomparison
|
38
|
+
Lint/FloatComparison:
|
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:
|
87
|
+
Enabled: true
|
88
|
+
|
89
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#linthashcomparebyidentity
|
90
|
+
Lint/HashCompareByIdentity:
|
91
|
+
Enabled: true
|
92
|
+
|
93
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintredundantsafenavigation
|
94
|
+
Lint/RedundantSafeNavigation:
|
95
|
+
Enabled: true
|
data/rubocop-performance.yml
CHANGED
@@ -3,3 +3,39 @@
|
|
3
3
|
#
|
4
4
|
|
5
5
|
require: rubocop-performance
|
6
|
+
|
7
|
+
# https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performanceancestorsinclude
|
8
|
+
Performance/AncestorsInclude:
|
9
|
+
Enabled: true
|
10
|
+
|
11
|
+
# https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performancebigdecimalwithnumericargument
|
12
|
+
Performance/BigDecimalWithNumericArgument:
|
13
|
+
Enabled: false
|
14
|
+
|
15
|
+
# https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performanceredundantsortblock
|
16
|
+
Performance/RedundantSortBlock:
|
17
|
+
Enabled: true
|
18
|
+
|
19
|
+
# https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performanceredundantstringchars
|
20
|
+
Performance/RedundantStringChars:
|
21
|
+
Enabled: true
|
22
|
+
|
23
|
+
# https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performancereversefirst
|
24
|
+
Performance/ReverseFirst:
|
25
|
+
Enabled: true
|
26
|
+
|
27
|
+
# https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performancesortreverse
|
28
|
+
Performance/SortReverse:
|
29
|
+
Enabled: true
|
30
|
+
|
31
|
+
# https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performancesqueeze
|
32
|
+
Performance/Squeeze:
|
33
|
+
Enabled: true
|
34
|
+
|
35
|
+
# https://docs.rubocop.org/rubocop-performance/1.7/cops_performance.html#performancestringinclude
|
36
|
+
Performance/StringInclude:
|
37
|
+
Enabled: true
|
38
|
+
|
39
|
+
# https://docs.rubocop.org/rubocop-performance/1.8/cops_performance.html#performancesum
|
40
|
+
Performance/Sum:
|
41
|
+
Enabled: true
|
data/rubocop-rails.yml
CHANGED
@@ -49,3 +49,63 @@ Naming/FileName:
|
|
49
49
|
Style/SymbolProc:
|
50
50
|
Exclude:
|
51
51
|
- "**/config/**/*.rb"
|
52
|
+
|
53
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsactiverecordcallbacksorder
|
54
|
+
Rails/ActiveRecordCallbacksOrder:
|
55
|
+
Enabled: true
|
56
|
+
|
57
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsfindbyid
|
58
|
+
Rails/FindById:
|
59
|
+
Enabled: true
|
60
|
+
|
61
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsinquiry
|
62
|
+
Rails/Inquiry:
|
63
|
+
Enabled: true
|
64
|
+
|
65
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsmailername
|
66
|
+
Rails/MailerName:
|
67
|
+
Enabled: true
|
68
|
+
|
69
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsmatchroute
|
70
|
+
Rails/MatchRoute:
|
71
|
+
Enabled: true
|
72
|
+
|
73
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsnegateinclude
|
74
|
+
Rails/NegateInclude:
|
75
|
+
Enabled: true
|
76
|
+
|
77
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railspick
|
78
|
+
Rails/Pluck:
|
79
|
+
Enabled: true
|
80
|
+
|
81
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railspluckinwhere
|
82
|
+
Rails/PluckInWhere:
|
83
|
+
Enabled: true
|
84
|
+
|
85
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsrenderinline
|
86
|
+
Rails/RenderInline:
|
87
|
+
Enabled: true
|
88
|
+
|
89
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsrenderplaintext
|
90
|
+
Rails/RenderPlainText:
|
91
|
+
Enabled: true
|
92
|
+
|
93
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsshorti18n
|
94
|
+
Rails/ShortI18n:
|
95
|
+
Enabled: true
|
96
|
+
|
97
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railswhereexists
|
98
|
+
Rails/WhereExists:
|
99
|
+
Enabled: true
|
100
|
+
|
101
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsaftercommitoverride
|
102
|
+
Rails/AfterCommitOverride:
|
103
|
+
Enabled: true
|
104
|
+
|
105
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railssquishedsqlheredocs
|
106
|
+
Rails/SquishedSQLHeredocs:
|
107
|
+
Enabled: true
|
108
|
+
|
109
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railswherenot
|
110
|
+
Rails/WhereNot:
|
111
|
+
Enabled: true
|
data/rubocop-rspec.yml
CHANGED
data/rubocop-style.yml
CHANGED
@@ -10,34 +10,118 @@ Style/AsciiComments:
|
|
10
10
|
Style/BlockDelimiters:
|
11
11
|
EnforcedStyle: braces_for_chaining
|
12
12
|
|
13
|
-
# https://rubocop.
|
13
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styledocumentation
|
14
14
|
Style/Documentation:
|
15
15
|
Enabled: false
|
16
16
|
|
17
|
-
# https://docs.rubocop.org/
|
17
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleexponentialnotation
|
18
18
|
Style/ExponentialNotation:
|
19
19
|
Enabled: true
|
20
20
|
|
21
|
-
# https://rubocop.
|
21
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylefrozenstringliteralcommetn
|
22
22
|
Style/FrozenStringLiteralComment:
|
23
23
|
Enabled: false
|
24
24
|
|
25
|
-
# https://docs.rubocop.org/
|
25
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylehasheachmethods
|
26
26
|
Style/HashEachMethods:
|
27
27
|
Enabled: true
|
28
28
|
|
29
|
-
# https://docs.rubocop.org/
|
29
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylehashtransformkeys
|
30
30
|
Style/HashTransformKeys:
|
31
31
|
Enabled: true
|
32
32
|
|
33
|
-
# https://docs.rubocop.org/
|
33
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylehashtransformvalues
|
34
34
|
Style/HashTransformValues:
|
35
35
|
Enabled: true
|
36
36
|
|
37
|
-
# https://rubocop.
|
37
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleregexpliteral
|
38
38
|
Style/RegexpLiteral:
|
39
39
|
AllowInnerSlashes: true
|
40
40
|
|
41
|
-
# https://docs.rubocop.org/
|
41
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleslicingwithrange
|
42
42
|
Style/SlicingWithRange:
|
43
43
|
Enabled: true
|
44
|
+
|
45
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleaccessorgrouping
|
46
|
+
Style/AccessorGrouping:
|
47
|
+
Enabled: false
|
48
|
+
|
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
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylearraycoercion
|
70
|
+
Style/ArrayCoercion:
|
71
|
+
Enabled: true
|
72
|
+
|
73
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylecaselikeif
|
74
|
+
Style/CaseLikeIf:
|
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:
|
83
|
+
Enabled: true
|
84
|
+
|
85
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantfileextensioninrequire
|
86
|
+
Style/RedundantFileExtensionInRequire:
|
87
|
+
Enabled: true
|
88
|
+
|
89
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleexplicitblockargument
|
90
|
+
Style/ExplicitBlockArgument:
|
91
|
+
Enabled: true
|
92
|
+
|
93
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleglobalstdstream
|
94
|
+
Style/GlobalStdStream:
|
95
|
+
Enabled: true
|
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
|
104
|
+
|
105
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylestringconcatenation
|
106
|
+
Style/StringConcatenation:
|
107
|
+
Enabled: true
|
108
|
+
|
109
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylecombinableloops
|
110
|
+
Style/CombinableLoops:
|
111
|
+
Enabled: true
|
112
|
+
|
113
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylekeywordparametersorder
|
114
|
+
Style/KeywordParametersOrder:
|
115
|
+
Enabled: true
|
116
|
+
|
117
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantselfassignment
|
118
|
+
Style/RedundantSelfAssignment:
|
119
|
+
Enabled: true
|
120
|
+
|
121
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylesolenestedconditional
|
122
|
+
Style/SoleNestedConditional:
|
123
|
+
Enabled: true
|
124
|
+
|
125
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleclassequalitycomparison
|
126
|
+
Style/ClassEqualityComparison:
|
127
|
+
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: 0.
|
4
|
+
version: 0.10.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-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,42 +16,56 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.93'
|
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: '0.
|
26
|
+
version: '0.93'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rubocop-faker
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.1'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.1'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rubocop-performance
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
45
|
- - "~>"
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
47
|
+
version: '1.8'
|
34
48
|
type: :runtime
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
52
|
- - "~>"
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
54
|
+
version: '1.8'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rubocop-rails
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
59
|
- - "~>"
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: '2.
|
61
|
+
version: '2.8'
|
48
62
|
type: :runtime
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
66
|
- - "~>"
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: '2.
|
68
|
+
version: '2.8'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: rubocop-rake
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +86,14 @@ dependencies:
|
|
72
86
|
requirements:
|
73
87
|
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version: '1.
|
89
|
+
version: '1.44'
|
76
90
|
type: :runtime
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
94
|
- - "~>"
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version: '1.
|
96
|
+
version: '1.44'
|
83
97
|
description: ''
|
84
98
|
email: jaranda@nosolosoftware.es
|
85
99
|
executables: []
|
@@ -94,6 +108,7 @@ files:
|
|
94
108
|
- rubocop-all.yml
|
95
109
|
- rubocop-bundler.yml
|
96
110
|
- rubocop-default.yml
|
111
|
+
- rubocop-faker.yml
|
97
112
|
- rubocop-gemspec.yml
|
98
113
|
- rubocop-layout.yml
|
99
114
|
- rubocop-lint.yml
|
@@ -110,8 +125,8 @@ homepage: https://github.com/nosolosoftware/rubocop-nosolosoftware
|
|
110
125
|
licenses:
|
111
126
|
- MIT
|
112
127
|
metadata:
|
113
|
-
source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v0.
|
114
|
-
changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v0.
|
128
|
+
source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v0.10.0
|
129
|
+
changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v0.10.0/CHANGELOG.md
|
115
130
|
homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
|
116
131
|
post_install_message:
|
117
132
|
rdoc_options:
|