build-labels 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18c56725a7715200610a90982beb8e967537820417c7c73339fbd923b64a4018
4
- data.tar.gz: e6a536fa24fab11be74f20b4fe3268571fcc8ab37006974197f29a4fd972f9a3
3
+ metadata.gz: 64d76686ba12eb2b69d551840ee5d99f05353e75e6db83c06ae9352fe36f63f2
4
+ data.tar.gz: 2b1118b96e92281fce14722e18b6b898ed650c8b14a7e036ca581fd6fa72a267
5
5
  SHA512:
6
- metadata.gz: 1452adc86750c330505dcdbf895cad6d7f19bc575c0642cd24a114b276bd3074356d0ce8a79e2eb850274ddde4e4153079d8bc442e2e9bf44eb56b583bd776d5
7
- data.tar.gz: 7d3ab6af15adc2fa44c10929c09f70b7cc1429c115ba9f18f5052a0adb06d09397d7deb0ba6674bcb1e2309e3ae84b3247f86b77f1bb8999c750b2f43435c9cd
6
+ metadata.gz: c339263b0003bf89d8f428678bba701c7be56b24c63381095cece85cb9bea491c726497d328a0090c8e1b43a251fa98df413a2352d8c6df36093dba478f8b7dd
7
+ data.tar.gz: 85dbc77af8be5fdb2dfa177a98d965e178d2c2ab3d19ca3c3043a38bc51c29a251b65857e97cfc6cd010a042942542cfb7fe6d5c6f073c1012c6a2549debca9b
@@ -49,11 +49,10 @@ module BuildLabels
49
49
  compose = YAML.load compose_text
50
50
  compose['services'].each do |name, service|
51
51
  next unless service['build']
52
- service['build']['labels'] ||= []
53
-
54
52
  if service['build'].class == String
55
53
  service['build'] = { 'context' => service['build'] }
56
54
  end
55
+ service['build']['labels'] ||= []
57
56
 
58
57
  @namespaces.each do |ns, values|
59
58
  values.each_pair do |k,v|
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module BuildLabels
2
2
  class Builder
3
- VERSION = '0.0.4'
3
+ VERSION = '0.0.5'
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.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artyom B