build-labels 0.0.18 → 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: 8e2f2e15fa9d339b5d23b4f5abaf7eda4ba0bcd90d39f32373eedd88c7425af7
4
- data.tar.gz: 1a2064b6d39d20a6c65696f9d696bcab0dc7af268035f21c20154f1d360cec20
3
+ metadata.gz: b1b252a13e7ee5a0372e8f31262e1fbcf3cdd1d49dfc3215ee45557429a8f0c8
4
+ data.tar.gz: 28f1fcbecd7cdce2a82f5dd519643ad7c3212d8d7c32746eca14cc07c762f5c9
5
5
  SHA512:
6
- metadata.gz: 4dc094f9d43563112ea876170532d9a2025eeff36b92fb81cd0f8c489003f7cfb3cec281b5d6d92ac28c95e5544cdfab59816517dbdc06c7aad364324fc32d4a
7
- data.tar.gz: 024e845a37e5b44dd1d0b8b42b43e76df8b3badee60b55acaae577d59b1876b00fe2bb89262fcf5c5d618b4bd40d7933277a7d6357b30d5b8e4c70c3759f3aa6
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.18'
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.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artyom B