docker-compose 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/lib/docker/compose/session.rb +3 -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: 5e5fae7656fe6fd3633f225843b3aab2a0843563
|
4
|
+
data.tar.gz: a8adf58de89c5a150bdf772cb29f802d2c785a9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b0019e63cf179057e5331a6239fd0ae5d42b50cbe5123d688b95d0038729de0fccb9376a9487448ef329761603e23d73654aff777641e04cdb85f99a0770b97
|
7
|
+
data.tar.gz: 5350dc449cef6884959ad3d49965e9ba4a2f5e8c47fe51f9cb6cd36de7e5128620d20e0b86e7a91500c6eea11081a73f9641f459005efb4adaf5df393fd08356
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
1.1
|
2
|
+
---
|
3
|
+
|
4
|
+
#### New features
|
5
|
+
|
6
|
+
Add `scale` command to Session methods.
|
7
|
+
|
8
|
+
|
9
|
+
1.0
|
10
|
+
---
|
11
|
+
|
12
|
+
No significant changes; the 1.0 increment is to indicate that Docker::Compose now has test coverage, and that we intend to maintain a stable API until 2.0.
|
13
|
+
|
1
14
|
0.6
|
2
15
|
---
|
3
16
|
|
@@ -121,9 +121,10 @@ module Docker::Compose
|
|
121
121
|
# running the services that they depend on
|
122
122
|
# @param [Array] env a list of environment variables (see: -e flag)
|
123
123
|
# @param [Boolean] rm remove the container when done
|
124
|
+
# @param [Boolean] no_tty disable pseudo-tty allocation (see: -T flag)
|
124
125
|
# @raise [Error] if command fails
|
125
|
-
def run(service, *cmd, detached: false, no_deps: false, env: [], rm: false)
|
126
|
-
o = opts(
|
126
|
+
def run(service, *cmd, detached: false, no_deps: false, env: [], rm: false, no_tty: false)
|
127
|
+
o = opts(d: [detached, false], no_deps: [no_deps, false], env: [env, []], rm: [rm, false], T: [no_tty, false])
|
127
128
|
env_params = env.map { |v| { e: v } }
|
128
129
|
run!('run', o, *env_params, service, cmd)
|
129
130
|
end
|