deploy-cli 0.2.8 → 0.2.9
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/lib/deploy/runner.rb +1 -2
- data/lib/deploy/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: be4676001bdc93eb2a9d6db3459e41af155ced00
|
4
|
+
data.tar.gz: 40d05823d1901babba9c4b216d7475f3ba5e4ad6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c13cf97d0b46d3cddb0ef5a3cfdf1c96aeacd125d6ba59e84b7095242163e701158186871a015bbcc2a69437107874de548d0e1fa95b7d3b76b71b57414b0ab5
|
7
|
+
data.tar.gz: 270aa380c527895609d9fd4e921425a8406e1443b4d71aca90111268f6256c4fec01091fa95c6cf9e3f31e0a17f3ad71c3459b1803713ac596bec1adb6aeedc5
|
data/lib/deploy/runner.rb
CHANGED
@@ -158,10 +158,9 @@ module Deploy
|
|
158
158
|
|
159
159
|
private
|
160
160
|
def ssh(server, cmd)
|
161
|
-
full = "ssh #{@spec['user']}@#{server}"
|
161
|
+
full = "ssh -A #{@spec['user']}@#{server}"
|
162
162
|
full << " -o StrictHostKeyChecking=no"
|
163
163
|
full << " -o UserKnownHostsFile=/dev/null"
|
164
|
-
full << " -A" unless @spec["key"]
|
165
164
|
full << " -i #{@spec['key']}" if @spec['key']
|
166
165
|
full << " 'cd #{@spec['path']} && #{cmd}'"
|
167
166
|
output = `#{full}`.chomp
|
data/lib/deploy/version.rb
CHANGED