rubocop-lts-ruby 0.1.0
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 +7 -0
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +119 -0
- data/LICENSE.md +10 -0
- data/README.md +533 -0
- data/Rakefile +188 -0
- data/config/base.yml +12 -0
- data/lib/rubocop/lts/ruby/catalog.rb +383 -0
- data/lib/rubocop/lts/ruby/cop/lint_lts_ruby/unavailable_method.rb +71 -0
- data/lib/rubocop/lts/ruby/plugin.rb +35 -0
- data/lib/rubocop/lts/ruby/version.rb +15 -0
- data/lib/rubocop/lts/ruby.rb +11 -0
- data/lib/rubocop-lts-ruby.rb +9 -0
- data/rubocop-lts-ruby.gemspec +151 -0
- data/sig/rubocop/lts/ruby.rbs +10 -0
- data.tar.gz.sig +0 -0
- metadata +360 -0
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 04e029bdc1be40a6931f1dc72a43f5c2cf05df615ea7de1c72615cbe7b88b7b1
|
|
4
|
+
data.tar.gz: fc3153680a7f158cb2c032b8a7bd7430eda5b542c6fe4497f30823b42144494e
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 78eb4ae73f1b06ce56e49fd98b89ce35489f7a188779ea29fbf8db8bacde9df2a1a5e96422ec399c87b9596ab61ffa9690cc7c30312b112542f6a4203c38bb13
|
|
7
|
+
data.tar.gz: c8ff5f814f6fc6c853a4c8f7414602bc7fc9e0eab4612c0a1603a39e9de103e1e04c5df4152e27bca9388f64305dd937560993832983577cf65c0bf4003f1463
|
checksums.yaml.gz.sig
ADDED
|
Binary file
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
[![SemVer 2.0.0][📌semver-img]][📌semver] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog]
|
|
4
|
+
|
|
5
|
+
All notable changes to this project will be documented in this file.
|
|
6
|
+
|
|
7
|
+
The format is based on [Keep a Changelog][📗keep-changelog],
|
|
8
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
|
|
9
|
+
and [yes][📌major-versions-not-sacred], platform and engine support are part of the [public API][📌semver-breaking].
|
|
10
|
+
Please file a bug if you notice a violation of semantic versioning.
|
|
11
|
+
|
|
12
|
+
[📌semver]: https://semver.org/spec/v2.0.0.html
|
|
13
|
+
[📌semver-img]: https://img.shields.io/badge/semver-2.0.0-FFDD67.svg?style=flat
|
|
14
|
+
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
|
15
|
+
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
|
16
|
+
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
|
17
|
+
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
|
|
18
|
+
|
|
19
|
+
## [Unreleased]
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
### Deprecated
|
|
26
|
+
|
|
27
|
+
### Removed
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
### Security
|
|
32
|
+
|
|
33
|
+
## [0.1.0] - 2026-08-09
|
|
34
|
+
|
|
35
|
+
- TAG: [v0.1.0][0.1.0t]
|
|
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
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- Add a LintRoller plugin that gates catalogued Ruby core and standard library APIs by TargetRubyVersion.
|
|
43
|
+
|
|
44
|
+
- kettle-jem-template-20260720-005 - README Support & Community links now
|
|
45
|
+
include RubyForum.
|
|
46
|
+
- kettle-jem-template-20260726-001 - Projects now include YARD lint
|
|
47
|
+
configuration and documentation dependencies so documentation issues fail
|
|
48
|
+
before generated docs are refreshed.
|
|
49
|
+
- kettle-jem-template-20260727-001 - Spec harness documentation now lists the
|
|
50
|
+
RSpec helpers provided by `kettle-test`.
|
|
51
|
+
|
|
52
|
+
- The Lint/LtsRuby/UnavailableMethod catalog now covers additional Ruby 2.5 through 3.3 core and standard library APIs, with constant-receiver matching for singleton APIs.
|
|
53
|
+
|
|
54
|
+
- The Lint/LtsRuby/UnavailableMethod catalog now covers Ruby 3.1 core APIs, including Array#intersect?, Class#subclasses, Enumerable compaction, MatchData methods, GC timing, Integer.try_convert, and thread APIs.
|
|
55
|
+
|
|
56
|
+
- Expand Lint/LtsRuby/UnavailableMethod with high-confidence Ruby 2.0 through 3.4 core and standard library APIs from the complete NEWS audit.
|
|
57
|
+
|
|
58
|
+
### Changed
|
|
59
|
+
|
|
60
|
+
- kettle-jem-template-20260716-002 - Gemspecs now ship fewer repository-only
|
|
61
|
+
files, reducing package noise for downstream packagers.
|
|
62
|
+
- kettle-jem-template-20260720-002 - Development Gemfiles now use the released
|
|
63
|
+
`tree_sitter_language_pack` gem 1.13.3 or newer by default.
|
|
64
|
+
- kettle-jem-template-20260725-002 - Version specs now use `anonymous_loader` to
|
|
65
|
+
cover `version.rb` without redefining constants, or are removed when version
|
|
66
|
+
specs are not managed for the project.
|
|
67
|
+
- kettle-jem-template-20260801-001 - Generated README gem dashboard links now
|
|
68
|
+
use ClickGems instead of BestGems.
|
|
69
|
+
|
|
70
|
+
- kettle-jem-template-20260728-001 - Generated Ruby workflows now use clearer
|
|
71
|
+
setup-ruby-flash planning and can prepare appraisal-only jobs without
|
|
72
|
+
installing the main Gemfile bundle.
|
|
73
|
+
|
|
74
|
+
- The LintRoller plugin now supplies only its API-gating rules; TargetRubyVersion remains owned by the consuming RuboCop configuration, and the catalog is audited against the full Ruby 2.0 through 3.4 NEWS.
|
|
75
|
+
|
|
76
|
+
### Fixed
|
|
77
|
+
|
|
78
|
+
- kettle-jem-template-20260720-003 - StructuredMerge Git diff driver config now
|
|
79
|
+
uses the installed `smorg-rb` driver command.
|
|
80
|
+
- kettle-jem-template-20260725-001 - Release pull request branches beginning
|
|
81
|
+
with `feature/release` now run JRuby and TruffleRuby workflows.
|
|
82
|
+
- kettle-jem-template-20260726-002 - Generated version files now document their
|
|
83
|
+
version namespace and constants, reducing warning-only YARD lint output.
|
|
84
|
+
- kettle-jem-template-20260726-003 - Coverage upload steps now treat Coveralls,
|
|
85
|
+
QLTY, and Codecov as optional, so provider outages do not fail CI when local
|
|
86
|
+
coverage thresholds still pass.
|
|
87
|
+
- kettle-jem-template-20260728-002 - Generated RuboCop configs now ignore the
|
|
88
|
+
same `gemfiles/vendor/bundle` tree as `.gitignore`, so vendored dependency
|
|
89
|
+
installs are not reported as project lint debt.
|
|
90
|
+
- kettle-jem-template-20260728-005 - VersionGem bootstrap now creates the
|
|
91
|
+
missing canonical version spec when a project only has shim namespace version
|
|
92
|
+
specs.
|
|
93
|
+
- kettle-jem-template-20260730-001 - Gemspec package file enumeration now runs
|
|
94
|
+
relative to the gemspec directory, so release package contents stay correct
|
|
95
|
+
even when the gemspec is loaded from another working directory.
|
|
96
|
+
- kettle-jem-template-20260801-002 - Generated RSpec helpers now normalize
|
|
97
|
+
managed configuration block bindings structurally, preventing mixed block
|
|
98
|
+
parameter names from producing invalid configuration after a merge.
|
|
99
|
+
- kettle-jem-template-20260801-003 - Generated project metadata and
|
|
100
|
+
documentation now normalize configured underscore hostnames to valid
|
|
101
|
+
hyphenated hostnames.
|
|
102
|
+
- kettle-jem-template-20260801-004 - Generated organization README logos now
|
|
103
|
+
use GitHub's stable organization avatar endpoint instead of assuming a
|
|
104
|
+
matching Galtzo-hosted asset exists.
|
|
105
|
+
- kettle-jem-template-20260802-001 - Devcontainer JSON files now merge as JSONC,
|
|
106
|
+
preserving comments and trailing commas during template updates.
|
|
107
|
+
|
|
108
|
+
- kettle-jem-template-20260728-003 - Generated dep-heads workflows now run
|
|
109
|
+
TruffleRuby jobs with current RubyGems and Bundler, avoiding setup failures
|
|
110
|
+
before the test suite starts.
|
|
111
|
+
- kettle-jem-template-20260728-004 - Generated dep-heads workflows now use the
|
|
112
|
+
setup-ruby Bundler install path for direct appraisal Gemfiles, avoiding rv
|
|
113
|
+
lockfile parser failures on Git and path dependencies.
|
|
114
|
+
|
|
115
|
+
- 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
|
+
|
|
117
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts-ruby/compare/v0.1.0...HEAD
|
|
118
|
+
[0.1.0]: https://github.com/rubocop-lts/rubocop-lts-ruby/compare/968b2f62d3056d967753b1ee4fcdc3c958553b87...v0.1.0
|
|
119
|
+
[0.1.0t]: https://github.com/rubocop-lts/rubocop-lts-ruby/releases/tag/v0.1.0
|
data/LICENSE.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# License
|
|
2
|
+
|
|
3
|
+
This project is made available under the following license.
|
|
4
|
+
Choose the option that best fits your use case:
|
|
5
|
+
|
|
6
|
+
- [MIT](https://github.com/rubocop-lts/rubocop-lts-ruby/blob/main/MIT.md)
|
|
7
|
+
|
|
8
|
+
## Copyright Notice
|
|
9
|
+
|
|
10
|
+
- Copyright (c) 2026 Peter H. Boling
|