rubocop-rails-suite 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/rubocop.yml +35 -18
- metadata +20 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 890d5d6e2ded9c63de8028169f1d549c84ac6a842743482347de880ed0b9f064
|
4
|
+
data.tar.gz: f0dd0d13d8157f822caa32875bdeea7c741dd2c440a89d2dbcf7d0419da75a8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: affd86f8b06f9faff9839821d02a647f71d0135f20f957a5a9dbc11cdd67bd36de9c96bc4f741a6e3eb14af9acaf62bb8af0309ec31056cb69bf3af98118a581
|
7
|
+
data.tar.gz: 0e3be44c187b4c6be99dac28fe630708392b9c622dead746fe4b12977ffd0f969113cdacf74989dccb42c891739296f89db2c86323edf3e56c7defc4ce805efb
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## [1.1.1] - 2024-10-21
|
6
|
+
### Added
|
7
|
+
- Added some default rules for RuboCop configuration.
|
8
|
+
|
5
9
|
## [1.1.0] - 2024-09-26
|
6
10
|
### Changed
|
7
11
|
- Updated `rubocop` dependency to `>= 1.63.1, < 2.0`.
|
data/rubocop.yml
CHANGED
@@ -40,7 +40,7 @@ FactoryBot:
|
|
40
40
|
Faker:
|
41
41
|
Enabled: true
|
42
42
|
|
43
|
-
#
|
43
|
+
# Style Cops
|
44
44
|
Style/Documentation:
|
45
45
|
Enabled: false
|
46
46
|
|
@@ -49,16 +49,6 @@ Style/FrozenStringLiteralComment:
|
|
49
49
|
Exclude:
|
50
50
|
- "config/**/*"
|
51
51
|
|
52
|
-
Layout/EmptyLinesAroundBlockBody:
|
53
|
-
Enabled: true
|
54
|
-
|
55
|
-
Layout/EndAlignment:
|
56
|
-
Enabled: true
|
57
|
-
EnforcedStyleAlignWith: variable
|
58
|
-
|
59
|
-
Lint/RequireParentheses:
|
60
|
-
Enabled: true
|
61
|
-
|
62
52
|
Style/TrailingCommaInArrayLiteral:
|
63
53
|
Enabled: true
|
64
54
|
|
@@ -69,21 +59,48 @@ Style/HashSyntax:
|
|
69
59
|
Enabled: true
|
70
60
|
EnforcedShorthandSyntax: either
|
71
61
|
|
72
|
-
Layout/SpaceInsideBlockBraces:
|
73
|
-
Enabled: true
|
74
|
-
EnforcedStyleForEmptyBraces: space
|
75
|
-
|
76
62
|
Style/ColonMethodCall:
|
77
63
|
Enabled: true
|
78
64
|
|
79
|
-
Lint/UriEscapeUnescape:
|
80
|
-
Enabled: true
|
81
|
-
|
82
65
|
Style/StringLiterals:
|
83
66
|
Enabled: true
|
84
67
|
EnforcedStyle: double_quotes
|
85
68
|
Include:
|
86
69
|
- "app/**/*"
|
70
|
+
- "config/**/*"
|
87
71
|
- "lib/**/*"
|
88
72
|
- "test/**/*"
|
89
73
|
- "Gemfile"
|
74
|
+
|
75
|
+
# Layout Cops
|
76
|
+
Layout/EmptyLinesAroundBlockBody:
|
77
|
+
Enabled: true
|
78
|
+
|
79
|
+
Layout/EndAlignment:
|
80
|
+
Enabled: true
|
81
|
+
EnforcedStyleAlignWith: variable
|
82
|
+
|
83
|
+
Layout/SpaceInsideBlockBraces:
|
84
|
+
Enabled: true
|
85
|
+
EnforcedStyleForEmptyBraces: space
|
86
|
+
|
87
|
+
Layout/LineLength:
|
88
|
+
Max: 130
|
89
|
+
|
90
|
+
# Lint Cops
|
91
|
+
Lint/RequireParentheses:
|
92
|
+
Enabled: true
|
93
|
+
|
94
|
+
Lint/UriEscapeUnescape:
|
95
|
+
Enabled: true
|
96
|
+
|
97
|
+
# Metrics Cops
|
98
|
+
Metrics/MethodLength:
|
99
|
+
Max: 17
|
100
|
+
|
101
|
+
# RSpec Cops
|
102
|
+
RSpec/MultipleExpectations:
|
103
|
+
Max: 5
|
104
|
+
|
105
|
+
RSpec/MultipleMemoizedHelpers:
|
106
|
+
Max: 6
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-rails-suite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- George Mihai Grigore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: '1.67'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '2.0'
|
@@ -26,57 +26,57 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.
|
29
|
+
version: '1.67'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '2.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
|
-
name: rubocop-
|
34
|
+
name: rubocop-rails
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
39
|
+
version: 2.26.2
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '3.0'
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
49
|
+
version: 2.26.2
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '
|
52
|
+
version: '3.0'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
|
-
name: rubocop-
|
54
|
+
name: rubocop-performance
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version:
|
59
|
+
version: 1.22.1
|
60
60
|
- - "<"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '
|
62
|
+
version: '2.0'
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
69
|
+
version: 1.22.1
|
70
70
|
- - "<"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: '
|
72
|
+
version: '2.0'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: rubocop-factory_bot
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: 2.
|
79
|
+
version: 2.26.1
|
80
80
|
- - "<"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '3.0'
|
@@ -86,7 +86,7 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 2.
|
89
|
+
version: 2.26.1
|
90
90
|
- - "<"
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: '3.0'
|
@@ -96,7 +96,7 @@ dependencies:
|
|
96
96
|
requirements:
|
97
97
|
- - ">="
|
98
98
|
- !ruby/object:Gem::Version
|
99
|
-
version: 1.
|
99
|
+
version: 1.1.0
|
100
100
|
- - "<"
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '2.0'
|
@@ -106,7 +106,7 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 1.
|
109
|
+
version: 1.1.0
|
110
110
|
- - "<"
|
111
111
|
- !ruby/object:Gem::Version
|
112
112
|
version: '2.0'
|
@@ -116,7 +116,7 @@ dependencies:
|
|
116
116
|
requirements:
|
117
117
|
- - ">="
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
version: 3.0
|
119
|
+
version: 3.1.0
|
120
120
|
- - "<"
|
121
121
|
- !ruby/object:Gem::Version
|
122
122
|
version: '4.0'
|
@@ -126,7 +126,7 @@ dependencies:
|
|
126
126
|
requirements:
|
127
127
|
- - ">="
|
128
128
|
- !ruby/object:Gem::Version
|
129
|
-
version: 3.0
|
129
|
+
version: 3.1.0
|
130
130
|
- - "<"
|
131
131
|
- !ruby/object:Gem::Version
|
132
132
|
version: '4.0'
|