dropup 0.5 → 0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/dropup +5 -2
  3. data/dropup.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 223dcfde3ab9c1f5a3991c7a18b0a1ed7471606f
4
- data.tar.gz: 6d89d60e2b2b47fb5a6d8adf868df401dccdbf5b
3
+ metadata.gz: 94d8b7ba1822f19a5cb464dcb48efeef420372a8
4
+ data.tar.gz: c65edff7ff0c228ddc364642fc3abb3fd0b00f4f
5
5
  SHA512:
6
- metadata.gz: f8e1c4603921077ce3531f957586c466eaf59208c0a1c0bf9c0c76bd478097d99e989fb3e607ccac469b635ca034c1abc8a233b54bdc90ba5434eb8247059395
7
- data.tar.gz: 4adbe28422f2818e02538e023ee01261809238a590fef88bc73c134ca79aaf3e4055a22b97be66e66c31912ad567c8dd1ff5c5a003ed33342647e1102103c5fd
6
+ metadata.gz: 1beb6b122f5b817da24b83a1500ee2438c55c6d3b779a35392b0b6f98adfba2267a13d7e9198aca189fa951a2c29ee7ab3b2a6491294e5f4ca2c35dd72217ef9
7
+ data.tar.gz: d32d769402184f5ff49cfeaf83c11a81cf7144fdaa0c903b26cd041524503533a8cd179bb342ba8b40e6d7134520201fb849a028506cb33198d94562486b28a9
data/bin/dropup CHANGED
@@ -76,6 +76,8 @@ def backup(srcs, temp, password, size)
76
76
 
77
77
  yield wait.value == 0 ? nil : stderr.read
78
78
  end
79
+
80
+ cmd
79
81
  end
80
82
 
81
83
  time = Time.now.strftime("%Y%m%d%M%H%S%L")
@@ -94,8 +96,7 @@ dest = dest_pattern.gsub(/%/, time)
94
96
  TerminalNotifier.notify('Backup Starting') if options[:notification]
95
97
  puts "Creating: #{dest}" if options[:verbose]
96
98
 
97
- backup(ARGV, temp, password, options[:size]) do |error|
98
-
99
+ cmd = backup(ARGV, temp, password, options[:size]) do |error|
99
100
 
100
101
  if error then
101
102
 
@@ -119,3 +120,5 @@ backup(ARGV, temp, password, options[:size]) do |error|
119
120
 
120
121
  end
121
122
  end
123
+
124
+ puts "Command: #{cmd}" if options[:verbose]
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'dropup'
3
- s.version = '0.5'
3
+ s.version = '0.6'
4
4
  s.date = '2014-10-02'
5
5
 
6
6
  s.authors = [ 'Torsten Curdt' ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dropup
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.5'
4
+ version: '0.6'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Curdt