bake 0.8.0 → 0.9.0
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/bake/context.rb +2 -2
- data/lib/bake/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5aba3727b1bef4faf8ded43808247926e428eb6a0fce4fe8ec56185ab797d04e
|
4
|
+
data.tar.gz: 9c737b302ff12b1cb7d7202b40e988bb7ec6d1f0c05da74cdfba638b4e7043b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36a47243d54fac8c16599d2544060d33089640f30cbcfa18500223ceef0d2534989c62f773ea94cb17cc3663bc9e0ddbbbf6d63f2c3302c8b5f80366d43fcf21
|
7
|
+
data.tar.gz: ac47d457ae191faa4ef3fc40661c7529cade611ed700b881668e2a45d4794991c112256c173dfd7da064295a00f8b9bbbc3b157bf434e5b51f898d9fe9f2d040
|
data/lib/bake/context.rb
CHANGED
@@ -128,12 +128,12 @@ module Bake
|
|
128
128
|
def recipe_for(command)
|
129
129
|
path = command.split(":")
|
130
130
|
|
131
|
-
if instance = @instances[path]
|
131
|
+
if instance = @instances[path] and instance.respond_to?(path.last)
|
132
132
|
return instance.recipe_for(path.last)
|
133
133
|
else
|
134
134
|
*path, name = *path
|
135
135
|
|
136
|
-
if instance = @instances[path]
|
136
|
+
if instance = @instances[path] and instance.respond_to?(name)
|
137
137
|
return instance.recipe_for(name)
|
138
138
|
end
|
139
139
|
end
|
data/lib/bake/version.rb
CHANGED