token-resolver 2.0.8 → 2.0.10
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 +39 -21
- data/README.md +6 -18
- data/lib/token/resolver/version.rb +1 -1
- data/lib/token/resolver.rb +1 -6
- data/lib/token-resolver.rb +6 -0
- data.tar.gz.sig +0 -0
- metadata +18 -18
- 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: e9eca6a3ee9df33851e34270edb9cb9266979e1fe23e854aee18aa0412d5c269
|
|
4
|
+
data.tar.gz: 137a6d4ba043ea0eca23bdaa1ba089faef71a8d67bb1408511e2f7ec92ea30f0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 64515b2e6d61641b06c4390c36a76a13ce7752e21734e75299743a0d8147401283fe53c90ac5046166b09ab3f0df706ba22cd2489179a14010a3ef79356ca3d8
|
|
7
|
+
data.tar.gz: 47612dbaf9b9cbad14256213f7493dae0f2ea4cba015d52ff992d31ad75b6f3b6e6c6749d700dc5cc2f7cf3f54eba077d9d72b895c2b475b2837fd404065d242
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,40 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [2.0.10] - 2026-08-28
|
|
34
|
+
|
|
35
|
+
- TAG: [v2.0.10][2.0.10t]
|
|
36
|
+
- COVERAGE: 100.00% -- 267/267 lines in 11 files
|
|
37
|
+
- BRANCH COVERAGE: 100.00% -- 64/64 branches in 11 files
|
|
38
|
+
- 98.39% documented
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
|
|
42
|
+
- [kc] kettle-jem/prepare: updated 12 project files:
|
|
43
|
+
- configuration (1)
|
|
44
|
+
- dependencies (11)
|
|
45
|
+
|
|
46
|
+
- [kc] kettle-jem/template: updated 8 project files:
|
|
47
|
+
- code and tests (1)
|
|
48
|
+
- configuration (1)
|
|
49
|
+
- dependencies (1)
|
|
50
|
+
- documentation (2)
|
|
51
|
+
- other (3)
|
|
52
|
+
|
|
53
|
+
## [2.0.9] - 2026-08-03
|
|
54
|
+
|
|
55
|
+
- TAG: [v2.0.9][2.0.9t]
|
|
56
|
+
- COVERAGE: 99.62% -- 265/266 lines in 11 files
|
|
57
|
+
- BRANCH COVERAGE: 100.00% -- 64/64 branches in 11 files
|
|
58
|
+
- 98.39% documented
|
|
59
|
+
|
|
60
|
+
### Fixed
|
|
61
|
+
|
|
62
|
+
- kettle-jem-template-20260802-001 - Devcontainer JSON files now merge as JSONC,
|
|
63
|
+
preserving comments and trailing commas during template updates.
|
|
64
|
+
|
|
65
|
+
- Refresh kettle-family with nomono in the templating workflow.
|
|
66
|
+
|
|
33
67
|
## [2.0.8] - 2026-08-01
|
|
34
68
|
|
|
35
69
|
- TAG: [v2.0.8][2.0.8t]
|
|
@@ -63,10 +97,6 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
63
97
|
|
|
64
98
|
### Added
|
|
65
99
|
|
|
66
|
-
- kettle-jem-template-20260729-005 - Gemspec metadata now publishes this
|
|
67
|
-
project's RubyForum tag as `mailing_list_uri`, and support docs link to the
|
|
68
|
-
tagged RubyForum community alongside Discord.
|
|
69
|
-
|
|
70
100
|
### Fixed
|
|
71
101
|
|
|
72
102
|
- kettle-jem-template-20260728-004 - Generated dep-heads workflows now use the
|
|
@@ -75,16 +105,6 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
75
105
|
- kettle-jem-template-20260728-005 - VersionGem bootstrap now creates the
|
|
76
106
|
missing canonical version spec when a project only has shim namespace version
|
|
77
107
|
specs.
|
|
78
|
-
- kettle-jem-template-20260729-001 - Generated JRuby 9.4 workflows now use the
|
|
79
|
-
legacy manual bundle install path, avoiding setup-time Bundler full-index
|
|
80
|
-
failures against `gem.coop`.
|
|
81
|
-
- kettle-jem-template-20260729-002 - VersionGem bootstrap now preserves
|
|
82
|
-
and templates dedicated `version_gem.rb` entrypoints even when the gemspec
|
|
83
|
-
dependency is intentionally omitted, and generated anonymous-loader specs
|
|
84
|
-
cover both `version.rb` and `version_gem.rb`.
|
|
85
|
-
- kettle-jem-template-20260729-003 - Old-Ruby gems below the VersionGem runtime
|
|
86
|
-
floor now get managed minimal `version.rb` files and anonymous-loader version
|
|
87
|
-
specs without adding `version_gem`.
|
|
88
108
|
- kettle-jem-template-20260730-001 - Gemspec package file enumeration now runs
|
|
89
109
|
relative to the gemspec directory, so release package contents stay correct
|
|
90
110
|
even when the gemspec is loaded from another working directory.
|
|
@@ -141,19 +161,13 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
141
161
|
|
|
142
162
|
### Changed
|
|
143
163
|
|
|
144
|
-
- kettle-jem-template-20260716-001 - Shim gemspec manifests now include
|
|
145
|
-
`LICENSE.md` instead of nonexistent `LICENSE.txt`.
|
|
146
164
|
- kettle-jem-template-20260716-002 - Generated gemspec manifests now ship fewer
|
|
147
165
|
repository-only files by default to reduce downstream distro packaging churn.
|
|
148
166
|
|
|
149
|
-
- kettle-jem-template-20260720-001 - Generated READMEs can now render
|
|
150
|
-
template-managed corporate sponsor logos from project or family config.
|
|
151
167
|
- kettle-jem-template-20260720-002 - Generated development Gemfiles now use the
|
|
152
168
|
released `tree_sitter_language_pack` gem 1.13.3 or newer by default.
|
|
153
169
|
- kettle-jem-template-20260720-003 - Generated StructuredMerge Git diff driver
|
|
154
170
|
config now uses the installed `smorg-rb` Ruby driver name.
|
|
155
|
-
- kettle-jem-template-20260720-004 - Generated multi-engine workflow files now
|
|
156
|
-
omit JRuby and TruffleRuby jobs when project config declares MRI-only engines.
|
|
157
171
|
- kettle-jem-template-20260720-005 - Generated README Support & Community rows
|
|
158
172
|
now include a RubyForum help badge.
|
|
159
173
|
|
|
@@ -337,7 +351,11 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
337
351
|
|
|
338
352
|
### Security
|
|
339
353
|
|
|
340
|
-
[Unreleased]: https://github.com/kettle-dev/token-resolver/compare/v2.0.
|
|
354
|
+
[Unreleased]: https://github.com/kettle-dev/token-resolver/compare/v2.0.10...HEAD
|
|
355
|
+
[2.0.10]: https://github.com/kettle-dev/token-resolver/compare/v2.0.9...v2.0.10
|
|
356
|
+
[2.0.10t]: https://github.com/kettle-dev/token-resolver/releases/tag/v2.0.10
|
|
357
|
+
[2.0.9]: https://github.com/kettle-dev/token-resolver/compare/v2.0.8...v2.0.9
|
|
358
|
+
[2.0.9t]: https://github.com/kettle-dev/token-resolver/releases/tag/v2.0.9
|
|
341
359
|
[2.0.8]: https://github.com/kettle-dev/token-resolver/compare/v2.0.7...v2.0.8
|
|
342
360
|
[2.0.8t]: https://github.com/kettle-dev/token-resolver/releases/tag/v2.0.8
|
|
343
361
|
[2.0.7]: https://github.com/kettle-dev/token-resolver/compare/v2.0.6...v2.0.7
|
data/README.md
CHANGED
|
@@ -52,7 +52,7 @@ result = Token::Resolver.resolve(
|
|
|
52
52
|
|
|
53
53
|
### Compatibility
|
|
54
54
|
|
|
55
|
-
Compatible with MRI Ruby 3.2.0+,
|
|
55
|
+
Compatible with MRI Ruby 3.2.0+, JRuby, and TruffleRuby.
|
|
56
56
|
CI workflows and Appraisals are generated for MRI Ruby 3.2.0+.
|
|
57
57
|
This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
|
|
58
58
|
may be higher than the gem's runtime compatibility floor when legacy Rubies are
|
|
@@ -91,7 +91,9 @@ The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
|
91
91
|
|
|
92
92
|
</details>
|
|
93
93
|
|
|
94
|
-
### Enterprise Support
|
|
94
|
+
### Enterprise Support
|
|
95
|
+
|
|
96
|
+
[](https://tidelift.com/subscription/pkg/rubygems-token-resolver?utm_source=rubygems-token-resolver&utm_medium=referral&utm_campaign=readme)
|
|
95
97
|
|
|
96
98
|
Available as part of the Tidelift Subscription.
|
|
97
99
|
|
|
@@ -251,8 +253,7 @@ See [SECURITY.md][🔐security].
|
|
|
251
253
|
## 🤝 Contributing
|
|
252
254
|
|
|
253
255
|
If you need some ideas of where to help, you could work on adding more code coverage,
|
|
254
|
-
|
|
255
|
-
or use the gem and think about how it could be better.
|
|
256
|
+
check [issues][🤝gh-issues] or [PRs][🤝gh-pulls], or use the gem and think about how it could be better.
|
|
256
257
|
|
|
257
258
|
We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
|
|
258
259
|
|
|
@@ -288,19 +289,6 @@ Made with [contributors-img][🖐contrib-rocks].
|
|
|
288
289
|
|
|
289
290
|
Also see GitLab Contributors: [https://gitlab.com/kettle-dev/token-resolver/-/graphs/main][🚎contributors-gl]
|
|
290
291
|
|
|
291
|
-
<details markdown="1">
|
|
292
|
-
<summary>⭐️ Star History</summary>
|
|
293
|
-
|
|
294
|
-
<a href="https://star-history.com/kettle-dev/token-resolver&Date">
|
|
295
|
-
<picture>
|
|
296
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=kettle-dev/token-resolver&type=Date&theme=dark" />
|
|
297
|
-
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=kettle-dev/token-resolver&type=Date" />
|
|
298
|
-
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=kettle-dev/token-resolver&type=Date" />
|
|
299
|
-
</picture>
|
|
300
|
-
</a>
|
|
301
|
-
|
|
302
|
-
</details>
|
|
303
|
-
|
|
304
292
|
## 📌 Versioning
|
|
305
293
|
|
|
306
294
|
This library follows [![Semantic Versioning 2.0.0][📌semver-img]][📌semver] for its public API where practical.
|
|
@@ -532,7 +520,7 @@ Thanks for RTFM. ☺️
|
|
|
532
520
|
[📌gitmoji]: https://gitmoji.dev
|
|
533
521
|
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
|
|
534
522
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
535
|
-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.
|
|
523
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.267-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
536
524
|
[🔐security]: https://github.com/kettle-dev/token-resolver/blob/main/SECURITY.md
|
|
537
525
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
538
526
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
@@ -5,7 +5,7 @@ module Token
|
|
|
5
5
|
# Version namespace for this gem.
|
|
6
6
|
module Version
|
|
7
7
|
# Current gem version.
|
|
8
|
-
VERSION = "2.0.
|
|
8
|
+
VERSION = "2.0.10"
|
|
9
9
|
end
|
|
10
10
|
# Current gem version exposed at the traditional constant location.
|
|
11
11
|
VERSION = Version::VERSION # Traditional Constant Location
|
data/lib/token/resolver.rb
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
# External gems
|
|
4
|
-
|
|
4
|
+
require_relative "resolver/version"
|
|
5
5
|
|
|
6
6
|
# This gem - only version can be required (never autoloaded)
|
|
7
|
-
require_relative "resolver/version"
|
|
8
7
|
|
|
9
8
|
module Token
|
|
10
9
|
# Token::Resolver provides configurable PEG-based (parslet) parsing and resolution
|
|
@@ -83,7 +82,3 @@ module Token
|
|
|
83
82
|
end
|
|
84
83
|
end
|
|
85
84
|
end
|
|
86
|
-
|
|
87
|
-
Token::Resolver::Version.class_eval do
|
|
88
|
-
extend VersionGem::Basic
|
|
89
|
-
end
|
data/lib/token-resolver.rb
CHANGED
|
@@ -2,3 +2,9 @@
|
|
|
2
2
|
# See: https://github.com/fxn/zeitwerk#for_gem_extension
|
|
3
3
|
# Hook for other libraries to load this library (e.g. via bundler)
|
|
4
4
|
require "token/resolver"
|
|
5
|
+
require "version_gem"
|
|
6
|
+
require_relative "token/resolver/version"
|
|
7
|
+
|
|
8
|
+
Token::Resolver::Version.class_eval do
|
|
9
|
+
extend VersionGem::Basic
|
|
10
|
+
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: token-resolver
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter H. Boling
|
|
@@ -60,7 +60,7 @@ dependencies:
|
|
|
60
60
|
version: '1.1'
|
|
61
61
|
- - ">="
|
|
62
62
|
- !ruby/object:Gem::Version
|
|
63
|
-
version: 1.1.
|
|
63
|
+
version: 1.1.15
|
|
64
64
|
type: :runtime
|
|
65
65
|
prerelease: false
|
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -70,27 +70,27 @@ dependencies:
|
|
|
70
70
|
version: '1.1'
|
|
71
71
|
- - ">="
|
|
72
72
|
- !ruby/object:Gem::Version
|
|
73
|
-
version: 1.1.
|
|
73
|
+
version: 1.1.15
|
|
74
74
|
- !ruby/object:Gem::Dependency
|
|
75
75
|
name: kettle-dev
|
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements:
|
|
78
78
|
- - "~>"
|
|
79
79
|
- !ruby/object:Gem::Version
|
|
80
|
-
version: '
|
|
80
|
+
version: '3.0'
|
|
81
81
|
- - ">="
|
|
82
82
|
- !ruby/object:Gem::Version
|
|
83
|
-
version:
|
|
83
|
+
version: 3.0.16
|
|
84
84
|
type: :development
|
|
85
85
|
prerelease: false
|
|
86
86
|
version_requirements: !ruby/object:Gem::Requirement
|
|
87
87
|
requirements:
|
|
88
88
|
- - "~>"
|
|
89
89
|
- !ruby/object:Gem::Version
|
|
90
|
-
version: '
|
|
90
|
+
version: '3.0'
|
|
91
91
|
- - ">="
|
|
92
92
|
- !ruby/object:Gem::Version
|
|
93
|
-
version:
|
|
93
|
+
version: 3.0.16
|
|
94
94
|
- !ruby/object:Gem::Dependency
|
|
95
95
|
name: bundler-audit
|
|
96
96
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -168,7 +168,7 @@ dependencies:
|
|
|
168
168
|
version: '3.2'
|
|
169
169
|
- - ">="
|
|
170
170
|
- !ruby/object:Gem::Version
|
|
171
|
-
version: 3.2.
|
|
171
|
+
version: 3.2.2
|
|
172
172
|
type: :development
|
|
173
173
|
prerelease: false
|
|
174
174
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -178,7 +178,7 @@ dependencies:
|
|
|
178
178
|
version: '3.2'
|
|
179
179
|
- - ">="
|
|
180
180
|
- !ruby/object:Gem::Version
|
|
181
|
-
version: 3.2.
|
|
181
|
+
version: 3.2.2
|
|
182
182
|
- !ruby/object:Gem::Dependency
|
|
183
183
|
name: kettle-test
|
|
184
184
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -188,7 +188,7 @@ dependencies:
|
|
|
188
188
|
version: '2.0'
|
|
189
189
|
- - ">="
|
|
190
190
|
- !ruby/object:Gem::Version
|
|
191
|
-
version: 2.0.
|
|
191
|
+
version: 2.0.21
|
|
192
192
|
type: :development
|
|
193
193
|
prerelease: false
|
|
194
194
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -198,7 +198,7 @@ dependencies:
|
|
|
198
198
|
version: '2.0'
|
|
199
199
|
- - ">="
|
|
200
200
|
- !ruby/object:Gem::Version
|
|
201
|
-
version: 2.0.
|
|
201
|
+
version: 2.0.21
|
|
202
202
|
- !ruby/object:Gem::Dependency
|
|
203
203
|
name: turbo_tests2
|
|
204
204
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -208,7 +208,7 @@ dependencies:
|
|
|
208
208
|
version: '3.2'
|
|
209
209
|
- - ">="
|
|
210
210
|
- !ruby/object:Gem::Version
|
|
211
|
-
version: 3.2.
|
|
211
|
+
version: 3.2.6
|
|
212
212
|
type: :development
|
|
213
213
|
prerelease: false
|
|
214
214
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -218,7 +218,7 @@ dependencies:
|
|
|
218
218
|
version: '3.2'
|
|
219
219
|
- - ">="
|
|
220
220
|
- !ruby/object:Gem::Version
|
|
221
|
-
version: 3.2.
|
|
221
|
+
version: 3.2.6
|
|
222
222
|
- !ruby/object:Gem::Dependency
|
|
223
223
|
name: ruby-progressbar
|
|
224
224
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -262,7 +262,7 @@ dependencies:
|
|
|
262
262
|
version: '2.0'
|
|
263
263
|
- - ">="
|
|
264
264
|
- !ruby/object:Gem::Version
|
|
265
|
-
version: 2.0.
|
|
265
|
+
version: 2.0.12
|
|
266
266
|
type: :development
|
|
267
267
|
prerelease: false
|
|
268
268
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -272,7 +272,7 @@ dependencies:
|
|
|
272
272
|
version: '2.0'
|
|
273
273
|
- - ">="
|
|
274
274
|
- !ruby/object:Gem::Version
|
|
275
|
-
version: 2.0.
|
|
275
|
+
version: 2.0.12
|
|
276
276
|
description: "\U0001FA99 Token::Resolver provides configurable PEG-based (parslet)
|
|
277
277
|
parsing and resolution of structured tokens (e.g., {KJ|GEM_NAME}) in arbitrary text.
|
|
278
278
|
Useful for template ETL pipelines where tokens in template files must be resolved
|
|
@@ -304,10 +304,10 @@ licenses:
|
|
|
304
304
|
- PolyForm-Small-Business-1.0.0
|
|
305
305
|
metadata:
|
|
306
306
|
homepage_uri: https://token-resolver.galtzo.com/
|
|
307
|
-
source_code_uri: https://github.com/kettle-dev/token-resolver/tree/v2.0.
|
|
308
|
-
changelog_uri: https://github.com/kettle-dev/token-resolver/blob/v2.0.
|
|
307
|
+
source_code_uri: https://github.com/kettle-dev/token-resolver/tree/v2.0.10
|
|
308
|
+
changelog_uri: https://github.com/kettle-dev/token-resolver/blob/v2.0.10/CHANGELOG.md
|
|
309
309
|
bug_tracker_uri: https://github.com/kettle-dev/token-resolver/issues
|
|
310
|
-
documentation_uri: https://www.rubydoc.info/gems/token-resolver/2.0.
|
|
310
|
+
documentation_uri: https://www.rubydoc.info/gems/token-resolver/2.0.10
|
|
311
311
|
funding_uri: https://github.com/sponsors/pboling
|
|
312
312
|
wiki_uri: https://github.com/kettle-dev/token-resolver/wiki
|
|
313
313
|
news_uri: https://www.railsbling.com/tags/token-resolver
|
metadata.gz.sig
CHANGED
|
Binary file
|