snaky_hash 2.0.7 → 2.0.9
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 +124 -1
- data/LICENSE.md +1 -1
- data/README.md +63 -84
- data/lib/snaky_hash/version.rb +4 -1
- data/lib/snaky_hash.rb +2 -1
- data/sig/snaky_hash.rbs +4 -0
- data.tar.gz.sig +0 -0
- metadata +47 -44
- metadata.gz.sig +0 -0
- data/CITATION.cff +0 -20
- data/CODE_OF_CONDUCT.md +0 -134
- data/CONTRIBUTING.md +0 -275
- data/FUNDING.md +0 -70
- data/MIT.md +0 -21
- data/RUBOCOP.md +0 -71
- data/SECURITY.md +0 -21
- data/certs/pboling.pem +0 -27
- data/sig/snaky_hash/version.rbs +0 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9d3aa0c125077c89e67909278d97e6dc378ce6dc42245a7e2b8c83937f6d743a
|
|
4
|
+
data.tar.gz: fdfddf98016e8af60377b4b53f8319d48896ab0e1ad1a6c72b078abd9d023227
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6b4f89eb21674b5dcb15085487e9a434eaf20e39ce0bc7206e6a0895f1f876f6b03fcfb7cd973d9f2a5693ebc3e78ac3fb34127fa3bf751714f8875730447045
|
|
7
|
+
data.tar.gz: 83847f2803ab69cf17a504cce18edd8927dfef6afbd31a080bef357fadde359169f52276b4e607f6fcc8f7124b8e16e167e188ccb07dcc4354718057414e983a
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,125 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [2.0.9] - 2026-10-25
|
|
34
|
+
|
|
35
|
+
- TAG: [v2.0.9][2.0.9t]
|
|
36
|
+
- COVERAGE: 100.00% -- 133/133 lines in 7 files
|
|
37
|
+
- BRANCH COVERAGE: 100.00% -- 38/38 branches in 7 files
|
|
38
|
+
- 100.00% documented
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- kettle-jem-template-20260720-001 - READMEs can now display configured
|
|
43
|
+
corporate sponsor logos.
|
|
44
|
+
|
|
45
|
+
### Changed
|
|
46
|
+
|
|
47
|
+
- [kc] kettle-jem/prepare: updated 16 project files:
|
|
48
|
+
- dependencies (16)
|
|
49
|
+
|
|
50
|
+
- [kc] kettle-jem/template: updated 6 project files:
|
|
51
|
+
- code and tests (1)
|
|
52
|
+
- dependencies (2)
|
|
53
|
+
- documentation (1)
|
|
54
|
+
- other (1)
|
|
55
|
+
- workflows (1)
|
|
56
|
+
|
|
57
|
+
## [2.0.8] - 2026-10-23
|
|
58
|
+
|
|
59
|
+
- TAG: [v2.0.8][2.0.8t]
|
|
60
|
+
- COVERAGE: 100.00% -- 133/133 lines in 7 files
|
|
61
|
+
- BRANCH COVERAGE: 100.00% -- 38/38 branches in 7 files
|
|
62
|
+
- 100.00% documented
|
|
63
|
+
|
|
64
|
+
### Added
|
|
65
|
+
|
|
66
|
+
- kettle-jem-template-20260720-005 - README Support & Community links now
|
|
67
|
+
include RubyForum.
|
|
68
|
+
- kettle-jem-template-20260726-001 - Projects now include YARD lint
|
|
69
|
+
configuration and documentation dependencies so documentation issues fail
|
|
70
|
+
before generated docs are refreshed.
|
|
71
|
+
- kettle-jem-template-20260727-001 - Spec harness documentation now lists the
|
|
72
|
+
RSpec helpers provided by `kettle-test`.
|
|
73
|
+
|
|
74
|
+
- kettle-jem-template-20260913-001 - Templating now also surfaces a review
|
|
75
|
+
entry in `dependency_conflicts.resolve` when a direct development
|
|
76
|
+
dependency doesn't support one or more of this project's declared
|
|
77
|
+
`engines:` and has no template-managed modular home (e.g. `sqlite3` on
|
|
78
|
+
`jruby`). Review each entry and pick a resolution per the project's own
|
|
79
|
+
engine support needs.
|
|
80
|
+
|
|
81
|
+
### Changed
|
|
82
|
+
|
|
83
|
+
- kettle-jem-template-20260716-002 - Generated gemspec manifests now ship fewer
|
|
84
|
+
repository-only files by default to reduce downstream distro packaging churn.
|
|
85
|
+
|
|
86
|
+
- kettle-jem-template-20260720-002 - Development Gemfiles now use the released
|
|
87
|
+
`tree_sitter_language_pack` gem 1.13.3 or newer by default.
|
|
88
|
+
- kettle-jem-template-20260725-002 - Version specs now use `anonymous_loader` to
|
|
89
|
+
cover `version.rb` without redefining constants, or are removed when version
|
|
90
|
+
specs are not managed for the project.
|
|
91
|
+
- kettle-jem-template-20260728-001 - Generated Ruby workflows now use clearer
|
|
92
|
+
setup-ruby-flash planning and can prepare appraisal-only jobs without
|
|
93
|
+
installing the main Gemfile bundle.
|
|
94
|
+
|
|
95
|
+
- kettle-jem-template-20260801-001 - Generated README gem dashboard links now
|
|
96
|
+
use ClickGems instead of BestGems.
|
|
97
|
+
|
|
98
|
+
- [kc] kettle-jem/prepare: updated 17 project files:
|
|
99
|
+
- configuration (1)
|
|
100
|
+
- dependencies (16)
|
|
101
|
+
|
|
102
|
+
- [kc] kettle-jem/template: updated 53 project files:
|
|
103
|
+
- code and tests (3)
|
|
104
|
+
- configuration (1)
|
|
105
|
+
- dependencies (10)
|
|
106
|
+
- documentation (2)
|
|
107
|
+
- other (5)
|
|
108
|
+
- workflows (32)
|
|
109
|
+
|
|
110
|
+
### Fixed
|
|
111
|
+
|
|
112
|
+
- kettle-jem-template-20260720-003 - StructuredMerge Git diff driver config now
|
|
113
|
+
uses the installed `smorg-rb` driver command.
|
|
114
|
+
- kettle-jem-template-20260725-001 - Release pull request branches beginning
|
|
115
|
+
with `feature/release` now run JRuby and TruffleRuby workflows.
|
|
116
|
+
- kettle-jem-template-20260726-002 - Generated version files now document their
|
|
117
|
+
version namespace and constants, reducing warning-only YARD lint output.
|
|
118
|
+
- kettle-jem-template-20260726-003 - Coverage upload steps now treat Coveralls,
|
|
119
|
+
QLTY, and Codecov as optional, so provider outages do not fail CI when local
|
|
120
|
+
coverage thresholds still pass.
|
|
121
|
+
- kettle-jem-template-20260728-002 - Generated RuboCop configs now ignore the
|
|
122
|
+
same `gemfiles/vendor/bundle` tree as `.gitignore`, so vendored dependency
|
|
123
|
+
installs are not reported as project lint debt.
|
|
124
|
+
- kettle-jem-template-20260728-003 - Generated dep-heads workflows now run
|
|
125
|
+
TruffleRuby jobs with current RubyGems and Bundler, avoiding setup failures
|
|
126
|
+
before the test suite starts.
|
|
127
|
+
- kettle-jem-template-20260728-004 - Generated dep-heads workflows now use the
|
|
128
|
+
setup-ruby Bundler install path for direct appraisal Gemfiles, avoiding rv
|
|
129
|
+
lockfile parser failures on Git and path dependencies.
|
|
130
|
+
- kettle-jem-template-20260728-005 - VersionGem bootstrap now creates the
|
|
131
|
+
missing canonical version spec when a project only has shim namespace version
|
|
132
|
+
specs.
|
|
133
|
+
- kettle-jem-template-20260729-001 - Generated JRuby 9.4 workflows now use the
|
|
134
|
+
legacy manual bundle install path, avoiding setup-time Bundler full-index
|
|
135
|
+
failures against `gem.coop`.
|
|
136
|
+
- kettle-jem-template-20260730-001 - Gemspec package file enumeration now runs
|
|
137
|
+
relative to the gemspec directory, so release package contents stay correct
|
|
138
|
+
even when the gemspec is loaded from another working directory.
|
|
139
|
+
|
|
140
|
+
- kettle-jem-template-20260801-002 - Generated RSpec helpers now normalize
|
|
141
|
+
managed configuration block bindings structurally, preventing mixed block
|
|
142
|
+
parameter names from producing invalid configuration after a merge.
|
|
143
|
+
- kettle-jem-template-20260801-003 - Generated project metadata and
|
|
144
|
+
documentation now normalize configured underscore hostnames to valid
|
|
145
|
+
hyphenated hostnames.
|
|
146
|
+
- kettle-jem-template-20260801-004 - Generated organization README logos now
|
|
147
|
+
use GitHub's stable organization avatar endpoint instead of assuming a
|
|
148
|
+
matching Galtzo-hosted asset exists.
|
|
149
|
+
- kettle-jem-template-20260802-001 - Devcontainer JSON files now merge as JSONC,
|
|
150
|
+
preserving comments and trailing commas during template updates.
|
|
151
|
+
|
|
33
152
|
## [2.0.7] - 2026-07-14
|
|
34
153
|
|
|
35
154
|
- TAG: [v2.0.7][2.0.7t]
|
|
@@ -199,7 +318,11 @@ end
|
|
|
199
318
|
|
|
200
319
|
- Initial release
|
|
201
320
|
|
|
202
|
-
[Unreleased]: https://github.com/ruby-oauth/snaky_hash/compare/v2.0.
|
|
321
|
+
[Unreleased]: https://github.com/ruby-oauth/snaky_hash/compare/v2.0.9...HEAD
|
|
322
|
+
[2.0.9]: https://github.com/ruby-oauth/snaky_hash/compare/v2.0.8...v2.0.9
|
|
323
|
+
[2.0.9t]: https://github.com/ruby-oauth/snaky_hash/releases/tag/v2.0.9
|
|
324
|
+
[2.0.8]: https://github.com/ruby-oauth/snaky_hash/compare/v2.0.7...v2.0.8
|
|
325
|
+
[2.0.8t]: https://github.com/ruby-oauth/snaky_hash/releases/tag/v2.0.8
|
|
203
326
|
[2.0.7]: https://github.com/ruby-oauth/snaky_hash/compare/v2.0.6...v2.0.7
|
|
204
327
|
[2.0.7t]: https://github.com/ruby-oauth/snaky_hash/releases/tag/v2.0.7
|
|
205
328
|
[2.0.6]: https://github.com/ruby-oauth/snaky_hash/compare/v2.0.5...v2.0.6
|
data/LICENSE.md
CHANGED
data/README.md
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
<a href="https://github.com/ruby-oauth"><img alt="ruby-oauth Logo by
|
|
1
|
+
<a href="https://github.com/ruby-oauth"><img alt="ruby-oauth Logo by GitHub" src="https://github.com/ruby-oauth.png?size=192" width="14%" align="right"/></a>
|
|
2
2
|
|
|
3
3
|
# 🔮 SnakyHash
|
|
4
4
|
|
|
5
|
-
[![Version][👽versioni]][👽version] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄license-img]][📄license] [![
|
|
5
|
+
[![Version][👽versioni]][👽version] [![Ruby Users Forum][✉️ruby-forum-top-img]][✉️ruby-forum] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄license-img]][📄license] [![Total downloads][👽dl-ranki]][👽dl-rank] [![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] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![Deps Locked][🚎13-🔒️-wfi]][🚎13-🔒️-wf] [![Deps Unlocked][🚎14-🔓️-wfi]][🚎14-🔓️-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf] [![Apache SkyWalking Eyes License Compatibility Check][🚎15-🪪-wfi]][🚎15-🪪-wf]
|
|
6
6
|
|
|
7
|
-
`if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know][✉️discord-invite], as I may have missed the
|
|
7
|
+
`if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know on Discord][✉️discord-invite] or [RubyForum][✉️ruby-forum], as I may have missed the notification.
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
`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.
|
|
12
12
|
|
|
13
13
|
[![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 at ko-fi.com][🖇kofi-img]][🖇kofi]
|
|
14
|
+
<p><sub>Corporate sponsors: <a href="https://alpha-omega.dev"><img alt="Alpha-Omega" src="https://alpha-omega.dev/wp-content/uploads/sites/22/2023/05/logo.svg" height="24"/></a> <a href="https://serpapi.com"><img alt="SerpApi" src="https://serpapi.com/assets/media_kit/logo-with-wordmark.svg" height="24"/></a> <a href="#-floss-funding">Become a sponsor</a></sub></p>
|
|
14
15
|
|
|
15
16
|
<details markdown="1">
|
|
16
17
|
<summary>👣 How will this project approach the September 2025 hostile takeover of RubyGems? 🚑️</summary>
|
|
@@ -26,12 +27,12 @@ I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-ta
|
|
|
26
27
|
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
|
27
28
|
|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
28
29
|
| Works with JRuby | [![JRuby 9.2 Compat][💎jruby-9.2i]][🚎jruby-9.2-wf] [![JRuby 9.3 Compat][💎jruby-9.3i]][🚎jruby-9.3-wf] <br/> [![JRuby 9.4 Compat][💎jruby-9.4i]][🚎jruby-9.4-wf] [![JRuby 10.0 Compat][💎jruby-10.0i]][🚎jruby-10.0-wf] [![JRuby current Compat][💎jruby-c-i]][🚎10-j-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf]|
|
|
29
|
-
| Works with Truffle Ruby | [![Truffle Ruby 22.3 Compat][💎truby-22.3i]][🚎truby-22.3-wf] [![Truffle Ruby 23.
|
|
30
|
+
| Works with Truffle Ruby | [![Truffle Ruby 22.3 Compat][💎truby-22.3i]][🚎truby-22.3-wf] [![Truffle Ruby 23.1 Compat][💎truby-23.1i]][🚎truby-23.1-wf] <br/> [![Truffle Ruby 24.2 Compat][💎truby-24.2i]][🚎truby-24.2-wf] [![Truffle Ruby 25.0 Compat][💎truby-25.0i]][🚎truby-25.0-wf] [![Truffle Ruby 33.0 Compat][💎truby-33.0i]][🚎truby-33.0-wf] [![Truffle Ruby current Compat][💎truby-c-i]][🚎9-t-wf]|
|
|
30
31
|
| Works with MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
|
|
31
32
|
| Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎ruby-3.0-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎ruby-3.1-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎ruby-3.2-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎ruby-3.3-wf] [![Ruby 3.4 Compat][💎ruby-3.4i]][🚎ruby-3.4-wf]|
|
|
32
33
|
| Works with MRI Ruby 2 | ![Ruby 2.2 Compat][💎ruby-2.2i] ![Ruby 2.3 Compat][💎ruby-2.3i] <br/> [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎ruby-2.4-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎ruby-2.5-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎ruby-2.6-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎ruby-2.7-wf]|
|
|
33
|
-
| 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] |
|
|
34
|
-
| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on
|
|
34
|
+
| Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Get help from RubyForum][✉️ruby-forum-img]][✉️ruby-forum] [![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] |
|
|
35
|
+
| 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] |
|
|
35
36
|
| 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] |
|
|
36
37
|
| Compliance | [![License: MIT][📄license-img]][📄license] [![Apache license compatibility: Category A][📄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] |
|
|
37
38
|
| 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] |
|
|
@@ -40,8 +41,9 @@ I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-ta
|
|
|
40
41
|
|
|
41
42
|
### Compatibility
|
|
42
43
|
|
|
43
|
-
Compatible with MRI Ruby 2.2.0+,
|
|
44
|
+
Compatible with MRI Ruby 2.2.0+, JRuby, and TruffleRuby.
|
|
44
45
|
CI workflows and Appraisals are generated for MRI Ruby 2.4+.
|
|
46
|
+
The current MRI CI lane runs on Linux and macOS.
|
|
45
47
|
This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
|
|
46
48
|
may be higher than the gem's runtime compatibility floor when legacy Rubies are
|
|
47
49
|
not practical for the current toolchain.
|
|
@@ -53,16 +55,16 @@ The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
|
53
55
|
<details markdown="1">
|
|
54
56
|
<summary>How kettle-dev manages complexity in tests</summary>
|
|
55
57
|
|
|
56
|
-
| Gem | Source | Role |
|
|
58
|
+
| Gem | Source | Role | Total downloads |
|
|
57
59
|
|-----|--------|------|---------------------|
|
|
58
|
-
| [appraisal2](https://
|
|
59
|
-
| [appraisal2-rubocop](https://
|
|
60
|
-
| [kettle-dev](https://
|
|
61
|
-
| [kettle-jem](https://
|
|
62
|
-
| [kettle-soup-cover](https://
|
|
63
|
-
| [kettle-test](https://
|
|
64
|
-
| [rubocop-lts](https://
|
|
65
|
-
| [turbo_tests2](https://
|
|
60
|
+
| [appraisal2](https://clickgems.clickhouse.com/dashboard/appraisal2) | [GitHub](https://github.com/appraisal-rb/appraisal2) | multi-dependency Appraisal matrix generation | [](https://clickgems.clickhouse.com/dashboard/appraisal2) |
|
|
61
|
+
| [appraisal2-rubocop](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) | [GitHub](https://github.com/appraisal-rb/appraisal2-rubocop) | RuboCop Appraisal generator integration | [](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) |
|
|
62
|
+
| [kettle-dev](https://clickgems.clickhouse.com/dashboard/kettle-dev) | [GitHub](https://github.com/kettle-dev/kettle-dev) | development, release, and CI workflow tooling | [](https://clickgems.clickhouse.com/dashboard/kettle-dev) |
|
|
63
|
+
| [kettle-jem](https://clickgems.clickhouse.com/dashboard/kettle-jem) | [GitHub](https://github.com/kettle-dev/kettle-jem) | Appraisals & CI workflow templates | [](https://clickgems.clickhouse.com/dashboard/kettle-jem) |
|
|
64
|
+
| [kettle-soup-cover](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) | [GitHub](https://github.com/kettle-dev/kettle-soup-cover) | SimpleCov coverage policy and reporting | [](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) |
|
|
65
|
+
| [kettle-test](https://clickgems.clickhouse.com/dashboard/kettle-test) | [GitHub](https://github.com/kettle-dev/kettle-test) | standard test runner and coverage harness | [](https://clickgems.clickhouse.com/dashboard/kettle-test) |
|
|
66
|
+
| [rubocop-lts](https://clickgems.clickhouse.com/dashboard/rubocop-lts) | [GitHub](https://github.com/rubocop-lts/rubocop-lts) | Ruby-version-aware linting | [](https://clickgems.clickhouse.com/dashboard/rubocop-lts) |
|
|
67
|
+
| [turbo_tests2](https://clickgems.clickhouse.com/dashboard/turbo_tests2) | [GitHub](https://github.com/galtzo-floss/turbo_tests2) | parallel test execution | [](https://clickgems.clickhouse.com/dashboard/turbo_tests2) |
|
|
66
68
|
|
|
67
69
|
</details>
|
|
68
70
|
|
|
@@ -71,39 +73,22 @@ The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
|
71
73
|
<details markdown="1">
|
|
72
74
|
<summary>Find this repo on federated forges (Coming soon!)</summary>
|
|
73
75
|
|
|
74
|
-
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
|
|
75
|
-
|
|
76
|
-
| 🧪 [ruby-oauth/snaky_hash on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
|
|
77
|
-
| 🧊 [ruby-oauth/snaky_hash on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
|
|
78
|
-
| 🐙 [ruby-oauth/snaky_hash on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix |
|
|
79
|
-
| 🎮️ [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] |
|
|
76
|
+
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
|
|
77
|
+
|-------------------------------------------------|-------------------------------------------|-------------------|------------------|-----------------|----------------|
|
|
78
|
+
| 🧪 [ruby-oauth/snaky_hash on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
|
|
79
|
+
| 🧊 [ruby-oauth/snaky_hash on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
|
|
80
|
+
| 🐙 [ruby-oauth/snaky_hash on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix |
|
|
80
81
|
|
|
81
82
|
</details>
|
|
82
83
|
|
|
83
|
-
|
|
84
|
+
### Enterprise Support
|
|
84
85
|
|
|
85
|
-
|
|
86
|
+
For enterprise support from the maintainer, use [Upwork][👨🏼🏫expsup-upwork] or [CodeMentor][👨🏼🏫expsup-codementor].
|
|
86
87
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
<details markdown="1">
|
|
90
|
-
<summary>Need enterprise-level guarantees?</summary>
|
|
91
|
-
|
|
92
|
-
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.
|
|
93
|
-
|
|
94
|
-
[![Get help from me on Tidelift][🏙️entsup-tidelift-img]][🏙️entsup-tidelift]
|
|
95
|
-
|
|
96
|
-
- 💡Subscribe for support guarantees covering _all_ your FLOSS dependencies
|
|
97
|
-
- 💡Tidelift is part of [Sonar][🏙️entsup-tidelift-sonar]
|
|
98
|
-
- 💡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
|
|
99
|
-
|
|
100
|
-
Alternatively:
|
|
88
|
+
Other support channels:
|
|
101
89
|
|
|
90
|
+
- [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
102
91
|
- [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
103
|
-
- [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork]
|
|
104
|
-
- [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor]
|
|
105
|
-
|
|
106
|
-
</details>
|
|
107
92
|
|
|
108
93
|
## ✨ Installation
|
|
109
94
|
|
|
@@ -121,6 +106,18 @@ gem install snaky_hash
|
|
|
121
106
|
|
|
122
107
|
## ⚙️ Configuration
|
|
123
108
|
|
|
109
|
+
Choose the storage key type when including `SnakyHash::Snake`: `:string`
|
|
110
|
+
stores converted keys as strings and `:symbol` stores them as symbols. Set
|
|
111
|
+
`serializer: true` when the host object also needs SnakyHash’s serialization
|
|
112
|
+
helpers. There is no global initializer; configuration belongs on each hash
|
|
113
|
+
class that includes the module.
|
|
114
|
+
|
|
115
|
+
```ruby
|
|
116
|
+
class StringKeyedPayload < Hashie::Mash
|
|
117
|
+
include SnakyHash::Snake.new(key_type: :string, serializer: true)
|
|
118
|
+
end
|
|
119
|
+
```
|
|
120
|
+
|
|
124
121
|
## 🔧 Basic Usage
|
|
125
122
|
|
|
126
123
|
```ruby
|
|
@@ -289,19 +286,21 @@ We welcome both individual and corporate sponsors! We also offer a
|
|
|
289
286
|
wide array of funding channels to account for your preferences.
|
|
290
287
|
Currently, [Open Collective][🖇osc] is our preferred funding platform.
|
|
291
288
|
|
|
289
|
+
### Corporate Sponsorship
|
|
290
|
+
|
|
291
|
+
- <a href="https://alpha-omega.dev"><img alt="Alpha-Omega" src="https://alpha-omega.dev/wp-content/uploads/sites/22/2023/05/logo.svg" height="32"/></a> [Alpha-Omega](https://alpha-omega.dev) — backed by [Amazon Web Services](https://aws.amazon.com), [Google](https://www.google.com), [Microsoft](https://www.microsoft.com), [Anthropic](https://www.anthropic.com), [OpenAI](https://openai.com), [Citi](https://www.citigroup.com), [GitHub](https://github.com)
|
|
292
|
+
- <a href="https://serpapi.com"><img alt="SerpApi" src="https://serpapi.com/assets/media_kit/logo-with-wordmark.svg" height="32"/></a> [SerpApi](https://serpapi.com)
|
|
293
|
+
|
|
292
294
|
**If you're working in a company that's making significant use of ruby-oauth tools we'd
|
|
293
295
|
appreciate it if you suggest to your company to become a ruby-oauth sponsor.**
|
|
294
296
|
|
|
297
|
+
### Individual Support
|
|
298
|
+
|
|
295
299
|
You can support the development of ruby-oauth tools via
|
|
296
300
|
[GitHub Sponsors][🖇sponsor],
|
|
297
301
|
[Liberapay][⛳liberapay],
|
|
298
|
-
[
|
|
299
|
-
[
|
|
300
|
-
and [Tidelift][🏙️entsup-tidelift].
|
|
301
|
-
|
|
302
|
-
| 📍 NOTE |
|
|
303
|
-
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
304
|
-
| 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. |
|
|
302
|
+
[Open Collective][🖇osc],
|
|
303
|
+
and [PayPal][🖇paypal].
|
|
305
304
|
|
|
306
305
|
### Open Collective for Individuals
|
|
307
306
|
|
|
@@ -321,10 +320,6 @@ NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day
|
|
|
321
320
|
|
|
322
321
|
<!-- OPENCOLLECTIVE-ORGANIZATIONS:START -->
|
|
323
322
|
No sponsors yet. Be the first!
|
|
324
|
-
|
|
325
|
-
### Open Collective for Donors
|
|
326
|
-
|
|
327
|
-
[Bill Woika](https://opencollective.com/bill-woika) [Philipp Ebneter](https://opencollective.com/guest-e77282f7) [Grigoriy](https://opencollective.com/guest-c93e0c48)
|
|
328
323
|
<!-- OPENCOLLECTIVE-ORGANIZATIONS:END -->
|
|
329
324
|
|
|
330
325
|
[kettle-readme-backers]: https://github.com/ruby-oauth/snaky_hash/blob/main/bin/kettle-readme-backers
|
|
@@ -348,8 +343,7 @@ See [SECURITY.md][🔐security].
|
|
|
348
343
|
## 🤝 Contributing
|
|
349
344
|
|
|
350
345
|
If you need some ideas of where to help, you could work on adding more code coverage,
|
|
351
|
-
|
|
352
|
-
or use the gem and think about how it could be better.
|
|
346
|
+
check [issues][🤝gh-issues] or [PRs][🤝gh-pulls], or use the gem and think about how it could be better.
|
|
353
347
|
|
|
354
348
|
We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
|
|
355
349
|
|
|
@@ -385,19 +379,6 @@ Made with [contributors-img][🖐contrib-rocks].
|
|
|
385
379
|
|
|
386
380
|
Also see GitLab Contributors: [https://gitlab.com/ruby-oauth/snaky_hash/-/graphs/main][🚎contributors-gl]
|
|
387
381
|
|
|
388
|
-
<details markdown="1">
|
|
389
|
-
<summary>⭐️ Star History</summary>
|
|
390
|
-
|
|
391
|
-
<a href="https://star-history.com/ruby-oauth/snaky_hash&Date">
|
|
392
|
-
<picture>
|
|
393
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=ruby-oauth/snaky_hash&type=Date&theme=dark" />
|
|
394
|
-
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=ruby-oauth/snaky_hash&type=Date" />
|
|
395
|
-
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=ruby-oauth/snaky_hash&type=Date" />
|
|
396
|
-
</picture>
|
|
397
|
-
</a>
|
|
398
|
-
|
|
399
|
-
</details>
|
|
400
|
-
|
|
401
382
|
## 📌 Versioning
|
|
402
383
|
|
|
403
384
|
This library follows [![Semantic Versioning 2.0.0][📌semver-img]][📌semver] for its public API where practical.
|
|
@@ -427,7 +408,7 @@ See [CHANGELOG.md][📌changelog] for a list of releases.
|
|
|
427
408
|
## 📄 License
|
|
428
409
|
|
|
429
410
|
The gem is available as open source under the terms of
|
|
430
|
-
the [MIT](MIT.md) [![License: MIT][📄license-img]][📄license-ref].
|
|
411
|
+
the [MIT](https://github.com/ruby-oauth/snaky_hash/blob/main/MIT.md) [![License: MIT][📄license-img]][📄license-ref].
|
|
431
412
|
|
|
432
413
|
### © Copyright
|
|
433
414
|
|
|
@@ -449,11 +430,12 @@ I'm hoping to be able to pay for my kids' health insurance this month,
|
|
|
449
430
|
so if you value the work I am doing, I need your support.
|
|
450
431
|
Please consider sponsoring me or the project.
|
|
451
432
|
|
|
452
|
-
To join the community or get help
|
|
433
|
+
To join the community or get help, use the RubyForum or Discord.
|
|
453
434
|
|
|
435
|
+
[![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
454
436
|
[![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
455
437
|
|
|
456
|
-
To say "thanks!" ☝️ Join the
|
|
438
|
+
To say "thanks!" ☝️ Join the community or 👇️ send money.
|
|
457
439
|
|
|
458
440
|
[![Sponsor ruby-oauth/snaky_hash 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]
|
|
459
441
|
|
|
@@ -494,11 +476,14 @@ Thanks for RTFM. ☺️
|
|
|
494
476
|
[✉️discord-invite-img-ftb]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge&logo=discord
|
|
495
477
|
[✉️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
|
|
496
478
|
[✉️ruby-friends]: https://app.daily.dev/squads/rubyfriends
|
|
479
|
+
[✉️ruby-forum-top-img]: https://img.shields.io/discourse/topics?server=https%3A%2F%2Fwww.rubyforum.org&style=flat&logo=discourse&label=Ruby%20Users%20Forum
|
|
480
|
+
[✉️ruby-forum-img]: https://img.shields.io/discourse/topics?server=https%3A%2F%2Fwww.rubyforum.org&style=for-the-badge&logo=discourse&label=Ruby%20Users%20Forum
|
|
481
|
+
[✉️ruby-forum]: https://www.rubyforum.org/tag/ruby-oauth
|
|
497
482
|
|
|
498
483
|
[✇bundle-group-pattern]: https://gist.github.com/pboling/4564780
|
|
499
484
|
[⛳️gem-namespace]: https://github.com/ruby-oauth/snaky_hash
|
|
500
485
|
[⛳️namespace-img]: https://img.shields.io/badge/namespace-SnakyHash-3C2D2D.svg?style=square&logo=ruby&logoColor=white
|
|
501
|
-
[⛳️gem-name]: https://
|
|
486
|
+
[⛳️gem-name]: https://clickgems.clickhouse.com/dashboard/snaky_hash
|
|
502
487
|
[⛳️name-img]: https://img.shields.io/badge/name-snaky__hash-3C2D2D.svg?style=square&logo=rubygems&logoColor=red
|
|
503
488
|
[⛳️tag-img]: https://img.shields.io/github/tag/ruby-oauth/snaky_hash.svg
|
|
504
489
|
[⛳️tag]: https://github.com/ruby-oauth/snaky_hash/releases
|
|
@@ -530,16 +515,13 @@ Thanks for RTFM. ☺️
|
|
|
530
515
|
[👨🏼🏫expsup-upwork-img]: https://img.shields.io/badge/UpWork-13544E?style=for-the-badge&logo=Upwork&logoColor=white
|
|
531
516
|
[👨🏼🏫expsup-codementor]: https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github
|
|
532
517
|
[👨🏼🏫expsup-codementor-img]: https://img.shields.io/badge/CodeMentor-Get_Help-1abc9c?style=for-the-badge&logo=CodeMentor&logoColor=white
|
|
533
|
-
[🏙️entsup-tidelift]: https://tidelift.com/subscription/pkg/rubygems-snaky_hash?utm_source=rubygems-snaky_hash&utm_medium=referral&utm_campaign=readme
|
|
534
|
-
[🏙️entsup-tidelift-img]: https://img.shields.io/badge/Tidelift_and_Sonar-Enterprise_Support-FD3456?style=for-the-badge&logo=sonar&logoColor=white
|
|
535
|
-
[🏙️entsup-tidelift-sonar]: https://blog.tidelift.com/tidelift-joins-sonar
|
|
536
518
|
[💁🏼♂️peterboling]: http://www.peterboling.com
|
|
537
519
|
[🚂railsbling]: http://www.railsbling.com
|
|
538
520
|
[📜src-gl-img]: https://img.shields.io/badge/GitLab-FBA326?style=for-the-badge&logo=Gitlab&logoColor=orange
|
|
539
521
|
[📜src-gl]: https://gitlab.com/ruby-oauth/snaky_hash
|
|
540
522
|
[📜src-cb-img]: https://img.shields.io/badge/CodeBerg-4893CC?style=for-the-badge&logo=CodeBerg&logoColor=blue
|
|
541
523
|
[📜src-cb]: https://codeberg.org/ruby-oauth/snaky_hash
|
|
542
|
-
[📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=
|
|
524
|
+
[📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=GitHub&logoColor=green
|
|
543
525
|
[📜src-gh]: https://github.com/ruby-oauth/snaky_hash
|
|
544
526
|
[📜docs-cr-rd-img]: https://img.shields.io/badge/RubyDoc-Current_Release-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
|
545
527
|
[📜docs-head-rd-img]: https://img.shields.io/badge/YARD_on_Galtzo.com-HEAD-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
|
@@ -547,9 +529,9 @@ Thanks for RTFM. ☺️
|
|
|
547
529
|
[📜gh-wiki]: https://github.com/ruby-oauth/snaky_hash/wiki
|
|
548
530
|
[📜gl-wiki-img]: https://img.shields.io/badge/wiki-gitlab-943CD2.svg?style=for-the-badge&logo=gitlab&logoColor=white
|
|
549
531
|
[📜gh-wiki-img]: https://img.shields.io/badge/wiki-github-943CD2.svg?style=for-the-badge&logo=github&logoColor=white
|
|
550
|
-
[👽dl-rank]: https://
|
|
551
|
-
[👽dl-ranki]: https://img.shields.io/gem/
|
|
552
|
-
[👽version]: https://
|
|
532
|
+
[👽dl-rank]: https://clickgems.clickhouse.com/dashboard/snaky_hash
|
|
533
|
+
[👽dl-ranki]: https://img.shields.io/gem/dt/snaky_hash.svg
|
|
534
|
+
[👽version]: https://clickgems.clickhouse.com/dashboard/snaky_hash
|
|
553
535
|
[👽versioni]: https://img.shields.io/gem/v/snaky_hash.svg
|
|
554
536
|
[🏀qlty-mnt]: https://qlty.sh/gh/ruby-oauth/projects/snaky_hash
|
|
555
537
|
[🏀qlty-mnti]: https://qlty.sh/gh/ruby-oauth/projects/snaky_hash/maintainability.svg
|
|
@@ -573,7 +555,6 @@ Thanks for RTFM. ☺️
|
|
|
573
555
|
[🚎jruby-9.4-wf]: https://github.com/ruby-oauth/snaky_hash/actions/workflows/jruby-9.4.yml
|
|
574
556
|
[🚎jruby-10.0-wf]: https://github.com/ruby-oauth/snaky_hash/actions/workflows/jruby-10.0.yml
|
|
575
557
|
[🚎truby-22.3-wf]: https://github.com/ruby-oauth/snaky_hash/actions/workflows/truffleruby-22.3.yml
|
|
576
|
-
[🚎truby-23.0-wf]: https://github.com/ruby-oauth/snaky_hash/actions/workflows/truffleruby-23.0.yml
|
|
577
558
|
[🚎truby-23.1-wf]: https://github.com/ruby-oauth/snaky_hash/actions/workflows/truffleruby-23.1.yml
|
|
578
559
|
[🚎truby-24.2-wf]: https://github.com/ruby-oauth/snaky_hash/actions/workflows/truffleruby-24.2.yml
|
|
579
560
|
[🚎truby-25.0-wf]: https://github.com/ruby-oauth/snaky_hash/actions/workflows/truffleruby-25.0.yml
|
|
@@ -612,13 +593,11 @@ Thanks for RTFM. ☺️
|
|
|
612
593
|
[💎ruby-c-i]: https://img.shields.io/badge/Ruby-current-CC342D?style=for-the-badge&logo=ruby&logoColor=green
|
|
613
594
|
[💎ruby-headi]: https://img.shields.io/badge/Ruby-HEAD-CC342D?style=for-the-badge&logo=ruby&logoColor=blue
|
|
614
595
|
[💎truby-22.3i]: https://img.shields.io/badge/Truffle_Ruby-22.3-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
615
|
-
[💎truby-23.0i]: https://img.shields.io/badge/Truffle_Ruby-23.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
616
596
|
[💎truby-23.1i]: https://img.shields.io/badge/Truffle_Ruby-23.1-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
617
597
|
[💎truby-24.2i]: https://img.shields.io/badge/Truffle_Ruby-24.2-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
618
598
|
[💎truby-25.0i]: https://img.shields.io/badge/Truffle_Ruby-25.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
619
599
|
[💎truby-33.0i]: https://img.shields.io/badge/Truffle_Ruby-33.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
|
|
620
600
|
[💎truby-c-i]: https://img.shields.io/badge/Truffle_Ruby-current-34BCB1?style=for-the-badge&logo=ruby&logoColor=green
|
|
621
|
-
[💎truby-headi]: https://img.shields.io/badge/Truffle_Ruby-HEAD-34BCB1?style=for-the-badge&logo=ruby&logoColor=blue
|
|
622
601
|
[💎jruby-9.2i]: https://img.shields.io/badge/JRuby-9.2-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
|
623
602
|
[💎jruby-9.3i]: https://img.shields.io/badge/JRuby-9.3-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
|
624
603
|
[💎jruby-9.4i]: https://img.shields.io/badge/JRuby-9.4-FBE742?style=for-the-badge&logo=ruby&logoColor=red
|
|
@@ -656,7 +635,7 @@ Thanks for RTFM. ☺️
|
|
|
656
635
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
657
636
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
658
637
|
[📄license]: LICENSE.md
|
|
659
|
-
[📄license-ref]: MIT.md
|
|
638
|
+
[📄license-ref]: https://github.com/ruby-oauth/snaky_hash/blob/main/MIT.md
|
|
660
639
|
[📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
|
|
661
640
|
[📄license-compat]: https://www.apache.org/legal/resolved.html#category-a
|
|
662
641
|
[📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-%E2%9C%93-259D6C.svg?style=flat&logo=Apache
|
|
@@ -681,5 +660,5 @@ Thanks for RTFM. ☺️
|
|
|
681
660
|
| Homepage | https://github.com/ruby-oauth/snaky_hash |
|
|
682
661
|
| Source | https://github.com/ruby-oauth/snaky_hash |
|
|
683
662
|
| License | `MIT` |
|
|
684
|
-
| Funding | https://github.com/sponsors/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/ruby-oauth, https://thanks.dev/u/gh/pboling, https://
|
|
663
|
+
| Funding | https://github.com/sponsors/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/ruby-oauth, https://thanks.dev/u/gh/pboling, https://www.buymeacoffee.com/pboling |
|
|
685
664
|
<!-- kettle-jem:metadata:end -->
|
data/lib/snaky_hash/version.rb
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
module SnakyHash
|
|
4
|
+
# Version namespace for this gem.
|
|
4
5
|
module Version
|
|
5
|
-
|
|
6
|
+
# Current gem version.
|
|
7
|
+
VERSION = "2.0.9"
|
|
6
8
|
end
|
|
9
|
+
# Current gem version exposed at the traditional constant location.
|
|
7
10
|
VERSION = Version::VERSION # Traditional Constant Location
|
|
8
11
|
end
|
data/lib/snaky_hash.rb
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
require "hashie"
|
|
5
5
|
require "version_gem"
|
|
6
6
|
|
|
7
|
-
require_relative "snaky_hash/version"
|
|
8
7
|
require_relative "snaky_hash/extensions"
|
|
9
8
|
require_relative "snaky_hash/serializer"
|
|
10
9
|
require_relative "snaky_hash/snake"
|
|
11
10
|
require_relative "snaky_hash/string_keyed"
|
|
12
11
|
require_relative "snaky_hash/symbol_keyed"
|
|
12
|
+
require_relative "snaky_hash/version"
|
|
13
13
|
|
|
14
14
|
# SnakyHash provides hash-like objects with automatic key conversion capabilities
|
|
15
15
|
#
|
|
@@ -37,6 +37,7 @@ end
|
|
|
37
37
|
# Enable version introspection via VersionGem
|
|
38
38
|
#
|
|
39
39
|
# @api private
|
|
40
|
+
|
|
40
41
|
SnakyHash::Version.class_eval do
|
|
41
42
|
extend VersionGem::Basic
|
|
42
43
|
end
|
data/sig/snaky_hash.rbs
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|