rubocop-ruby2_2 2.0.3 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +34 -1
- data/CONTRIBUTING.md +1 -1
- data/README.md +1 -1
- data/lib/rubocop/ruby2_2/rakelib/rubocop_gradual.rake +4 -4
- data/lib/rubocop/ruby2_2/version.rb +1 -1
- data/lib/rubocop/ruby2_2.rb +1 -1
- data/rubocop-lts/rails.yml +6 -2
- data/rubocop-lts/rspec.yml +10 -0
- data/rubocop-lts/ruby.yml +7 -2
- data/rubocop.yml +1 -1
- data.tar.gz.sig +0 -0
- metadata +29 -73
- metadata.gz.sig +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40dba84c325c8c77044af2194c1c3cdd4aaddc1d2be107758fe6785cf67bf368
|
4
|
+
data.tar.gz: b25545019feb0a89ca1396e54eb9e7509435adc9794a474da80f602ef9c10e35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f76494ebc82b8bbc15e94f464879d0be4b9f3f280173b1b1e8955ee93274aed3d35f52e395a80b936a84c6ad47b9b4bee5a93791e3a5f4364076de2243c1ac2f
|
7
|
+
data.tar.gz: f04944ba9a0cd9287478d7c192db7ced8183191d540b6fcec99003b603f9f0dc479374905c2450f30d23674e213a4f9a1b4b9518edf75b75cb5d9cb0e9841f04
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -10,6 +10,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
10
10
|
### Fixed
|
11
11
|
### Removed
|
12
12
|
|
13
|
+
## [2.0.5] 2023-06-13
|
14
|
+
### Changed
|
15
|
+
- Moved development dependencies out of gemspec
|
16
|
+
- rubocop to 1.52.1
|
17
|
+
- rubocop-shopify to 2.14
|
18
|
+
- standard-custom to 1.0.1
|
19
|
+
- standard-rubocop-lts to 1.0.7
|
20
|
+
- version_gem to 1.1.3
|
21
|
+
### Fixed
|
22
|
+
- rubocop/rails.yml config
|
23
|
+
- betterlint integration
|
24
|
+
- standard-rails integration
|
25
|
+
- bin/pry now pre-loads this library
|
26
|
+
|
27
|
+
## [2.0.4] 2023-06-05
|
28
|
+
### Added
|
29
|
+
- Dependencies
|
30
|
+
- yard-junk
|
31
|
+
- redcarpet
|
32
|
+
- pry, IRB alternative
|
33
|
+
- pry-suite
|
34
|
+
- debase, for IDE debugging
|
35
|
+
- Some rules should ignore specs/tests
|
36
|
+
- Style/MethodCallWithArgsParentheses
|
37
|
+
- Style/ClassAndModuleChildren
|
38
|
+
### Fixed
|
39
|
+
- `yard` documentation task
|
40
|
+
### Changed
|
41
|
+
- Added Include to inherit_mode: merge
|
42
|
+
- Updated dependency on standard-rubocop-lts
|
43
|
+
|
13
44
|
## [2.0.3] 2023-05-22
|
14
45
|
### Fixed
|
15
46
|
- install_tasks and Railtie loading of rake tasks
|
@@ -73,7 +104,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
73
104
|
### Added
|
74
105
|
- Initial release
|
75
106
|
|
76
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v2.0.
|
107
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v2.0.5...HEAD
|
108
|
+
[2.0.5]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v2.0.4...v2.0.5
|
109
|
+
[2.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v2.0.3...v2.0.4
|
77
110
|
[2.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v2.0.2...v2.0.3
|
78
111
|
[2.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v2.0.1...v2.0.2
|
79
112
|
[2.0.1]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v2.0.0...v2.0.1
|
data/CONTRIBUTING.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Bug reports and pull requests are welcome on GitLab at [https://gitlab.com/rubocop-lts/rubocop-ruby2_2][🚎src-main]
|
4
4
|
. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
|
5
|
-
the [code of conduct][conduct].
|
5
|
+
the [code of conduct][🤝conduct].
|
6
6
|
|
7
7
|
To submit a patch, please fork the project and create a patch with tests. Once you're happy with it send a pull request
|
8
8
|
and post a message to the [gitter chat][🏘chat].
|
data/README.md
CHANGED
@@ -365,7 +365,7 @@ the [Pessimistic Version Constraint][pvc] with two digits of precision.
|
|
365
365
|
For example:
|
366
366
|
|
367
367
|
```ruby
|
368
|
-
spec.add_dependency
|
368
|
+
spec.add_dependency("rubocop-ruby2_2", "~> 2.0")
|
369
369
|
```
|
370
370
|
|
371
371
|
[aboutme]: https://about.me/peter.boling
|
@@ -2,10 +2,10 @@ begin
|
|
2
2
|
require "rubocop/gradual/rake_task"
|
3
3
|
|
4
4
|
RuboCop::Gradual::RakeTask.new(:rubocop_gradual)
|
5
|
-
desc
|
6
|
-
task
|
5
|
+
desc("alias rubocop task to rubocop_gradual")
|
6
|
+
task(rubocop: :rubocop_gradual)
|
7
7
|
rescue LoadError
|
8
|
-
task
|
9
|
-
warn
|
8
|
+
task(:rubocop_gradual) do
|
9
|
+
warn("NOTE: rubocop-gradual isn't installed, or is disabled for #{RUBY_VERSION} in the current environment")
|
10
10
|
end
|
11
11
|
end
|
data/lib/rubocop/ruby2_2.rb
CHANGED
data/rubocop-lts/rails.yml
CHANGED
data/rubocop-lts/rspec.yml
CHANGED
data/rubocop-lts/ruby.yml
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
inherit_mode:
|
6
6
|
merge:
|
7
7
|
- Exclude
|
8
|
+
- Include
|
8
9
|
|
9
10
|
require:
|
10
11
|
# Loads the Standard Ruby suite of gems, and configures for rubocop-lts:
|
@@ -21,10 +22,14 @@ require:
|
|
21
22
|
# RuboCop Gradual can be used in "Require mode", which is a way to replace rubocop with rubocop-gradual:
|
22
23
|
- rubocop/gradual/patch
|
23
24
|
|
25
|
+
# Rules are overridden in a LIFO stack.
|
26
|
+
# If rubocop-shopify is loaded first, and standard-rubocop-lts after it,
|
27
|
+
# then rubocop-shopify's rules will take precedence.
|
28
|
+
# This is the opposite of what you might expect.
|
29
|
+
# Below: rubocop-shopify rules will override standard-rubocop-lts's (i.e. standard's) rules.
|
24
30
|
inherit_gem:
|
25
|
-
standard-rubocop-lts: config/ruby-2.2.yml
|
26
|
-
# shopify rules will override standard's rules.
|
27
31
|
rubocop-shopify: rubocop.yml
|
32
|
+
standard-rubocop-lts: config/ruby-2.2.yml
|
28
33
|
|
29
34
|
inherit_from:
|
30
35
|
- strict/ruby.yml
|
data/rubocop.yml
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-ruby2_2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
gwGrEXGQGDZ0NIgBcmvMOqlXjkGQwQvugKycJ024z89+fz2332vdZIKTrSxJrXGk
|
37
37
|
4/bR9A==
|
38
38
|
-----END CERTIFICATE-----
|
39
|
-
date: 2023-
|
39
|
+
date: 2023-06-13 00:00:00.000000000 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-gradual
|
@@ -45,6 +45,9 @@ dependencies:
|
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0.3'
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 0.3.1
|
48
51
|
type: :runtime
|
49
52
|
prerelease: false
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -52,6 +55,9 @@ dependencies:
|
|
52
55
|
- - "~>"
|
53
56
|
- !ruby/object:Gem::Version
|
54
57
|
version: '0.3'
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 0.3.1
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: rubocop-md
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +92,14 @@ dependencies:
|
|
86
92
|
requirements:
|
87
93
|
- - "~>"
|
88
94
|
- !ruby/object:Gem::Version
|
89
|
-
version: '2.
|
95
|
+
version: '2.14'
|
90
96
|
type: :runtime
|
91
97
|
prerelease: false
|
92
98
|
version_requirements: !ruby/object:Gem::Requirement
|
93
99
|
requirements:
|
94
100
|
- - "~>"
|
95
101
|
- !ruby/object:Gem::Version
|
96
|
-
version: '2.
|
102
|
+
version: '2.14'
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
104
|
name: rubocop-thread_safety
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -101,6 +107,9 @@ dependencies:
|
|
101
107
|
- - "~>"
|
102
108
|
- !ruby/object:Gem::Version
|
103
109
|
version: '0.5'
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 0.5.1
|
104
113
|
type: :runtime
|
105
114
|
prerelease: false
|
106
115
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -108,33 +117,36 @@ dependencies:
|
|
108
117
|
- - "~>"
|
109
118
|
- !ruby/object:Gem::Version
|
110
119
|
version: '0.5'
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 0.5.1
|
111
123
|
- !ruby/object:Gem::Dependency
|
112
124
|
name: standard-rubocop-lts
|
113
125
|
requirement: !ruby/object:Gem::Requirement
|
114
126
|
requirements:
|
115
|
-
- - "
|
127
|
+
- - "~>"
|
116
128
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.0
|
118
|
-
- - "
|
129
|
+
version: '1.0'
|
130
|
+
- - ">="
|
119
131
|
- !ruby/object:Gem::Version
|
120
|
-
version:
|
132
|
+
version: 1.0.7
|
121
133
|
type: :runtime
|
122
134
|
prerelease: false
|
123
135
|
version_requirements: !ruby/object:Gem::Requirement
|
124
136
|
requirements:
|
125
|
-
- - "
|
137
|
+
- - "~>"
|
126
138
|
- !ruby/object:Gem::Version
|
127
|
-
version: 1.0
|
128
|
-
- - "
|
139
|
+
version: '1.0'
|
140
|
+
- - ">="
|
129
141
|
- !ruby/object:Gem::Version
|
130
|
-
version:
|
142
|
+
version: 1.0.7
|
131
143
|
- !ruby/object:Gem::Dependency
|
132
144
|
name: version_gem
|
133
145
|
requirement: !ruby/object:Gem::Requirement
|
134
146
|
requirements:
|
135
147
|
- - ">="
|
136
148
|
- !ruby/object:Gem::Version
|
137
|
-
version: 1.1.
|
149
|
+
version: 1.1.3
|
138
150
|
- - "<"
|
139
151
|
- !ruby/object:Gem::Version
|
140
152
|
version: '3'
|
@@ -144,66 +156,10 @@ dependencies:
|
|
144
156
|
requirements:
|
145
157
|
- - ">="
|
146
158
|
- !ruby/object:Gem::Version
|
147
|
-
version: 1.1.
|
159
|
+
version: 1.1.3
|
148
160
|
- - "<"
|
149
161
|
- !ruby/object:Gem::Version
|
150
162
|
version: '3'
|
151
|
-
- !ruby/object:Gem::Dependency
|
152
|
-
name: rubocop-packaging
|
153
|
-
requirement: !ruby/object:Gem::Requirement
|
154
|
-
requirements:
|
155
|
-
- - "~>"
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
version: '0.5'
|
158
|
-
type: :development
|
159
|
-
prerelease: false
|
160
|
-
version_requirements: !ruby/object:Gem::Requirement
|
161
|
-
requirements:
|
162
|
-
- - "~>"
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
version: '0.5'
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
|
-
name: rubocop-rspec
|
167
|
-
requirement: !ruby/object:Gem::Requirement
|
168
|
-
requirements:
|
169
|
-
- - "~>"
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
version: '2.22'
|
172
|
-
type: :development
|
173
|
-
prerelease: false
|
174
|
-
version_requirements: !ruby/object:Gem::Requirement
|
175
|
-
requirements:
|
176
|
-
- - "~>"
|
177
|
-
- !ruby/object:Gem::Version
|
178
|
-
version: '2.22'
|
179
|
-
- !ruby/object:Gem::Dependency
|
180
|
-
name: standard-rails
|
181
|
-
requirement: !ruby/object:Gem::Requirement
|
182
|
-
requirements:
|
183
|
-
- - "~>"
|
184
|
-
- !ruby/object:Gem::Version
|
185
|
-
version: '0.1'
|
186
|
-
type: :development
|
187
|
-
prerelease: false
|
188
|
-
version_requirements: !ruby/object:Gem::Requirement
|
189
|
-
requirements:
|
190
|
-
- - "~>"
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
version: '0.1'
|
193
|
-
- !ruby/object:Gem::Dependency
|
194
|
-
name: betterlint
|
195
|
-
requirement: !ruby/object:Gem::Requirement
|
196
|
-
requirements:
|
197
|
-
- - "~>"
|
198
|
-
- !ruby/object:Gem::Version
|
199
|
-
version: '1.4'
|
200
|
-
type: :development
|
201
|
-
prerelease: false
|
202
|
-
version_requirements: !ruby/object:Gem::Requirement
|
203
|
-
requirements:
|
204
|
-
- - "~>"
|
205
|
-
- !ruby/object:Gem::Version
|
206
|
-
version: '1.4'
|
207
163
|
description: Configure RuboCop + a bevy of friends to gradually lint Ruby 2.2 code
|
208
164
|
email:
|
209
165
|
- peter.boling@gmail.com
|
@@ -239,10 +195,10 @@ licenses:
|
|
239
195
|
- MIT
|
240
196
|
metadata:
|
241
197
|
homepage_uri: https://github.com/rubocop-lts/rubocop-ruby2_2
|
242
|
-
source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_2/tree/v2.0.
|
243
|
-
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_2/blob/v2.0.
|
198
|
+
source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_2/tree/v2.0.5
|
199
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_2/blob/v2.0.5/CHANGELOG.md
|
244
200
|
bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_2/issues
|
245
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_2/2.0.
|
201
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_2/2.0.5
|
246
202
|
funding_uri: https://liberapay.com/pboling
|
247
203
|
wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_2/wiki
|
248
204
|
rubygems_mfa_required: 'true'
|
metadata.gz.sig
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
[ZQܩl�%�<�cT���͈�a�px9��afc@�<�o���K���F�}��Ec�����ϼ���ys�N܀�K�#��ar�]�U�ig�lIF�gz��Wf��M���{&�8"����T��u&��n�ҏ=�h]9".ԭB��
|