six-rsync 0.1.5 → 0.1.6

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.5'
15
+ s.version = '0.1.6'
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
@@ -100,6 +100,7 @@ module Six
100
100
  update('', arr_opts)
101
101
  rescue RsyncError
102
102
  @logger.error "Unable to sucessfully update, aborting..."
103
+ @logger.debug "#{$!}"
103
104
  # Dangerous? :D
104
105
  FileUtils.rm_rf @rsync_work_dir if File.exists?(@rsync_work_dir)
105
106
  #rescue
@@ -107,6 +108,7 @@ module Six
107
108
  end
108
109
  rescue RsyncError
109
110
  @logger.error "Unable to initialize"
111
+ @logger.debug "#{$!}"
110
112
  end
111
113
 
112
114
  opts[:bare] ? {:repository => @rsync_work_dir} : {:working_directory => @rsync_work_dir}
@@ -336,6 +338,7 @@ module Six
336
338
  @verbose = verbose
337
339
  # FIXME: Should never assume that :)
338
340
  @logger.warn "Unable to retrieve version file from server, repository probably doesnt exist!"
341
+ @logger.debug "#{$!}"
339
342
  # raise RsyncExecuteError
340
343
  end
341
344
  load_repos(:remote)
@@ -477,6 +480,7 @@ module Six
477
480
  done = true
478
481
  rescue
479
482
  @logger.info "Failed!"
483
+ @logger.debug "#{$!}"
480
484
  end
481
485
  end
482
486
  # TODO: CLEANUP, Should depricate in time.
data/lib/six/rsync.rb CHANGED
@@ -30,7 +30,7 @@ module Six
30
30
  end
31
31
 
32
32
  module Rsync
33
- VERSION = '0.1.5'
33
+ VERSION = '0.1.6'
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')}"
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.5
4
+ version: 0.1.6
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-01 00:00:00 +02:00
12
+ date: 2009-10-17 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies: []
15
15