cloud_former 0.5.10 → 0.5.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cloud_former/has_properties_and_attributes.rb +4 -4
- data/lib/cloud_former/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bd6d9f6dbfc9a3c4482fe94dfb730ca0b53cf34
|
4
|
+
data.tar.gz: 862b1859cd76c1881948f4ca66de6b4719bb5c33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e54874d7ec4b7e589200ded983750a96be0bba2e7a78967896073e2532eee992596a3abeb5438cba7297f2c48f5780db68b33f5bc102f22adb6aa5af002099e
|
7
|
+
data.tar.gz: f1b2c39d7ce2fd544c137ffe7d852ed4a8b354b84609c7c45f520324330dd2e70043b49cf11eeb1774af8ae58a11828b6be2749f84674e0746215052df8740ef
|
@@ -85,7 +85,7 @@ module CloudFormer
|
|
85
85
|
else
|
86
86
|
raise ArgumentError, "Can't construct #{options[:type]} using block syntax."
|
87
87
|
end
|
88
|
-
instance_variable_set("@#{name}", value)
|
88
|
+
instance_variable_set("@#{name}_property_instance_var", value)
|
89
89
|
else
|
90
90
|
if args.size == 1
|
91
91
|
val = args.first
|
@@ -117,14 +117,14 @@ module CloudFormer
|
|
117
117
|
self.class.check_type_of_aws_value(name, val, options)
|
118
118
|
end
|
119
119
|
|
120
|
-
instance_variable_set("@#{name}", val)
|
120
|
+
instance_variable_set("@#{name}_property_instance_var", val)
|
121
121
|
elsif args.size > 1
|
122
122
|
raise ArgumentError, "wrong number of arguments (#{args.size} for 0..1)"
|
123
123
|
end
|
124
124
|
end
|
125
125
|
|
126
|
-
if instance_variable_defined?("@#{name}")
|
127
|
-
instance_variable_get("@#{name}")
|
126
|
+
if instance_variable_defined?("@#{name}_property_instance_var")
|
127
|
+
instance_variable_get("@#{name}_property_instance_var")
|
128
128
|
else
|
129
129
|
nil
|
130
130
|
end
|
data/lib/cloud_former/version.rb
CHANGED