build-labels 0.0.25 → 0.0.26

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
  SHA256:
3
- metadata.gz: d05ba80af8d752ebf4ce95012e228afada07ccf3636a2a21082b1cc3e2c367be
4
- data.tar.gz: d1fbeb9d6f7dbedadbdd6d118509a2ee33d752152aaf65d5f9fec1c22c30c464
3
+ metadata.gz: 6a94764281e17cee34a35d9fbcd11fe0d702db9e3b0f2073c722f1aa5ddae9e1
4
+ data.tar.gz: 1eec4eaf51c4600dca1bdf6a2bee6200ccd93ea90c3bd0354d310495a2bfefc4
5
5
  SHA512:
6
- metadata.gz: 8b210add16eeb51a3f485308f993928bcf02033d984bc17a6331792541a05cd6bfa13b8574fa5f027fc35fe11c8c022b90d75bd84a4595c9e2f9d40feb7374eb
7
- data.tar.gz: 16aa41dbba662aa18bbe1bbfa871132b1884dcbaf6412b7d2d60833855add373cae745a5f384224e995554029cf7395efcbfb15ae5326ee35f14fae15d8e41c8
6
+ metadata.gz: c2cfea7e0a02d74f90d97fff96df3adedf78b652a064b64afb5b4e0433ac1917bfc905d6171f3126da36673309d0c82de27e23dae68c5828ff73310f8b40c421
7
+ data.tar.gz: 23a108326a37b8c8ea49237c77b77e0f3d2073cdcfea563c5257963401a10fea64cb278d52a5598f3e0f5f3a8699413204da721f6e43fdb52cdde54a0a10672e
@@ -28,7 +28,7 @@ BuildLabels::CommandLine::COMMANDS[:set_version] = Class.new do
28
28
 
29
29
  tag = apply_gitlab_tag(tag)
30
30
  full_tag = [current_version, tag].compact.join '-'
31
- full_tag = full_tag.empty? ? ":#{full_tag}" : ''
31
+ full_tag = full_tag.empty? ? '' : ":#{full_tag}"
32
32
 
33
33
  svc['image'] = "#{image}#{full_tag}"
34
34
 
@@ -39,7 +39,7 @@ BuildLabels::CommandLine::COMMANDS[:set_version] = Class.new do
39
39
  tag = apply_gitlab_tag(tag)
40
40
 
41
41
  full_tag = [current_version, tag].compact.join '-'
42
- full_tag = full_tag.empty? ? ":#{full_tag}" : ''
42
+ full_tag = full_tag.empty? ? '' : ":#{full_tag}"
43
43
 
44
44
  "#{image}#{full_tag}"
45
45
  end
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module BuildLabels
2
2
  class Builder
3
- VERSION = '0.0.25'
3
+ VERSION = '0.0.26'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: build-labels
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25
4
+ version: 0.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artyom B