rubocop-nosolosoftware 1.11.0 → 1.14.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 +40 -0
- data/rubocop-gemspec.yml +4 -0
- data/rubocop-lint.yml +8 -0
- data/rubocop-naming.yml +5 -0
- data/rubocop-performance.yml +4 -0
- data/rubocop-rails.yml +20 -0
- data/rubocop-rspec.yml +12 -0
- data/rubocop-security.yml +4 -0
- data/rubocop-style.yml +28 -0
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d35ce659881527a33d0f730913200c20c64df4f7e7953ef6c647a79662410fc8
|
4
|
+
data.tar.gz: 81e1d90469a5f721f6a8d1ca571fc65b0b8537cc25acbb043856313e83cec238
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61757e1318a3fad6627e4d092263cee7c7ca5873c064d0d70be0a4eaef5c9234d0671d32a93b7178c6908e20c305dc944e243e95c20d7389e6d4fc3de8718bc7
|
7
|
+
data.tar.gz: 438dd2e9bd99a85861b3071c9120ff3777d57bfe4fbcfe5ce2c001f3d1de66ba8391625d68d598b04e36da861b65852769091de03cc9025afbc754a3724840f8
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,46 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
7
7
|
|
8
8
|
The following rules have been added:
|
9
9
|
|
10
|
+
## 1.14.0 - 2022-03-04
|
11
|
+
- Added new rules
|
12
|
+
- rubocop-rails
|
13
|
+
- Rails/CompactBlank (2.13)
|
14
|
+
- rubocop-performance
|
15
|
+
- Performance/StringIdentifierArgument (1.13)
|
16
|
+
- rubocop-rspec
|
17
|
+
- RSpec/BeEq (2.9)
|
18
|
+
- RSpec/BeNil (2.9)
|
19
|
+
|
20
|
+
## 1.13.0 - 2022-02-25
|
21
|
+
- Added new rules
|
22
|
+
- rubocop
|
23
|
+
- Lint/UselessRuby2Keywords (1.23)
|
24
|
+
- Style/OpenStructUse (1.23)
|
25
|
+
- Gemspec/RequireMFA (1.23)
|
26
|
+
- Naming/BlockForwarding (1.24)
|
27
|
+
- Style/MapToHash (1.24)
|
28
|
+
- Style/FileRead (1.24)
|
29
|
+
- Style/FileWrite (1.24)
|
30
|
+
- rubocop-rails
|
31
|
+
- Rails/RootJoinChain (2.13)
|
32
|
+
- Rails/DurationArithmetic (2.13)
|
33
|
+
- Rails/RedundantPresenceValidationOnBelongsTo (2.13)
|
34
|
+
- Rails/SchemaComment (2.13)
|
35
|
+
- rubocop-rspec
|
36
|
+
- RSpec/FactoryBot/SyntaxMethods (2.7.0)
|
37
|
+
|
38
|
+
## 1.12.1 - 2021-10-13
|
39
|
+
- No new changes. Previous gem was yanked.
|
40
|
+
|
41
|
+
## 1.12.0 - 2021-10-13
|
42
|
+
- Added new rules
|
43
|
+
- rubocop
|
44
|
+
- Lint/RequireRelativeSelfPath (1.22)
|
45
|
+
- Security/IoMethods (1.22)
|
46
|
+
- Style/NumberedParameters (1.22)
|
47
|
+
- Style/NumberedParametersLimit (1.22)
|
48
|
+
- Style/SelectByRegexp (1.22)
|
49
|
+
|
10
50
|
## 1.11.0 - 2021-09-28
|
11
51
|
- Added new rules
|
12
52
|
- rubocop
|
data/rubocop-gemspec.yml
CHANGED
data/rubocop-lint.yml
CHANGED
@@ -91,3 +91,11 @@ Lint/AmbiguousOperatorPrecedence:
|
|
91
91
|
# https://docs.rubocop.org/rubocop/cops_lint.html#lintincompatibleioselectwithfiberscheduler
|
92
92
|
Lint/IncompatibleIoSelectWithFiberScheduler:
|
93
93
|
Enabled: true
|
94
|
+
|
95
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintrequirerelativeselfpath
|
96
|
+
Lint/RequireRelativeSelfPath:
|
97
|
+
Enabled: true
|
98
|
+
|
99
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintuselessruby2keywords
|
100
|
+
Lint/UselessRuby2Keywords:
|
101
|
+
Enabled: true
|
data/rubocop-naming.yml
CHANGED
@@ -9,3 +9,8 @@ Naming/VariableNumber:
|
|
9
9
|
# https://docs.rubocop.org/rubocop/cops_naming.html#naminginclusivelanguage
|
10
10
|
Naming/InclusiveLanguage:
|
11
11
|
Enabled: false
|
12
|
+
|
13
|
+
# https://docs.rubocop.org/rubocop/cops_naming.html#namingblockforwarding
|
14
|
+
Naming/BlockForwarding:
|
15
|
+
Enabled: true
|
16
|
+
EnforcedStyle: explicit
|
data/rubocop-performance.yml
CHANGED
@@ -71,3 +71,7 @@ Performance/RedundantEqualityComparisonBlock:
|
|
71
71
|
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performanceredundantsplitregexpargument
|
72
72
|
Performance/RedundantSplitRegexpArgument:
|
73
73
|
Enabled: true
|
74
|
+
|
75
|
+
# https://docs.rubocop.org/rubocop-performance/cops_performance.html#performancestringidentifierargument
|
76
|
+
Performance/StringIdentifierArgument:
|
77
|
+
Enabled: true
|
data/rubocop-rails.yml
CHANGED
@@ -149,3 +149,23 @@ Rails/EagerEvaluationLogMessage:
|
|
149
149
|
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsredundanttravelback
|
150
150
|
Rails/RedundantTravelBack:
|
151
151
|
Enabled: true
|
152
|
+
|
153
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsrootjoinchain
|
154
|
+
Rails/RootJoinChain:
|
155
|
+
Enabled: true
|
156
|
+
|
157
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsdurationarithmetic
|
158
|
+
Rails/DurationArithmetic:
|
159
|
+
Enabled: true
|
160
|
+
|
161
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsredundantpresencevalidationonbelongsto
|
162
|
+
Rails/RedundantPresenceValidationOnBelongsTo:
|
163
|
+
Enabled: true
|
164
|
+
|
165
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsschemacomment
|
166
|
+
Rails/SchemaComment:
|
167
|
+
Enabled: false
|
168
|
+
|
169
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railscompactblank
|
170
|
+
Rails/CompactBlank:
|
171
|
+
Enabled: true
|
data/rubocop-rspec.yml
CHANGED
@@ -61,3 +61,15 @@ RSpec/ExcessiveDocstringSpacing:
|
|
61
61
|
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecsubjectdeclaration
|
62
62
|
RSpec/SubjectDeclaration:
|
63
63
|
Enabled: true
|
64
|
+
|
65
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec_factorybot.html#rspecfactorybotsyntaxmethods
|
66
|
+
RSpec/FactoryBot/SyntaxMethods:
|
67
|
+
Enabled: true
|
68
|
+
|
69
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecbeeq
|
70
|
+
RSpec/BeEq:
|
71
|
+
Enabled: true
|
72
|
+
|
73
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecbenil
|
74
|
+
RSpec/BeNil:
|
75
|
+
Enabled: true
|
data/rubocop-security.yml
CHANGED
data/rubocop-style.yml
CHANGED
@@ -100,3 +100,31 @@ Style/StringChars:
|
|
100
100
|
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantselfassignmentbranch
|
101
101
|
Style/RedundantSelfAssignmentBranch:
|
102
102
|
Enabled: true
|
103
|
+
|
104
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylenumberedparameters
|
105
|
+
Style/NumberedParameters:
|
106
|
+
Enabled: true
|
107
|
+
|
108
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylenumberedparameterslimit
|
109
|
+
Style/NumberedParametersLimit:
|
110
|
+
Enabled: true
|
111
|
+
|
112
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleselectbyregexp
|
113
|
+
Style/SelectByRegexp:
|
114
|
+
Enabled: true
|
115
|
+
|
116
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleopenstructuse
|
117
|
+
Style/OpenStructUse:
|
118
|
+
Enabled: true
|
119
|
+
|
120
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylemaptohash
|
121
|
+
Style/MapToHash:
|
122
|
+
Enabled: true
|
123
|
+
|
124
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylefileread
|
125
|
+
Style/FileRead:
|
126
|
+
Enabled: true
|
127
|
+
|
128
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#stylefilewrite
|
129
|
+
Style/FileWrite:
|
130
|
+
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: 1.
|
4
|
+
version: 1.14.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:
|
11
|
+
date: 2022-03-07 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: '1.
|
19
|
+
version: '1.25'
|
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: '1.
|
26
|
+
version: '1.25'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-faker
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 1.13.2
|
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:
|
54
|
+
version: 1.13.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-rails
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 2.13.2
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 2.13.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '2.
|
89
|
+
version: '2.9'
|
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: '2.
|
96
|
+
version: '2.9'
|
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/v1.
|
129
|
-
changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.
|
128
|
+
source_code_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/tree/v1.14.0
|
129
|
+
changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.14.0/CHANGELOG.md
|
130
130
|
homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
|
131
131
|
post_install_message:
|
132
132
|
rdoc_options:
|
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
|
-
rubygems_version: 3.
|
147
|
+
rubygems_version: 3.2.3
|
148
148
|
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: Default Rubocop configuration used in NoSoloSoftware developments
|