dropup 0.5 → 0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/dropup +5 -2
- data/dropup.gemspec +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: 94d8b7ba1822f19a5cb464dcb48efeef420372a8
|
4
|
+
data.tar.gz: c65edff7ff0c228ddc364642fc3abb3fd0b00f4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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]
|
data/dropup.gemspec
CHANGED