aggkit 0.4.0.9107 → 0.4.0.9116

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/bin/aggmerge +2 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8738f257fab1dc505137762ef9bd39443ae56a83
4
- data.tar.gz: 4315e9cd08473e44945d69e2bd8b11ec103421cf
3
+ metadata.gz: 844a18ca83b6410264ca53fc074af96faefb2daa
4
+ data.tar.gz: 61b02b6cfed3fc5607ebb4815bff46eae875627c
5
5
  SHA512:
6
- metadata.gz: 1790ae7a61b2d2932b644879c96d35fdc2f9fefd05f28093b1da30420f8ef2f69687edaf07a6fc73813416f37bce42ef81dbf830ace30c9525d694f699e6ef67
7
- data.tar.gz: 2a40a3725bb183954d8b0f66b36f60a22053e0aff1fdcc3d5c89c65e715ebe0fb90720895038c3202aa695813efaa784682ca2ed3da33b574a485c50497a8535
6
+ metadata.gz: d5f65efc47c2b7ca7c2ff80406ae497e92f454d1ec5bb5a43ce3b45889613dbd75bcf5524c3ef7227aa01a550e593e7d9d8d236c651be147973dfe17829613b4
7
+ data.tar.gz: 0b29500dcc20687233669362853244fab6acfeaa9ae2cc4aff1b009b8e753b6aa9102e9909153acd9d330c15f8b228656074295d4c42c1a215f864e1175d9681
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aggkit (0.4.0.9107)
4
+ aggkit (0.4.0.9116)
5
5
  diplomat
6
6
  dotenv
7
7
  json
data/bin/aggmerge CHANGED
@@ -122,7 +122,8 @@ def remove_build_section(hash)
122
122
  end
123
123
 
124
124
  if File.basename($PROGRAM_NAME) == File.basename(__FILE__)
125
- result = ENV['COMPOSE_FILE'].split(':').reduce({}) do |parent, file|
125
+ # version в базовом хэше для того чтобы первым попасть в итоговый файл.
126
+ result = ENV['COMPOSE_FILE'].split(':').reduce({'version' => nil}) do |parent, file|
126
127
  yml = process_compose_hash(YAML.load(File.read(file)), File.dirname(file), parent)
127
128
  if yml['version'] && parent['version'] && yml['version'] != parent['version']
128
129
  raise "version mismatch: #{file}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aggkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.9107
4
+ version: 0.4.0.9116
5
5
  platform: ruby
6
6
  authors:
7
7
  - Godko Ivan