konfa 0.5.1 → 0.5.2

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/konfa.rb +2 -1
  3. metadata +9 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '019c8e91eccb651e1797bd4f14936e7e993d90cf41da39315c0756a6f9edc337'
4
- data.tar.gz: b9cd987595b57b4747dc147f565f91fa435669ca0b84db275f2f69ff5c6b9f41
3
+ metadata.gz: 6fc9b3c14daca0a85ab0153ca8f0bc08f29b3b37ca2f525032fabf4b9b55d40b
4
+ data.tar.gz: c5825cb8c07354459a40d8e864b442a174c6ab9e45ec4d7c0d79f43ca5e6bce1
5
5
  SHA512:
6
- metadata.gz: 28ec3dd4747fd0f64f2ea7cca123b014a31701d2667ada2240f2a5dbc319ba21321bf2e25d2dc92a85f2bc5246ca2fd5d9d9e1453daa26decc4e4a1d3099e713
7
- data.tar.gz: 4d94c094df739eea1c0f90b82f0329f95cba20f2048500216a5eaafd6878c5841f575697c84f80196e15548b780f4861b92d43c5dc6a3398def760b0c5fae66a
6
+ metadata.gz: 4b1cd2caf59b7cc337333226806bdca2160f6e195815b6e5b6d1ec7ae2c0e02c34126709ec54465d6e08be7e5f6aaada2ecbbe4147fa2ea61d03970dfa0bf24e
7
+ data.tar.gz: c3a89e3e6efad0221412e9d5a1a7cc5ccdd3c8479477caeb0e72639e80974a2860f9fa0db2326602d740da01749b662b0515f1207ebf7a9e0ef3eae0363c5caa
@@ -36,7 +36,8 @@ module Konfa
36
36
  end
37
37
 
38
38
  def configuration
39
- self.init
39
+ self.init if self.initializer
40
+
40
41
  @configuration ||= default_values
41
42
  end
42
43
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: konfa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gunnar Hansson
@@ -15,16 +15,22 @@ dependencies:
15
15
  name: method_source
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0.8'
21
+ - - "<="
22
+ - !ruby/object:Gem::Version
23
+ version: '1.0'
21
24
  type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
24
27
  requirements:
25
- - - "~>"
28
+ - - ">="
26
29
  - !ruby/object:Gem::Version
27
30
  version: '0.8'
31
+ - - "<="
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
28
34
  - !ruby/object:Gem::Dependency
29
35
  name: rake
30
36
  requirement: !ruby/object:Gem::Requirement