docker-sync 0.0.7 → 0.0.8

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: 4c038d1707563cd3431430008536b86b51d54967
4
- data.tar.gz: cca9a557c34d66c70a80fdf503722f8f5e5533e1
3
+ metadata.gz: e67f02c36cce31164bf4f9afec2a3e69c47cf3bd
4
+ data.tar.gz: 136018fec5f98c61aab0f4a6041f8e7e3a243546
5
5
  SHA512:
6
- metadata.gz: 902d178c8baf27b21ffef9b943123e642b2acf3f3260af96f0b75453806c5605d010a1a15720786a0186a7d3ab6db6398fb4d5e9c05bca5288e96dbf94252202
7
- data.tar.gz: d8e7ba089970977e9ce4fd6232eabaed4503bfd180d0deb910965cb9c69540caacf02129d26caddc5c41db0715606f91571446e1fbf10df4c24f78b9ca3d03f7
6
+ metadata.gz: d3e1b254b1db4b8d217461671a5e071fa8db7a36c14f041f9ed0da65afe273d947eca3bfa027f62f169148bd8a63b3d1895f4fd3d2f95e20a12d416c4b1f5f52
7
+ data.tar.gz: a2158a9ea86617d859dfb5a35152b38c0bb40327b9c5c3ae5f34a5a9243beab05793a4720e160c9562b03888a317e13760f8cee161fa13d04406e90fe9c38177
@@ -60,6 +60,7 @@ module Docker_Sync
60
60
  #args.push("--groupmap='*:#{@options['sync_group']}'") if @options.key?('sync_group')
61
61
  args.push("#{@options['src']}/") # add a trailing slash
62
62
  args.push("rsync://#{@options['sync_host_ip']}:#{@options['sync_host_port']}/volume")
63
+ return args
63
64
  end
64
65
 
65
66
  # starts a rsync docker container listening on the specific port
@@ -67,6 +67,7 @@ module Docker_Sync
67
67
  if @options.key?('sync_user') || @options.key?('sync_group') || @options.key?('sync_groupid') || @options.key?('sync_userid')
68
68
  raise('Unison does not support sync_user, sync_group, sync_groupid or sync_userid - please use rsync if you need that')
69
69
  end
70
+ return args
70
71
  end
71
72
 
72
73
  def start_container
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugen Mayer