rundock 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/rundock/plugin/operation/deploy.rb +9 -1
- data/lib/rundock/version.rb +1 -1
- data/spec/integration/platforms/localhost/scenarios/deploy_erb_scenario.yml +3 -3
- data/spec/integration/recipes/deploy_erb_spec.rb +2 -2
- data/spec/integration/scenarios/deploy_erb_scenario.yml +2 -2
- 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: 427a5c5bf1af65355a3fd503eafb597c152db37e
|
4
|
+
data.tar.gz: 4d518a9ce6c376fe2b0fa18c5528c24927d6fac9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f28cd34e259c5c6537016a32cc8c11190898328584c6d48548651b659986a57db9231b1e95d739750b1d493b5c1930ed0237484bcfcab07253ef58e82e014f9
|
7
|
+
data.tar.gz: edb622626765bd919c198f4ae289e79346b5001f6cc2de03458588de1fbbba7f6ecc67e4f1d9e5802604fcdc9caa15dc5b2e0c474088772cc4a0c007fcb7261d
|
data/CHANGELOG.md
CHANGED
@@ -107,9 +107,17 @@ module Rundock
|
|
107
107
|
def extract_map(backend, binding)
|
108
108
|
map = {}
|
109
109
|
binding.each do |k, v|
|
110
|
-
|
110
|
+
next unless v.key?(:value)
|
111
111
|
|
112
112
|
# write types other than the command here
|
113
|
+
map[k] = case v[:type].to_s
|
114
|
+
when 'command'
|
115
|
+
backend.specinfra_run_command(v[:value]).stdout.strip
|
116
|
+
when 'string'
|
117
|
+
v[:value]
|
118
|
+
else
|
119
|
+
v[:value]
|
120
|
+
end
|
113
121
|
end
|
114
122
|
|
115
123
|
map
|
data/lib/rundock/version.rb
CHANGED
@@ -2,6 +2,6 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe file('/var/tmp/hello_rundock_from_deploy_erb_dst_file_scenario') do
|
4
4
|
it { should be_file }
|
5
|
-
its(:content) { should match(/Hello Rundock from deploy erb
|
6
|
-
its(:content) { should match(/
|
5
|
+
its(:content) { should match(/Hello Rundock from deploy erb Linux Scenario./) }
|
6
|
+
its(:content) { should match(/dondondonruck/) }
|
7
7
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rundock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hiracy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|