deploy-cli 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9426daabd10e3ec44faf5248cdbc354744060f3e
4
- data.tar.gz: f300919724141a3c23a3829c95e100aa23aa046f
3
+ metadata.gz: be4676001bdc93eb2a9d6db3459e41af155ced00
4
+ data.tar.gz: 40d05823d1901babba9c4b216d7475f3ba5e4ad6
5
5
  SHA512:
6
- metadata.gz: 1b5c4021cc6033e68995506653298de6b5e554a9b447ba30d520ba0098917f204962f06542fe2d77bbab6a925f9f9907347296ebcfd6005b76efa74f280c0ee0
7
- data.tar.gz: 5919e5e17da7f2aee483ae03a2bf830d6748b3b82417200967710ef26dfe91989da5cd4263faa81f8474c6bfbb707044ab82b77ab052c6485ebef879d66d679d
6
+ metadata.gz: c13cf97d0b46d3cddb0ef5a3cfdf1c96aeacd125d6ba59e84b7095242163e701158186871a015bbcc2a69437107874de548d0e1fa95b7d3b76b71b57414b0ab5
7
+ data.tar.gz: 270aa380c527895609d9fd4e921425a8406e1443b4d71aca90111268f6256c4fec01091fa95c6cf9e3f31e0a17f3ad71c3459b1803713ac596bec1adb6aeedc5
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Deploy
2
2
 
3
- VERSION = "0.2.8"
3
+ VERSION = "0.2.9"
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deploy-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - ptdorf