deplomat 0.1.11 → 0.1.12
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 +5 -0
- 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: f1b42744339b6f5ec38d707057e7257a272d356c74cb110d6461e9ec13fd4e3b
|
4
|
+
data.tar.gz: c056b2c693b8900e24b7b671a3b49b1ff1792cc97eb3670a32c1024e436cbece
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 868b87cdc869f9f30e4e4be4db4e2640fa838d3ef53730a00491fe2bd518cf642edb0d4a346933139ea953428b98c3d3b03413f425cdf46d9c1e35b63fcb8378
|
7
|
+
data.tar.gz: d2960caa9eb2a2aacdb3857307476c499ce75ac6e510beac0ae6ba45b018b592a65b16d61f986c5b687651981c556ea3f39e12969d926f5d0b70102f31458c4e
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.12
|
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.12 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.12"
|
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
@@ -52,6 +52,11 @@ module Deplomat
|
|
52
52
|
local_execute "rsync -arzve 'ssh -p #{@port}' #{except} --delete #{what} #{@user}@#{@host}:#{where}", nil
|
53
53
|
end
|
54
54
|
|
55
|
+
def download(what, where, except: nil)
|
56
|
+
except = "--exclude '#{except}'" if except
|
57
|
+
local_execute "rsync -arzve 'ssh -p #{@port}' #{except} --delete #{@user}@#{@host}:#{what} #{where}", nil
|
58
|
+
end
|
59
|
+
|
55
60
|
def close
|
56
61
|
begin
|
57
62
|
puts "Closing connection(s) to #{@host}, ssh pid(s): #{@pids.join(", ")}."
|
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.12
|
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-
|
11
|
+
date: 2018-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sys-proctable
|