docker-api 1.22.2 → 1.22.3

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: 00a29c0d7edf86aa4cd2151577d4c5f3b002785b
4
- data.tar.gz: a9115de52579200e4d19fc8e1d9a93c146b4858c
3
+ metadata.gz: 117d898640ffe2329cae78db491920f1dd942034
4
+ data.tar.gz: 50c85dd32c4df0709fb643cbf457291cdfe286b7
5
5
  SHA512:
6
- metadata.gz: 6da587c476e55b3701fc866be5a7b00994e5d1b1a3e29180e1c2410a33adccd47ec7a989a2c0495dc0e555cf41305e0b5b6871e22aacbc2ed3dc74212215ffec
7
- data.tar.gz: 40cd1ee57aced873ac4ff3e6c7e1356eef2802d368d3822c2aed2aa511a5b8647b3d6446415ab524dd21485986be66e15383916a20d423ec341ebce10e1c4406
6
+ metadata.gz: efdd1ad76e89d1a369377382479fe98b1d83b311f7f05a8635732fb67d0222219b6b3fe126180fc898951a9857894fc9923e5c94383965eb9258bf2232881bfa
7
+ data.tar.gz: 7625bea32eb364d2911c7ddc4e42bf07387629002ef5b58fec9d6af9a9087b44dd469f950db7bb137326ba0bf4d2d9fc56b09b1ea091052b5333b5a2ab95c50e
data/README.md CHANGED
@@ -390,6 +390,10 @@ Docker::Container.get('500f53b25e6e')
390
390
  # Request all of the Containers. By default, will only return the running Containers.
391
391
  Docker::Container.all(:all => true)
392
392
  # => [Docker::Container { :id => , :connection => Docker::Connection { :url => tcp://localhost, :options => {:port=>2375} } }]
393
+
394
+ # Request all of the Containers, filtering by status exited.
395
+ Docker::Container.all(all: true, filters: { status: ["exited"] }.to_json)
396
+ # => [Docker::Container { :id => , :connection => Docker::Connection { :url => tcp://localhost, :options => {:port=>2375} } }]
393
397
  ```
394
398
 
395
399
  ## Events
@@ -50,13 +50,16 @@ class Docker::Container
50
50
 
51
51
  # Create Exec Instance
52
52
  instance = Docker::Exec.create(
53
- 'Container' => self.id,
54
- 'User' => user,
55
- 'AttachStdin' => !!stdin,
56
- 'AttachStdout' => stdout,
57
- 'AttachStderr' => stderr,
58
- 'Tty' => tty,
59
- 'Cmd' => command
53
+ {
54
+ 'Container' => self.id,
55
+ 'User' => user,
56
+ 'AttachStdin' => !!stdin,
57
+ 'AttachStdout' => stdout,
58
+ 'AttachStderr' => stderr,
59
+ 'Tty' => tty,
60
+ 'Cmd' => command
61
+ },
62
+ self.connection
60
63
  )
61
64
 
62
65
  start_opts = {
@@ -1,6 +1,6 @@
1
1
  module Docker
2
2
  # The version of the docker-api gem.
3
- VERSION = '1.22.2'
3
+ VERSION = '1.22.3'
4
4
 
5
5
  # The version of the compatible Docker remote API.
6
6
  API_VERSION = '1.16'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.22.2
4
+ version: 1.22.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swipely, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-30 00:00:00.000000000 Z
11
+ date: 2015-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon