rubocop-rails-suite 1.0.0 → 1.1.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 +19 -0
- data/README.md +2 -4
- data/rubocop.yml +0 -10
- metadata +52 -43
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 543bac14c278ba90a0f61459c5b4ef3680746275442b2b57e188dd8f4213013f
|
4
|
+
data.tar.gz: 57506d3e5c1c322201ea9142024a81fd14815b6a9ace3cfe635bcdf2ce7cc220
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 050f63f2f7cac6cb179c25c0742ab90596bcaca0bb5d3d78d890a606ffda3f0c3b3bccb1704a6d93b1cc48b294cc418edd571ba2ac61b3f2e8650ae213ced8e3
|
7
|
+
data.tar.gz: dba44b9dd80a6338a2a34591408058574846176fa3cd4580d43a30a813dc2ddef4330ad07b016b6b54736f3079ae2cf6b43c2109f7ce512f60fb04d402f9dc57
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
## [1.1.0] - 2024-09-26
|
6
|
+
### Changed
|
7
|
+
- Updated `rubocop` dependency to `>= 1.63.1, < 2.0`.
|
8
|
+
- Updated `rubocop-performance` to `>= 1.21.1, < 2.0`.
|
9
|
+
- Updated `rubocop-rails` to `>= 2.23.0, < 3.0`.
|
10
|
+
- Updated `rubocop-factory_bot` to `>= 2.24.0, < 3.0`.
|
11
|
+
- Updated `rubocop-faker` to `>= 1.0.0, < 2.0`.
|
12
|
+
- Updated `rubocop-rspec` to `>= 3.0.5, < 4.0`.
|
13
|
+
|
14
|
+
### Removed
|
15
|
+
- Removed `rubocop-migration` and `rubocop-rake` from the suite.
|
16
|
+
|
17
|
+
## [1.0.0] - 2024-09-22
|
18
|
+
### Added
|
19
|
+
- Initial release with core RuboCop, performance, RSpec, FactoryBot, and Rails linting.
|
data/README.md
CHANGED
@@ -8,10 +8,8 @@
|
|
8
8
|
- [`rubocop-rails`](https://github.com/rubocop/rubocop-rails) - Rails-specific linting rules.
|
9
9
|
- [`rubocop-performance`](https://github.com/rubocop/rubocop-performance) - Rules focused on optimizing Ruby performance.
|
10
10
|
- [`rubocop-rspec`](https://github.com/rubocop/rubocop-rspec) - Linting rules for RSpec tests.
|
11
|
-
- [`rubocop-factory_bot`](https://github.com/rubocop
|
12
|
-
- [`rubocop-faker`](https://github.com/
|
13
|
-
- [`rubocop-migration`](https://github.com/xavier/rubocop-migration) - Best practices for database migrations.
|
14
|
-
- [`rubocop-rake`](https://github.com/rubocop/rubocop-rake) - Linting rules for Rake tasks.
|
11
|
+
- [`rubocop-factory_bot`](https://github.com/rubocop/rubocop-factory_bot) - Linting rules for `factory_bot` usage.
|
12
|
+
- [`rubocop-faker`](https://github.com/koic/rubocop-faker) - Linting rules for `faker` usage.
|
15
13
|
|
16
14
|
## Installation
|
17
15
|
|
data/rubocop.yml
CHANGED
@@ -8,8 +8,6 @@ require:
|
|
8
8
|
- rubocop-rails
|
9
9
|
- rubocop-factory_bot
|
10
10
|
- rubocop-faker
|
11
|
-
- rubocop-migration
|
12
|
-
- rubocop-rake
|
13
11
|
- rubocop-rspec
|
14
12
|
|
15
13
|
# General configuration for all cops
|
@@ -34,10 +32,6 @@ Performance:
|
|
34
32
|
RSpec:
|
35
33
|
Enabled: true
|
36
34
|
|
37
|
-
# Enable Rake-related cops
|
38
|
-
Rake:
|
39
|
-
Enabled: true
|
40
|
-
|
41
35
|
# Enable FactoryBot-related cops
|
42
36
|
FactoryBot:
|
43
37
|
Enabled: true
|
@@ -46,10 +40,6 @@ FactoryBot:
|
|
46
40
|
Faker:
|
47
41
|
Enabled: true
|
48
42
|
|
49
|
-
# Enable Migration-related cops
|
50
|
-
Migration/AddCheckConstraint:
|
51
|
-
Enabled: true
|
52
|
-
|
53
43
|
# Layout and Style Cops for Consistency
|
54
44
|
Style/Documentation:
|
55
45
|
Enabled: false
|
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.
|
4
|
+
version: 1.1.0
|
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-09-
|
11
|
+
date: 2024-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,120 +16,129 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.63.1
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '2.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
29
|
+
version: 1.63.1
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: rubocop-performance
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - ">="
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
39
|
+
version: 1.21.1
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '2.0'
|
34
43
|
type: :runtime
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
38
47
|
- - ">="
|
39
48
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
49
|
+
version: 1.21.1
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '2.0'
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
54
|
name: rubocop-rails
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
44
56
|
requirements:
|
45
57
|
- - ">="
|
46
58
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
59
|
+
version: 2.23.0
|
60
|
+
- - "<"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3.0'
|
48
63
|
type: :runtime
|
49
64
|
prerelease: false
|
50
65
|
version_requirements: !ruby/object:Gem::Requirement
|
51
66
|
requirements:
|
52
67
|
- - ">="
|
53
68
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
69
|
+
version: 2.23.0
|
70
|
+
- - "<"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '3.0'
|
55
73
|
- !ruby/object:Gem::Dependency
|
56
74
|
name: rubocop-factory_bot
|
57
75
|
requirement: !ruby/object:Gem::Requirement
|
58
76
|
requirements:
|
59
77
|
- - ">="
|
60
78
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
79
|
+
version: 2.24.0
|
80
|
+
- - "<"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.0'
|
62
83
|
type: :runtime
|
63
84
|
prerelease: false
|
64
85
|
version_requirements: !ruby/object:Gem::Requirement
|
65
86
|
requirements:
|
66
87
|
- - ">="
|
67
88
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
89
|
+
version: 2.24.0
|
90
|
+
- - "<"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '3.0'
|
69
93
|
- !ruby/object:Gem::Dependency
|
70
94
|
name: rubocop-faker
|
71
95
|
requirement: !ruby/object:Gem::Requirement
|
72
96
|
requirements:
|
73
97
|
- - ">="
|
74
98
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
76
|
-
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rubocop-migration
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
99
|
+
version: 1.0.0
|
100
|
+
- - "<"
|
88
101
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
102
|
+
version: '2.0'
|
90
103
|
type: :runtime
|
91
104
|
prerelease: false
|
92
105
|
version_requirements: !ruby/object:Gem::Requirement
|
93
106
|
requirements:
|
94
107
|
- - ">="
|
95
108
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
97
|
-
-
|
98
|
-
name: rubocop-rake
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
109
|
+
version: 1.0.0
|
110
|
+
- - "<"
|
102
111
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :runtime
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
112
|
+
version: '2.0'
|
111
113
|
- !ruby/object:Gem::Dependency
|
112
114
|
name: rubocop-rspec
|
113
115
|
requirement: !ruby/object:Gem::Requirement
|
114
116
|
requirements:
|
115
117
|
- - ">="
|
116
118
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
119
|
+
version: 3.0.5
|
120
|
+
- - "<"
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '4.0'
|
118
123
|
type: :runtime
|
119
124
|
prerelease: false
|
120
125
|
version_requirements: !ruby/object:Gem::Requirement
|
121
126
|
requirements:
|
122
127
|
- - ">="
|
123
128
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
125
|
-
|
126
|
-
|
129
|
+
version: 3.0.5
|
130
|
+
- - "<"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '4.0'
|
133
|
+
description: Provides enhanced linting rules for Ruby on Rails, focusing on performance,
|
134
|
+
RSpec, factory_bot, and Faker integration.
|
127
135
|
email:
|
128
136
|
- grigore.george.mihaii@gmail.com
|
129
137
|
executables: []
|
130
138
|
extensions: []
|
131
139
|
extra_rdoc_files: []
|
132
140
|
files:
|
141
|
+
- CHANGELOG.md
|
133
142
|
- LICENSE.txt
|
134
143
|
- README.md
|
135
144
|
- rubocop.yml
|
@@ -158,5 +167,5 @@ requirements: []
|
|
158
167
|
rubygems_version: 3.4.6
|
159
168
|
signing_key:
|
160
169
|
specification_version: 4
|
161
|
-
summary:
|
170
|
+
summary: Enhanced RuboCop rules for Rails applications.
|
162
171
|
test_files: []
|