docker-api 1.10.5 → 1.10.6

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: b76a1345ec1e931b746bfd6e71476bc1dd99cdf8
4
- data.tar.gz: 2eebdbf7ba21dbd67020b0ca318808b157ba17a5
3
+ metadata.gz: 38bcbcb12abb18d4d29a08cfb0246e7d1991d136
4
+ data.tar.gz: 6b9282e5f38257a2e06cec40878be713768b7749
5
5
  SHA512:
6
- metadata.gz: cf4ccddd249d21e98bc586a7a763e56666dfa4b9339cca63e61b8b7bdbfa21e6ae7f8e47c6e53168f9ae41aafe6562103abebbcddd223a649cc9bee96d64b8f1
7
- data.tar.gz: c752aa552ec73d097fb74b419bd3459dbcae37c91b0244204da995b6ac7a6301a20621807e578f87621f9e467a04f40fed0be35d25dbe006d0fcf112cf94d93f
6
+ metadata.gz: 0619fdeb61257f6188c54974bfe98551b608d6470543969d2e4931d1dacd42669907affb4186d5a2a06d178443b96810d7ab2e77f66019fa9e41a0c27aa0bbb7
7
+ data.tar.gz: 137ea9d2674ee39787d5d39ce8b0bc163ed5c23585521975286e4a8f68bfe785c741253cd1351d2964ba16a1fb0faceb5cc7afa29b6e3286b5b9b2673fcde8c9
@@ -29,7 +29,7 @@ class Docker::Image
29
29
  raise ArgumentError, "Image does not have a name to push." if repo.nil?
30
30
 
31
31
  credentials = creds || Docker.creds || {}
32
- headers = creds.nil? ? {} : Docker::Util.build_auth_header(credentials)
32
+ headers = Docker::Util.build_auth_header(credentials)
33
33
  opts = options.merge(:tag => tag)
34
34
  connection.post("/images/#{repo}/push", opts, :headers => headers)
35
35
  self
@@ -1,6 +1,6 @@
1
1
  module Docker
2
2
  # The version of the docker-api gem.
3
- VERSION = '1.10.5'
3
+ VERSION = '1.10.6'
4
4
 
5
5
  # The version of the compatible Docker remote API.
6
6
  API_VERSION = '1.10'
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.10.5
4
+ version: 1.10.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swipely, Inc.