docker-compose 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e5fae7656fe6fd3633f225843b3aab2a0843563
4
- data.tar.gz: a8adf58de89c5a150bdf772cb29f802d2c785a9b
3
+ metadata.gz: fa9580eab5046b397f37ecc8d1287027a48994ee
4
+ data.tar.gz: 73d3395a26c69244f30a68f35aa7a5f2c8d641ad
5
5
  SHA512:
6
- metadata.gz: 9b0019e63cf179057e5331a6239fd0ae5d42b50cbe5123d688b95d0038729de0fccb9376a9487448ef329761603e23d73654aff777641e04cdb85f99a0770b97
7
- data.tar.gz: 5350dc449cef6884959ad3d49965e9ba4a2f5e8c47fe51f9cb6cd36de7e5128620d20e0b86e7a91500c6eea11081a73f9641f459005efb4adaf5df393fd08356
6
+ metadata.gz: 24222e86b8ca498f5800689b4e52e2abed409536087cbdb15c1a942d67c0032b77f4030f7e96c3d815e43e19bc4517883c2ed001cd51be78ae1c2c044e0708c5
7
+ data.tar.gz: c6ebb1f8e05a0da38ded2eea8b35d8fd8f134ba74503fead8e53a2d36319b3309c841e4aa9d59672907850855feddd5accf350ec10b820651c4320e9c14e983e
@@ -122,9 +122,10 @@ module Docker::Compose
122
122
  # @param [Array] env a list of environment variables (see: -e flag)
123
123
  # @param [Boolean] rm remove the container when done
124
124
  # @param [Boolean] no_tty disable pseudo-tty allocation (see: -T flag)
125
+ # @param [String] user run as specified username or uid (see: -u flag)
125
126
  # @raise [Error] if command fails
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
+ def run(service, *cmd, detached: false, no_deps: false, env: [], rm: false, no_tty: false, user: nil)
128
+ o = opts(d: [detached, false], no_deps: [no_deps, false], env: [env, []], rm: [rm, false], T: [no_tty, false], u: [user, nil])
128
129
  env_params = env.map { |v| { e: v } }
129
130
  run!('run', o, *env_params, service, cmd)
130
131
  end
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  module Docker
3
3
  module Compose
4
- VERSION = '1.1.1'
4
+ VERSION = '1.1.2'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-compose
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Spataro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-14 00:00:00.000000000 Z
11
+ date: 2017-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backticks