tash 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +7 -0
- data/CONTRIBUTING.md +45 -0
- data/LICENSE.txt +21 -0
- data/README.md +112 -0
- data/lib/tash/version.rb +5 -0
- data/lib/tash.rb +1230 -0
- data/sig/tash.rbs +178 -0
- data/spec/spec_helper.rb +31 -0
- data/spec/tash_spec.rb +1148 -0
- metadata +63 -0
metadata
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tash
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Aaron Lasseigne
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-06-25 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: |
|
14
|
+
A hash that allows for transformation of its keys. A transformation block
|
15
|
+
is given to change the key. Keys can be looked up with any value that
|
16
|
+
transforms into the same key. This means a hash can be string/symbol
|
17
|
+
insensitive, case insensitive, can convert camel case JSON keys to snake
|
18
|
+
case Ruby keys, or anything else based on the block you provide.
|
19
|
+
email:
|
20
|
+
- aaron.lasseigne@gmail.com
|
21
|
+
executables: []
|
22
|
+
extensions: []
|
23
|
+
extra_rdoc_files: []
|
24
|
+
files:
|
25
|
+
- CHANGELOG.md
|
26
|
+
- CONTRIBUTING.md
|
27
|
+
- LICENSE.txt
|
28
|
+
- README.md
|
29
|
+
- lib/tash.rb
|
30
|
+
- lib/tash/version.rb
|
31
|
+
- sig/tash.rbs
|
32
|
+
- spec/spec_helper.rb
|
33
|
+
- spec/tash_spec.rb
|
34
|
+
homepage: https://github.com/AaronLasseigne/tash
|
35
|
+
licenses:
|
36
|
+
- MIT
|
37
|
+
metadata:
|
38
|
+
homepage_uri: https://github.com/AaronLasseigne/tash
|
39
|
+
source_code_uri: https://github.com/AaronLasseigne/tash
|
40
|
+
changelog_uri: https://github.com/AaronLasseigne/tash/blob/main/CHANGELOG.md
|
41
|
+
rubygems_mfa_required: 'true'
|
42
|
+
post_install_message:
|
43
|
+
rdoc_options: []
|
44
|
+
require_paths:
|
45
|
+
- lib
|
46
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 2.7.0
|
51
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
requirements: []
|
57
|
+
rubygems_version: 3.3.7
|
58
|
+
signing_key:
|
59
|
+
specification_version: 4
|
60
|
+
summary: A hash that allows for transformation of its keys.
|
61
|
+
test_files:
|
62
|
+
- spec/spec_helper.rb
|
63
|
+
- spec/tash_spec.rb
|