docker_registry2 1.7.0 → 1.7.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
  SHA256:
3
- metadata.gz: 1591b5d46dda76268ee84b6cc588c6ecd311eb6a2f2627e7522ef516b64c1d84
4
- data.tar.gz: 9c614d30dab2ca67e50f29d0dba6a320d1ba8c50a493373b7e035469f31de2cd
3
+ metadata.gz: ae47ed1cf54b9805c7d2759b9eef12b9ee477eeabd14c6f2800a6170491b9f3d
4
+ data.tar.gz: d369345bcd4676a91a722474f8fb67298e7b5c218a563a2504e09f9908abd457
5
5
  SHA512:
6
- metadata.gz: a4e6aba5f883fa302753047e5949542e746d6b17f76dc069a79b0f842a46dc2c643bd1c05c58aa977548c503d5a1c32f15ff9b2b6c4b1a5eb4c7f459a12a7b1f
7
- data.tar.gz: d755b52601c9891064eb3c9e72b285ffdb7099fd39eaff4a96d1e419597adc6c03c0f3e6b65f4a1f0070db97fdbf576c792f3d1a644d056af32c913c2cc3dbfd
6
+ metadata.gz: a8e01f26d9af9cfc231057b9a6945a7727dd4133423f3f7c14b1118bd7ba4c56449f57edcd081c11976d410195bd4bf8d419d0eb0c0b5151ab099e67139fbbf6
7
+ data.tar.gz: 1ffe681ba1bbe5c06950a6829ab953e21df4cad8e730998dcd7465a1ab832666910cbe9c71a44afe158ebe0dd994e5430a1b66f0ae1e479c43341a5d41c37c30
@@ -367,7 +367,7 @@ class DockerRegistry2::Registry
367
367
  def headers(payload: nil, bearer_token: nil)
368
368
  headers={}
369
369
  headers['Authorization']="Bearer #{bearer_token}" unless bearer_token.nil?
370
- headers['Accept']='application/vnd.docker.distribution.manifest.v2+json' if payload.nil?
370
+ headers['Accept']='application/vnd.docker.distribution.manifest.v2+json, application/json' if payload.nil?
371
371
  headers['Content-Type']='application/vnd.docker.distribution.manifest.v2+json' unless payload.nil?
372
372
 
373
373
  headers
@@ -1,3 +1,3 @@
1
1
  module DockerRegistry2
2
- VERSION = '1.7.0'
2
+ VERSION = '1.7.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker_registry2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Avi Deitcher https://github.com/deitch
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-06-28 00:00:00.000000000 Z
14
+ date: 2019-07-14 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler