ya_queen 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ya_queen/custom.rb +2 -0
- data/lib/ya_queen/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: 0f2bbce0988d4e5af2255bb5f134bad7cbfa890b
|
4
|
+
data.tar.gz: 39140bcf5f4f2dc80131276ec48d9f639643576a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2818b06491db988b1ca91b2b29c3c8fd2b61ea654d6aa78eb7c5a10293afb031894c9bf3d6a196a820e1522c2bd8d820fd7d7f0b7da17ded25d4c87bcc8ca91
|
7
|
+
data.tar.gz: 0e426a7924d9518cfcef857fc595eba6ac3365102933f16fce43be74448d58f23e7301654290ca505f97a9bd2a6be9f34c04b7e394869b6435bb6979059b3326
|
data/lib/ya_queen/custom.rb
CHANGED
@@ -5,9 +5,11 @@ module YaQueen
|
|
5
5
|
class Custom < Base
|
6
6
|
def implement_common_task
|
7
7
|
skip_keys = %w[roles deploy_to]
|
8
|
+
symbol_value_keys = %w[scm deploy_via]
|
8
9
|
config.each do |key, value|
|
9
10
|
next if key == "roles"
|
10
11
|
if value
|
12
|
+
value = symbol_value_keys.include?(key.to_s) ? value.to_sym : value
|
11
13
|
set key.to_sym, value
|
12
14
|
end
|
13
15
|
end
|
data/lib/ya_queen/version.rb
CHANGED