rubocop_plus 2.9.0 → 2.10.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 +11 -0
- data/config/group/rails.yml +3 -0
- data/config/rubocop.yml +6 -4
- data/lib/rubocop_plus/version.rb +2 -2
- data/rubocop_plus.gemspec +4 -4
- 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: 70b4dccf7ac4fc805c4b42ea55b698cf75a7f5ac6f3c3ecfee85f8f0954bb2ee
|
4
|
+
data.tar.gz: e6f8a1deb874efd1f0daf44e5ff6bb4b0017017f5c777ea473e77ce129cc2a55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2d51f6d78267a1fb702c054889828bbfb13fa4fce199436c936964d398ea2762f879fd96556f3ba76c160b9f2271558d8ab96de474d9f448403015c77c503ba
|
7
|
+
data.tar.gz: 54d4b7ba1c66b6ea48bbc27fba36e9a69067235476d29ebb4592cb0ec04c53f9abbcf0f0a6f283408a8d40213810ad46cfaf8fb234a92f5edd77e05cdeceea85
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,17 @@
|
|
2
2
|
|
3
3
|
Issues are tracked at https://github.com/roberts1000/rubocop_plus/issues. Issues marked as **(Internal)** only affect development.
|
4
4
|
|
5
|
+
## 2.10.0 (Nov 21, 2022)
|
6
|
+
|
7
|
+
1. [#222](../../issues/222): Use `rubocop-performance 1.15.1`.
|
8
|
+
1. [#224](../../issues/224): Use `rubocop-rails 2.17.3`.
|
9
|
+
1. [#226](../../issues/226): Use `rspec` `~> 3.12`. **(Internal)**
|
10
|
+
1. [#228](../../issues/228): Use `rubocop-rspec` `2.15.0`.
|
11
|
+
1. [#230](../../issues/230): Use `rubocop` `1.39.0`.
|
12
|
+
1. [#233](../../issues/233): Disable `Rails/ActionOrder`.
|
13
|
+
1. [#235](../../issues/235): Exclude `config/environments/production.rb`.
|
14
|
+
1. [#237](../../issues/237): Exclude `bin/bundle`.
|
15
|
+
|
5
16
|
## 2.9.0 (Aug 28, 2022)
|
6
17
|
|
7
18
|
1. [#210](../../issues/210): Use `rubocop-rspec` `2.12.1`.
|
data/config/group/rails.yml
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
Rails/ActionOrder:
|
2
|
+
Enabled: false # See https://github.com/roberts1000/rubocop_plus/issues/233
|
3
|
+
|
1
4
|
# Rails/FilePath ensures Rails.root.join('path', 'to') is used instead of "#{Rails.root}/path/to". This cop isn't necessary
|
2
5
|
# since Ruby will automatically convert file path separators.
|
3
6
|
Rails/FilePath:
|
data/config/rubocop.yml
CHANGED
@@ -6,18 +6,20 @@ require:
|
|
6
6
|
|
7
7
|
AllCops:
|
8
8
|
Exclude: # skip all of the following....
|
9
|
+
- bin/bundle # A 3rd-party auto-generated file
|
9
10
|
- bin/yarn # A 3rd-party auto-generated file
|
11
|
+
- client/**/* # It's mostly JavaScript, but it may contain 3rd party that was written outside of the project
|
12
|
+
- config/environments/production.rb # A 3rd-party auto-generated file
|
10
13
|
- db/schema.rb # An auto-generated file
|
11
|
-
- spec/dummy/db/schema.rb # An auto-generated file
|
12
14
|
- lib/tasks/cucumber.rake # A 3rd-party auto-generated file
|
13
|
-
- vendor/**/* # Contains 3rd party libs; no need to check code that originated outside the project
|
14
15
|
- node_modules/**/* # Yarn 3rd party dependencies; no need to check code that originated outside the project
|
15
|
-
- client/**/* # It's mostly JavaScript, but it may contain 3rd party that was written outside of the project
|
16
16
|
- spec/dummy/bin/yarn # A 3rd-party auto-generated file
|
17
|
-
- spec/dummy/
|
17
|
+
- spec/dummy/db/schema.rb # An auto-generated file
|
18
18
|
- spec/dummy/config/environments/development.rb # A 3rd-party auto-generated file
|
19
|
+
- spec/dummy/config/environments/production.rb # A 3rd-party auto-generated file
|
19
20
|
- spec/dummy/config/environments/test.rb # A 3rd-party auto-generated file
|
20
21
|
- spec/dummy/config/puma.rb # A 3rd-party auto-generated file
|
22
|
+
- vendor/**/* # Contains 3rd party libs; no need to check code that originated outside the project
|
21
23
|
NewCops: enable
|
22
24
|
|
23
25
|
inherit_from:
|
data/lib/rubocop_plus/version.rb
CHANGED
data/rubocop_plus.gemspec
CHANGED
@@ -25,12 +25,12 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 2.0"
|
26
26
|
spec.add_development_dependency "pry", "~> 0.14.1"
|
27
27
|
spec.add_development_dependency "rake", "~> 13.0"
|
28
|
-
spec.add_development_dependency "rspec", "~> 3.
|
28
|
+
spec.add_development_dependency "rspec", "~> 3.12"
|
29
29
|
|
30
30
|
spec.add_dependency "cri", "~> 2.0"
|
31
31
|
spec.add_dependency "rubocop", RubocopPlus::RUBOCOP_VERSION.to_s
|
32
|
-
spec.add_dependency "rubocop-performance", "1.
|
33
|
-
spec.add_dependency "rubocop-rails", "2.
|
32
|
+
spec.add_dependency "rubocop-performance", "1.15.1"
|
33
|
+
spec.add_dependency "rubocop-rails", "2.17.3"
|
34
34
|
spec.add_dependency "rubocop-rake", "0.6.0"
|
35
|
-
spec.add_dependency "rubocop-rspec", "2.
|
35
|
+
spec.add_dependency "rubocop-rspec", "2.15.0"
|
36
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop_plus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- roberts1000
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 3.
|
61
|
+
version: '3.12'
|
62
62
|
type: :development
|
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: 3.
|
68
|
+
version: '3.12'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: cri
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,42 +86,42 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.
|
89
|
+
version: 1.39.0
|
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: 1.
|
96
|
+
version: 1.39.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rubocop-performance
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - '='
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
103
|
+
version: 1.15.1
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - '='
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
110
|
+
version: 1.15.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rubocop-rails
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - '='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 2.
|
117
|
+
version: 2.17.3
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - '='
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 2.
|
124
|
+
version: 2.17.3
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rubocop-rake
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 2.
|
145
|
+
version: 2.15.0
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - '='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 2.
|
152
|
+
version: 2.15.0
|
153
153
|
description: Enhancements to the standard rubocop gem.
|
154
154
|
email:
|
155
155
|
- roberts@corlewsolutions.com
|
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: '0'
|
216
216
|
requirements: []
|
217
|
-
rubygems_version: 3.3.
|
217
|
+
rubygems_version: 3.3.24
|
218
218
|
signing_key:
|
219
219
|
specification_version: 4
|
220
220
|
summary: Enhancements to the standard rubocop gem.
|