docker_deploy 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docker_deploy/shell.rb +1 -1
- data/lib/docker_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: cf571933d70518f388180df5a7bfae440be934ec
|
4
|
+
data.tar.gz: af0b8117e258fb4314441e46e90f900d975ac0e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fb9d9a10abd9602011ca47e28e5bf19c127c30268b5c6a1ada94811af1059bd019edc169dbdea45f4b011182270b41474091eb25f664e7ee7aef97707ddec3e
|
7
|
+
data.tar.gz: 360dd304ec0445fbda09d875ac8f02cfc5cd1c5ca6cdf85c2ea8d9c07738bfb970292ac6765c5ce263904c0dc63dcffcf11134df024fb0e50d0e1226586ce3a2
|
data/lib/docker_deploy/shell.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module DockerDeploy
|
2
2
|
def self.shell(server, command = nil)
|
3
|
-
Net::SSH.start(
|
3
|
+
Net::SSH.start(server.hostname, server.user, server.netssh_options) do |ssh|
|
4
4
|
channel = ssh.open_channel do |ch|
|
5
5
|
ch.on_data do |c, data|
|
6
6
|
$stdout.print data
|