docker_registry2 1.15.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/registry/exceptions.rb +9 -9
- data/lib/registry/registry.rb +2 -2
- 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: 6f7daed06a8c800b4df3412aee52d8204af23092206f073b7688f01ec6ef1011
|
4
|
+
data.tar.gz: a7ddaecc362241ea127ea67146ec75dd94eec6affcef9fa9f527b73048dd08f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7449e24efd8d8a56dfacb59b3945c3f083b75f91505bd67f4fefb60b3cc3078df2c3289f86fdd14cf2b9f34ba52b34363e6fccb7088e9813adc80341c525a915
|
7
|
+
data.tar.gz: a7ad67b22dce29604879d7de2d8955e7698dd5292c972a9ae06cf2e78f5aa1396c12a105cd05153dc905f5b7ecf4b30555c0d67a7e2ee8d13d1005aa4534a438
|
data/lib/registry/exceptions.rb
CHANGED
@@ -4,30 +4,30 @@ module DockerRegistry2
|
|
4
4
|
class Exception < RuntimeError
|
5
5
|
end
|
6
6
|
|
7
|
-
class RegistryAuthenticationException <
|
7
|
+
class RegistryAuthenticationException < DockerRegistry2::Exception
|
8
8
|
end
|
9
9
|
|
10
|
-
class RegistryAuthorizationException <
|
10
|
+
class RegistryAuthorizationException < DockerRegistry2::Exception
|
11
11
|
end
|
12
12
|
|
13
|
-
class RegistryUnknownException <
|
13
|
+
class RegistryUnknownException < DockerRegistry2::Exception
|
14
14
|
end
|
15
15
|
|
16
|
-
class RegistrySSLException <
|
16
|
+
class RegistrySSLException < DockerRegistry2::Exception
|
17
17
|
end
|
18
18
|
|
19
|
-
class RegistryVersionException <
|
19
|
+
class RegistryVersionException < DockerRegistry2::Exception
|
20
20
|
end
|
21
21
|
|
22
|
-
class ReauthenticatedException <
|
22
|
+
class ReauthenticatedException < DockerRegistry2::Exception
|
23
23
|
end
|
24
24
|
|
25
|
-
class UnknownRegistryException <
|
25
|
+
class UnknownRegistryException < DockerRegistry2::Exception
|
26
26
|
end
|
27
27
|
|
28
|
-
class NotFound <
|
28
|
+
class NotFound < DockerRegistry2::Exception
|
29
29
|
end
|
30
30
|
|
31
|
-
class InvalidMethod <
|
31
|
+
class InvalidMethod < DockerRegistry2::Exception
|
32
32
|
end
|
33
33
|
end
|
data/lib/registry/registry.rb
CHANGED
@@ -148,7 +148,7 @@ module DockerRegistry2
|
|
148
148
|
|
149
149
|
end
|
150
150
|
|
151
|
-
|
151
|
+
manifest.headers[:docker_content_digest]
|
152
152
|
end
|
153
153
|
|
154
154
|
def rmtag(image, tag)
|
@@ -252,7 +252,7 @@ module DockerRegistry2
|
|
252
252
|
links = parse_link_header(header)
|
253
253
|
if links[:next]
|
254
254
|
query = URI(links[:next]).query
|
255
|
-
link_key = @uri.host.eql?('quay.io') ? 'next_page' : 'last'
|
255
|
+
link_key = @uri.host.eql?('quay.io') || @uri.host.eql?('registry.access.redhat.com') ? 'next_page' : 'last'
|
256
256
|
last = URI.decode_www_form(query).to_h[link_key]
|
257
257
|
|
258
258
|
end
|
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.
|
4
|
+
version: 1.17.0
|
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: 2023-
|
14
|
+
date: 2023-07-18 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|