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 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.2.6'
15
+ s.version = '0.2.7'
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
@@ -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.6'
33
+ VERSION = '0.2.7'
34
34
  TOOLS_PATH = File.join(BASE_PATH, 'tools')
35
35
  FOLDER = /(.*)\/(.*)/
36
- ENV['PATH'] = ENV['PATH'] + ";#{TOOLS_PATH};#{File.join(TOOLS_PATH, 'bin')}"
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: six-rsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sickboy