docker-api 1.26.1 → 1.26.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: 1760be3907270c3976b56bcb6e77ae5317ab587d
4
- data.tar.gz: 033f504a266aa8f8b66a50fac8f5b1a1f0dc1e50
3
+ metadata.gz: cc23f00b0653acb770223bb93732fd1c5fc2b271
4
+ data.tar.gz: 1107a9c03e159bdf9e088bf7d89c93b074cac97f
5
5
  SHA512:
6
- metadata.gz: 74501f6202cf9a94d8b5ec56f60a55cf5ada468d50f2cfedddadc958ea7d892f0ed06ccaccf44c92accfdf312bca6cbbb41098e55ded8fe8bf9efebbbc8d8b51
7
- data.tar.gz: 00f49b2cb921c51d106b33e434a731c0906f6354f90ee2a7dade26bb8bb7fda4b6f12e9797429db8d144997b7dfe5edb529fbceefc08f26e9e882eefe957c852
6
+ metadata.gz: 057abba527419ba36ede9fc86770d4aa0d189ab17766cec6c84a1d463d80e400b18af6ac645a95ff67886b253fe6ae29c948797c69cbfa67b239288243d1260d
7
+ data.tar.gz: 60cb8cbba5a878137e46e13e5c76b9087e9cdaab010c1c30f322a8a9ef363dcb5a80209cdfb7b6d0fa298e39404953ca82f4047ed51d55acb057770da5389669
@@ -111,14 +111,9 @@ class Docker::Image
111
111
  opts,
112
112
  :headers => headers,
113
113
  :response_block => response_block(body, &block)
114
- )
115
- json = Docker::Util.fix_json(body)
116
- completions = json.compact.select { |j| j['status'] && j['status'].include?('complete') }
117
- if image = completions.reverse_each.find { |j| j['id'] }
118
- get(image['id'], {}, conn)
119
- elsif image = opts['fromImage'] || opts[:fromImage]
120
- get(image, {}, conn)
121
- end
114
+ )
115
+ image = opts['fromImage'] || opts[:fromImage]
116
+ get(image, {}, conn)
122
117
  end
123
118
 
124
119
  # Return a specific image.
@@ -1,6 +1,6 @@
1
1
  module Docker
2
2
  # The version of the docker-api gem.
3
- VERSION = '1.26.1'
3
+ VERSION = '1.26.2'
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.26.1
4
+ version: 1.26.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swipely, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-23 00:00:00.000000000 Z
11
+ date: 2016-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon