sparkle_formation 0.2.8 → 0.2.10
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/CHANGELOG.md +4 -0
- data/lib/sparkle_formation/sparkle_attribute.rb +10 -2
- data/lib/sparkle_formation/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: b479d29d2362b0b07927cc975a6908b1600df820
|
4
|
+
data.tar.gz: 8d0477f4ac1aedb6cb7fd471711194a0a93b50a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56d720122b2bcd063c6a2fb7ab369d9497794aa182ef5763dd9266389f9799c018f406ec786ad728f8bcf42c005ec41e2e07bc17832d9ad4989be4eb700247ff
|
7
|
+
data.tar.gz: 1df868daea61d465381fd2b934c32257013bd8f914814be7b365b7bf08bedeb5842a5074bf632d3298b7907279f0acd290f7570ba2222c5c40cc2a92bf10552a
|
data/CHANGELOG.md
CHANGED
@@ -151,12 +151,12 @@ class SparkleFormation
|
|
151
151
|
|
152
152
|
# Fn::If generator
|
153
153
|
#
|
154
|
-
# @param cond [String, Symbol] symbol will be
|
154
|
+
# @param cond [String, Symbol] symbol will be case processed
|
155
155
|
# @param true_value [Object]
|
156
156
|
# @param false_value [Object]
|
157
157
|
# @return [Hash]
|
158
158
|
def _if(cond, true_value, false_value)
|
159
|
-
cond = cond.is_a?(Symbol)
|
159
|
+
cond = cond.is_a?(Symbol) ? _process_key(cond) : cond
|
160
160
|
{'Fn::If' => _array(cond, true_value, false_value)}
|
161
161
|
end
|
162
162
|
alias_method :if!, :_if
|
@@ -226,6 +226,14 @@ class SparkleFormation
|
|
226
226
|
end
|
227
227
|
alias_method :or!, :_or
|
228
228
|
|
229
|
+
# No value generator
|
230
|
+
#
|
231
|
+
# @return [String]
|
232
|
+
def _no_value
|
233
|
+
_ref('AWS::NoValue')
|
234
|
+
end
|
235
|
+
alias_method :no_value!, :_no_value
|
236
|
+
|
229
237
|
# Execute system command
|
230
238
|
#
|
231
239
|
# @param command [String]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sparkle_formation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Roberts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: attribute_struct
|