docker-api 1.21.3 → 1.21.4

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: 7f782a3d4812316b9a78a9c9850000409fcf2f58
4
- data.tar.gz: 4d7aa0d552a978aefdb81bb9abd161a90b3a598b
3
+ metadata.gz: 01b22b7c07b68da5ef7636e62a9bd616bee56bd0
4
+ data.tar.gz: 43478a354659ca1b4470b6e48a6af49309db6910
5
5
  SHA512:
6
- metadata.gz: ac799a15c88a4113554472df394449e71bd7ff935e65c2b2f5112ea8e8d0e1b65d2f5da1681b81985aa3dd98c4c211427a00ffd4c2805be2b07005f511f0ce45
7
- data.tar.gz: c304cc3fc7ac0bc5970e3be2cf718ecb34540ff786a1f3e3196b374ae7566419ae361ba38c32106a5558c53b749ab35c420f1f0e46346ac7daf63771965d40d5
6
+ metadata.gz: d0b1313db76caad1ce1dd1fdc3cea840bc954ebded6e7a607e0918f2bf21f3f11f7dbf76661a960d5218d14216f70ef6197857d45a6fe79a0ee2556667ae478d
7
+ data.tar.gz: c3cac5cea78c44cef53a8b7c0da31db8a31c5e915957d9f89fad3c48669219c156c6a868bff7bf1ba183da93e4d08c71cb35196d08e1f07872ec5d8c39a0aaca
@@ -16,7 +16,8 @@ class Docker::Container
16
16
  # Wait for the current command to finish executing. Default wait time is
17
17
  # `Excon.options[:read_timeout]`.
18
18
  def wait(time = nil)
19
- resp = connection.post(path_for(:wait), nil, :read_timeout => time)
19
+ excon_params = { :read_timeout => time, :idempotent => true }
20
+ resp = connection.post(path_for(:wait), nil, excon_params)
20
21
  Docker::Util.parse_json(resp)
21
22
  end
22
23
 
@@ -1,6 +1,6 @@
1
1
  module Docker
2
2
  # The version of the docker-api gem.
3
- VERSION = '1.21.3'
3
+ VERSION = '1.21.4'
4
4
 
5
5
  # The version of the compatible Docker remote API.
6
6
  API_VERSION = '1.16'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.3
4
+ version: 1.21.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swipely, Inc.