itamae 1.0.0.beta47 → 1.0.0.beta48
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/itamae/recipe.rb +6 -3
- data/lib/itamae/version.txt +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: ea6504545b5ef08cb42d0606a9231f2bcfc0cf73
|
4
|
+
data.tar.gz: 5e66a3f2870bb81b3a8eace424d8e6b9d3084df0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 275ce2988ae1ea0071f1c3b2def47808c8a6664e59acce0a2fc4c68c0ce798ff2e2659a76194957219cd14bcf406498b47facb9879c816c1d229a04dbaa79579
|
7
|
+
data.tar.gz: 3d90b5e3229cd87e019ffc4b433dadba069ff6437db0089ef71d6af885e88c932d18bf0d7ee6914187645472d1e45024edfdb92c151506372245226bdf4b1789
|
data/lib/itamae/recipe.rb
CHANGED
@@ -53,11 +53,14 @@ module Itamae
|
|
53
53
|
super unless args.size == 2
|
54
54
|
|
55
55
|
method, name = args
|
56
|
-
|
56
|
+
begin
|
57
|
+
klass = Resource.get_resource_class(method)
|
58
|
+
rescue NameError
|
59
|
+
super
|
60
|
+
end
|
61
|
+
|
57
62
|
resource = klass.new(self, name, &block)
|
58
63
|
@children << resource
|
59
|
-
rescue
|
60
|
-
super
|
61
64
|
end
|
62
65
|
|
63
66
|
def include_recipe(recipe)
|
data/lib/itamae/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.0.
|
1
|
+
1.0.0.beta48
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itamae
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.beta48
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryota Arai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|