build-labels 0.0.3 → 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: 06b8cbfa043cb60a1bb85aa96efea7fde084b43905f96b8e633bc5ef8b989749
4
- data.tar.gz: d0bcb7c85b7d1ca878573cb1a0ebe46807447f134d45df0b185b48ac84d18b38
3
+ metadata.gz: 64d76686ba12eb2b69d551840ee5d99f05353e75e6db83c06ae9352fe36f63f2
4
+ data.tar.gz: 2b1118b96e92281fce14722e18b6b898ed650c8b14a7e036ca581fd6fa72a267
5
5
  SHA512:
6
- metadata.gz: e67b1a55324168da25860c0dd1d0792670f839b0326f98c9861e39f9992e2cad47a31f1a429e211c8ac7660940b93a6d9a84be430b3fca4f86226e6ef28f8e81
7
- data.tar.gz: 6637903d8537f8a02be3b2abad7a42685958cb6633048d245572cd9bef00069acb929475193b36c733322269b1d160527a119ae0cd1bed4b024c550c926863a8
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.3'
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.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artyom B