indocker 0.5.0 → 0.5.1
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/lib/indocker/launchers/configuration_deployer.rb +4 -1
- data/lib/indocker/version.rb +1 -1
- 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: 3a337d7800f2098f536fa3c6c070440e3a4e7ace58945d9a5e70127bb4350de3
|
|
4
|
+
data.tar.gz: '097fc4489b74f7ce5c49415e6ba2a662ecf15af95ec5b3d8a7128ec09b0b2f62'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa93cd90ee34cf29b145dbc17493c18e419d1808b6cd3748d71ca712037f3b0bcf4ef8ceb88fdd00ef755dae44a1712d8547d6cfc2c46deba602ececdac26b4f
|
|
7
|
+
data.tar.gz: 2306ab2913402242c95a989c29b18cf918310889e4e1524764cdbe1e2e0d01d959d0cba2b912b4834d168e89c422bab0a4a7800f173faac9253135a1536d5a3b
|
data/Gemfile.lock
CHANGED
|
@@ -323,7 +323,10 @@ class Indocker::Launchers::ConfigurationDeployer
|
|
|
323
323
|
.map { |dependency| deploy_threads[dependency] }
|
|
324
324
|
.compact
|
|
325
325
|
|
|
326
|
-
|
|
326
|
+
# Pass container/dependency_threads as thread arguments so each thread
|
|
327
|
+
# captures its own value — the shared loop variables get reassigned on
|
|
328
|
+
# the next iteration (eventually to :done) before these threads run.
|
|
329
|
+
deploy_threads[container] = Thread.new(container, dependency_threads) do |container, dependency_threads|
|
|
327
330
|
dependency_threads.each(&:join)
|
|
328
331
|
deploy_container(deployer, container, force_restart, skip_force_restart)
|
|
329
332
|
end
|
data/lib/indocker/version.rb
CHANGED