six-rsync 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
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.1.6'
15
+ s.version = '0.1.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
@@ -8,7 +8,7 @@ module Six
8
8
  module Rsync
9
9
  # TODO: Configure somewhere!
10
10
  KEY = "C:/users/sb/documents/keys/id_rsa.ppk"
11
- RSH = "-r --rsh=\"'#{File.join(BASE_PATH, "tools", "cygnative.exe")}' plink.exe -i #{KEY}\""
11
+ RSH = "-r --rsh=\"'#{File.join(BASE_PATH, "tools", "bin", "cygnative.exe")}' plink.exe -i #{KEY}\""
12
12
  DIR_RSYNC = '.rsync'
13
13
  DIR_PACK = File.join(DIR_RSYNC, '.pack')
14
14
  REGEX_FOLDER = /(.*)[\\|\/](.*)/
@@ -733,7 +733,7 @@ module Six
733
733
  opts << "--stats" if @stats
734
734
 
735
735
  opts = [opts].flatten.map {|s| s }.join(' ') # escape()
736
- rsync_cmd = "rsync #{cmd} #{opts} #{redirect}" # 2>&1
736
+ rsync_cmd = "rsync #{cmd} #{opts} #{redirect} 2>&1"
737
737
 
738
738
  while rsync_cmd[WINDRIVE] do
739
739
  drive = rsync_cmd[WINDRIVE]
data/lib/six/rsync.rb CHANGED
@@ -30,12 +30,12 @@ module Six
30
30
  end
31
31
 
32
32
  module Rsync
33
- VERSION = '0.1.6'
33
+ VERSION = '0.1.7'
34
34
  TOOLS_PATH = File.join(BASE_PATH, 'tools')
35
35
  FOLDER = /(.*)\/(.*)/
36
36
  ENV['PATH'] = ENV['PATH'] + ";#{TOOLS_PATH};#{File.join(TOOLS_PATH, 'bin')}"
37
37
  # No meaning on Cygwin 1.7
38
- # ENV['CYGWIN'] = "nontsec"
38
+ # ENV['CYGWIN'] = "nontsec"
39
39
 
40
40
  # open a bare repository
41
41
  #
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.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sickboy
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-17 00:00:00 +02:00
12
+ date: 2009-10-20 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies: []
15
15