linecook-gem 0.5.5 → 0.5.6

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: cb95b96ba0c0d96148c7c168fbabf20cddf4f037
4
- data.tar.gz: c4db4da5432af487298a3214a068e8d53babfbe5
3
+ metadata.gz: ee54645b2e182e0aa4f8c40d7dda5685d743972d
4
+ data.tar.gz: 602ff0898efb7b578c4f7fdb3398094b205a7d0f
5
5
  SHA512:
6
- metadata.gz: e15e5a9b5bcfec5652828bd3aecd49debfc10d30e392416ccff74b897025a972386df5f37d03055b217a59fee0a1eb2c2e0a98758086fd7fabe149cd5d651af2
7
- data.tar.gz: 18e5eee93b20e65ded5893aac312f2b8a84548111c5f92eb197753728795b42aa5b9823e7b7a14e407a45e93eb8a9f2a91f54bc43cdf00a3f5252c75615b9ccb
6
+ metadata.gz: 701617fea4cfe33880db86b3c17a0dcdd15402f25a050da4469f4734f85bd9da80cdaccdbe2cf704e58f020b3ea35e4653e79e1d8cfc918e1b7c34d32fe322e1
7
+ data.tar.gz: 6bb3c78a373ae13c17d6bf71ec692a688c5cac026d110e00ef3829e7de88b6b7531ac8b3501a9b26f731d68adbfa6ca3944af7529dc63a90a2ac3f7b96e6cb79
@@ -199,7 +199,7 @@ eos
199
199
  @source_path = Linecook::ImageManager.fetch(@source_image, profile: :public)
200
200
  if @remote
201
201
  dest = "#{File.basename(@source_path)}"
202
- unless test("[ -f #{dest} ]") && capture("shasum #{dest}").split.first && `shasum #{@source_path}`.split.first
202
+ unless test("[ -f #{dest} ]") && capture("shasum #{dest}").split.first == `shasum #{@source_path}`.split.first
203
203
  @remote.upload(@source_path, dest)
204
204
  end
205
205
  @image_path = dest
@@ -1,3 +1,3 @@
1
1
  module Linecook
2
- VERSION = '0.5.5'
2
+ VERSION = '0.5.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linecook-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Hamel