six-rsync 0.2.0 → 0.2.1
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 +10 -3
- data/lib/six/rsync.rb +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
data/lib/six/rsync/lib.rb
CHANGED
|
@@ -412,8 +412,11 @@ module Six
|
|
|
412
412
|
|
|
413
413
|
arr_opts << esc(File.join(host, '.pack/.'))
|
|
414
414
|
arr_opts << esc(pack_path)
|
|
415
|
-
|
|
416
|
-
|
|
415
|
+
begin
|
|
416
|
+
command('', arr_opts)
|
|
417
|
+
rescue
|
|
418
|
+
@logger.warn "There was a problem during updating, please retry!"
|
|
419
|
+
end
|
|
417
420
|
else
|
|
418
421
|
c = mismatch.size
|
|
419
422
|
@logger.info "Fetching #{mismatch.size} files... Please wait"
|
|
@@ -437,7 +440,11 @@ module Six
|
|
|
437
440
|
arr_opts << esc(File.join(host, '.pack/.'))
|
|
438
441
|
arr_opts << esc(pack_path)
|
|
439
442
|
|
|
440
|
-
|
|
443
|
+
begin
|
|
444
|
+
command('', arr_opts)
|
|
445
|
+
rescue
|
|
446
|
+
@logger.warn "There was a problem during updating, please retry!"
|
|
447
|
+
end
|
|
441
448
|
FileUtils.rm_f slist
|
|
442
449
|
end
|
|
443
450
|
end
|
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.2.
|
|
4
|
+
version: 0.2.1
|
|
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-
|
|
12
|
+
date: 2009-12-06 00:00:00 +01:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|