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 +4 -4
- data/lib/build-labels/builder.rb +1 -2
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64d76686ba12eb2b69d551840ee5d99f05353e75e6db83c06ae9352fe36f63f2
|
4
|
+
data.tar.gz: 2b1118b96e92281fce14722e18b6b898ed650c8b14a7e036ca581fd6fa72a267
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c339263b0003bf89d8f428678bba701c7be56b24c63381095cece85cb9bea491c726497d328a0090c8e1b43a251fa98df413a2352d8c6df36093dba478f8b7dd
|
7
|
+
data.tar.gz: 85dbc77af8be5fdb2dfa177a98d965e178d2c2ab3d19ca3c3043a38bc51c29a251b65857e97cfc6cd010a042942542cfb7fe6d5c6f073c1012c6a2549debca9b
|
data/lib/build-labels/builder.rb
CHANGED
@@ -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