rubocop-lts-ruby 0.1.0 → 0.1.1
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 +28 -1
- data/README.md +7 -17
- data/lib/rubocop/lts/ruby/version.rb +1 -1
- data/rubocop-lts-ruby.gemspec +5 -5
- data.tar.gz.sig +0 -0
- metadata +16 -16
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 29077e2a4e3cc7489fe32210f110ffe2cbce2f07967a5db4067a17c76e344386
|
|
4
|
+
data.tar.gz: 9da519abc67190594d570dd1594bdb271450915375211ae9729a284f3e588dce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be2d3c952a9d3e163ae7b902b7594d3095c484d36c63c6db7a63817c0c3aa0b711c3e0e62e2b1084808d8199499ac570a18d64d983cede497a24a63b465852cf
|
|
7
|
+
data.tar.gz: 13a486094c57ff25b41d7759596050ef0915086f4c7007905e1a4a0fe496a64e5e693352b0d4e89973dbe26632fa5a6177a73e59b1ea27f325eb154407be3079
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,31 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [0.1.1] - 2026-09-07
|
|
34
|
+
|
|
35
|
+
- TAG: [v0.1.1][0.1.1t]
|
|
36
|
+
- COVERAGE: 98.68% -- 75/76 lines in 6 files
|
|
37
|
+
- BRANCH COVERAGE: 91.67% -- 11/12 branches in 6 files
|
|
38
|
+
- 44.44% documented
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
|
|
42
|
+
- [kc] kettle-jem/prepare: updated 41 project files:
|
|
43
|
+
- configuration (1)
|
|
44
|
+
- dependencies (38)
|
|
45
|
+
- other (2)
|
|
46
|
+
|
|
47
|
+
- [kc] kettle-jem/template: updated 22 project files:
|
|
48
|
+
- configuration (1)
|
|
49
|
+
- dependencies (9)
|
|
50
|
+
- documentation (2)
|
|
51
|
+
- other (9)
|
|
52
|
+
- workflows (1)
|
|
53
|
+
|
|
54
|
+
### Fixed
|
|
55
|
+
|
|
56
|
+
- Document the plugin purpose in the README Synopsis section.
|
|
57
|
+
|
|
33
58
|
## [0.1.0] - 2026-08-09
|
|
34
59
|
|
|
35
60
|
- TAG: [v0.1.0][0.1.0t]
|
|
@@ -114,6 +139,8 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
114
139
|
|
|
115
140
|
- Generated dep-heads workflows now include their checked-in appraisal Gemfile, and Ruby 3.1 stdlib appraisal references resolve to an existing modular Gemfile.
|
|
116
141
|
|
|
117
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts-ruby/compare/v0.1.
|
|
142
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts-ruby/compare/v0.1.1...HEAD
|
|
143
|
+
[0.1.1]: https://github.com/rubocop-lts/rubocop-lts-ruby/compare/v0.1.0...v0.1.1
|
|
144
|
+
[0.1.1t]: https://github.com/rubocop-lts/rubocop-lts-ruby/releases/tag/v0.1.1
|
|
118
145
|
[0.1.0]: https://github.com/rubocop-lts/rubocop-lts-ruby/compare/968b2f62d3056d967753b1ee4fcdc3c958553b87...v0.1.0
|
|
119
146
|
[0.1.0t]: https://github.com/rubocop-lts/rubocop-lts-ruby/releases/tag/v0.1.0
|
data/README.md
CHANGED
|
@@ -21,6 +21,8 @@ I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-ta
|
|
|
21
21
|
|
|
22
22
|
## 🌻 Synopsis <a href="https://discord.gg/3qme4XHNKN"><img alt="Galtzo FLOSS Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/galtzo-floss/avatar-128px.svg" width="8%" align="right"/></a> <a href="https://ruby-toolbox.com"><img alt="ruby-lang Logo, Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5" src="https://logos.galtzo.com/assets/images/ruby-lang/avatar-128px.svg" width="8%" align="right"/></a>
|
|
23
23
|
|
|
24
|
+
`rubocop-lts-ruby` provides a RuboCop plugin with compatibility cops for Ruby core and standard-library APIs. It reports calls to catalogued methods that are unavailable in the configured target Ruby version, helping projects catch accidental use of newer APIs before they reach supported runtimes.
|
|
25
|
+
|
|
24
26
|
## 💡 Info you can shake a stick at
|
|
25
27
|
|
|
26
28
|
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
|
@@ -39,7 +41,7 @@ I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-ta
|
|
|
39
41
|
|
|
40
42
|
### Compatibility
|
|
41
43
|
|
|
42
|
-
Compatible with MRI Ruby
|
|
44
|
+
Compatible with MRI Ruby 3.2.0+, JRuby, and TruffleRuby.
|
|
43
45
|
CI workflows and Appraisals are generated for MRI Ruby 3.2.0+.
|
|
44
46
|
This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
|
|
45
47
|
may be higher than the gem's runtime compatibility floor when legacy Rubies are
|
|
@@ -78,7 +80,9 @@ The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
|
78
80
|
|
|
79
81
|
</details>
|
|
80
82
|
|
|
81
|
-
### Enterprise Support
|
|
83
|
+
### Enterprise Support
|
|
84
|
+
|
|
85
|
+
[](https://tidelift.com/subscription/pkg/rubygems-rubocop-lts-ruby?utm_source=rubygems-rubocop-lts-ruby&utm_medium=referral&utm_campaign=readme)
|
|
82
86
|
|
|
83
87
|
Available as part of the Tidelift Subscription.
|
|
84
88
|
|
|
@@ -229,8 +233,7 @@ See [SECURITY.md][🔐security].
|
|
|
229
233
|
## 🤝 Contributing
|
|
230
234
|
|
|
231
235
|
If you need some ideas of where to help, you could work on adding more code coverage,
|
|
232
|
-
|
|
233
|
-
or use the gem and think about how it could be better.
|
|
236
|
+
check [issues][🤝gh-issues] or [PRs][🤝gh-pulls], or use the gem and think about how it could be better.
|
|
234
237
|
|
|
235
238
|
We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
|
|
236
239
|
|
|
@@ -266,19 +269,6 @@ Made with [contributors-img][🖐contrib-rocks].
|
|
|
266
269
|
|
|
267
270
|
Also see GitLab Contributors: [https://gitlab.com/rubocop-lts/rubocop-lts-ruby/-/graphs/main][🚎contributors-gl]
|
|
268
271
|
|
|
269
|
-
<details markdown="1">
|
|
270
|
-
<summary>⭐️ Star History</summary>
|
|
271
|
-
|
|
272
|
-
<a href="https://star-history.com/rubocop-lts/rubocop-lts-ruby&Date">
|
|
273
|
-
<picture>
|
|
274
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=rubocop-lts/rubocop-lts-ruby&type=Date&theme=dark" />
|
|
275
|
-
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=rubocop-lts/rubocop-lts-ruby&type=Date" />
|
|
276
|
-
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=rubocop-lts/rubocop-lts-ruby&type=Date" />
|
|
277
|
-
</picture>
|
|
278
|
-
</a>
|
|
279
|
-
|
|
280
|
-
</details>
|
|
281
|
-
|
|
282
272
|
## 📌 Versioning
|
|
283
273
|
|
|
284
274
|
This library follows [![Semantic Versioning 2.0.0][📌semver-img]][📌semver] for its public API where practical.
|
|
@@ -6,7 +6,7 @@ module RuboCop
|
|
|
6
6
|
# Version namespace for this gem.
|
|
7
7
|
module Version
|
|
8
8
|
# Current gem version.
|
|
9
|
-
VERSION = "0.1.
|
|
9
|
+
VERSION = "0.1.1"
|
|
10
10
|
end
|
|
11
11
|
# Current gem version exposed at the traditional constant location.
|
|
12
12
|
VERSION = Version::VERSION # Traditional Constant Location
|
data/rubocop-lts-ruby.gemspec
CHANGED
|
@@ -120,7 +120,7 @@ Gem::Specification.new do |spec|
|
|
|
120
120
|
# and preferably a modular one (see gemfiles/modular/*.gemfile).
|
|
121
121
|
|
|
122
122
|
# Dev, Test, & Release Tasks
|
|
123
|
-
spec.add_development_dependency("kettle-dev", "~>
|
|
123
|
+
spec.add_development_dependency("kettle-dev", "~> 3.0", ">= 3.0.32") # ruby >= 3.2.0
|
|
124
124
|
|
|
125
125
|
# Security
|
|
126
126
|
spec.add_development_dependency("bundler-audit", "~> 0.9.3") # ruby >= 2.0.0
|
|
@@ -134,9 +134,9 @@ Gem::Specification.new do |spec|
|
|
|
134
134
|
# Testing
|
|
135
135
|
# Loads version files in anonymous namespaces for coverage without constant redefinition warnings.
|
|
136
136
|
spec.add_development_dependency("anonymous_loader", "~> 0.1", ">= 0.1.3") # ruby >= 2.2.0
|
|
137
|
-
spec.add_development_dependency("appraisal2", "~> 3.2", ">= 3.2.
|
|
138
|
-
spec.add_development_dependency("kettle-test", "~> 2.0", ">= 2.0.
|
|
139
|
-
spec.add_development_dependency("turbo_tests2", "~> 3.2", ">= 3.2.
|
|
137
|
+
spec.add_development_dependency("appraisal2", "~> 3.2", ">= 3.2.3") # ruby >= 1.8.7, for testing against multiple versions of dependencies
|
|
138
|
+
spec.add_development_dependency("kettle-test", "~> 2.0", ">= 2.0.21") # ruby >= 3.2.0
|
|
139
|
+
spec.add_development_dependency("turbo_tests2", "~> 3.2", ">= 3.2.7") # ruby >= 2.4.0, default kettle-test runner
|
|
140
140
|
|
|
141
141
|
# Releasing
|
|
142
142
|
spec.add_development_dependency("ruby-progressbar", "~> 1.13") # ruby >= 0
|
|
@@ -147,5 +147,5 @@ Gem::Specification.new do |spec|
|
|
|
147
147
|
# This means we have no choice but to use the erb that shipped with Ruby 2.3
|
|
148
148
|
# /opt/hostedtoolcache/Ruby/2.3.8/x64/lib/ruby/gems/2.3.0/gems/erb-2.2.2/lib/erb.rb:670:in `prepare_trim_mode': undefined method `match?' for "-":String (NoMethodError)
|
|
149
149
|
# spec.add_development_dependency("erb", ">= 2.2") # ruby >= 2.3.0, not SemVer, old rubies get dropped in a patch.
|
|
150
|
-
spec.add_development_dependency("gitmoji-regex", "~> 2.0", ">= 2.0.
|
|
150
|
+
spec.add_development_dependency("gitmoji-regex", "~> 2.0", ">= 2.0.12") # ruby >= 2.4
|
|
151
151
|
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-lts-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter H. Boling
|
|
@@ -97,20 +97,20 @@ dependencies:
|
|
|
97
97
|
requirements:
|
|
98
98
|
- - "~>"
|
|
99
99
|
- !ruby/object:Gem::Version
|
|
100
|
-
version: '
|
|
100
|
+
version: '3.0'
|
|
101
101
|
- - ">="
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
|
-
version:
|
|
103
|
+
version: 3.0.32
|
|
104
104
|
type: :development
|
|
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: '
|
|
110
|
+
version: '3.0'
|
|
111
111
|
- - ">="
|
|
112
112
|
- !ruby/object:Gem::Version
|
|
113
|
-
version:
|
|
113
|
+
version: 3.0.32
|
|
114
114
|
- !ruby/object:Gem::Dependency
|
|
115
115
|
name: bundler-audit
|
|
116
116
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -188,7 +188,7 @@ dependencies:
|
|
|
188
188
|
version: '3.2'
|
|
189
189
|
- - ">="
|
|
190
190
|
- !ruby/object:Gem::Version
|
|
191
|
-
version: 3.2.
|
|
191
|
+
version: 3.2.3
|
|
192
192
|
type: :development
|
|
193
193
|
prerelease: false
|
|
194
194
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -198,7 +198,7 @@ dependencies:
|
|
|
198
198
|
version: '3.2'
|
|
199
199
|
- - ">="
|
|
200
200
|
- !ruby/object:Gem::Version
|
|
201
|
-
version: 3.2.
|
|
201
|
+
version: 3.2.3
|
|
202
202
|
- !ruby/object:Gem::Dependency
|
|
203
203
|
name: kettle-test
|
|
204
204
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -208,7 +208,7 @@ dependencies:
|
|
|
208
208
|
version: '2.0'
|
|
209
209
|
- - ">="
|
|
210
210
|
- !ruby/object:Gem::Version
|
|
211
|
-
version: 2.0.
|
|
211
|
+
version: 2.0.21
|
|
212
212
|
type: :development
|
|
213
213
|
prerelease: false
|
|
214
214
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -218,7 +218,7 @@ dependencies:
|
|
|
218
218
|
version: '2.0'
|
|
219
219
|
- - ">="
|
|
220
220
|
- !ruby/object:Gem::Version
|
|
221
|
-
version: 2.0.
|
|
221
|
+
version: 2.0.21
|
|
222
222
|
- !ruby/object:Gem::Dependency
|
|
223
223
|
name: turbo_tests2
|
|
224
224
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -228,7 +228,7 @@ dependencies:
|
|
|
228
228
|
version: '3.2'
|
|
229
229
|
- - ">="
|
|
230
230
|
- !ruby/object:Gem::Version
|
|
231
|
-
version: 3.2.
|
|
231
|
+
version: 3.2.7
|
|
232
232
|
type: :development
|
|
233
233
|
prerelease: false
|
|
234
234
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -238,7 +238,7 @@ dependencies:
|
|
|
238
238
|
version: '3.2'
|
|
239
239
|
- - ">="
|
|
240
240
|
- !ruby/object:Gem::Version
|
|
241
|
-
version: 3.2.
|
|
241
|
+
version: 3.2.7
|
|
242
242
|
- !ruby/object:Gem::Dependency
|
|
243
243
|
name: ruby-progressbar
|
|
244
244
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -282,7 +282,7 @@ dependencies:
|
|
|
282
282
|
version: '2.0'
|
|
283
283
|
- - ">="
|
|
284
284
|
- !ruby/object:Gem::Version
|
|
285
|
-
version: 2.0.
|
|
285
|
+
version: 2.0.12
|
|
286
286
|
type: :development
|
|
287
287
|
prerelease: false
|
|
288
288
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -292,7 +292,7 @@ dependencies:
|
|
|
292
292
|
version: '2.0'
|
|
293
293
|
- - ">="
|
|
294
294
|
- !ruby/object:Gem::Version
|
|
295
|
-
version: 2.0.
|
|
295
|
+
version: 2.0.12
|
|
296
296
|
description: |
|
|
297
297
|
RuboCop cops that detect use of Ruby core and standard library APIs that are
|
|
298
298
|
unavailable for the configured TargetRubyVersion.
|
|
@@ -320,10 +320,10 @@ licenses:
|
|
|
320
320
|
- MIT
|
|
321
321
|
metadata:
|
|
322
322
|
homepage_uri: https://github.com/rubocop-lts/rubocop-lts-ruby
|
|
323
|
-
source_code_uri: https://github.com/rubocop-lts/rubocop-lts-ruby/tree/v0.1.
|
|
324
|
-
changelog_uri: https://github.com/rubocop-lts/rubocop-lts-ruby/blob/v0.1.
|
|
323
|
+
source_code_uri: https://github.com/rubocop-lts/rubocop-lts-ruby/tree/v0.1.1
|
|
324
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-lts-ruby/blob/v0.1.1/CHANGELOG.md
|
|
325
325
|
bug_tracker_uri: https://github.com/rubocop-lts/rubocop-lts-ruby/issues
|
|
326
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts-ruby/0.1.
|
|
326
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts-ruby/0.1.1
|
|
327
327
|
funding_uri: https://github.com/sponsors/pboling
|
|
328
328
|
wiki_uri: https://github.com/rubocop-lts/rubocop-lts-ruby/wiki
|
|
329
329
|
news_uri: https://www.railsbling.com/tags/rubocop-lts-ruby
|
metadata.gz.sig
CHANGED
|
Binary file
|