thrush 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/thrush.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTA5ZDMxOWQxODI2ZmQ0YTViMGFmN2M0N2FjYzdkMTk0ODAxZWU2ZQ==
4
+ Njc3YTQ0NWM1MDI5MWE4ZDhjN2FiZjM1N2Q1MGU2YjRhY2RjY2Y3ZA==
5
5
  data.tar.gz: !binary |-
6
- ZDNkYmI3Y2NjYTA1ZjlhODllMWRmNTViOWFiODEyZDcwMGY2ZmY0ZA==
6
+ MDFmNDcyY2UwNjI3MTg3NDhkMTU3MzZiNjhmMWUxNzIwOTU4OTU1Mw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZTEwZGI1ZDBhOTJlZGZhN2ZlYjcxZTZkN2JkZGQ3NDIzMDc4MmViZGQxOWEy
10
- MTQ4YmQwNTU1MGM1MDdlNjA1NzZlNTI3OGRiMGEzMDMxNGFjMzAzZjg2NDBm
11
- MzIwY2Q1NTkxZmQ4YmFkMjVhZTc5ZWFjYzllMjYzM2E3YTIxOWE=
9
+ YTQ4ZjhlNGM1NWM0NTNiMWM4NGQ3ODM4MjY1YTRmM2IzN2I2Y2ZkZjI4Yzgy
10
+ OTdkMmQyYjk0MzIzZWQ0YWU0OWJhMGQ5ZTI5MWJhOWU0N2NlZDQ1Njk5ZGEy
11
+ YTk0Y2NhM2Y5OGYyNGZmZmNiOWIxY2ZhM2JmZDcxNWI3OTI4ZWQ=
12
12
  data.tar.gz: !binary |-
13
- NGE0MzViNTBmNmE5NTcyZTgwNGYyM2U2ZDdiN2JkMWEwNzBjYWRiNDY4ZThj
14
- YTk3NmY5Nzk3MjU1OWY5YTcwODA0YjU3NTQzNTAzZWRiNTdjNzIwYjc4OThj
15
- MzNmM2I1ZGQ0OTAwN2M4NjA0NjhkZTZlMjM0NmU0ZGUwZDk5MjA=
13
+ ZjEyYjcwZDNkMmI2NDBlNmNmNTQyNWViY2VhNjhmNzA0MGFiMDM5NzRlZTUw
14
+ ZTNmMjliODI4N2YwYjQwODYxNTBmMjM3NmQ0ZTdjMjc2OTYyYTYzZTYxZmRh
15
+ OGQ0ZDc2MDM2ZDFkMzM0MjU2MWIyNjczZDM4ZTY0YTQ1MmNlZmQ=
@@ -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 == 'sync'
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 "OK" unless output
245
+ puts 'OK' unless output
246
246
  else
247
247
  puts "Command failed (#{ status.exitstatus }): #{ command }".red
248
248
  while (line = stderr.gets)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thrush
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Z.d. Peacock