six-rsync 0.1.5 → 0.1.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 +1 -1
- data/lib/six/rsync/lib.rb +4 -0
- data/lib/six/rsync.rb +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
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
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.
|
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-
|
12
|
+
date: 2009-10-17 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|