thrush 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/thrush.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Njc3YTQ0NWM1MDI5MWE4ZDhjN2FiZjM1N2Q1MGU2YjRhY2RjY2Y3ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDFmNDcyY2UwNjI3MTg3NDhkMTU3MzZiNjhmMWUxNzIwOTU4OTU1Mw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTQ4ZjhlNGM1NWM0NTNiMWM4NGQ3ODM4MjY1YTRmM2IzN2I2Y2ZkZjI4Yzgy
|
10
|
+
OTdkMmQyYjk0MzIzZWQ0YWU0OWJhMGQ5ZTI5MWJhOWU0N2NlZDQ1Njk5ZGEy
|
11
|
+
YTk0Y2NhM2Y5OGYyNGZmZmNiOWIxY2ZhM2JmZDcxNWI3OTI4ZWQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZjEyYjcwZDNkMmI2NDBlNmNmNTQyNWViY2VhNjhmNzA0MGFiMDM5NzRlZTUw
|
14
|
+
ZTNmMjliODI4N2YwYjQwODYxNTBmMjM3NmQ0ZTdjMjc2OTYyYTYzZTYxZmRh
|
15
|
+
OGQ0ZDc2MDM2ZDFkMzM0MjU2MWIyNjczZDM4ZTY0YTQ1MmNlZmQ=
|
data/lib/thrush.rb
CHANGED
@@ -165,7 +165,7 @@ def run!
|
|
165
165
|
ignore = cmd_vals(:ignore, cmd_values)
|
166
166
|
ignore.each { |exclude| cmd << "--exclude '#{ exclude }'" } unless ignore.nil? || ignore.empty?
|
167
167
|
|
168
|
-
if rsh == '
|
168
|
+
if rsh == 'ssh'
|
169
169
|
cmd << "--rsync-path='sudo rsync'" if sudo
|
170
170
|
|
171
171
|
path = cmd_vals(:path, cmd_values)
|
@@ -242,7 +242,7 @@ def run!
|
|
242
242
|
|
243
243
|
ignored, status = Process.waitpid2 pid
|
244
244
|
if status.to_i == 0
|
245
|
-
puts
|
245
|
+
puts 'OK' unless output
|
246
246
|
else
|
247
247
|
puts "Command failed (#{ status.exitstatus }): #{ command }".red
|
248
248
|
while (line = stderr.gets)
|