king_konf 0.1.8 → 0.1.9

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: a39bd10e17bde10fc2a686e92c5b478f21293322
4
- data.tar.gz: b6f67ee2d75600f9d965cfbd11eab98f23d0b150
3
+ metadata.gz: b0c23bc3d4817221bb928e5bfeb5dd541ab32eb9
4
+ data.tar.gz: fd4479967b814bd2de1783c56032a580b353af86
5
5
  SHA512:
6
- metadata.gz: 8da2dda1782ab212074e07ddd75d3d90d15ba916b64d42c62bb6000da3a0e9a15aca260a3d49bb5e08b349131580aee6d6d260b61bebcf850607315370fa58a5
7
- data.tar.gz: 0c545956accf20ad3e6b248e81d87b01fd2da93f21088b5f4f7f79e50d02c579cfa9acd9454970d59556e726d4069dfae3e228bf63aaa8ad42846c59c4e14b2e
6
+ metadata.gz: ec19bb02a4ca10a9378c920fd4504f30ad24021b9dfb2246dac75be3b2cc870b4d31a224fae615223e969d7b88e3713749b02c860b41ca6b6f1c1269b51d09e7
7
+ data.tar.gz: 77d6cf59417d004d5bf6ed432fce4c21f513db410a8ef785050754096ebc670de4df29d7245e0bfdf97a80b9395282cdbb321b2f4d8c12de4dd640c9fb3d7ce0
@@ -69,8 +69,8 @@ module KingKonf
69
69
  end
70
70
 
71
71
  def get(name)
72
- if value = instance_variable_get("@#{name}")
73
- value
72
+ if instance_variable_defined?("@#{name}")
73
+ instance_variable_get("@#{name}")
74
74
  else
75
75
  variable = self.class.variable(name)
76
76
  variable.default
@@ -1,3 +1,3 @@
1
1
  module KingKonf
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
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.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Schierbeck
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-16 00:00:00.000000000 Z
11
+ date: 2017-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  requirements: []
96
96
  rubyforge_project:
97
- rubygems_version: 2.6.11
97
+ rubygems_version: 2.6.13
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: A simple configuration library