build-labels 0.0.17 → 0.0.19

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: 139e7e061e2bf7a7a9cb861de8477fc09e08340987ed89e53239e9867881e1c7
4
- data.tar.gz: 9ab1d0aaf92e3b0f18e5ae4c42ead33c058513fd25123e6e859c231ae10538db
3
+ metadata.gz: b1b252a13e7ee5a0372e8f31262e1fbcf3cdd1d49dfc3215ee45557429a8f0c8
4
+ data.tar.gz: 28f1fcbecd7cdce2a82f5dd519643ad7c3212d8d7c32746eca14cc07c762f5c9
5
5
  SHA512:
6
- metadata.gz: ec5e462b03595e656d57d925fe58b993377a9e1508758c0115054fe8d41c6b518591d6dda5fb5c75441e4cc82a83aaa87304eb92c25165a20e4377ee7cfb368d
7
- data.tar.gz: 17e2b02be847d4d8f008b3cc6f3564e06e3c0039cb51a3c1107680b82e7ade6c3090236a4f0ce45b7306364035ff03d52e80431b0fb83e9b835ba62d40b57095
6
+ metadata.gz: 8b5452689d83fce49851f33a848caac9dfce949ed98872cd951cde67232412c04542af3bcfc8c2a209d58be5b51dd90c68abdc158301354c898dd565f9a313a8
7
+ data.tar.gz: 2466912c044e353acd73a09446fe6ee5c7d820e693a03d2fcbbd367b9c28266128b1b671187eb4f19ea18621268fa35da5008c8fab46a881c582e7f1d47b8b00
@@ -5,7 +5,10 @@ BuildLabels::CommandLine::COMMANDS[:to_dockerfiles] = Class.new do
5
5
  raise 'Compose file not defined' unless compose_text
6
6
  compose_dir = params[:compose] ? File.dirname(params[:compose]) : '.'
7
7
 
8
- compose = YAML.load compose_text
8
+ result = YamlMerge::parse_and_process_yaml compose_text
9
+ compose = YamlMerge::deep_copy_without_aliases result
10
+ # compose = YAML.load compose_text
11
+
9
12
  compose['services'].each do |name, svc|
10
13
  next unless svc['build']
11
14
 
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module BuildLabels
2
2
  class Builder
3
- VERSION = '0.0.17'
3
+ VERSION = '0.0.19'
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.17
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artyom B