six-rsync 0.6.3 → 0.6.4

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.
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ require 'rake/testtask'
12
12
 
13
13
  spec = Gem::Specification.new do |s|
14
14
  s.name = 'six-rsync'
15
- s.version = '0.6.3'
15
+ s.version = '0.6.4'
16
16
  s.has_rdoc = true
17
17
  s.extra_rdoc_files = ['README', 'LICENSE']
18
18
  s.summary = 'Your summary here'
data/lib/six/rsync/lib.rb CHANGED
@@ -428,7 +428,12 @@ module Six
428
428
  load_repos(:remote)
429
429
  end
430
430
 
431
- if done && online
431
+ unless done
432
+ @logger.warn "Exhausted all mirrors, please retry!"
433
+ raise RsyncError
434
+ end
435
+
436
+ if online
432
437
  @logger.info "Verifying Packed files..."
433
438
  compare_set(:pack, host)
434
439
 
@@ -862,7 +867,7 @@ module Six
862
867
  msg = buff.join("")
863
868
  print msg if @verbose
864
869
  end
865
- pid, status = $?.pid, $?.status
870
+ pid, status = $?.pid, $?.exitstatus
866
871
  end
867
872
 
868
873
 
data/lib/six/rsync.rb CHANGED
@@ -27,7 +27,7 @@ module Six
27
27
 
28
28
  module Rsync
29
29
  COMPONENT = 'six-rsync'
30
- VERSION = '0.6.3'
30
+ VERSION = '0.6.4'
31
31
  BASE_PATH = Dir.pwd
32
32
 
33
33
  case RUBY_PLATFORM
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 3
9
- version: 0.6.3
8
+ - 4
9
+ version: 0.6.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sickboy