rubocop-nosolosoftware 1.8.0 → 1.11.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 +34 -0
- data/rubocop-layout.yml +0 -4
- data/rubocop-lint.yml +12 -0
- data/rubocop-metrics.yml +2 -0
- data/rubocop-rails.yml +4 -0
- data/rubocop-rspec.yml +8 -0
- data/rubocop-style.yml +4 -0
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2bf5c36ad4f65941592474e0fe8d0de4ce673142046099bf4b8534c24f2b76c
|
4
|
+
data.tar.gz: 1972288cb3057277820d1b7bade5b822e98f544a87f819522408160d010f9248
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f968600d2298212a11670e1609ec7fdb87ee99d8938738ecc0d4c4b1c1a2b22fba05ab93d71973edbe18bc4b572827e1c32e632d6dcb827aaef7700ee0fed82e
|
7
|
+
data.tar.gz: 78d731ed574a68ccc2a4c9f983d575d79c7b584700133cd8c343ffa8d524661cdae6542409ac40e3e028a175c312371abe12c6c90f62a0e1c408b3a02b685457
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,40 @@ 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.11.0 - 2021-09-28
|
11
|
+
- Added new rules
|
12
|
+
- rubocop
|
13
|
+
- Lint/AmbiguousOperatorPrecedence (1.21)
|
14
|
+
- Lint/IncompatibleIoSelectWithFiberScheduler (1.21)
|
15
|
+
- rubocop-rails
|
16
|
+
- Rails/RedundantTravelBack (2.12)
|
17
|
+
- rubocop-rspec
|
18
|
+
- RSpec/ExcessiveDocstringSpacing (2.5)
|
19
|
+
- RSpec/SubjectDeclaration (2.5)
|
20
|
+
|
21
|
+
### Changed
|
22
|
+
- Updated dependency rubocop to 1.21
|
23
|
+
- Updated dependency rubocop-rails to 2.12
|
24
|
+
- Updated dependency rubocop-rspec to 2.5
|
25
|
+
|
26
|
+
## 1.10.0 - 2021-08-25
|
27
|
+
### Changed
|
28
|
+
- Layout/SpaceAroundEqualsInParameterDefault has been changed to the default value (aka space)
|
29
|
+
|
30
|
+
## 1.9.0 - 2021-08-18
|
31
|
+
- Added new rules introduced in the 1.19 version.
|
32
|
+
- rubocop
|
33
|
+
- Lint/AmbiguousRange
|
34
|
+
- Style/RedundantSelfAssignmentBranch
|
35
|
+
|
36
|
+
### Changed
|
37
|
+
- Updated dependency rubocop to 1.19
|
38
|
+
|
39
|
+
## 1.8.1 - 2021-07-26
|
40
|
+
|
41
|
+
### Changed
|
42
|
+
- `config/routes/` directory should have the same rules as `config/routes.rb`
|
43
|
+
|
10
44
|
## 1.8.0 - 2021-06-29
|
11
45
|
- Added new rules introduced in the last version.
|
12
46
|
- rubocop
|
data/rubocop-layout.yml
CHANGED
@@ -14,10 +14,6 @@ Layout/LineLength:
|
|
14
14
|
Layout/MultilineMethodCallIndentation:
|
15
15
|
EnforcedStyle: indented_relative_to_receiver
|
16
16
|
|
17
|
-
# https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutspacearoundequalsinparameterdefault
|
18
|
-
Layout/SpaceAroundEqualsInParameterDefault:
|
19
|
-
EnforcedStyle: no_space
|
20
|
-
|
21
17
|
# https://rubocop.readthedocs.io/en/latest/cops_layout/#layoutspaceinsidehashliteralbraces
|
22
18
|
Layout/SpaceInsideHashLiteralBraces:
|
23
19
|
EnforcedStyle: no_space
|
data/rubocop-lint.yml
CHANGED
@@ -79,3 +79,15 @@ Lint/TripleQuotes:
|
|
79
79
|
# https://docs.rubocop.org/rubocop/cops_lint.html#lintemptyinpattern
|
80
80
|
Lint/EmptyInPattern:
|
81
81
|
Enabled: true
|
82
|
+
|
83
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintambiguousrange
|
84
|
+
Lint/AmbiguousRange:
|
85
|
+
Enabled: false
|
86
|
+
|
87
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintambiguousoperatorprecedence
|
88
|
+
Lint/AmbiguousOperatorPrecedence:
|
89
|
+
Enabled: true
|
90
|
+
|
91
|
+
# https://docs.rubocop.org/rubocop/cops_lint.html#lintincompatibleioselectwithfiberscheduler
|
92
|
+
Lint/IncompatibleIoSelectWithFiberScheduler:
|
93
|
+
Enabled: true
|
data/rubocop-metrics.yml
CHANGED
@@ -18,6 +18,7 @@ Metrics/MethodLength:
|
|
18
18
|
Metrics/ModuleLength:
|
19
19
|
Exclude:
|
20
20
|
- "**/config/routes.rb"
|
21
|
+
- "**/config/routes/**/*.rb"
|
21
22
|
- "**/spec/**/*.rb"
|
22
23
|
|
23
24
|
# https://rubocop.readthedocs.io/en/latest/cops_metrics/#blocklength
|
@@ -26,4 +27,5 @@ Metrics/BlockLength:
|
|
26
27
|
- "**/spec/**/*.rb"
|
27
28
|
- "**/config/environments/*.rb"
|
28
29
|
- "**/config/routes.rb"
|
30
|
+
- "**/config/routes/**/*.rb"
|
29
31
|
- "**/lib/tasks/auto_annotate_models.rake"
|
data/rubocop-rails.yml
CHANGED
@@ -145,3 +145,7 @@ Rails/UnusedIgnoredColumns:
|
|
145
145
|
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railseagerevaluationlogmessage
|
146
146
|
Rails/EagerEvaluationLogMessage:
|
147
147
|
Enabled: true
|
148
|
+
|
149
|
+
# https://docs.rubocop.org/rubocop-rails/cops_rails.html#railsredundanttravelback
|
150
|
+
Rails/RedundantTravelBack:
|
151
|
+
Enabled: true
|
data/rubocop-rspec.yml
CHANGED
@@ -53,3 +53,11 @@ RSpec/Rails/AvoidSetupHook:
|
|
53
53
|
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecidenticalequalityassertion
|
54
54
|
RSpec/IdenticalEqualityAssertion:
|
55
55
|
Enabled: true
|
56
|
+
|
57
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecexcessivedocstringspacing
|
58
|
+
RSpec/ExcessiveDocstringSpacing:
|
59
|
+
Enabled: true
|
60
|
+
|
61
|
+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecsubjectdeclaration
|
62
|
+
RSpec/SubjectDeclaration:
|
63
|
+
Enabled: true
|
data/rubocop-style.yml
CHANGED
@@ -96,3 +96,7 @@ Style/QuotedSymbols:
|
|
96
96
|
# https://docs.rubocop.org/rubocop/cops_style.html#stylestringchars
|
97
97
|
Style/StringChars:
|
98
98
|
Enabled: true
|
99
|
+
|
100
|
+
# https://docs.rubocop.org/rubocop/cops_style.html#styleredundantselfassignmentbranch
|
101
|
+
Style/RedundantSelfAssignmentBranch:
|
102
|
+
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.11.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: 2021-
|
11
|
+
date: 2021-09-28 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.21'
|
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.21'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-faker
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
61
|
+
version: '2.12'
|
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: '2.
|
68
|
+
version: '2.12'
|
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.5'
|
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.5'
|
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.11.0
|
129
|
+
changelog_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware/blob/v1.11.0/CHANGELOG.md
|
130
130
|
homepage_uri: https://github.com/nosolosoftware/rubocop-nosolosoftware
|
131
131
|
post_install_message:
|
132
132
|
rdoc_options:
|