blitzcrank 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 552000bd49ce23d50fd83f34df85e28ec4884564
4
- data.tar.gz: 85d4b68b4e947395acd0d683a5f3a3e84fde435c
3
+ metadata.gz: e50ecd32ddcd51dace41e864afc248b8aee71fd6
4
+ data.tar.gz: f2adfb37ce60e8b8f79f7015f37139d51bf1cb39
5
5
  SHA512:
6
- metadata.gz: 3010cb68ca50706c731d15276fcf323c9534289b6a09262652fa56b1dce0bb2b8cf16715defde4445d3e488546796b1a53b8c16cfb6d72a319275c51c8816fe0
7
- data.tar.gz: edf80f28051be3fab4f043821952d2d6a001267601cc68fd8a99ab08dfeb08dc6725d29ec8552d25dda43a790f59ac47362d25333a25add00fa55fb4fa97819f
6
+ metadata.gz: 8a5fda71b16b1462383191096999f9b80d564c69dbc6cca801351d1767d949e00238d23200d01b3cd937607c1a85e37666b384931fd75bed207f2f365d4b247b
7
+ data.tar.gz: a519a78140e78b6be74dadd0d5a54c6f343e3368781c476868e8530ea67499837a1b05aa0349930b3b928b9188e0ae4394968f633bafdddafb1d9642633af045
@@ -1,7 +1,8 @@
1
1
  module Blitzcrank
2
2
  class Rsync < Copy
3
3
  def self.sync(video)
4
- system("rsync -avz #{ '--bwlimit=' + Blitzcrank.config.bwlimit if Blitzcrank.config.respond_to?(:bwlimit) } --progress --rsh='ssh' \"#{Blitzcrank.config.remote_user}@#{Blitzcrank.config.remote_host}:#{Blitzcrank.config.remote_base_dir}#{video.remote_path.gsub(' ', '\\ ')}\" \"#{video.local_path}\"")
4
+ command = "rsync -avz #{ '--bwlimit=' + Blitzcrank.config.bwlimit if Blitzcrank.config.respond_to?(:bwlimit) } --progress --rsh='ssh' \"#{Blitzcrank.config.remote_user}@#{Blitzcrank.config.remote_host}:#{Blitzcrank.config.remote_base_dir}#{video.remote_path.gsub(' ', '\\ ').gsub("'", %q(\\\'))}\" \"#{video.local_path}\""
5
+ system(command)
5
6
  end
6
7
  end
7
8
  end
@@ -1,3 +1,3 @@
1
1
  module Blitzcrank
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blitzcrank
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - pyro2927
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-19 00:00:00.000000000 Z
11
+ date: 2014-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler