six-rsync 0.4.9 → 0.4.11

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.4.9'
15
+ s.version = '0.4.11'
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
@@ -90,7 +90,7 @@ module Six
90
90
  @repos_remote[:wd].each_pair do |key, value|
91
91
  i += 1
92
92
  if @repos_local[:wd][key].nil?
93
- @logger.info "Removed: #{packed}"
93
+ @logger.info "Removed: #{key}"
94
94
  end
95
95
  end
96
96
  end
@@ -680,7 +680,7 @@ module Six
680
680
  end
681
681
 
682
682
  def zip7(file)
683
- unless @zip7_installed ||= begin; %x[7z]; $? == 0; rescue; false; end
683
+ unless @zip7_installed ||= begin; %x[7z --help]; $? == 0; rescue; false; end
684
684
  puts "7z command not found"
685
685
  raise RsyncError
686
686
  end
@@ -691,7 +691,7 @@ module Six
691
691
  end
692
692
 
693
693
  def gzip(file)
694
- unless @gzip_installed ||= begin; %x[gzip --rsyncable]; $? == 0; rescue; false; end
694
+ unless @gzip_installed ||= begin; %x[gzip --rsyncable --help]; $? == 0; rescue; false; end
695
695
  puts "gzip command not found, or doesn't support --rsyncable"
696
696
  raise RsyncError
697
697
  end
data/lib/six/rsync.rb CHANGED
@@ -31,7 +31,7 @@ module Six
31
31
 
32
32
  module Rsync
33
33
  COMPONENT = 'six-rsync'
34
- VERSION = '0.4.9'
34
+ VERSION = '0.4.11'
35
35
  FOLDER = /(.*)\/(.*)/
36
36
 
37
37
  case RUBY_PLATFORM
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 9
9
- version: 0.4.9
8
+ - 11
9
+ version: 0.4.11
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sickboy
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-22 00:00:00 +02:00
17
+ date: 2010-04-23 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency