aggkit 0.4.6.13042 → 0.4.6.13043
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/bin/aggexec +2 -2
- 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: e1dc715b958bd63ed5d98b7f26e8c36eacba09c4122ed2389b18b340f3a878d7
|
|
4
|
+
data.tar.gz: add638845ed60d447f2ca152c43a45c8a95c503d801c4156ed8ead0920649be2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 76421604f394967145c6b3ab08ff0af23d3e65758e5729a1016d8636724bd99e85821ec152b8218d6f43827fa76fce33ebf62ebc70619892687b7980626151e4
|
|
7
|
+
data.tar.gz: bc68320dad71145bf1a9c2f4a1fe593c68a9c98b8675284c02951f611cab14b1ff59517945770b99a362ef49ccf56b92e01df3fc02116fde680d96660f24c847
|
data/Gemfile.lock
CHANGED
data/bin/aggexec
CHANGED
|
@@ -44,7 +44,7 @@ parser = Aggkit::OptionParser.new do |o|
|
|
|
44
44
|
@opts[:prefixes] << prefix.strip
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
o.on('--service=<SERVICE>', '
|
|
47
|
+
o.on('--service=<SERVICE>', 'Shortcut for --prefix=services/env/<SERVICE>. Multiple prefixes are merged from left to right.') do |service|
|
|
48
48
|
@opts[:prefixes] << "services/env/#{service}".strip
|
|
49
49
|
end
|
|
50
50
|
|
|
@@ -93,7 +93,7 @@ if @opts[:depends].any? || @opts[:prefixes].any?
|
|
|
93
93
|
@opts[:depends].each(&Aggkit::Consul.method(:wait_for_service).curry.call(@opts[:consul]))
|
|
94
94
|
|
|
95
95
|
# Load env from consul
|
|
96
|
-
@opts[:prefixes].each(&load_envs_from_consul)
|
|
96
|
+
@opts[:prefixes].each(&method(:load_envs_from_consul))
|
|
97
97
|
end
|
|
98
98
|
|
|
99
99
|
# Preprocess template files
|