fedux_org-stdlib 0.6.16 → 0.6.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/fedux_org_stdlib/app_config.rb +4 -2
- data/lib/fedux_org_stdlib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e490470f63a363e30265d95d5beb320df9d63a18
|
|
4
|
+
data.tar.gz: abe1d42fd7033d76efd9c5ca565b4a80d2d754f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3f7d7415193ff2506e08752f87da72e3f1a806dbe6a1b00dbff7a617b4184c5f7dec8502516b5e88f3e2eca906b64ea3949543ff5ed25d709612914b79a5d53
|
|
7
|
+
data.tar.gz: 9370cc1fdb4aaf831051da0596d28e0407be64ed88645609d23b6001a646a599b482d3ca40b823c5a7aef5a94093eaa1f5bffe6f6c44782e44782627d5349206
|
|
@@ -199,7 +199,9 @@ module FeduxOrgStdlib
|
|
|
199
199
|
fail Exceptions::ConfigFileNotReadable, JSON.dump(message: e.message, file: file)
|
|
200
200
|
end
|
|
201
201
|
|
|
202
|
-
if yaml.
|
|
202
|
+
if yaml.blank?
|
|
203
|
+
@__config = {}
|
|
204
|
+
elsif yaml.respond_to? :[] and !yaml.kind_of? Array
|
|
203
205
|
yaml = yaml.deep_symbolize_keys
|
|
204
206
|
|
|
205
207
|
yaml_with_known_options = yaml.deep_symbolize_keys.slice(*self.class._known_options)
|
|
@@ -209,7 +211,7 @@ module FeduxOrgStdlib
|
|
|
209
211
|
|
|
210
212
|
@__config = Hash(yaml_with_known_options)
|
|
211
213
|
else
|
|
212
|
-
logger.warn "There seems to be a problem transforming config file \"#{file}\" to a hash
|
|
214
|
+
logger.warn "There seems to be a problem transforming config file \"#{file}\" to a hash, therefor I will use an empty config object."
|
|
213
215
|
@__config = {}
|
|
214
216
|
end
|
|
215
217
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fedux_org-stdlib
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.17
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Max Meyer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-07-
|
|
11
|
+
date: 2014-07-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|