docker-sync 0.4.4 → 0.4.5.beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/docker-sync/sync_strategy/native_osx.rb +1 -1
- data/lib/docker-sync/update_check.rb +2 -2
- data/lib/docker-sync/upgrade_check.rb +5 -0
- 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: 76bc32a2f3d620ab4653e45794c291b15b95a92d
|
4
|
+
data.tar.gz: 7637a5e5c80829ea57eedac35bf6dec03577fb05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd56cf21e48e9de9a65a1d302ed8a855e4a6bb2ee25b6d8586c1d875fece70ca990929789933295ba2202d0b85c0841777a1a7c6f945bad7cf880f05112fe1db
|
7
|
+
data.tar.gz: 95760601c00ddab3cfb3cd05d822a8da442f2b35f86486704515705c340fc8c78f979470e9a47202eea37e0534a4dc1e66b574265b04d002ec87f77b52536983
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.5.beta1
|
@@ -24,7 +24,7 @@ module Docker_Sync
|
|
24
24
|
if @options.key?('image')
|
25
25
|
@docker_image = @options['image']
|
26
26
|
else
|
27
|
-
@docker_image = 'eugenmayer/unison:hostsync_0.
|
27
|
+
@docker_image = 'eugenmayer/unison:hostsync_0.2'
|
28
28
|
end
|
29
29
|
|
30
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:hostsync_0.
|
71
|
+
say_status 'ok','Checking if a newer native_osx (unison:hostsync_0.2) image is available' unless silent
|
72
72
|
|
73
|
-
if system("docker pull eugenmayer/unison:hostsync_0.
|
73
|
+
if system("docker pull eugenmayer/unison:hostsync_0.2 | 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
|
@@ -116,6 +116,11 @@ class UpgradeChecker
|
|
116
116
|
checker.check_unison_hostsync_image
|
117
117
|
end
|
118
118
|
|
119
|
+
if Gem::Version.new(last_upgraded_version) < Gem::Version.new('0.4.5')
|
120
|
+
checker = UpdateChecker.new
|
121
|
+
checker.check_unison_hostsync_image
|
122
|
+
end
|
123
|
+
|
119
124
|
# update the upgrade_status
|
120
125
|
@config.update! 'upgrade_status' => "#{UpgradeChecker.get_current_version}"
|
121
126
|
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.4.
|
4
|
+
version: 0.4.5.beta1
|
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: 1.3.1
|
199
199
|
requirements: []
|
200
200
|
rubyforge_project:
|
201
201
|
rubygems_version: 2.4.5.1
|