king_konf 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cae3a1bc68bd4338074153f909aed61508c57843bd88201ffdb28c8151858a34
4
- data.tar.gz: da575e0537725a6989483a557c17fe9a33d7d3e326b75b34db41ac04eab3dd0f
3
+ metadata.gz: e0ea307817cbf5be7acc146d2cdaf4b8ce4430ba02c5e11cbceecb1c6444f9aa
4
+ data.tar.gz: 8accdb7fcb0221d69641881f5481d20b3aa620a61df007664d05ee57b31045e6
5
5
  SHA512:
6
- metadata.gz: 1453e59b7cd31f5cade7b35f39f42cac78b44f99fa51e956daa034f81fbc84156c78e189151c8c1fb6fa84f1747f7a473286583fab5f4a7b3b336995f56944b7
7
- data.tar.gz: b4e0eec7353d8c65bfe12d929bc3b38ac1905f5ccd0a07652d7beba12087b966b4bb297e68b948a141115137a5b6623aa716a2601c342665e48b18fdf327bebd
6
+ metadata.gz: 258ac67bd6a5c30734d3fccb66c47907b3ce9263783243037d3538041b086b0b07b11c4a853c4c6098a56d46ae60233bad45866dbb6bd3a404618a5c6f2aca33
7
+ data.tar.gz: 66f8de3953b558be269e63115c448a4c715d39bd5878efbeb08e56afa09291e29758fed5b2ecb87799e0a6391d0f1ecbe178044f1272518be6d59b901cc9b491
@@ -17,6 +17,7 @@ module KingKonf
17
17
  case @type
18
18
  when :float then value.to_f
19
19
  when :duration then value.is_a?(String) ? Decoder.duration(value) : value
20
+ when :symbol then value.is_a?(String) ? value.to_sym : value
20
21
  else value
21
22
  end
22
23
  end
@@ -1,3 +1,3 @@
1
1
  module KingKonf
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: king_konf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Schierbeck
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-09 00:00:00.000000000 Z
11
+ date: 2018-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler