tiny_dot 2.1.0 → 2.2.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 +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: daabefd0e51ec88e1b04e614302475de2a5f80187016b376eff9608ff3704d70
4
- data.tar.gz: dbe6a1bc4a1557ff3e51362230396b82079cf61b043055043ac5f9570c125bfd
3
+ metadata.gz: eca2386b75f4cce3eec58e95ca934baf86ca7ace29cb8a31173e661db3b81465
4
+ data.tar.gz: bfda716d33c5361b683700f3ae8935c5eac3e6daaef93bf6b5e9c257b0095f9c
5
5
  SHA512:
6
- metadata.gz: bb25c08dbdea5e7cb1540f5b72289b36a3cf6bbc28fe9008ab2e90406c8cee37887562aa4dc3e8848d6036aae6d76ac741f7ed02f6995df463b59ccc070c3346
7
- data.tar.gz: 872c51a7be5fc3baf4e572323636728ec1d9a6be38871fb675b1decd0fd5fbc2cc33573a2a5010145998d49b47288992cc42ce6565097a058a764ef16df6d385
6
+ metadata.gz: f8e2987e2ba1c510a3a1126822312075507cf3457ebc5f4fcdc1ce33015365156f58ab6b748868d61e7fa6485fe9ecf0f0fbbf848dbd6a3089b4535dc9060754
7
+ data.tar.gz: 5ae9c45f40a01a990e25ff5ec5e3e0790d30dcf1392b783c7de6f0509bd9f97081d360d25091be57ff4682c768af905bcafa70b0b11463e28783328d006e764e
data/lib/tiny_dot.rb CHANGED
@@ -48,7 +48,7 @@ class TinyDot
48
48
  end
49
49
 
50
50
  # give it a Hash and it'll give you dot notation over it
51
- def initialize(hash)
51
+ def initialize(hash={})
52
52
  @data = hash
53
53
  end
54
54
 
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: 2.1.0
4
+ version: 2.2.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-12-08 00:00:00.000000000 Z
11
+ date: 2022-12-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: a tiny read/write dot notation wrapper for Hash, JSON, YAML, and ENV
14
14
  email: jefflunt@gmail.com