token-resolver 1.0.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 +48 -0
- data/CITATION.cff +20 -0
- data/CODE_OF_CONDUCT.md +134 -0
- data/CONTRIBUTING.md +227 -0
- data/FUNDING.md +74 -0
- data/LICENSE.txt +21 -0
- data/README.md +645 -0
- data/REEK +0 -0
- data/RUBOCOP.md +71 -0
- data/SECURITY.md +21 -0
- data/lib/token/resolver/config.rb +134 -0
- data/lib/token/resolver/document.rb +82 -0
- data/lib/token/resolver/grammar.rb +122 -0
- data/lib/token/resolver/node/text.rb +63 -0
- data/lib/token/resolver/node/token.rb +107 -0
- data/lib/token/resolver/node.rb +11 -0
- data/lib/token/resolver/resolve.rb +93 -0
- data/lib/token/resolver/transform.rb +100 -0
- data/lib/token/resolver/version.rb +12 -0
- data/lib/token/resolver.rb +90 -0
- data/lib/token-resolver.rb +4 -0
- data/sig/token/resolver.rbs +6 -0
- data.tar.gz.sig +2 -0
- metadata +314 -0
- metadata.gz.sig +0 -0
data/README.md
ADDED
|
@@ -0,0 +1,645 @@
|
|
|
1
|
+
[![Galtzo FLOSS Logo by Aboling0, CC BY-SA 4.0][🖼️galtzo-i]][🖼️galtzo-discord] [![ruby-lang Logo, Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5][🖼️ruby-lang-i]][🖼️ruby-lang] [![kettle-rb Logo by Aboling0, CC BY-SA 4.0][🖼️kettle-rb-i]][🖼️kettle-rb]
|
|
2
|
+
|
|
3
|
+
[🖼️galtzo-i]: https://logos.galtzo.com/assets/images/galtzo-floss/avatar-192px.svg
|
|
4
|
+
[🖼️galtzo-discord]: https://discord.gg/3qme4XHNKN
|
|
5
|
+
[🖼️ruby-lang-i]: https://logos.galtzo.com/assets/images/ruby-lang/avatar-192px.svg
|
|
6
|
+
[🖼️ruby-lang]: https://www.ruby-lang.org/
|
|
7
|
+
[🖼️kettle-rb-i]: https://logos.galtzo.com/assets/images/kettle-rb/avatar-192px.svg
|
|
8
|
+
[🖼️kettle-rb]: https://github.com/kettle-rb
|
|
9
|
+
|
|
10
|
+
# 🪙 Token::Resolver
|
|
11
|
+
|
|
12
|
+
[![Version][👽versioni]][👽dl-rank] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄license-img]][📄license-ref] [![Downloads Rank][👽dl-ranki]][👽dl-rank] [![Open Source Helpers][👽oss-helpi]][👽oss-help] [![CodeCov Test Coverage][🏀codecovi]][🏀codecov] [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls] [![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov] [![QLTY Maintainability][🏀qlty-mnti]][🏀qlty-mnt] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf] [![Deps Locked][🚎13-🔒️-wfi]][🚎13-🔒️-wf] [![Deps Unlocked][🚎14-🔓️-wfi]][🚎14-🔓️-wf] [![CI Supported][🚎6-s-wfi]][🚎6-s-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf] [![CodeQL][🖐codeQL-img]][🖐codeQL] [![Apache SkyWalking Eyes License Compatibility Check][🚎15-🪪-wfi]][🚎15-🪪-wf]
|
|
13
|
+
|
|
14
|
+
`if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know][🖼️galtzo-discord], as I may have missed the [discord notification][🖼️galtzo-discord].
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
`if ci_badges.map(&:color).all? { it == "green"}` 👇️ send money so I can do more of this. FLOSS maintenance is now my full-time job.
|
|
19
|
+
|
|
20
|
+
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate on Polar][🖇polar-img]][🖇polar] [![Donate at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
21
|
+
|
|
22
|
+
<details>
|
|
23
|
+
<summary>👣 How will this project approach the September 2025 hostile takeover of RubyGems? 🚑️</summary>
|
|
24
|
+
|
|
25
|
+
I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-takeover-of-rubygems-my-thoughts-5hlo).
|
|
26
|
+
|
|
27
|
+
</details>
|
|
28
|
+
|
|
29
|
+
## 🌻 Synopsis
|
|
30
|
+
|
|
31
|
+
Token::Resolver is a configurable PEG-based token parser and resolver for structured token detection and replacement in arbitrary text.
|
|
32
|
+
|
|
33
|
+
Detects structured tokens like `{KJ|GEM_NAME}` in any file format and resolves them against a replacement map. The token structure (delimiters, separators, segment count) is fully configurable.
|
|
34
|
+
|
|
35
|
+
```ruby
|
|
36
|
+
# One-liner: parse and resolve
|
|
37
|
+
result = Token::Resolver.resolve(
|
|
38
|
+
"Hello {KJ|NAME}, welcome to {KJ|PROJECT}!",
|
|
39
|
+
{"KJ|NAME" => "World", "KJ|PROJECT" => "my-app"},
|
|
40
|
+
)
|
|
41
|
+
# => "Hello World, welcome to my-app!"
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## 💡 Info you can shake a stick at
|
|
45
|
+
|
|
46
|
+
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
|
47
|
+
|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
48
|
+
| Works with JRuby | [![JRuby 10.0 Compat][💎jruby-c-i]][🚎11-c-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf] |
|
|
49
|
+
| Works with Truffle Ruby | ![Truffle Ruby 23.1 Compat][💎truby-23.1i] ![Truffle Ruby 24.2 Compat][💎truby-24.2i] <br/> [![Truffle Ruby 25.0 Compat][💎truby-25.0i]][🚎9-t-wf] [![Truffle Ruby 33.0 Compat][💎truby-c-i]][🚎11-c-wf] |
|
|
50
|
+
| Works with MRI Ruby 4 | [![Ruby 4.0 Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf] |
|
|
51
|
+
| Works with MRI Ruby 3 | [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎6-s-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎6-s-wf] [![Ruby 3.4 Compat][💎ruby-3.4i]][🚎6-s-wf] |
|
|
52
|
+
| Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork] [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor] |
|
|
53
|
+
| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on Github.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
|
|
54
|
+
| Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![Maintainer Blog][🚂maint-blog-img]][🚂maint-blog] [![GitLab Wiki][📜gl-wiki-img]][📜gl-wiki] [![GitHub Wiki][📜gh-wiki-img]][📜gh-wiki] |
|
|
55
|
+
| Compliance | [![License: MIT][📄license-img]][📄license-ref] [![Compatible with Apache Software Projects: Verified by SkyWalking Eyes][📄license-compat-img]][📄license-compat] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
|
|
56
|
+
| Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] [![Compatibility appraised by: appraisal2][💎appraisal2-img]][💎appraisal2] |
|
|
57
|
+
| Maintainer 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact] [![My technical writing][💖💁🏼♂️devto-img]][💖💁🏼♂️devto] |
|
|
58
|
+
| `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼♂️aboutme-img]][💖💁🏼♂️aboutme] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
|
|
59
|
+
|
|
60
|
+
### Compatibility
|
|
61
|
+
|
|
62
|
+
Compatible with MRI Ruby 3.2.0+, and concordant releases of JRuby, and TruffleRuby.
|
|
63
|
+
|
|
64
|
+
| 🚚 _Amazing_ test matrix was brought to you by | 🔎 appraisal2 🔎 and the color 💚 green 💚 |
|
|
65
|
+
|------------------------------------------------|--------------------------------------------------------|
|
|
66
|
+
| 👟 Check it out! | ✨ [github.com/appraisal-rb/appraisal2][💎appraisal2] ✨ |
|
|
67
|
+
|
|
68
|
+
### Federated DVCS
|
|
69
|
+
|
|
70
|
+
<details markdown="1">
|
|
71
|
+
<summary>Find this repo on federated forges (Coming soon!)</summary>
|
|
72
|
+
|
|
73
|
+
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI | Discussions |
|
|
74
|
+
|-------------------------------------------------|-----------------------------------------------------------------------|---------------------------|--------------------------|---------------------------|--------------------------|------------------------------|
|
|
75
|
+
| 🧪 [kettle-rb/token-resolver on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix | ➖ |
|
|
76
|
+
| 🧊 [kettle-rb/token-resolver on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix | ➖ |
|
|
77
|
+
| 🐙 [kettle-rb/token-resolver on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix | [💚][gh-discussions] |
|
|
78
|
+
| 🎮️ [Discord Server][✉️discord-invite] | [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] | [Let's][✉️discord-invite] | [talk][✉️discord-invite] | [about][✉️discord-invite] | [this][✉️discord-invite] | [library!][✉️discord-invite] |
|
|
79
|
+
|
|
80
|
+
</details>
|
|
81
|
+
|
|
82
|
+
[gh-discussions]: https://github.com/kettle-rb/token-resolver/discussions
|
|
83
|
+
|
|
84
|
+
### Enterprise Support [](https://tidelift.com/subscription/pkg/rubygems-token-resolver?utm_source=rubygems-token-resolver&utm_medium=referral&utm_campaign=readme)
|
|
85
|
+
|
|
86
|
+
Available as part of the Tidelift Subscription.
|
|
87
|
+
|
|
88
|
+
<details markdown="1">
|
|
89
|
+
<summary>Need enterprise-level guarantees?</summary>
|
|
90
|
+
|
|
91
|
+
The maintainers of this and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use.
|
|
92
|
+
|
|
93
|
+
[![Get help from me on Tidelift][🏙️entsup-tidelift-img]][🏙️entsup-tidelift]
|
|
94
|
+
|
|
95
|
+
- 💡Subscribe for support guarantees covering _all_ your FLOSS dependencies
|
|
96
|
+
- 💡Tidelift is part of [Sonar][🏙️entsup-tidelift-sonar]
|
|
97
|
+
- 💡Tidelift pays maintainers to maintain the software you depend on!<br/>📊`@`Pointy Haired Boss: An [enterprise support][🏙️entsup-tidelift] subscription is "[never gonna let you down][🧮kloc]", and *supports* open source maintainers
|
|
98
|
+
|
|
99
|
+
Alternatively:
|
|
100
|
+
|
|
101
|
+
- [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
102
|
+
- [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork]
|
|
103
|
+
- [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor]
|
|
104
|
+
|
|
105
|
+
</details>
|
|
106
|
+
|
|
107
|
+
## ✨ Installation
|
|
108
|
+
|
|
109
|
+
Install the gem and add to the application's Gemfile by executing:
|
|
110
|
+
|
|
111
|
+
```console
|
|
112
|
+
bundle add token-resolver
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
If bundler is not being used to manage dependencies, install the gem by executing:
|
|
116
|
+
|
|
117
|
+
```console
|
|
118
|
+
gem install token-resolver
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### 🔒 Secure Installation
|
|
122
|
+
|
|
123
|
+
<details markdown="1">
|
|
124
|
+
<summary>For Medium or High Security Installations</summary>
|
|
125
|
+
|
|
126
|
+
This gem is cryptographically signed, and has verifiable [SHA-256 and SHA-512][💎SHA_checksums] checksums by
|
|
127
|
+
[stone_checksums][💎stone_checksums]. Be sure the gem you install hasn’t been tampered with
|
|
128
|
+
by following the instructions below.
|
|
129
|
+
|
|
130
|
+
Add my public key (if you haven’t already, expires 2045-04-29) as a trusted certificate:
|
|
131
|
+
|
|
132
|
+
```console
|
|
133
|
+
gem cert --add <(curl -Ls https://raw.github.com/galtzo-floss/certs/main/pboling.pem)
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
You only need to do that once. Then proceed to install with:
|
|
137
|
+
|
|
138
|
+
```console
|
|
139
|
+
gem install token-resolver -P HighSecurity
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
The `HighSecurity` trust profile will verify signed gems, and not allow the installation of unsigned dependencies.
|
|
143
|
+
|
|
144
|
+
If you want to up your security game full-time:
|
|
145
|
+
|
|
146
|
+
```console
|
|
147
|
+
bundle config set --global trust-policy MediumSecurity
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
`MediumSecurity` instead of `HighSecurity` is necessary if not all the gems you use are signed.
|
|
151
|
+
|
|
152
|
+
NOTE: Be prepared to track down certs for signed gems and add them the same way you added mine.
|
|
153
|
+
|
|
154
|
+
</details>
|
|
155
|
+
|
|
156
|
+
## ⚙️ Configuration
|
|
157
|
+
|
|
158
|
+
### Token Config Options
|
|
159
|
+
|
|
160
|
+
| Option | Default | Description |
|
|
161
|
+
|--------|---------|-------------|
|
|
162
|
+
| `pre` | `"{"` | Opening delimiter |
|
|
163
|
+
| `post` | `"}"` | Closing delimiter |
|
|
164
|
+
| `separators` | `["\|"]` | Segment separators (sequential; last repeats) |
|
|
165
|
+
| `min_segments` | `2` | Minimum segments for a valid token |
|
|
166
|
+
| `max_segments` | `nil` | Maximum segments (`nil` = unlimited) |
|
|
167
|
+
|
|
168
|
+
## 🔧 Basic Usage
|
|
169
|
+
|
|
170
|
+
### Basic Token Resolution
|
|
171
|
+
|
|
172
|
+
```ruby
|
|
173
|
+
require "token/resolver"
|
|
174
|
+
|
|
175
|
+
# Parse a document to inspect tokens
|
|
176
|
+
doc = Token::Resolver.parse("Deploy {KJ|GEM_NAME} to {KJ|GH_ORG}")
|
|
177
|
+
doc.token_keys # => ["KJ|GEM_NAME", "KJ|GH_ORG"]
|
|
178
|
+
doc.text_only? # => false
|
|
179
|
+
|
|
180
|
+
# Resolve tokens
|
|
181
|
+
result = Token::Resolver.resolve(
|
|
182
|
+
"Deploy {KJ|GEM_NAME} to {KJ|GH_ORG}",
|
|
183
|
+
{"KJ|GEM_NAME" => "my-gem", "KJ|GH_ORG" => "my-org"},
|
|
184
|
+
)
|
|
185
|
+
# => "Deploy my-gem to my-org"
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
### Handling Missing Tokens
|
|
189
|
+
|
|
190
|
+
```ruby
|
|
191
|
+
# Default: raise on unresolved tokens
|
|
192
|
+
Token::Resolver.resolve("{KJ|MISSING}", {})
|
|
193
|
+
# => raises Token::Resolver::UnresolvedTokenError
|
|
194
|
+
|
|
195
|
+
# Keep unresolved tokens as-is
|
|
196
|
+
Token::Resolver.resolve("{KJ|MISSING}", {}, on_missing: :keep)
|
|
197
|
+
# => "{KJ|MISSING}"
|
|
198
|
+
|
|
199
|
+
# Remove unresolved tokens
|
|
200
|
+
Token::Resolver.resolve("{KJ|MISSING}", {}, on_missing: :remove)
|
|
201
|
+
# => ""
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### Custom Token Structure
|
|
205
|
+
|
|
206
|
+
```ruby
|
|
207
|
+
# Tokens like <<SECTION:NAME>>
|
|
208
|
+
config = Token::Resolver::Config.new(
|
|
209
|
+
pre: "<<",
|
|
210
|
+
post: ">>",
|
|
211
|
+
separators: [":"],
|
|
212
|
+
)
|
|
213
|
+
Token::Resolver.resolve("Hello <<NS:NAME>>!", {"NS:NAME" => "World"}, config: config)
|
|
214
|
+
# => "Hello World!"
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### Multi-Segment Tokens with Sequential Separators
|
|
218
|
+
|
|
219
|
+
```ruby
|
|
220
|
+
# Tokens like {KJ|SECTION:SUBSECTION}
|
|
221
|
+
config = Token::Resolver::Config.new(
|
|
222
|
+
separators: ["|", ":"], # First boundary uses |, second uses :, rest repeat :
|
|
223
|
+
)
|
|
224
|
+
doc = Token::Resolver.parse("{KJ|META:AUTHOR}", config: config)
|
|
225
|
+
doc.tokens.first.key # => "KJ|META:AUTHOR"
|
|
226
|
+
doc.tokens.first.prefix # => "KJ"
|
|
227
|
+
doc.tokens.first.segments # => ["KJ", "META", "AUTHOR"]
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
### Step-by-Step API
|
|
231
|
+
|
|
232
|
+
```ruby
|
|
233
|
+
# Parse
|
|
234
|
+
doc = Token::Resolver::Document.new("Hello {KJ|NAME}!")
|
|
235
|
+
|
|
236
|
+
# Inspect
|
|
237
|
+
doc.nodes # => [Text("Hello "), Token(["KJ", "NAME"]), Text("!")]
|
|
238
|
+
doc.tokens # => [Token(["KJ", "NAME"])]
|
|
239
|
+
doc.token_keys # => ["KJ|NAME"]
|
|
240
|
+
doc.to_s # => "Hello {KJ|NAME}!" (roundtrip fidelity)
|
|
241
|
+
|
|
242
|
+
# Resolve
|
|
243
|
+
resolver = Token::Resolver::Resolve.new(on_missing: :raise)
|
|
244
|
+
result = resolver.resolve(doc, {"KJ|NAME" => "World"})
|
|
245
|
+
# => "Hello World!"
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
## Design
|
|
249
|
+
|
|
250
|
+
### Grammar Never Fails
|
|
251
|
+
|
|
252
|
+
The parslet grammar is designed so that **any input is valid**. When the parser encounters
|
|
253
|
+
`{` but it doesn't start a valid token, the `{` is consumed as plain text. No input can
|
|
254
|
+
cause a parse failure.
|
|
255
|
+
|
|
256
|
+
### Single-Pass Resolution
|
|
257
|
+
|
|
258
|
+
Replacement values are emitted as-is and are **not** re-scanned for tokens. This prevents
|
|
259
|
+
infinite loops and ensures predictable behavior when replacement values contain token-like strings.
|
|
260
|
+
|
|
261
|
+
### Performance
|
|
262
|
+
|
|
263
|
+
If the input doesn't contain the `pre` delimiter at all, the parser fast-paths and returns
|
|
264
|
+
a single Text node without invoking parslet.
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
## 🦷 FLOSS Funding
|
|
268
|
+
|
|
269
|
+
While kettle-rb tools are free software and will always be, the project would benefit immensely from some funding.
|
|
270
|
+
Raising a monthly budget of... "dollars" would make the project more sustainable.
|
|
271
|
+
|
|
272
|
+
We welcome both individual and corporate sponsors! We also offer a
|
|
273
|
+
wide array of funding channels to account for your preferences
|
|
274
|
+
(although currently [Open Collective][🖇osc] is our preferred funding platform).
|
|
275
|
+
|
|
276
|
+
**If you're working in a company that's making significant use of kettle-rb tools we'd
|
|
277
|
+
appreciate it if you suggest to your company to become a kettle-rb sponsor.**
|
|
278
|
+
|
|
279
|
+
You can support the development of kettle-rb tools via
|
|
280
|
+
[GitHub Sponsors][🖇sponsor],
|
|
281
|
+
[Liberapay][⛳liberapay],
|
|
282
|
+
[PayPal][🖇paypal],
|
|
283
|
+
[Open Collective][🖇osc]
|
|
284
|
+
and [Tidelift][🏙️entsup-tidelift].
|
|
285
|
+
|
|
286
|
+
| 📍 NOTE |
|
|
287
|
+
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
288
|
+
| If doing a sponsorship in the form of donation is problematic for your company <br/> from an accounting standpoint, we'd recommend the use of Tidelift, <br/> where you can get a support-like subscription instead. |
|
|
289
|
+
|
|
290
|
+
### Open Collective for Individuals
|
|
291
|
+
|
|
292
|
+
Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/kettle-rb#backer)]
|
|
293
|
+
|
|
294
|
+
NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day, automatically.
|
|
295
|
+
|
|
296
|
+
<!-- OPENCOLLECTIVE-INDIVIDUALS:START -->
|
|
297
|
+
No backers yet. Be the first!
|
|
298
|
+
<!-- OPENCOLLECTIVE-INDIVIDUALS:END -->
|
|
299
|
+
|
|
300
|
+
### Open Collective for Organizations
|
|
301
|
+
|
|
302
|
+
Become a sponsor and get your logo on our README on GitHub with a link to your site. [[Become a sponsor](https://opencollective.com/kettle-rb#sponsor)]
|
|
303
|
+
|
|
304
|
+
NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day, automatically.
|
|
305
|
+
|
|
306
|
+
<!-- OPENCOLLECTIVE-ORGANIZATIONS:START -->
|
|
307
|
+
No sponsors yet. Be the first!
|
|
308
|
+
<!-- OPENCOLLECTIVE-ORGANIZATIONS:END -->
|
|
309
|
+
|
|
310
|
+
[kettle-readme-backers]: https://github.com/kettle-rb/token-resolver/blob/main/exe/kettle-readme-backers
|
|
311
|
+
|
|
312
|
+
### Another way to support open-source
|
|
313
|
+
|
|
314
|
+
I’m driven by a passion to foster a thriving open-source community – a space where people can tackle complex problems, no matter how small. Revitalizing libraries that have fallen into disrepair, and building new libraries focused on solving real-world challenges, are my passions. I was recently affected by layoffs, and the tech jobs market is unwelcoming. I’m reaching out here because your support would significantly aid my efforts to provide for my family, and my farm (11 🐔 chickens, 2 🐶 dogs, 3 🐰 rabbits, 8 🐈 cats).
|
|
315
|
+
|
|
316
|
+
If you work at a company that uses my work, please encourage them to support me as a corporate sponsor. My work on gems you use might show up in `bundle fund`.
|
|
317
|
+
|
|
318
|
+
I’m developing a new library, [floss_funding][🖇floss-funding-gem], designed to empower open-source developers like myself to get paid for the work we do, in a sustainable way. Please give it a look.
|
|
319
|
+
|
|
320
|
+
**[Floss-Funding.dev][🖇floss-funding.dev]: 👉️ No network calls. 👉️ No tracking. 👉️ No oversight. 👉️ Minimal crypto hashing. 💡 Easily disabled nags**
|
|
321
|
+
|
|
322
|
+
[![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate on Polar][🖇polar-img]][🖇polar] [![Donate to my FLOSS efforts at ko-fi.com][🖇kofi-img]][🖇kofi] [![Donate to my FLOSS efforts using Patreon][🖇patreon-img]][🖇patreon]
|
|
323
|
+
|
|
324
|
+
## 🔐 Security
|
|
325
|
+
|
|
326
|
+
See [SECURITY.md][🔐security].
|
|
327
|
+
|
|
328
|
+
## 🤝 Contributing
|
|
329
|
+
|
|
330
|
+
If you need some ideas of where to help, you could work on adding more code coverage,
|
|
331
|
+
or if it is already 💯 (see [below](#code-coverage)) check [reek](REEK), [issues][🤝gh-issues], or [PRs][🤝gh-pulls],
|
|
332
|
+
or use the gem and think about how it could be better.
|
|
333
|
+
|
|
334
|
+
We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
|
|
335
|
+
|
|
336
|
+
See [CONTRIBUTING.md][🤝contributing] for more detailed instructions.
|
|
337
|
+
|
|
338
|
+
### 🚀 Release Instructions
|
|
339
|
+
|
|
340
|
+
See [CONTRIBUTING.md][🤝contributing].
|
|
341
|
+
|
|
342
|
+
### Code Coverage
|
|
343
|
+
|
|
344
|
+
[![Coverage Graph][🏀codecov-g]][🏀codecov]
|
|
345
|
+
|
|
346
|
+
[![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls]
|
|
347
|
+
|
|
348
|
+
[![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov]
|
|
349
|
+
|
|
350
|
+
### 🪇 Code of Conduct
|
|
351
|
+
|
|
352
|
+
Everyone interacting with this project's codebases, issue trackers,
|
|
353
|
+
chat rooms and mailing lists agrees to follow the [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct].
|
|
354
|
+
|
|
355
|
+
## 🌈 Contributors
|
|
356
|
+
|
|
357
|
+
[![Contributors][🖐contributors-img]][🖐contributors]
|
|
358
|
+
|
|
359
|
+
Made with [contributors-img][🖐contrib-rocks].
|
|
360
|
+
|
|
361
|
+
Also see GitLab Contributors: [https://gitlab.com/kettle-rb/token-resolver/-/graphs/main][🚎contributors-gl]
|
|
362
|
+
|
|
363
|
+
<details>
|
|
364
|
+
<summary>⭐️ Star History</summary>
|
|
365
|
+
|
|
366
|
+
<a href="https://star-history.com/#kettle-rb/token-resolver&Date">
|
|
367
|
+
<picture>
|
|
368
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=kettle-rb/token-resolver&type=Date&theme=dark" />
|
|
369
|
+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=kettle-rb/token-resolver&type=Date" />
|
|
370
|
+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=kettle-rb/token-resolver&type=Date" />
|
|
371
|
+
</picture>
|
|
372
|
+
</a>
|
|
373
|
+
|
|
374
|
+
</details>
|
|
375
|
+
|
|
376
|
+
## 📌 Versioning
|
|
377
|
+
|
|
378
|
+
This Library adheres to [![Semantic Versioning 2.0.0][📌semver-img]][📌semver].
|
|
379
|
+
Violations of this scheme should be reported as bugs.
|
|
380
|
+
Specifically, if a minor or patch version is released that breaks backward compatibility,
|
|
381
|
+
a new version should be immediately released that restores compatibility.
|
|
382
|
+
Breaking changes to the public API will only be introduced with new major versions.
|
|
383
|
+
|
|
384
|
+
> dropping support for a platform is both obviously and objectively a breaking change <br/>
|
|
385
|
+
>—Jordan Harband ([@ljharb](https://github.com/ljharb), maintainer of SemVer) [in SemVer issue 716][📌semver-breaking]
|
|
386
|
+
|
|
387
|
+
I understand that policy doesn't work universally ("exceptions to every rule!"),
|
|
388
|
+
but it is the policy here.
|
|
389
|
+
As such, in many cases it is good to specify a dependency on this library using
|
|
390
|
+
the [Pessimistic Version Constraint][📌pvc] with two digits of precision.
|
|
391
|
+
|
|
392
|
+
For example:
|
|
393
|
+
|
|
394
|
+
```ruby
|
|
395
|
+
spec.add_dependency("token-resolver", "~> 1.0")
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
<details markdown="1">
|
|
399
|
+
<summary>📌 Is "Platform Support" part of the public API? More details inside.</summary>
|
|
400
|
+
|
|
401
|
+
SemVer should, IMO, but doesn't explicitly, say that dropping support for specific Platforms
|
|
402
|
+
is a *breaking change* to an API, and for that reason the bike shedding is endless.
|
|
403
|
+
|
|
404
|
+
To get a better understanding of how SemVer is intended to work over a project's lifetime,
|
|
405
|
+
read this article from the creator of SemVer:
|
|
406
|
+
|
|
407
|
+
- ["Major Version Numbers are Not Sacred"][📌major-versions-not-sacred]
|
|
408
|
+
|
|
409
|
+
</details>
|
|
410
|
+
|
|
411
|
+
See [CHANGELOG.md][📌changelog] for a list of releases.
|
|
412
|
+
|
|
413
|
+
## 📄 License
|
|
414
|
+
|
|
415
|
+
The gem is available as open source under the terms of
|
|
416
|
+
the [MIT License][📄license] [![License: MIT][📄license-img]][📄license-ref].
|
|
417
|
+
See [LICENSE.txt][📄license] for the official [Copyright Notice][📄copyright-notice-explainer].
|
|
418
|
+
|
|
419
|
+
### © Copyright
|
|
420
|
+
|
|
421
|
+
<ul>
|
|
422
|
+
<li>
|
|
423
|
+
Copyright (c) 2026 Peter H. Boling, of
|
|
424
|
+
<a href="https://discord.gg/3qme4XHNKN">
|
|
425
|
+
Galtzo.com
|
|
426
|
+
<picture>
|
|
427
|
+
<img src="https://logos.galtzo.com/assets/images/galtzo-floss/avatar-128px-blank.svg" alt="Galtzo.com Logo (Wordless) by Aboling0, CC BY-SA 4.0" width="24">
|
|
428
|
+
</picture>
|
|
429
|
+
</a>, and token-resolver contributors.
|
|
430
|
+
</li>
|
|
431
|
+
</ul>
|
|
432
|
+
|
|
433
|
+
## 🤑 A request for help
|
|
434
|
+
|
|
435
|
+
Maintainers have teeth and need to pay their dentists.
|
|
436
|
+
After getting laid off in an RIF in March, and encountering difficulty finding a new one,
|
|
437
|
+
I began spending most of my time building open source tools.
|
|
438
|
+
I'm hoping to be able to pay for my kids' health insurance this month,
|
|
439
|
+
so if you value the work I am doing, I need your support.
|
|
440
|
+
Please consider sponsoring me or the project.
|
|
441
|
+
|
|
442
|
+
To join the community or get help 👇️ Join the Discord.
|
|
443
|
+
|
|
444
|
+
[![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
445
|
+
|
|
446
|
+
To say "thanks!" ☝️ Join the Discord or 👇️ send money.
|
|
447
|
+
|
|
448
|
+
[![Sponsor kettle-rb/token-resolver on Open Source Collective][🖇osc-all-bottom-img]][🖇osc] 💌 [![Sponsor me on GitHub Sponsors][🖇sponsor-bottom-img]][🖇sponsor] 💌 [![Sponsor me on Liberapay][⛳liberapay-bottom-img]][⛳liberapay] 💌 [![Donate on PayPal][🖇paypal-bottom-img]][🖇paypal]
|
|
449
|
+
|
|
450
|
+
### Please give the project a star ⭐ ♥.
|
|
451
|
+
|
|
452
|
+
Thanks for RTFM. ☺️
|
|
453
|
+
|
|
454
|
+
[⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611&style=flat
|
|
455
|
+
[⛳liberapay-bottom-img]: https://img.shields.io/liberapay/goal/pboling.svg?style=for-the-badge&logo=liberapay&color=a51611
|
|
456
|
+
[⛳liberapay]: https://liberapay.com/pboling/donate
|
|
457
|
+
[🖇osc-all-img]: https://img.shields.io/opencollective/all/kettle-rb
|
|
458
|
+
[🖇osc-sponsors-img]: https://img.shields.io/opencollective/sponsors/kettle-rb
|
|
459
|
+
[🖇osc-backers-img]: https://img.shields.io/opencollective/backers/kettle-rb
|
|
460
|
+
[🖇osc-backers]: https://opencollective.com/kettle-rb#backer
|
|
461
|
+
[🖇osc-backers-i]: https://opencollective.com/kettle-rb/backers/badge.svg?style=flat
|
|
462
|
+
[🖇osc-sponsors]: https://opencollective.com/kettle-rb#sponsor
|
|
463
|
+
[🖇osc-sponsors-i]: https://opencollective.com/kettle-rb/sponsors/badge.svg?style=flat
|
|
464
|
+
[🖇osc-all-bottom-img]: https://img.shields.io/opencollective/all/kettle-rb?style=for-the-badge
|
|
465
|
+
[🖇osc-sponsors-bottom-img]: https://img.shields.io/opencollective/sponsors/kettle-rb?style=for-the-badge
|
|
466
|
+
[🖇osc-backers-bottom-img]: https://img.shields.io/opencollective/backers/kettle-rb?style=for-the-badge
|
|
467
|
+
[🖇osc]: https://opencollective.com/kettle-rb
|
|
468
|
+
[🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
|
|
469
|
+
[🖇sponsor-bottom-img]: https://img.shields.io/badge/Sponsor_Me!-pboling-blue?style=for-the-badge&logo=github
|
|
470
|
+
[🖇sponsor]: https://github.com/sponsors/pboling
|
|
471
|
+
[🖇polar-img]: https://img.shields.io/badge/polar-donate-a51611.svg?style=flat
|
|
472
|
+
[🖇polar]: https://polar.sh/pboling
|
|
473
|
+
[🖇kofi-img]: https://img.shields.io/badge/ko--fi-%E2%9C%93-a51611.svg?style=flat
|
|
474
|
+
[🖇kofi]: https://ko-fi.com/O5O86SNP4
|
|
475
|
+
[🖇patreon-img]: https://img.shields.io/badge/patreon-donate-a51611.svg?style=flat
|
|
476
|
+
[🖇patreon]: https://patreon.com/galtzo
|
|
477
|
+
[🖇buyme-small-img]: https://img.shields.io/badge/buy_me_a_coffee-%E2%9C%93-a51611.svg?style=flat
|
|
478
|
+
[🖇buyme-img]: https://img.buymeacoffee.com/button-api/?text=Buy%20me%20a%20latte&emoji=&slug=pboling&button_colour=FFDD00&font_colour=000000&font_family=Cookie&outline_colour=000000&coffee_colour=ffffff
|
|
479
|
+
[🖇buyme]: https://www.buymeacoffee.com/pboling
|
|
480
|
+
[🖇paypal-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=flat&logo=paypal
|
|
481
|
+
[🖇paypal-bottom-img]: https://img.shields.io/badge/donate-paypal-a51611.svg?style=for-the-badge&logo=paypal&color=0A0A0A
|
|
482
|
+
[🖇paypal]: https://www.paypal.com/paypalme/peterboling
|
|
483
|
+
[🖇floss-funding.dev]: https://floss-funding.dev
|
|
484
|
+
[🖇floss-funding-gem]: https://github.com/galtzo-floss/floss_funding
|
|
485
|
+
[✉️discord-invite]: https://discord.gg/3qme4XHNKN
|
|
486
|
+
[✉️discord-invite-img-ftb]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge&logo=discord
|
|
487
|
+
[✉️ruby-friends-img]: https://img.shields.io/badge/daily.dev-%F0%9F%92%8E_Ruby_Friends-0A0A0A?style=for-the-badge&logo=dailydotdev&logoColor=white
|
|
488
|
+
[✉️ruby-friends]: https://app.daily.dev/squads/rubyfriends
|
|
489
|
+
|
|
490
|
+
[✇bundle-group-pattern]: https://gist.github.com/pboling/4564780
|
|
491
|
+
[⛳️gem-namespace]: https://github.com/kettle-rb/token-resolver
|
|
492
|
+
[⛳️namespace-img]: https://img.shields.io/badge/namespace-Token::Resolver-3C2D2D.svg?style=square&logo=ruby&logoColor=white
|
|
493
|
+
[⛳️gem-name]: https://bestgems.org/gems/token-resolver
|
|
494
|
+
[⛳️name-img]: https://img.shields.io/badge/name-token--resolver-3C2D2D.svg?style=square&logo=rubygems&logoColor=red
|
|
495
|
+
[⛳️tag-img]: https://img.shields.io/github/tag/kettle-rb/token-resolver.svg
|
|
496
|
+
[⛳️tag]: http://github.com/kettle-rb/token-resolver/releases
|
|
497
|
+
[🚂maint-blog]: http://www.railsbling.com/tags/token-resolver
|
|
498
|
+
[🚂maint-blog-img]: https://img.shields.io/badge/blog-railsbling-0093D0.svg?style=for-the-badge&logo=rubyonrails&logoColor=orange
|
|
499
|
+
[🚂maint-contact]: http://www.railsbling.com/contact
|
|
500
|
+
[🚂maint-contact-img]: https://img.shields.io/badge/Contact-Maintainer-0093D0.svg?style=flat&logo=rubyonrails&logoColor=red
|
|
501
|
+
[💖🖇linkedin]: http://www.linkedin.com/in/peterboling
|
|
502
|
+
[💖🖇linkedin-img]: https://img.shields.io/badge/PeterBoling-LinkedIn-0B66C2?style=flat&logo=newjapanprowrestling
|
|
503
|
+
[💖✌️wellfound]: https://wellfound.com/u/peter-boling
|
|
504
|
+
[💖✌️wellfound-img]: https://img.shields.io/badge/peter--boling-orange?style=flat&logo=wellfound
|
|
505
|
+
[💖💲crunchbase]: https://www.crunchbase.com/person/peter-boling
|
|
506
|
+
[💖💲crunchbase-img]: https://img.shields.io/badge/peter--boling-purple?style=flat&logo=crunchbase
|
|
507
|
+
[💖🐘ruby-mast]: https://ruby.social/@galtzo
|
|
508
|
+
[💖🐘ruby-mast-img]: https://img.shields.io/mastodon/follow/109447111526622197?domain=https://ruby.social&style=flat&logo=mastodon&label=Ruby%20@galtzo
|
|
509
|
+
[💖🦋bluesky]: https://bsky.app/profile/galtzo.com
|
|
510
|
+
[💖🦋bluesky-img]: https://img.shields.io/badge/@galtzo.com-0285FF?style=flat&logo=bluesky&logoColor=white
|
|
511
|
+
[💖🌳linktree]: https://linktr.ee/galtzo
|
|
512
|
+
[💖🌳linktree-img]: https://img.shields.io/badge/galtzo-purple?style=flat&logo=linktree
|
|
513
|
+
[💖💁🏼♂️devto]: https://dev.to/galtzo
|
|
514
|
+
[💖💁🏼♂️devto-img]: https://img.shields.io/badge/dev.to-0A0A0A?style=flat&logo=devdotto&logoColor=white
|
|
515
|
+
[💖💁🏼♂️aboutme]: https://about.me/peter.boling
|
|
516
|
+
[💖💁🏼♂️aboutme-img]: https://img.shields.io/badge/about.me-0A0A0A?style=flat&logo=aboutme&logoColor=white
|
|
517
|
+
[💖🧊berg]: https://codeberg.org/pboling
|
|
518
|
+
[💖🐙hub]: https://github.org/pboling
|
|
519
|
+
[💖🛖hut]: https://sr.ht/~galtzo/
|
|
520
|
+
[💖🧪lab]: https://gitlab.com/pboling
|
|
521
|
+
[👨🏼🏫expsup-upwork]: https://www.upwork.com/freelancers/~014942e9b056abdf86?mp_source=share
|
|
522
|
+
[👨🏼🏫expsup-upwork-img]: https://img.shields.io/badge/UpWork-13544E?style=for-the-badge&logo=Upwork&logoColor=white
|
|
523
|
+
[👨🏼🏫expsup-codementor]: https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github
|
|
524
|
+
[👨🏼🏫expsup-codementor-img]: https://img.shields.io/badge/CodeMentor-Get_Help-1abc9c?style=for-the-badge&logo=CodeMentor&logoColor=white
|
|
525
|
+
[🏙️entsup-tidelift]: https://tidelift.com/subscription/pkg/rubygems-token-resolver?utm_source=rubygems-token-resolver&utm_medium=referral&utm_campaign=readme
|
|
526
|
+
[🏙️entsup-tidelift-img]: https://img.shields.io/badge/Tidelift_and_Sonar-Enterprise_Support-FD3456?style=for-the-badge&logo=sonar&logoColor=white
|
|
527
|
+
[🏙️entsup-tidelift-sonar]: https://blog.tidelift.com/tidelift-joins-sonar
|
|
528
|
+
[💁🏼♂️peterboling]: http://www.peterboling.com
|
|
529
|
+
[🚂railsbling]: http://www.railsbling.com
|
|
530
|
+
[📜src-gl-img]: https://img.shields.io/badge/GitLab-FBA326?style=for-the-badge&logo=Gitlab&logoColor=orange
|
|
531
|
+
[📜src-gl]: https://gitlab.com/kettle-rb/token-resolver/
|
|
532
|
+
[📜src-cb-img]: https://img.shields.io/badge/CodeBerg-4893CC?style=for-the-badge&logo=CodeBerg&logoColor=blue
|
|
533
|
+
[📜src-cb]: https://codeberg.org/kettle-rb/token-resolver
|
|
534
|
+
[📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=Github&logoColor=green
|
|
535
|
+
[📜src-gh]: https://github.com/kettle-rb/token-resolver
|
|
536
|
+
[📜docs-cr-rd-img]: https://img.shields.io/badge/RubyDoc-Current_Release-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
|
537
|
+
[📜docs-head-rd-img]: https://img.shields.io/badge/YARD_on_Galtzo.com-HEAD-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
|
538
|
+
[📜gl-wiki]: https://gitlab.com/kettle-rb/token-resolver/-/wikis/home
|
|
539
|
+
[📜gh-wiki]: https://github.com/kettle-rb/token-resolver/wiki
|
|
540
|
+
[📜gl-wiki-img]: https://img.shields.io/badge/wiki-examples-943CD2.svg?style=for-the-badge&logo=gitlab&logoColor=white
|
|
541
|
+
[📜gh-wiki-img]: https://img.shields.io/badge/wiki-examples-943CD2.svg?style=for-the-badge&logo=github&logoColor=white
|
|
542
|
+
[👽dl-rank]: https://bestgems.org/gems/token-resolver
|
|
543
|
+
[👽dl-ranki]: https://img.shields.io/gem/rd/token-resolver.svg
|
|
544
|
+
[👽oss-help]: https://www.codetriage.com/kettle-rb/token-resolver
|
|
545
|
+
[👽oss-helpi]: https://www.codetriage.com/kettle-rb/token-resolver/badges/users.svg
|
|
546
|
+
[👽version]: https://bestgems.org/gems/token-resolver
|
|
547
|
+
[👽versioni]: https://img.shields.io/gem/v/token-resolver.svg
|
|
548
|
+
[🏀qlty-mnt]: https://qlty.sh/gh/kettle-rb/projects/token-resolver
|
|
549
|
+
[🏀qlty-mnti]: https://qlty.sh/gh/kettle-rb/projects/token-resolver/maintainability.svg
|
|
550
|
+
[🏀qlty-cov]: https://qlty.sh/gh/kettle-rb/projects/token-resolver/metrics/code?sort=coverageRating
|
|
551
|
+
[🏀qlty-covi]: https://qlty.sh/gh/kettle-rb/projects/token-resolver/coverage.svg
|
|
552
|
+
[🏀codecov]: https://codecov.io/gh/kettle-rb/token-resolver
|
|
553
|
+
[🏀codecovi]: https://codecov.io/gh/kettle-rb/token-resolver/graph/badge.svg
|
|
554
|
+
[🏀coveralls]: https://coveralls.io/github/kettle-rb/token-resolver?branch=main
|
|
555
|
+
[🏀coveralls-img]: https://coveralls.io/repos/github/kettle-rb/token-resolver/badge.svg?branch=main
|
|
556
|
+
[🖐codeQL]: https://github.com/kettle-rb/token-resolver/security/code-scanning
|
|
557
|
+
[🖐codeQL-img]: https://github.com/kettle-rb/token-resolver/actions/workflows/codeql-analysis.yml/badge.svg
|
|
558
|
+
[🚎1-an-wf]: https://github.com/kettle-rb/token-resolver/actions/workflows/ancient.yml
|
|
559
|
+
[🚎1-an-wfi]: https://github.com/kettle-rb/token-resolver/actions/workflows/ancient.yml/badge.svg
|
|
560
|
+
[🚎2-cov-wf]: https://github.com/kettle-rb/token-resolver/actions/workflows/coverage.yml
|
|
561
|
+
[🚎2-cov-wfi]: https://github.com/kettle-rb/token-resolver/actions/workflows/coverage.yml/badge.svg
|
|
562
|
+
[🚎3-hd-wf]: https://github.com/kettle-rb/token-resolver/actions/workflows/heads.yml
|
|
563
|
+
[🚎3-hd-wfi]: https://github.com/kettle-rb/token-resolver/actions/workflows/heads.yml/badge.svg
|
|
564
|
+
[🚎4-lg-wf]: https://github.com/kettle-rb/token-resolver/actions/workflows/legacy.yml
|
|
565
|
+
[🚎4-lg-wfi]: https://github.com/kettle-rb/token-resolver/actions/workflows/legacy.yml/badge.svg
|
|
566
|
+
[🚎5-st-wf]: https://github.com/kettle-rb/token-resolver/actions/workflows/style.yml
|
|
567
|
+
[🚎5-st-wfi]: https://github.com/kettle-rb/token-resolver/actions/workflows/style.yml/badge.svg
|
|
568
|
+
[🚎6-s-wf]: https://github.com/kettle-rb/token-resolver/actions/workflows/supported.yml
|
|
569
|
+
[🚎6-s-wfi]: https://github.com/kettle-rb/token-resolver/actions/workflows/supported.yml/badge.svg
|
|
570
|
+
[🚎7-us-wf]: https://github.com/kettle-rb/token-resolver/actions/workflows/unsupported.yml
|
|
571
|
+
[🚎7-us-wfi]: https://github.com/kettle-rb/token-resolver/actions/workflows/unsupported.yml/badge.svg
|
|
572
|
+
[🚎8-ho-wf]: https://github.com/kettle-rb/token-resolver/actions/workflows/hoary.yml
|
|
573
|
+
[🚎8-ho-wfi]: https://github.com/kettle-rb/token-resolver/actions/workflows/hoary.yml/badge.svg
|
|
574
|
+
[🚎9-t-wf]: https://github.com/kettle-rb/token-resolver/actions/workflows/truffle.yml
|
|
575
|
+
[🚎9-t-wfi]: https://github.com/kettle-rb/token-resolver/actions/workflows/truffle.yml/badge.svg
|
|
576
|
+
[🚎10-j-wf]: https://github.com/kettle-rb/token-resolver/actions/workflows/jruby.yml
|
|
577
|
+
[🚎10-j-wfi]: https://github.com/kettle-rb/token-resolver/actions/workflows/jruby.yml/badge.svg
|
|
578
|
+
[🚎11-c-wf]: https://github.com/kettle-rb/token-resolver/actions/workflows/current.yml
|
|
579
|
+
[🚎11-c-wfi]: https://github.com/kettle-rb/token-resolver/actions/workflows/current.yml/badge.svg
|
|
580
|
+
[🚎12-crh-wf]: https://github.com/kettle-rb/token-resolver/actions/workflows/dep-heads.yml
|
|
581
|
+
[🚎12-crh-wfi]: https://github.com/kettle-rb/token-resolver/actions/workflows/dep-heads.yml/badge.svg
|
|
582
|
+
[🚎13-🔒️-wf]: https://github.com/kettle-rb/token-resolver/actions/workflows/locked_deps.yml
|
|
583
|
+
[🚎13-🔒️-wfi]: https://github.com/kettle-rb/token-resolver/actions/workflows/locked_deps.yml/badge.svg
|
|
584
|
+
[🚎14-🔓️-wf]: https://github.com/kettle-rb/token-resolver/actions/workflows/unlocked_deps.yml
|
|
585
|
+
[🚎14-🔓️-wfi]: https://github.com/kettle-rb/token-resolver/actions/workflows/unlocked_deps.yml/badge.svg
|
|
586
|
+
[🚎15-🪪-wf]: https://github.com/kettle-rb/token-resolver/actions/workflows/license-eye.yml
|
|
587
|
+
[🚎15-🪪-wfi]: https://github.com/kettle-rb/token-resolver/actions/workflows/license-eye.yml/badge.svg
|
|
588
|
+
[💎ruby-3.2i]: https://img.shields.io/badge/Ruby-3.2-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
589
|
+
[💎ruby-3.3i]: https://img.shields.io/badge/Ruby-3.3-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
590
|
+
[💎ruby-3.4i]: https://img.shields.io/badge/Ruby-3.4-CC342D?style=for-the-badge&logo=ruby&logoColor=white
|
|
591
|
+
[💎ruby-c-i]: https://img.shields.io/badge/Ruby-current-CC342D?style=for-the-badge&logo=ruby&logoColor=green
|
|
592
|
+
[💎ruby-headi]: https://img.shields.io/badge/Ruby-HEAD-CC342D?style=for-the-badge&logo=ruby&logoColor=blue
|
|
593
|
+
[💎truby-23.1i]: https://img.shields.io/badge/Truffle_Ruby-23.1_(%F0%9F%9A%ABCI)-AABBCC?style=for-the-badge&logo=ruby&logoColor=pink
|
|
594
|
+
[💎truby-24.2i]: https://img.shields.io/badge/Truffle_Ruby-24.2_(%F0%9F%9A%ABCI)-AABBCC?style=for-the-badge&logo=ruby&logoColor=pink
|
|
595
|
+
[💎truby-25.0i]: https://img.shields.io/badge/Truffle_Ruby-25.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
596
|
+
[💎truby-c-i]: https://img.shields.io/badge/Truffle_Ruby-current-34BCB1?style=for-the-badge&logo=ruby&logoColor=green
|
|
597
|
+
[💎truby-headi]: https://img.shields.io/badge/Truffle_Ruby-HEAD-34BCB1?style=for-the-badge&logo=ruby&logoColor=blue
|
|
598
|
+
[💎jruby-c-i]: https://img.shields.io/badge/JRuby-current-FBE742?style=for-the-badge&logo=ruby&logoColor=green
|
|
599
|
+
[💎jruby-headi]: https://img.shields.io/badge/JRuby-HEAD-FBE742?style=for-the-badge&logo=ruby&logoColor=blue
|
|
600
|
+
[🤝gh-issues]: https://github.com/kettle-rb/token-resolver/issues
|
|
601
|
+
[🤝gh-pulls]: https://github.com/kettle-rb/token-resolver/pulls
|
|
602
|
+
[🤝gl-issues]: https://gitlab.com/kettle-rb/token-resolver/-/issues
|
|
603
|
+
[🤝gl-pulls]: https://gitlab.com/kettle-rb/token-resolver/-/merge_requests
|
|
604
|
+
[🤝cb-issues]: https://codeberg.org/kettle-rb/token-resolver/issues
|
|
605
|
+
[🤝cb-pulls]: https://codeberg.org/kettle-rb/token-resolver/pulls
|
|
606
|
+
[🤝cb-donate]: https://donate.codeberg.org/
|
|
607
|
+
[🤝contributing]: CONTRIBUTING.md
|
|
608
|
+
[🏀codecov-g]: https://codecov.io/gh/kettle-rb/token-resolver/graphs/tree.svg
|
|
609
|
+
[🖐contrib-rocks]: https://contrib.rocks
|
|
610
|
+
[🖐contributors]: https://github.com/kettle-rb/token-resolver/graphs/contributors
|
|
611
|
+
[🖐contributors-img]: https://contrib.rocks/image?repo=kettle-rb/token-resolver
|
|
612
|
+
[🚎contributors-gl]: https://gitlab.com/kettle-rb/token-resolver/-/graphs/main
|
|
613
|
+
[🪇conduct]: CODE_OF_CONDUCT.md
|
|
614
|
+
[🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-2.1-259D6C.svg
|
|
615
|
+
[📌pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
|
|
616
|
+
[📌semver]: https://semver.org/spec/v2.0.0.html
|
|
617
|
+
[📌semver-img]: https://img.shields.io/badge/semver-2.0.0-259D6C.svg?style=flat
|
|
618
|
+
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
|
619
|
+
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
|
620
|
+
[📌changelog]: CHANGELOG.md
|
|
621
|
+
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
|
622
|
+
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-34495e.svg?style=flat
|
|
623
|
+
[📌gitmoji]: https://gitmoji.dev
|
|
624
|
+
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
|
|
625
|
+
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
626
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.258-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
627
|
+
[🔐security]: SECURITY.md
|
|
628
|
+
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
629
|
+
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
630
|
+
[📄license]: LICENSE.txt
|
|
631
|
+
[📄license-ref]: https://opensource.org/licenses/MIT
|
|
632
|
+
[📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
|
|
633
|
+
[📄license-compat]: https://dev.to/galtzo/how-to-check-license-compatibility-41h0
|
|
634
|
+
[📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-%E2%9C%93-259D6C.svg?style=flat&logo=Apache
|
|
635
|
+
[📄ilo-declaration]: https://www.ilo.org/declaration/lang--en/index.htm
|
|
636
|
+
[📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-259D6C.svg?style=flat
|
|
637
|
+
[🚎yard-current]: http://rubydoc.info/gems/token-resolver
|
|
638
|
+
[🚎yard-head]: https://token-resolver.galtzo.com
|
|
639
|
+
[💎stone_checksums]: https://github.com/galtzo-floss/stone_checksums
|
|
640
|
+
[💎SHA_checksums]: https://gitlab.com/kettle-rb/token-resolver/-/tree/main/checksums
|
|
641
|
+
[💎rlts]: https://github.com/rubocop-lts/rubocop-lts
|
|
642
|
+
[💎rlts-img]: https://img.shields.io/badge/code_style_&_linting-rubocop--lts-34495e.svg?plastic&logo=ruby&logoColor=white
|
|
643
|
+
[💎appraisal2]: https://github.com/appraisal-rb/appraisal2
|
|
644
|
+
[💎appraisal2-img]: https://img.shields.io/badge/appraised_by-appraisal2-34495e.svg?plastic&logo=ruby&logoColor=white
|
|
645
|
+
[💎d-in-dvcs]: https://railsbling.com/posts/dvcs/put_the_d_in_dvcs/
|