king_konf 0.1.7 → 0.1.8

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
  SHA1:
3
- metadata.gz: 9cfc7834fa0e179ec6d7d68fe27c8b449b461145
4
- data.tar.gz: 5960fea340b02ee4efe9be802b9b0a74154cd289
3
+ metadata.gz: a39bd10e17bde10fc2a686e92c5b478f21293322
4
+ data.tar.gz: b6f67ee2d75600f9d965cfbd11eab98f23d0b150
5
5
  SHA512:
6
- metadata.gz: 80bb1349da489d686f787e3107f671fb773653adde8600cd030f73d72d7bacd535422bc1497c2c32102c88dbb4d90b1c99c3c323660097169b2aaa1480c79cff
7
- data.tar.gz: dc459ac8ac90b3d5ee040946de5fef611b06d35b07446c62184a137688bc4a4371e2c73d5408e4f058dcf699cc5ed694e57f848766a329d692de17991f8a319b
6
+ metadata.gz: 8da2dda1782ab212074e07ddd75d3d90d15ba916b64d42c62bb6000da3a0e9a15aca260a3d49bb5e08b349131580aee6d6d260b61bebcf850607315370fa58a5
7
+ data.tar.gz: 0c545956accf20ad3e6b248e81d87b01fd2da93f21088b5f4f7f79e50d02c579cfa9acd9454970d59556e726d4069dfae3e228bf63aaa8ad42846c59c4e14b2e
@@ -26,5 +26,9 @@ module KingKonf
26
26
  rescue ArgumentError
27
27
  raise ConfigError, "#{value.inspect} is not an integer"
28
28
  end
29
+
30
+ def float(value, **)
31
+ Float(value)
32
+ end
29
33
  end
30
34
  end
@@ -1,3 +1,3 @@
1
1
  module KingKonf
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
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.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Schierbeck