tiny_dot 3.1.2 → 3.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tiny_dot.rb +1 -1
  3. metadata +5 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b701cc65a335b06576aeb497e5c1b523788780c1d04b44544c17f1ceabc4621a
4
- data.tar.gz: 0eb9803da98c878e7a51148d3613ffe8636b1486e8f17601558c185e5d8906c9
3
+ metadata.gz: c28af49a7be1d118cba2f82ca215585d39f085b17d5cf9e2906ff6a6cba65100
4
+ data.tar.gz: 361f6487f68d98de29742f977f4afd1b3324f1affd385bbcb4358fe6d32daf43
5
5
  SHA512:
6
- metadata.gz: 7e55b5acfdbd7c41399e2b7b62a4d79f7fbe4710b824d47cc3009608ae290683adf34d367205d64b58483097a53db0bcc42e833c6c28989b91fef959cfba2fb5
7
- data.tar.gz: bc50505590c337e581c71c23732cb54a3f4d6828dccbdc80c8f6669783b0c5997cafbbbe7f25759102999bd1009cab07afff2b4ee4bc2ca0cb4a65b8039a59c7
6
+ metadata.gz: db1bdf2d448741536d18b0a7dc233ab00a463970b6b507d8f246ac20b1d49c779d854b1eb67e8be9687fb8e947913ffb32c7ba44e69aeab5befb7de07ddf0f73
7
+ data.tar.gz: 0b312cf037b7ada87d074dbe8c00a7616dc7e196b5feb6ab45474727507172dcae3673c165cf547f642fa0f038e23bbcd6ca2be51e887d27f40ec52bb22c1fb3
data/lib/tiny_dot.rb CHANGED
@@ -62,7 +62,7 @@ module TinyDot
62
62
  data.map { |row| _hash_to_struct(row.to_hash) }
63
63
  end
64
64
 
65
- def self.from_hash(hash)
65
+ def from_hash(hash)
66
66
  _hash_to_struct(json)
67
67
  end
68
68
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiny_dot
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: 3.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Lunt
@@ -24,7 +24,8 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
- description: a tiny read/write dot notation wrapper for Hash, JSON, YAML, and ENV
27
+ description: a tiny read/write dot notation wrapper for Hash, JSON, YAML, CSV, and
28
+ ENV
28
29
  email: jefflunt@gmail.com
29
30
  executables: []
30
31
  extensions: []
@@ -53,6 +54,6 @@ requirements: []
53
54
  rubygems_version: 3.3.7
54
55
  signing_key:
55
56
  specification_version: 4
56
- summary: want to have easy dot notation access to data that comes from Hashes, JSON,
57
- and YAML - and absolutely nothing else? then this is the library for you.
57
+ summary: this library will take in one of the supported formats and will recursively
58
+ build a nested set of Structs out of it
58
59
  test_files: []