docker-sync 0.4.0 → 0.4.1.pre.beta1

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: 14d9d3ece46e03a2e565e2dde64904390fb65ac8
4
- data.tar.gz: b84c982835813565bfdd2998dd6f5cd1bfa09d16
3
+ metadata.gz: 667eb5dd22263abfa69b6211762b3fc3ec686bfa
4
+ data.tar.gz: 81c6b3aadb203204b4050b555273f7b549b71323
5
5
  SHA512:
6
- metadata.gz: 68eafeed28b2bac6692b02cdb43b510f221dd45931650805c594a8d5cc21a4ef00b1d2dbdfaefa723bf423745ca37c55fd909e45100760e7f5d10cc309cfa65c
7
- data.tar.gz: 7c757603135a5600ab4e17cbf37bf2ab945531189ec8959e0025072fbed0b25dc308556e829ad810bd8308340e671bb8dd7651f6ddedb88a155f55fd18ee7680
6
+ metadata.gz: f775a88c8115161babd3082b452e7e3287c34be1bdf20a660d5a3260c138c465ea50e91396172b3b6231288be16ebcddc43fd55f7f803242d7c62e67340803a9
7
+ data.tar.gz: 71cc0d3d0ac23bcb9d709473e036b1ff28188cdbd046f454f5d24b9e5c8382292650d5005f59482fcc11becb6bcbeb09de37654c6551e4cd25a9afa783ae120b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1-beta1
@@ -62,7 +62,7 @@ module Docker_Sync
62
62
  say_status 'ok', "creating #{container_name} container", :white if @options['verbose']
63
63
  run_privileged = ''
64
64
  run_privileged = '--privileged' if @options.key?('max_inotify_watches') #TODO: replace by the minimum capabilities required
65
- cmd = "docker run -v #{volume_app_sync_name}:/app_sync -v #{host_sync_src}:/host_sync -e VOLUME=#{@options['dest']} -e TZ=${TZ-`readlink /etc/localtime | sed -e 's,/usr/share/zoneinfo/,,'`} #{additional_docker_env} #{run_privileged} --name #{container_name} -d #{@docker_image}"
65
+ cmd = "docker run -v #{volume_app_sync_name}:/app_sync -v #{host_sync_src}:/host_sync -e HOST_VOLUME=/host_sync -e APP_VOLUME=/app_sync -e TZ=${TZ-`readlink /etc/localtime | sed -e 's,/usr/share/zoneinfo/,,'`} #{additional_docker_env} #{run_privileged} --name #{container_name} -d #{@docker_image}"
66
66
  else
67
67
  say_status 'ok', "starting #{container_name} container", :white if @options['verbose']
68
68
  cmd = "docker start #{container_name} && docker exec #{container_name} supervisorctl restart unison"
@@ -17,7 +17,7 @@ class Daemon < Thor
17
17
 
18
18
  desc 'start', 'Start docker-sync daemon'
19
19
  def start
20
- say_status 'warning', 'Daemon mode is not the default, just use docker-sync start .. docker-sync-daemon is deprecated', :blue
20
+ say_status 'warning', 'Daemon mode is now the default, just use docker-sync start .. docker-sync-daemon is deprecated', :blue
21
21
 
22
22
  opt = options.dup
23
23
  opt.merge!(:daemon => true)
@@ -27,7 +27,7 @@ class Daemon < Thor
27
27
 
28
28
  desc 'stop', 'Stop docker-sync daemon'
29
29
  def stop
30
- say_status 'warning', 'Daemon mode is not the default, just use docker-sync start .. docker-sync-daemon is deprecated', :blue
30
+ say_status 'warning', 'Daemon mode is now the default, just use docker-sync start .. docker-sync-daemon is deprecated', :blue
31
31
 
32
32
  opt = options.dup
33
33
  opt.merge!(:daemon => true)
@@ -37,7 +37,7 @@ class Daemon < Thor
37
37
 
38
38
  desc 'clean', 'Clean docker-sync daemon'
39
39
  def clean
40
- say_status 'warning', 'Daemon mode is not the default, just use docker-sync start .. docker-sync-daemon is deprecated', :blue
40
+ say_status 'warning', 'Daemon mode is now the default, just use docker-sync start .. docker-sync-daemon is deprecated', :blue
41
41
 
42
42
  opt = options.dup
43
43
  opt.merge!(:daemon => true)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1.pre.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugen Mayer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-04 00:00:00.000000000 Z
11
+ date: 2017-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -192,9 +192,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
192
192
  version: '2.0'
193
193
  required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  requirements:
195
- - - ">="
195
+ - - ">"
196
196
  - !ruby/object:Gem::Version
197
- version: '0'
197
+ version: 1.3.1
198
198
  requirements: []
199
199
  rubyforge_project:
200
200
  rubygems_version: 2.4.5.1