rubocop-rails-suite 1.1.0 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/rubocop.yml +36 -19
- 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: ea42d2f79c67b7dce86a5226e0b7138c56a2424ce968f319319e8462476fd8b4
|
4
|
+
data.tar.gz: 116ff3d99a6b91f0ad714351231f5d6be3460fe6896b64067fb8950075c05a6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e5847ddbbd161799c3ad6bc111d83ef17ef3b6d44616d84ee6a2cfaf4d67abf75c60fa1e2b9d55a313aa25683e7adab0b25d510d580a4408f70647baaa1a0d4
|
7
|
+
data.tar.gz: 0cdaec577ec8d5b09c9d8258c79404837b6185176c74d9bde4fde23f37672ae7f62b95c2613d165dca0bf918f76c5d6ae314eaa006e156299d412347ae915d5b
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## [1.1.2] - 2024-10-23
|
6
|
+
### Changed
|
7
|
+
- Enforced double quotes in RuboCop configuration for `config/**/*` and `spec/**/*` directories.
|
8
|
+
|
9
|
+
## [1.1.1] - 2024-10-21
|
10
|
+
### Added
|
11
|
+
- Added some default rules for RuboCop configuration.
|
12
|
+
|
5
13
|
## [1.1.0] - 2024-09-26
|
6
14
|
### Changed
|
7
15
|
- Updated `rubocop` dependency to `>= 1.63.1, < 2.0`.
|
data/rubocop.yml
CHANGED
@@ -17,7 +17,6 @@ AllCops:
|
|
17
17
|
TargetRubyVersion: 3.0
|
18
18
|
Exclude:
|
19
19
|
- "db/schema.rb"
|
20
|
-
- "config/**/*"
|
21
20
|
- "bin/*"
|
22
21
|
|
23
22
|
# Enable Rails-related cops
|
@@ -40,7 +39,7 @@ FactoryBot:
|
|
40
39
|
Faker:
|
41
40
|
Enabled: true
|
42
41
|
|
43
|
-
#
|
42
|
+
# Style Cops
|
44
43
|
Style/Documentation:
|
45
44
|
Enabled: false
|
46
45
|
|
@@ -49,16 +48,6 @@ Style/FrozenStringLiteralComment:
|
|
49
48
|
Exclude:
|
50
49
|
- "config/**/*"
|
51
50
|
|
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
51
|
Style/TrailingCommaInArrayLiteral:
|
63
52
|
Enabled: true
|
64
53
|
|
@@ -69,21 +58,49 @@ Style/HashSyntax:
|
|
69
58
|
Enabled: true
|
70
59
|
EnforcedShorthandSyntax: either
|
71
60
|
|
72
|
-
Layout/SpaceInsideBlockBraces:
|
73
|
-
Enabled: true
|
74
|
-
EnforcedStyleForEmptyBraces: space
|
75
|
-
|
76
61
|
Style/ColonMethodCall:
|
77
62
|
Enabled: true
|
78
63
|
|
79
|
-
Lint/UriEscapeUnescape:
|
80
|
-
Enabled: true
|
81
|
-
|
82
64
|
Style/StringLiterals:
|
83
65
|
Enabled: true
|
84
66
|
EnforcedStyle: double_quotes
|
85
67
|
Include:
|
86
68
|
- "app/**/*"
|
69
|
+
- "config/**/*"
|
87
70
|
- "lib/**/*"
|
71
|
+
- "spec/**/*"
|
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.2
|
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-23 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'
|