cfhighlander 0.11.1.alpha.1586487717 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cfhighlander.helper.rb +1 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b61db1c8b44447e69edec0f0050c6aa870272eb385ee576d434deea2b1b4520
|
4
|
+
data.tar.gz: fd3da19354f96b7dd9b838ebc53205df07e057bd4e937f7370263f00b92112f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64f34c0d16abd1b0128d092bc51f9c021d5123add183876d54090640a7fb7780160df3c5cf0e7830b304fc2cc1dbee74567da7269d8d459dad1c80d90babc344
|
7
|
+
data.tar.gz: 99e19143911c09672240e17e31f00d94c764c629d732eb8cc4ddc8a0a84029e14efe482355ab74ccced84136c8d38560b01dfdc81639e14700793c7a0c30d21c
|
data/lib/cfhighlander.helper.rb
CHANGED
@@ -4,21 +4,16 @@ module Cfhighlander
|
|
4
4
|
module Helper
|
5
5
|
|
6
6
|
|
7
|
-
def self.parameter_cfndsl_value(value
|
7
|
+
def self.parameter_cfndsl_value(value)
|
8
8
|
|
9
9
|
if value.class == String
|
10
10
|
return "'#{value}'"
|
11
11
|
end
|
12
12
|
|
13
13
|
if value.class == Hash
|
14
|
-
return value if nested
|
15
14
|
return value.to_json
|
16
15
|
end
|
17
16
|
|
18
|
-
if value.class == Array
|
19
|
-
return value.collect { |it| self.parameter_cfndsl_value(it, nested = true) }
|
20
|
-
end
|
21
|
-
|
22
17
|
return "'#{value}'"
|
23
18
|
|
24
19
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cfhighlander
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.1
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nikola Tosic
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-
|
13
|
+
date: 2020-03-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: highline
|
@@ -277,9 +277,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
277
277
|
version: '0'
|
278
278
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
279
279
|
requirements:
|
280
|
-
- - "
|
280
|
+
- - ">="
|
281
281
|
- !ruby/object:Gem::Version
|
282
|
-
version:
|
282
|
+
version: '0'
|
283
283
|
requirements: []
|
284
284
|
rubyforge_project:
|
285
285
|
rubygems_version: 2.7.7
|