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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e02f52ed516268f2a9a78998eb3c516ab3b2a8cf26fbce784316a0442533fec
4
- data.tar.gz: a770e1bc013687dc7803e3eb46a9bf6063991664033d070feb9346e4e5bb7c5d
3
+ metadata.gz: f1b42744339b6f5ec38d707057e7257a272d356c74cb110d6461e9ec13fd4e3b
4
+ data.tar.gz: c056b2c693b8900e24b7b671a3b49b1ff1792cc97eb3670a32c1024e436cbece
5
5
  SHA512:
6
- metadata.gz: 49c84560e0509fca7209cbbe9fd758b5eac50d89501d1a7e31396ec4ca70820f32a249c5839b163f8545ef0d4a7f9296ad3f14127d9eecbfe8b932769e483609
7
- data.tar.gz: '0497e19343f4d9a1a50cddec66a95e829b2fb4ce7cfb70bb12e65f494f11329859b0f0fa1b00db2bf05a62526f202c23d8782018ad5a647664992324bd47acf0'
6
+ metadata.gz: 868b87cdc869f9f30e4e4be4db4e2640fa838d3ef53730a00491fe2bd518cf642edb0d4a346933139ea953428b98c3d3b03413f425cdf46d9c1e35b63fcb8378
7
+ data.tar.gz: d2960caa9eb2a2aacdb3857307476c499ce75ac6e510beac0ae6ba45b018b592a65b16d61f986c5b687651981c556ea3f39e12969d926f5d0b70102f31458c4e
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.11
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.11 ruby lib
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.11"
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"]
@@ -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.11
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-06-13 00:00:00.000000000 Z
11
+ date: 2018-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sys-proctable