filecluster 0.5.9 → 0.5.10

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3f60e5ac0d24dbb13cd23102a51c0c044fb3cd01
4
- data.tar.gz: 36808f3fbf80cb1af4149259d85dc409d3bf093a
3
+ metadata.gz: d936b9120529ae788e9a2340a34b2a5576492084
4
+ data.tar.gz: 491e3d445f89f46faed3aa4b00b6ca5f6a0f1a78
5
5
  SHA512:
6
- metadata.gz: 39e08fe5acf73bd152b30d68b74536dbabb57c30722ce7606a597d383680ff1b3db1432cec8467c9fce6d8e15a501035d0c61fe7a45a09deffb73b8e46509b52
7
- data.tar.gz: 0499dfd3ab6bfa66cfc9589d937235d61d8578160184194d6e8afc2b98f3e3cc6737c3cc762d82bc3e8f2c5934c0bc95f0578cecd86a66fed5b779a5fc261b97
6
+ metadata.gz: 9a6c8f06aeb8733f5351d39c3cae6bef93014a00470a7b642212079a5ef575b6c91e8262c4146760f350e5240f57c5686617fdbc0bad494f6ba07c0355e7ccb4
7
+ data.tar.gz: fa7e7d3c9b4dec39789b69cc8f2d821a1e213c2b96bb56ae998a497e47b587cab9daaae22d7e96002737250d2476c9d3868cf74c51eca26d9c0739553d4cb6ba
@@ -124,7 +124,7 @@ module FC
124
124
  raise r if $?.exitstatus != 0
125
125
  else
126
126
  local_path += '/' if File.stat(local_path).directory?
127
- cmd = "ionice -c 2 -n 7 rsync -a #{FC::Storage.speed_limit_to_rsync_opt(speed_limit)}--rsync-path=\"#{recreate_dirs_cmd} && ionice -c 2 -n 7 rsync\" #{local_path.shellescape} #{self.host}:\"#{dst_path.shellescape}\""
127
+ cmd = "ionice -c 2 -n 7 rsync -e \"ssh -o StrictHostKeyChecking=no\" -a #{FC::Storage.speed_limit_to_rsync_opt(speed_limit)}--rsync-path=\"#{recreate_dirs_cmd} && ionice -c 2 -n 7 rsync\" #{local_path.shellescape} #{self.host}:\"#{dst_path.shellescape}\""
128
128
  r = `#{cmd} 2>&1`
129
129
  raise r if $?.exitstatus != 0
130
130
  end
@@ -142,7 +142,7 @@ module FC
142
142
  r = `#{cmd} 2>&1`
143
143
  src_path += '/' if $?.exitstatus == 0
144
144
 
145
- cmd = "ionice -c 2 -n 7 rsync -a #{FC::Storage.speed_limit_to_rsync_opt(speed_limit)}--rsync-path=\"ionice -c 2 -n 7 rsync\" #{self.host}:\"#{src_path.shellescape}\" #{local_path.shellescape}"
145
+ cmd = "ionice -c 2 -n 7 rsync -e \"ssh -o StrictHostKeyChecking=no\" -a #{FC::Storage.speed_limit_to_rsync_opt(speed_limit)}--rsync-path=\"ionice -c 2 -n 7 rsync\" #{self.host}:\"#{src_path.shellescape}\" #{local_path.shellescape}"
146
146
  r = `#{cmd} 2>&1`
147
147
  raise r if $?.exitstatus != 0
148
148
  end
@@ -1,3 +1,3 @@
1
1
  module FC
2
- VERSION = '0.5.9'.freeze
2
+ VERSION = '0.5.10'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filecluster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - sh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-22 00:00:00.000000000 Z
11
+ date: 2017-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mysql2