lazy_lazer 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lazy_lazer/internal_model.rb +2 -2
- data/lib/lazy_lazer/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: 87770d766cb1cb91b1a3ce364d73798d4755b3c7
|
4
|
+
data.tar.gz: 9836626f19ab5a49e6b5e77e1839da36c3c6d4e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8edcaba9086ee82a9faf1a967dc96bc2c70788b1203b897afd9fca8e009cbb4c4bdf2521c035fc70f26f1f1267fafbc4381b417f8d0c9391e7d22e21d1a69ca1
|
7
|
+
data.tar.gz: 21860070fa84bbc2c19d12f1d535cd0227c235e6ebf8af5ed49275d4c0928d25001bb82a70809871fdda68ec15dfb1c69759fe58e5ea55f4ff7035d01afbd63e
|
@@ -92,8 +92,8 @@ module LazyLazer
|
|
92
92
|
def load_key_from_source(key_name)
|
93
93
|
meta = ensure_metadata_exists(key_name)
|
94
94
|
ensure_key_is_loaded(meta.source_key, meta.runtime_required?)
|
95
|
-
|
96
|
-
transform_value(
|
95
|
+
return fetch_default(meta.default) unless @source_hash.key?(meta.source_key)
|
96
|
+
transform_value(@source_hash[meta.source_key], meta.transform)
|
97
97
|
end
|
98
98
|
|
99
99
|
# Ensure the metadata is found.
|
data/lib/lazy_lazer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lazy_lazer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Avinash Dwarapu
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|