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 +4 -4
- data/lib/registry/registry.rb +1 -1
- data/lib/registry/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae47ed1cf54b9805c7d2759b9eef12b9ee477eeabd14c6f2800a6170491b9f3d
|
4
|
+
data.tar.gz: d369345bcd4676a91a722474f8fb67298e7b5c218a563a2504e09f9908abd457
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8e01f26d9af9cfc231057b9a6945a7727dd4133423f3f7c14b1118bd7ba4c56449f57edcd081c11976d410195bd4bf8d419d0eb0c0b5151ab099e67139fbbf6
|
7
|
+
data.tar.gz: 1ffe681ba1bbe5c06950a6829ab953e21df4cad8e730998dcd7465a1ab832666910cbe9c71a44afe158ebe0dd994e5430a1b66f0ae1e479c43341a5d41c37c30
|
data/lib/registry/registry.rb
CHANGED
@@ -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
|
data/lib/registry/version.rb
CHANGED
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.
|
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-
|
14
|
+
date: 2019-07-14 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|