six-rsync 0.6.5 → 0.6.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.
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.5'
15
+ s.version = '0.6.6'
16
16
  s.has_rdoc = true
17
17
  s.extra_rdoc_files = ['README', 'LICENSE']
18
18
  s.summary = 'Your summary here'
data/bin/six-rsync CHANGED
@@ -13,4 +13,5 @@ rescue => e
13
13
  rescue => e
14
14
  puts "ERROR: #{e.class} #{e.message} #{e.backtrace.join("\n")}"
15
15
  end
16
+ Process.exit(1) # Return error-1
16
17
  end
data/bin/six-rsync-mirror CHANGED
@@ -13,4 +13,5 @@ rescue => e
13
13
  rescue => e
14
14
  puts "ERROR: #{e.class} #{e.message} #{e.backtrace.join("\n")}"
15
15
  end
16
+ Process.exit(1) # Return error-1
16
17
  end
data/lib/six/rsync/lib.rb CHANGED
@@ -859,8 +859,10 @@ module Six
859
859
  end
860
860
 
861
861
  if shebang
862
- shebang[/^SIX-SHEBANG: ([0-9]*), ([0-9]*)/]
863
- pid, status = $1.to_i, $2.to_i
862
+ if shebang[/^SIX-SHEBANG: (-?.*), (-?.*)/]
863
+ pid = $1.to_i if $1
864
+ status = $2.to_i if $2
865
+ end
864
866
  end
865
867
  else
866
868
  # Handle last bits in the buffer
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.5'
30
+ VERSION = '0.6.6'
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
- - 5
9
- version: 0.6.5
8
+ - 6
9
+ version: 0.6.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sickboy