six-rsync 0.2.6 → 0.2.7
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 +1 -1
- data/lib/six/rsync/lib.rb +1 -0
- data/lib/six/rsync.rb +2 -2
- metadata +1 -1
data/Rakefile
CHANGED
data/lib/six/rsync/lib.rb
CHANGED
|
@@ -754,6 +754,7 @@ module Six
|
|
|
754
754
|
path = @rsync_work_dir || @rsync_dir || @path
|
|
755
755
|
|
|
756
756
|
opts << "--stats" if @stats
|
|
757
|
+
opts << "--timeout=300" # TODO: Timeout set to 5 minutes, might be too long, but needs testing
|
|
757
758
|
|
|
758
759
|
opts = [opts].flatten.map {|s| s }.join(' ') # escape()
|
|
759
760
|
rsync_cmd = "rsync #{cmd} #{opts} #{redirect} 2>&1"
|
data/lib/six/rsync.rb
CHANGED
|
@@ -30,10 +30,10 @@ module Six
|
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
module Rsync
|
|
33
|
-
VERSION = '0.2.
|
|
33
|
+
VERSION = '0.2.7'
|
|
34
34
|
TOOLS_PATH = File.join(BASE_PATH, 'tools')
|
|
35
35
|
FOLDER = /(.*)\/(.*)/
|
|
36
|
-
ENV['PATH'] =
|
|
36
|
+
ENV['PATH'] = "#{TOOLS_PATH};#{File.join(TOOLS_PATH, 'bin')};" + ENV['PATH']
|
|
37
37
|
# No meaning on Cygwin 1.7
|
|
38
38
|
# ENV['CYGWIN'] = "nontsec"
|
|
39
39
|
|