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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/bin/aggmerge +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 844a18ca83b6410264ca53fc074af96faefb2daa
|
4
|
+
data.tar.gz: 61b02b6cfed3fc5607ebb4815bff46eae875627c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5f65efc47c2b7ca7c2ff80406ae497e92f454d1ec5bb5a43ce3b45889613dbd75bcf5524c3ef7227aa01a550e593e7d9d8d236c651be147973dfe17829613b4
|
7
|
+
data.tar.gz: 0b29500dcc20687233669362853244fab6acfeaa9ae2cc4aff1b009b8e753b6aa9102e9909153acd9d330c15f8b228656074295d4c42c1a215f864e1175d9681
|
data/Gemfile.lock
CHANGED
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
|
-
|
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}"
|