tiny_dot 3.1.0 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tiny_dot.rb +3 -0
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b701cc65a335b06576aeb497e5c1b523788780c1d04b44544c17f1ceabc4621a
|
4
|
+
data.tar.gz: 0eb9803da98c878e7a51148d3613ffe8636b1486e8f17601558c185e5d8906c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e55b5acfdbd7c41399e2b7b62a4d79f7fbe4710b824d47cc3009608ae290683adf34d367205d64b58483097a53db0bcc42e833c6c28989b91fef959cfba2fb5
|
7
|
+
data.tar.gz: bc50505590c337e581c71c23732cb54a3f4d6828dccbdc80c8f6669783b0c5997cafbbbe7f25759102999bd1009cab07afff2b4ee4bc2ca0cb4a65b8039a59c7
|
data/lib/tiny_dot.rb
CHANGED
@@ -14,6 +14,9 @@ require 'oj'
|
|
14
14
|
# The `from_json` method takes a string containing JSON data and converts it
|
15
15
|
# into a Struct.
|
16
16
|
#
|
17
|
+
# The `from_csv` method takes a string containing raw CSV data and converts it
|
18
|
+
# to an Array of Struct.
|
19
|
+
#
|
17
20
|
# The `from_hash` method takes a Hash and converts it into a Struct. It really
|
18
21
|
# just calls the `_hash_to_struct` method.
|
19
22
|
#
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tiny_dot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Lunt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
12
|
-
dependencies:
|
11
|
+
date: 2023-04-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: oj
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
description: a tiny read/write dot notation wrapper for Hash, JSON, YAML, and ENV
|
14
28
|
email: jefflunt@gmail.com
|
15
29
|
executables: []
|