tiny_dot 1.2.0 → 1.3.0
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 +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43431e5a7057bc2f6cf613a04764ebffc73888e179a410e584175a82deec7c95
|
4
|
+
data.tar.gz: 2cd49f38c092aaf60dcd54fc6050aa74daa20d018e0b67d5b7ac29feaf0f7130
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fc483e2b724ae9280106ac16eb95579638f1209a41f2d5a7f8a65c0113355376c35040fc498ac4e8ee9b4837e6e4823640ae4170f45b181c92243d1a2d60ffd
|
7
|
+
data.tar.gz: ffa636fb014db58d0cac5095af7a1f0737489482524c12facd792540f320984d26e79eb713cffdda89bd9530397b26889757281e4caedc935914f6d753ef8786
|
data/lib/tiny_dot.rb
CHANGED
@@ -70,6 +70,13 @@ class TinyDot
|
|
70
70
|
@data.to_json
|
71
71
|
end
|
72
72
|
|
73
|
+
# NOTE: this returns the raw hash inside of the TinyDot instance, which means
|
74
|
+
# if you modify anything here you're modifying the internal data in this
|
75
|
+
# TinyDot instance
|
76
|
+
def to_hash
|
77
|
+
@data
|
78
|
+
end
|
79
|
+
|
73
80
|
def to_yaml
|
74
81
|
@data.to_yaml
|
75
82
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tiny_dot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Lunt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: a tiny read-only, dot notation wrapper for Hash, JSON, YAML, and ENV
|
14
14
|
email: jefflunt@gmail.com
|