docker-api 1.24.0 → 1.24.1

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: 7a6840558745f8a4830affbdc1168b007433a797
4
- data.tar.gz: aa3fbadccdde9a27d4352eea386e7613ee2026ae
3
+ metadata.gz: 4eb0ec248a62d64d52b5e1d49ef35658ff87dd2f
4
+ data.tar.gz: 508bd10f526845a4fef711128bbe0f4dcfc9cb7a
5
5
  SHA512:
6
- metadata.gz: af38dc7391984c580435d1180d72baa5235e28983c95b51a6e78b7401ab1818397f08a0ace2ecfaf1fd8da9a5c41966e819f104ef77e9b59743167d94d95697d
7
- data.tar.gz: 9093e43ab34024974ebeec8b73ceb8427d14455aa49c409c0144c3f9f4030b8945af8288992a209b7504d8fdb5a0ba9a3607c7d0113292b9bade688fd8425d13
6
+ metadata.gz: dc1552959429f61de607f5f16dac0430a4137347037e54bc48c6e0d9b0d0828e3d618cca3b35def203e93707884c734bd8a712f22e1e5370a0111f836924dd85
7
+ data.tar.gz: 49dc4aa6bbf5bee5aed08e2e9ad1c349d34351682befc6142ed32c69ad7c3cc1f478b19d31ff56253e45145337b336ca06c88d3320959de3ec79ce971be6428b
data/lib/docker/image.rb CHANGED
@@ -116,7 +116,7 @@ class Docker::Image
116
116
  completions = json.compact.select { |j| j['status'] && j['status'].include?('complete') }
117
117
  if image = completions.reverse_each.find { |j| j['id'] }
118
118
  get(image['id'], {}, conn)
119
- elsif image = opts['fromImage']
119
+ elsif image = opts['fromImage'] || opts[:fromImage]
120
120
  get(image, {}, conn)
121
121
  end
122
122
  end
@@ -1,6 +1,6 @@
1
1
  module Docker
2
2
  # The version of the docker-api gem.
3
- VERSION = '1.24.0'
3
+ VERSION = '1.24.1'
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.24.0
4
+ version: 1.24.1
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-12-04 00:00:00.000000000 Z
11
+ date: 2015-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon