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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9771026c0a87fb69a5bfaac08f82b817cf7d5187
4
- data.tar.gz: a935e2498eeb5b9200351508e84e1222077bb20a
3
+ metadata.gz: 76bc32a2f3d620ab4653e45794c291b15b95a92d
4
+ data.tar.gz: 7637a5e5c80829ea57eedac35bf6dec03577fb05
5
5
  SHA512:
6
- metadata.gz: bc856a246995214e054688863ad5107c179a8b9c05231593b2924d7e154446a65155e134c54b6f49c43f2c4d2bd525360e7f08d8187e4403c75c22a855cfe7ae
7
- data.tar.gz: 80cd9cde05e8107aceab1dc9fed5a5f0dc1877d6fa821396a50b17216cadbfd316ea33f34b05200bf6e519df7e3a1ad34e379b6f96b0bc40921d722af1064850
6
+ metadata.gz: cd56cf21e48e9de9a65a1d302ed8a855e4a6bb2ee25b6d8586c1d875fece70ca990929789933295ba2202d0b85c0841777a1a7c6f945bad7cf880f05112fe1db
7
+ data.tar.gz: 95760601c00ddab3cfb3cd05d822a8da442f2b35f86486704515705c340fc8c78f979470e9a47202eea37e0534a4dc1e66b574265b04d002ec87f77b52536983
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.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.1'
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.1) image is available' unless silent
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.1 | grep 'Downloaded newer image for'")
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
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: '0'
198
+ version: 1.3.1
199
199
  requirements: []
200
200
  rubyforge_project:
201
201
  rubygems_version: 2.4.5.1