deplomat 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/deplomat.gemspec +2 -2
- data/lib/deplomat/remote_node.rb +7 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a070fff3ba8c13d46c60d70a64bb7447e2bb906add40ed17405b3d110d4eceeb
|
4
|
+
data.tar.gz: 85cc1dcb4fe7cdd507c9edcef7f68fa33a0c2533ab5d6aa91d69f9bf5266daf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c4e018f50fd7f861337f80c2e544db64cb6c18f10c644fd056c6e17f69547d7c51bc5cccf7f13b7f7aeb07e781982087b3f78662c61466936b6b077d53ba75a
|
7
|
+
data.tar.gz: 629ccd23463c44944e0b8d7e6b686d88206e755113e6105f72383c30e847034e86d40753dc5d99467600e6c74ccd9dea716ca606f1ed6fc7c47691f08cbd668b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.8
|
data/deplomat.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: deplomat 0.1.
|
5
|
+
# stub: deplomat 0.1.8 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "deplomat"
|
9
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.8"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
data/lib/deplomat/remote_node.rb
CHANGED
@@ -20,11 +20,14 @@ module Deplomat
|
|
20
20
|
@pids << process.pid.to_i
|
21
21
|
end
|
22
22
|
end
|
23
|
-
if @pids.
|
24
|
-
|
25
|
-
|
23
|
+
if @pids.empty?
|
24
|
+
log("ERROR: no ssh pid found for\n\t#{first_ssh_command}.\nThis is weird.", color: "red")
|
25
|
+
exit
|
26
|
+
elsif @pids.length > 1
|
27
|
+
log("Connected with ssh, host #{host}, but looks like another connection has been opened before...", color: "white")
|
28
|
+
log("connection pids: #{@pids.join(", ")}. We'll be closing them all when finished.", color: "white")
|
26
29
|
else
|
27
|
-
|
30
|
+
log("Connected with ssh, host #{host}, pid #{@pids.first}", color: "white")
|
28
31
|
end
|
29
32
|
|
30
33
|
@ssh_command = "ssh -S #{ENV['HOME']}/.ssh/controlmasters/%r@%h:%p #{user}@#{host} -p #{port}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deplomat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roman Snitko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sys-proctable
|