docker-sync 0.2.0.rc1 → 0.2.0

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: 06142b9ee0f12f549b75f3671aaab289c2cb43ea
4
- data.tar.gz: 1257430a3b878a2d94970480ee02114f3c6606ba
3
+ metadata.gz: 663dc1ebdf1337d31366115930e6b1cef1c341e8
4
+ data.tar.gz: 603862a7b3dcbe9b34c5f1d59fafc9b55173802b
5
5
  SHA512:
6
- metadata.gz: e96b8b6cb06680f069f75deec3e76be6ff8aa0c46b9e50308e0817bef903caf4c30c2afa41ca4ba40f48c3d28747963b90a0b21dcd8e9f630faf2b2ea97806b0
7
- data.tar.gz: 7c93d7cff89803103207818b6c0500948914482d319c9aff5bffa42e19b4911f42c482638ea3513a2c02b2a6415c77d5658b7f9f2f803e84135713d97457a288
6
+ metadata.gz: f9dc34c1f10e8f4c42dfd5e54d84eee04ae913d5ec5c8630f7609762e79b14adf7463ff626f9973e24f29f877a8247709048488768927a9a5ee038958773f887
7
+ data.tar.gz: b9b3e09576d94707ee2e77ce8b5125c0e76d55f2be3a506f54669860b7714e4495aee005b1d51860f0106c1ed03f6ee9daeb53fdfddfc9d8b0d4813ce2a0e510
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0.rc1
1
+ 0.2.0
@@ -50,13 +50,13 @@ module Docker_sync
50
50
  @config_syncs.each do |name, config|
51
51
  @config_syncs[name]['config_path'] = @config_path
52
52
 
53
- # [nbr] convert the sync src from relative to absolute path
54
- # preserve '/' as it may be significant to the sync cmd
55
- absolute_path = File.expand_path(@config_syncs[name]['src'])
56
- absolute_path << "/" if @config_syncs[name]['src'].end_with?("/")
57
- @config_syncs[name]['src'] = absolute_path
53
+ # [nbr] convert the sync src from relative to absolute path
54
+ # preserve '/' as it may be significant to the sync cmd
55
+ absolute_path = File.expand_path(@config_syncs[name]['src'])
56
+ absolute_path << "/" if @config_syncs[name]['src'].end_with?("/")
57
+ @config_syncs[name]['src'] = absolute_path
58
58
 
59
- @config_syncs[name]['cli_mode'] = @config_global['cli_mode'] || 'auto'
59
+ @config_syncs[name]['cli_mode'] = @config_global['cli_mode'] || 'auto'
60
60
 
61
61
  # set the global verbose setting, if the sync-endpoint does not define a own one
62
62
  unless config.key?('verbose')
@@ -109,7 +109,7 @@ module Docker_Sync
109
109
  end
110
110
  say_status 'ok', "#{container_name}: starting initial sync of #{@options['src']}", :white if @options['verbose']
111
111
  # this sleep is needed since the container could be not started
112
- sleep 1
112
+ sleep 3
113
113
  sync
114
114
  say_status 'success', 'Rsync server started', :green
115
115
  end
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.2.0.rc1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugen Mayer
@@ -171,9 +171,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
171
171
  version: '2.0'
172
172
  required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  requirements:
174
- - - ">"
174
+ - - ">="
175
175
  - !ruby/object:Gem::Version
176
- version: 1.3.1
176
+ version: '0'
177
177
  requirements: []
178
178
  rubyforge_project:
179
179
  rubygems_version: 2.4.5.1