standard-rubocop-lts 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90d1f7cf1346192558e6810e5f4194a1f5c18114aa7f75059632875d2aecb792
4
- data.tar.gz: 3f3b67c73f54664f70d7a30522237026435f9485e7ee7046645d29500d010697
3
+ metadata.gz: c3466114b0107af7698f87e05458afa4f9cf9c1f44250916fe9ab7b2df3bf1f4
4
+ data.tar.gz: 471cf0ed0aeece979ea44aac51befc0f9a7b69b4258fc74a6fa178e6f7e5f7ae
5
5
  SHA512:
6
- metadata.gz: 7e15618e715e3a3ea41c67f243cbc7281f3e16071e0ff5f6468959e1ab301046a09832fa296c84473b188d0bdc2d881e5b6c2109862740dd6b39d5c43f9472d2
7
- data.tar.gz: 59529f89fa87bf9fbeac216c835b1efb9d224bae9eb26ad2797441d815f398fca956dabbb82ff9717946f27d923fc75603103a87dc27363ed62bca929d551600
6
+ metadata.gz: 3342f97ec546e9a8983e135afd3a6a28a198e8d97abeafa0184d02ed95b1a8a5cdfb8f4691d8c049cd77faea97455b1c21fae9986d0c69f2786af78c67d67730
7
+ data.tar.gz: d19f2e1386dada83b12a87d918ab9320139e844e3af04a555450a55cc71c124fbad7ba7c21a793e60e8ae3e60f9eed460ee56d66dd107d7f0e8c4cefa8b1563a
checksums.yaml.gz.sig CHANGED
@@ -1,3 +1,5 @@
1
- "����DDb��L���˧����P�̉���U=�p�}��u�8J�b�� ���z�1�Nq·�0x��#�J��3�R�E�uR�8�:���u�ѕ����
2
- J����5�,`��hT�o�X\���c�H��6��v{�������'$��O������J�����T�`�V)���=$Q�>:n_����LF2{�����7S�����7��|I,b�8g���%��!�7+V��ySܛ���gu����W�ޢ�S���\�H;�OTw������<0R��F�tz�O�:���
3
- �`�d�脏�3ef�As �Td��@��2�����S"~M���{r��>��>n�萷m<����3Ycsz
1
+ �����J�":*�I>��n6��3s$YL"N���
2
+ �j�5Iz���3J�8��X�O�) gF)�OۍүC!F��+�@�����#{;�K��������Ό��V��k���u)st�"��/b>���tt��$h� \jp�eb�p�?�%��Fk��b�jeB����=�1�c��clF�K>DP`�]֥�Xǁ��UQ�����: ��� �@m7��bP}A��]��YO
3
+ H���e`�|!d�'%� �,�YOH7��1{2�C��qh�ϙ�t��i��d���� Z���v@�Ƶli`�����>
4
+ ��a2�.[����[����C�w3��K��QK�r 8_�K1��q��.W�
5
+ ���������߼Fr�=���
data/CHANGELOG.md CHANGED
@@ -10,6 +10,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
  ### Fixed
11
11
  ### Removed
12
12
 
13
+ ## [1.0.7] 2023-06-08
14
+ ### Changed
15
+ - follow best practices for gemspec
16
+ - put all dev dependencies in Gemfile
17
+ - See: https://github.com/rubygems/rubygems/discussions/5065
18
+ - enable some `Gemspec` cops that standard turns off
19
+ - improve documentation
20
+
13
21
  ## [1.0.6] 2023-06-03
14
22
  ### Fixed
15
23
  - ship internal configs with gem
@@ -64,7 +72,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
64
72
  ### Added
65
73
  - Initial release
66
74
 
67
- [Unreleased]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/compare/v1.0.5...HEAD
75
+ [Unreleased]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/compare/v1.0.6...HEAD
76
+ [1.0.6]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/compare/v1.0.5...v1.0.6
68
77
  [1.0.5]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/compare/v1.0.4...v1.0.5
69
78
  [1.0.4]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/compare/v1.0.3...v1.0.4
70
79
  [1.0.3]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/compare/v1.0.2...v1.0.3
data/README.md CHANGED
@@ -220,6 +220,17 @@ Performance/IoReadlines:
220
220
  ```
221
221
  </details>
222
222
 
223
+ ### What about TargetRubyVersion?
224
+
225
+ **Instead of using this gem, `standard-rubocop-lts`, use `rubocop-lts`, which depends on this gem.
226
+ ```ruby
227
+ # NOTE: Picking the right version of this rubocop-lts automatically aligns:
228
+ # - gemspec's required_ruby_version
229
+ # - RuboCop's TargetRubyVersion
230
+ # e.g. v18 for Ruby >= 2.7.0
231
+ gem "rubocop-lts", "~> 18.2.1", require: false
232
+ ```
233
+
223
234
  ## 💻 Development
224
235
 
225
236
  After checking out the repo, run `bin/setup` to install dependencies.
@@ -1,12 +1,25 @@
1
- # See:
2
- # https://github.com/rubocop/rubocop-performance/issues/240
3
- # https://github.com/rubocop/rubocop-performance/pull/241
4
- Performance/Casecmp:
5
- Enabled: false
1
+ # Alphabetizing lists enforces minimal churn in git history
2
+ Bundler/OrderedGems:
3
+ Enabled: true
6
4
 
7
- # See: https://github.com/rubocop/rubocop-performance/issues/329#issuecomment-1375527811
8
- Performance/BlockGivenWithExplicitBlock:
9
- Enabled: false
5
+ Gemspec/DependencyVersion:
6
+ Enabled: true
7
+ EnforcedStyle: required
8
+
9
+ # See: See: https://github.com/rubygems/rubygems/discussions/5065
10
+ Gemspec/DevelopmentDependencies:
11
+ Enabled: true
12
+ EnforcedStyle: Gemfile
13
+
14
+ # Alphabetizing lists enforces minimal churn in git history
15
+ Gemspec/OrderedDependencies:
16
+ Enabled: true
17
+
18
+ Gemspec/RequiredRubyVersion:
19
+ Enabled: true
20
+
21
+ Gemspec/RubyVersionGlobalsUsage:
22
+ Enabled: true
10
23
 
11
24
  # See: https://github.com/rubocop/rubocop-performance/issues/329#issuecomment-1451511402
12
25
  Performance/ArraySemiInfiniteRangeSlice:
@@ -16,6 +29,16 @@ Performance/ArraySemiInfiniteRangeSlice:
16
29
  Performance/BigDecimalWithNumericArgument:
17
30
  Enabled: false
18
31
 
32
+ # See: https://github.com/rubocop/rubocop-performance/issues/329#issuecomment-1375527811
33
+ Performance/BlockGivenWithExplicitBlock:
34
+ Enabled: false
35
+
36
+ # See:
37
+ # https://github.com/rubocop/rubocop-performance/issues/240
38
+ # https://github.com/rubocop/rubocop-performance/pull/241
39
+ Performance/Casecmp:
40
+ Enabled: false
41
+
19
42
  # See: https://github.com/rubocop/rubocop-performance/issues/329#issuecomment-1451511402
20
43
  Performance/IoReadlines:
21
44
  Enabled: false
@@ -7,7 +7,7 @@ module Standard
7
7
  module Version
8
8
  # Bump VERSION manually for each new release!
9
9
  # See: CONTRIBUTING.md
10
- VERSION = "1.0.6"
10
+ VERSION = "1.0.7"
11
11
  end
12
12
  end
13
13
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard-rubocop-lts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -36,35 +36,35 @@ cert_chain:
36
36
  gwGrEXGQGDZ0NIgBcmvMOqlXjkGQwQvugKycJ024z89+fz2332vdZIKTrSxJrXGk
37
37
  4/bR9A==
38
38
  -----END CERTIFICATE-----
39
- date: 2023-06-03 00:00:00.000000000 Z
39
+ date: 2023-06-08 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
- name: version_gem
42
+ name: standard
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 1.1.2
47
+ version: '1.29'
48
48
  - - "<"
49
49
  - !ruby/object:Gem::Version
50
- version: '3'
50
+ version: '2'
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - ">="
56
56
  - !ruby/object:Gem::Version
57
- version: 1.1.2
57
+ version: '1.29'
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
- version: '3'
60
+ version: '2'
61
61
  - !ruby/object:Gem::Dependency
62
- name: standard
62
+ name: standard-custom
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - ">="
66
66
  - !ruby/object:Gem::Version
67
- version: '1.29'
67
+ version: 1.0.1
68
68
  - - "<"
69
69
  - !ruby/object:Gem::Version
70
70
  version: '2'
@@ -74,37 +74,37 @@ dependencies:
74
74
  requirements:
75
75
  - - ">="
76
76
  - !ruby/object:Gem::Version
77
- version: '1.29'
77
+ version: 1.0.1
78
78
  - - "<"
79
79
  - !ruby/object:Gem::Version
80
80
  version: '2'
81
81
  - !ruby/object:Gem::Dependency
82
- name: standard-performance
82
+ name: version_gem
83
83
  requirement: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - "~>"
85
+ - - ">="
86
86
  - !ruby/object:Gem::Version
87
- version: '1.1'
87
+ version: 1.1.3
88
88
  - - "<"
89
89
  - !ruby/object:Gem::Version
90
- version: '2'
90
+ version: '4'
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - "~>"
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
- version: '1.1'
97
+ version: 1.1.3
98
98
  - - "<"
99
99
  - !ruby/object:Gem::Version
100
- version: '2'
100
+ version: '4'
101
101
  - !ruby/object:Gem::Dependency
102
- name: standard-custom
102
+ name: standard-performance
103
103
  requirement: !ruby/object:Gem::Requirement
104
104
  requirements:
105
105
  - - "~>"
106
106
  - !ruby/object:Gem::Version
107
- version: '1.0'
107
+ version: '1.1'
108
108
  - - "<"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '2'
@@ -114,164 +114,10 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '1.0'
117
+ version: '1.1'
118
118
  - - "<"
119
119
  - !ruby/object:Gem::Version
120
120
  version: '2'
121
- - !ruby/object:Gem::Dependency
122
- name: rspec
123
- requirement: !ruby/object:Gem::Requirement
124
- requirements:
125
- - - "~>"
126
- - !ruby/object:Gem::Version
127
- version: '3.10'
128
- type: :development
129
- prerelease: false
130
- version_requirements: !ruby/object:Gem::Requirement
131
- requirements:
132
- - - "~>"
133
- - !ruby/object:Gem::Version
134
- version: '3.10'
135
- - !ruby/object:Gem::Dependency
136
- name: rspec-block_is_expected
137
- requirement: !ruby/object:Gem::Requirement
138
- requirements:
139
- - - "~>"
140
- - !ruby/object:Gem::Version
141
- version: '1.0'
142
- type: :development
143
- prerelease: false
144
- version_requirements: !ruby/object:Gem::Requirement
145
- requirements:
146
- - - "~>"
147
- - !ruby/object:Gem::Version
148
- version: '1.0'
149
- - !ruby/object:Gem::Dependency
150
- name: rake
151
- requirement: !ruby/object:Gem::Requirement
152
- requirements:
153
- - - "~>"
154
- - !ruby/object:Gem::Version
155
- version: '13.0'
156
- type: :development
157
- prerelease: false
158
- version_requirements: !ruby/object:Gem::Requirement
159
- requirements:
160
- - - "~>"
161
- - !ruby/object:Gem::Version
162
- version: '13.0'
163
- - !ruby/object:Gem::Dependency
164
- name: pry
165
- requirement: !ruby/object:Gem::Requirement
166
- requirements:
167
- - - ">="
168
- - !ruby/object:Gem::Version
169
- version: '0'
170
- type: :development
171
- prerelease: false
172
- version_requirements: !ruby/object:Gem::Requirement
173
- requirements:
174
- - - ">="
175
- - !ruby/object:Gem::Version
176
- version: '0'
177
- - !ruby/object:Gem::Dependency
178
- name: rubocop-gradual
179
- requirement: !ruby/object:Gem::Requirement
180
- requirements:
181
- - - "~>"
182
- - !ruby/object:Gem::Version
183
- version: '0.3'
184
- type: :development
185
- prerelease: false
186
- version_requirements: !ruby/object:Gem::Requirement
187
- requirements:
188
- - - "~>"
189
- - !ruby/object:Gem::Version
190
- version: '0.3'
191
- - !ruby/object:Gem::Dependency
192
- name: rubocop-md
193
- requirement: !ruby/object:Gem::Requirement
194
- requirements:
195
- - - "~>"
196
- - !ruby/object:Gem::Version
197
- version: '1.2'
198
- type: :development
199
- prerelease: false
200
- version_requirements: !ruby/object:Gem::Requirement
201
- requirements:
202
- - - "~>"
203
- - !ruby/object:Gem::Version
204
- version: '1.2'
205
- - !ruby/object:Gem::Dependency
206
- name: rubocop-packaging
207
- requirement: !ruby/object:Gem::Requirement
208
- requirements:
209
- - - "~>"
210
- - !ruby/object:Gem::Version
211
- version: '0.5'
212
- type: :development
213
- prerelease: false
214
- version_requirements: !ruby/object:Gem::Requirement
215
- requirements:
216
- - - "~>"
217
- - !ruby/object:Gem::Version
218
- version: '0.5'
219
- - !ruby/object:Gem::Dependency
220
- name: rubocop-rake
221
- requirement: !ruby/object:Gem::Requirement
222
- requirements:
223
- - - "~>"
224
- - !ruby/object:Gem::Version
225
- version: '0.6'
226
- type: :development
227
- prerelease: false
228
- version_requirements: !ruby/object:Gem::Requirement
229
- requirements:
230
- - - "~>"
231
- - !ruby/object:Gem::Version
232
- version: '0.6'
233
- - !ruby/object:Gem::Dependency
234
- name: rubocop-rspec
235
- requirement: !ruby/object:Gem::Requirement
236
- requirements:
237
- - - "~>"
238
- - !ruby/object:Gem::Version
239
- version: '2.22'
240
- type: :development
241
- prerelease: false
242
- version_requirements: !ruby/object:Gem::Requirement
243
- requirements:
244
- - - "~>"
245
- - !ruby/object:Gem::Version
246
- version: '2.22'
247
- - !ruby/object:Gem::Dependency
248
- name: rubocop-shopify
249
- requirement: !ruby/object:Gem::Requirement
250
- requirements:
251
- - - "~>"
252
- - !ruby/object:Gem::Version
253
- version: '2.13'
254
- type: :development
255
- prerelease: false
256
- version_requirements: !ruby/object:Gem::Requirement
257
- requirements:
258
- - - "~>"
259
- - !ruby/object:Gem::Version
260
- version: '2.13'
261
- - !ruby/object:Gem::Dependency
262
- name: rubocop-thread_safety
263
- requirement: !ruby/object:Gem::Requirement
264
- requirements:
265
- - - "~>"
266
- - !ruby/object:Gem::Version
267
- version: '0.5'
268
- type: :development
269
- prerelease: false
270
- version_requirements: !ruby/object:Gem::Requirement
271
- requirements:
272
- - - "~>"
273
- - !ruby/object:Gem::Version
274
- version: '0.5'
275
121
  description: Extended Standard Ruby Configs for Finely Aged Rubies; Compatible with
276
122
  rubocop-lts
277
123
  email:
@@ -324,10 +170,10 @@ licenses:
324
170
  - MIT
325
171
  metadata:
326
172
  homepage_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts
327
- source_code_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/tree/v1.0.6
328
- changelog_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/blob/v1.0.6/CHANGELOG.md
173
+ source_code_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/tree/v1.0.7
174
+ changelog_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/blob/v1.0.7/CHANGELOG.md
329
175
  bug_tracker_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/issues
330
- documentation_uri: https://www.rubydoc.info/gems/standard-rubocop-lts/1.0.6
176
+ documentation_uri: https://www.rubydoc.info/gems/standard-rubocop-lts/1.0.7
331
177
  wiki_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/wikis/home
332
178
  funding_uri: https://liberapay.com/pboling
333
179
  rubygems_mfa_required: 'true'
metadata.gz.sig CHANGED
Binary file