docker-compose 0.6.0 → 0.6.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/lib/docker/compose/rake_tasks.rb +8 -2
- data/lib/docker/compose/version.rb +1 -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: a853f3487ee69fdc0fcc4e0ee79e9b4c67e188b8
|
|
4
|
+
data.tar.gz: 861e629aed8646e04ce22facae96cdaa52c58a67
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8c5bb344080f92b0fe28834510a8cd1c81de3bae182628304bfa108bf97d7c4b7bd32aecf14576b6c33375ff47c0725a018887ad1d3f842257d01b180b53eecc
|
|
7
|
+
data.tar.gz: c7e6f3387437334bc5ab9444e36b88ebb58f827c4adaab2698de603d80c04fa61f4c6e13cf6d889598c1ddf947d82fca74ff73ced52a588766440d2b7a5b3cf6
|
|
@@ -78,8 +78,14 @@ module Docker::Compose
|
|
|
78
78
|
task :env do
|
|
79
79
|
@shell.interactive = false # suppress useless 'port' output
|
|
80
80
|
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
tty = STDOUT.tty?
|
|
82
|
+
tlt = Rake.application.top_level_tasks.include?('docker:compose:env')
|
|
83
|
+
|
|
84
|
+
# user invoked this task directly; print some helpful tips on
|
|
85
|
+
# how we intend it to be used.
|
|
86
|
+
print_usage if tty && tlt
|
|
87
|
+
|
|
88
|
+
export_env(print:tlt)
|
|
83
89
|
|
|
84
90
|
@shell.interactive = true
|
|
85
91
|
end
|