docker-sync 0.4.4.beta2 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/docker-sync/sync_strategy/native_osx.rb +2 -1
- data/lib/docker-sync/update_check.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9771026c0a87fb69a5bfaac08f82b817cf7d5187
|
4
|
+
data.tar.gz: a935e2498eeb5b9200351508e84e1222077bb20a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc856a246995214e054688863ad5107c179a8b9c05231593b2924d7e154446a65155e134c54b6f49c43f2c4d2bd525360e7f08d8187e4403c75c22a855cfe7ae
|
7
|
+
data.tar.gz: 80cd9cde05e8107aceab1dc9fed5a5f0dc1877d6fa821396a50b17216cadbfd316ea33f34b05200bf6e519df7e3a1ad34e379b6f96b0bc40921d722af1064850
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.4
|
1
|
+
0.4.4
|
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'thor/shell'
|
2
2
|
require 'docker-sync/preconditions/strategy'
|
3
3
|
require 'docker-sync/execution'
|
4
|
+
require 'docker-sync/update_check'
|
4
5
|
require 'open3'
|
5
6
|
require 'socket'
|
6
7
|
require 'terminal-notifier'
|
@@ -23,7 +24,7 @@ module Docker_Sync
|
|
23
24
|
if @options.key?('image')
|
24
25
|
@docker_image = @options['image']
|
25
26
|
else
|
26
|
-
@docker_image = 'eugenmayer/unison:
|
27
|
+
@docker_image = 'eugenmayer/unison:hostsync_0.1'
|
27
28
|
end
|
28
29
|
|
29
30
|
# TODO: remove this when we have a more stable image, but for now, we need this
|
@@ -68,9 +68,9 @@ class UpdateChecker
|
|
68
68
|
end
|
69
69
|
|
70
70
|
def check_unison_hostsync_image(silent = false)
|
71
|
-
say_status 'ok','Checking if a newer native_osx (unison:
|
71
|
+
say_status 'ok','Checking if a newer native_osx (unison:hostsync_0.1) image is available' unless silent
|
72
72
|
|
73
|
-
if system("docker pull eugenmayer/unison:
|
73
|
+
if system("docker pull eugenmayer/unison:hostsync_0.1 | grep 'Downloaded newer image for'")
|
74
74
|
say_status 'ok', 'Downloaded newer image for native_osx', :green unless silent
|
75
75
|
@newer_image_found = true
|
76
76
|
else
|
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.4.4
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eugen Mayer
|
@@ -193,9 +193,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
193
193
|
version: '2.0'
|
194
194
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
195
195
|
requirements:
|
196
|
-
- - "
|
196
|
+
- - ">="
|
197
197
|
- !ruby/object:Gem::Version
|
198
|
-
version:
|
198
|
+
version: '0'
|
199
199
|
requirements: []
|
200
200
|
rubyforge_project:
|
201
201
|
rubygems_version: 2.4.5.1
|