You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+98-6Lines changed: 98 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,22 @@
1
-
# SnakyHash
1
+
# 🐍 SnakyHash
2
2
3
3
[![Version][👽versioni]][👽version][![License: MIT][📄license-img]][📄license-ref][![Downloads Rank][👽dl-ranki]][👽dl-rank][![Open Source Helpers][👽oss-helpi]][👽oss-help][![Depfu][🔑depfui♻️]][🔑depfu][![Coveralls Test Coverage][🔑coveralls-img]][🔑coveralls][![QLTY Test Coverage][🔑qlty-covi♻️]][🔑qlty-cov][![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][![CI Supported][🚎6-s-wfi]][🚎6-s-wf][![CI Legacy][🚎4-lg-wfi]][🚎4-lg-wf][![CI Unsupported][🚎7-us-wfi]][🚎7-us-wf][![CI Ancient][🚎1-an-wfi]][🚎1-an-wf][![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf][![CI Style][🚎5-st-wfi]][🚎5-st-wf][![CodeQL][🖐codeQL-img]][🖐codeQL]
4
4
5
5
---
6
6
7
7
[![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay][![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor][![Buy me a coffee][🖇buyme-small-img]][🖇buyme][![Donate on Polar][🖇polar-img]][🖇polar][![Donate to my FLOSS or refugee efforts at ko-fi.com][🖇kofi-img]][🖇kofi][![Donate to my FLOSS or refugee efforts using Patreon][🖇patreon-img]][🖇patreon]
8
8
9
-
This library is similar in purpose to the HashWithIndifferentAccess that is famously used in Rails.
9
+
This library is similar in purpose to the HashWithIndifferentAccess that is famously used in Rails, but does a lot more.
10
10
11
-
This gem is used by `oauth`, `oauth2`, and other, gems to normalize hash keys to `snake_case` and lookups,
11
+
This gem is used by `oauth` and `oauth2` gems to normalize hash keys to `snake_case` and lookups,
12
12
and provide a nice psuedo-object interface.
13
13
14
-
It can be thought of as a mashup, with upgrades, to the `Rash` (specifically the [`rash_alt`](https://github.com/shishi/rash_alt) flavor), which is a special `Mash`, made popular by the `hashie` gem, and the `serialized_hashie`[gem by krystal](https://github.com/krystal/serialized-hashie).
14
+
It can be thought of as a mashup of:
15
15
16
-
Classes that include `SnakyHash::Snake` should inherit from `Hashie::Mash`.
16
+
*`Rash` (specifically the [`rash_alt`](https://github.com/shishi/rash_alt) flavor), which is a special `Mash`, made popular by the `hashie` gem, and
17
+
*`serialized_hashie`[gem by krystal](https://github.com/krystal/serialized-hashie)
18
+
19
+
Classes that `include SnakyHash::Snake.new` should inherit from `Hashie::Mash`.
17
20
18
21
## New for v2.0.2: Serialization Support
19
22
@@ -29,6 +32,8 @@ class MyStringKeyedHash < Hashie::Mash
29
32
end
30
33
```
31
34
35
+
✨ Also new dump & load plugin extensions to control the way your data is dumped and loaded.
36
+
32
37
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI | Discussions |
0 commit comments