king_konf 0.3.3 → 0.3.4

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: e0ea307817cbf5be7acc146d2cdaf4b8ce4430ba02c5e11cbceecb1c6444f9aa
4
- data.tar.gz: 8accdb7fcb0221d69641881f5481d20b3aa620a61df007664d05ee57b31045e6
3
+ metadata.gz: 1e70105236984b09d7d7084252aa803a7f80d5e5e932f8dac6abf8b5f55f517f
4
+ data.tar.gz: 0f84bbb611f69f745e859da039b4c2efd17241ef5679af8df3e4da63a80f3b76
5
5
  SHA512:
6
- metadata.gz: 258ac67bd6a5c30734d3fccb66c47907b3ce9263783243037d3538041b086b0b07b11c4a853c4c6098a56d46ae60233bad45866dbb6bd3a404618a5c6f2aca33
7
- data.tar.gz: 66f8de3953b558be269e63115c448a4c715d39bd5878efbeb08e56afa09291e29758fed5b2ecb87799e0a6391d0f1ecbe178044f1272518be6d59b901cc9b491
6
+ metadata.gz: 3060051a7d7a5bbf79c43b4434b29e1466fd4eab9c03485819b5e7ce4b2e559911b1a510c80281a5a3deba0779fe433d595db3556b06deba8d715778da3f3af9
7
+ data.tar.gz: 7ba6ae642819a51cace837206ee5756d5008c6586f0b418ff4b2e881df184d2bc24bd05cfc67f169bc478b5d115e24c99933dbccef04f345184c748fc32a86a7
@@ -34,7 +34,7 @@ module KingKonf
34
34
  when :float then value.is_a?(Float) || value.is_a?(Integer) || value.nil?
35
35
  when :duration then value.is_a?(Float) || value.is_a?(Integer) || value.is_a?(String) || value.nil?
36
36
  when :boolean then value == true || value == false
37
- when :symbol then value.is_a?(Symbol)
37
+ when :symbol then value.is_a?(Symbol) || value.is_a?(String)
38
38
  else raise "invalid type #{@type}"
39
39
  end
40
40
  end
@@ -1,3 +1,3 @@
1
1
  module KingKonf
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: king_konf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Schierbeck