tiny_dot 3.1.1 → 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 +21 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f9908d8188735de9f46c983334ed8f68510f93bc6854b3036fcf33c2e83b718
4
- data.tar.gz: 0cffe2d0c334aa3896b0ab6af2a89254ce48ea1dbc9b8abdb352a90fcb4cbb6f
3
+ metadata.gz: c28af49a7be1d118cba2f82ca215585d39f085b17d5cf9e2906ff6a6cba65100
4
+ data.tar.gz: 361f6487f68d98de29742f977f4afd1b3324f1affd385bbcb4358fe6d32daf43
5
5
  SHA512:
6
- metadata.gz: 380f0ad515c49b4b3804ebeb508b76b9aceb7ab3598610b23fd1763ab94a70ef39f6f68723927b6852179cc34ce987e3e7c620f5f664c5a1323d3f572fd2edb0
7
- data.tar.gz: cb0608d906f983e2dcd41003d4e3f62c2e82e2a205ef068b8ca50734e930f11797b0e81d9e972aa351c8a2653c207222f00bedbb26bc7f8fe9fd97f8d664275e
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,16 +1,31 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiny_dot
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.3
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-13 00:00:00.000000000 Z
12
- dependencies: []
13
- description: a tiny read/write dot notation wrapper for Hash, JSON, YAML, and ENV
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'
27
+ description: a tiny read/write dot notation wrapper for Hash, JSON, YAML, CSV, and
28
+ ENV
14
29
  email: jefflunt@gmail.com
15
30
  executables: []
16
31
  extensions: []
@@ -39,6 +54,6 @@ requirements: []
39
54
  rubygems_version: 3.3.7
40
55
  signing_key:
41
56
  specification_version: 4
42
- summary: want to have easy dot notation access to data that comes from Hashes, JSON,
43
- 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
44
59
  test_files: []