tiny_dot 1.0.0 → 1.1.0

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 +8 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a504ee11ac88fe637eda112ecb1a4f85cc8de98e652962666ecbd808c091837d
4
- data.tar.gz: e43d65b6e60f61bb02476e40d3dfb9f28ef0651d5b0d984f6dad63d7579fbdf8
3
+ metadata.gz: b67c64a2b6cadaf03f5e884c7a19e24bca0e456b52793abc711a1910066fdc4a
4
+ data.tar.gz: 57afdc1cfe4401662697cc4323744e335cbf5bd6b024455805405fa78fbb92d3
5
5
  SHA512:
6
- metadata.gz: 752a76684804dec7a794d87bc444d7805c04bfd43b2a1cc67ed8818fca219753df8b07015912b9e8088938b0283264615fd1b48d1923604e763a22384c876488
7
- data.tar.gz: aba04b5338a31643d859acbeefb456cd868959ecab8f3b7fa6c3744afa85b3deb112518351320ee90d66cb932df18b86fa1725ef0593d51a06ea09cdb44dbcff
6
+ metadata.gz: bfc3a8f0631a7c45ce9c32e12e0f2decbe63365fa7cc6bf942238d6b6c46c3c3c711e1c06a34532c4a819150e1b37bc60889c9eb9e2032753889d39e22b1e676
7
+ data.tar.gz: 952e378985a8fc2e74ff944a5dda98f2d255ee3a279f254e2dcf2c64a3671f554c04002af59b506ef6c1fe8a155195b2576d760505a05bb1e8099f9e10dd5665
data/lib/tiny_dot.rb CHANGED
@@ -60,4 +60,12 @@ class TinyDot
60
60
  TinyDot.new({})
61
61
  end
62
62
  end
63
+
64
+ def to_json
65
+ @data.to_json
66
+ end
67
+
68
+ def to_yaml
69
+ @data.to_yaml
70
+ end
63
71
  end
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: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Lunt