docker_registry2 1.15.0 → 1.16.0

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: 2b93252a450c644a699ad3e18d6350d734de156a6c034d326be58745c8454242
4
- data.tar.gz: af73611edfe95ec8b47cda4059a82b1902c0c3230dba8399c524e7cb4a6491e0
3
+ metadata.gz: bf700e5c43bdbd9216827748cc2010b4f4a2ab6fc83615478589e24200a17e80
4
+ data.tar.gz: 10dc661ce6689a5a4009d64483c4e26c78bb8dae08412058e4a565cc79169c59
5
5
  SHA512:
6
- metadata.gz: 5e2c641cc6a23b0751b535dfebaa780ab87fc9992f7639423537f369e33b8b034b81d2ea215a83117667527c4bdf4998b5df1bae308b70f95f31ccc835082979
7
- data.tar.gz: a40c907aa5f98b0f1d719d1b3a57a75c9ae39dd95a8fcdc63c596d5444383ea241c6522f1314526ed81bc9c6412f4d1da2f0062dba4704feec24ef509d7fa028
6
+ metadata.gz: e2f999e780c186e6e19c23698984f2897ddda4e312641cbea94fb1f6e873053c14a55b7fe6422508537eb6e9c3eb023086030156a3ec2214a828f886e956ddba
7
+ data.tar.gz: 33166c81576a0f368ce6326c1d62726524e8143eeb9e9c579433efa172e87dea00f2a469359ff87238750b7595af7508798c090dcfd68a1d0e5c02192ed134db
@@ -4,30 +4,30 @@ module DockerRegistry2
4
4
  class Exception < RuntimeError
5
5
  end
6
6
 
7
- class RegistryAuthenticationException < StandardError
7
+ class RegistryAuthenticationException < DockerRegistry2::Exception
8
8
  end
9
9
 
10
- class RegistryAuthorizationException < StandardError
10
+ class RegistryAuthorizationException < DockerRegistry2::Exception
11
11
  end
12
12
 
13
- class RegistryUnknownException < StandardError
13
+ class RegistryUnknownException < DockerRegistry2::Exception
14
14
  end
15
15
 
16
- class RegistrySSLException < StandardError
16
+ class RegistrySSLException < DockerRegistry2::Exception
17
17
  end
18
18
 
19
- class RegistryVersionException < StandardError
19
+ class RegistryVersionException < DockerRegistry2::Exception
20
20
  end
21
21
 
22
- class ReauthenticatedException < StandardError
22
+ class ReauthenticatedException < DockerRegistry2::Exception
23
23
  end
24
24
 
25
- class UnknownRegistryException < StandardError
25
+ class UnknownRegistryException < DockerRegistry2::Exception
26
26
  end
27
27
 
28
- class NotFound < StandardError
28
+ class NotFound < DockerRegistry2::Exception
29
29
  end
30
30
 
31
- class InvalidMethod < StandardError
31
+ class InvalidMethod < DockerRegistry2::Exception
32
32
  end
33
33
  end
@@ -148,7 +148,7 @@ module DockerRegistry2
148
148
 
149
149
  end
150
150
 
151
- parsed_manifest.dig('config', 'digest')
151
+ manifest.headers[:docker_content_digest]
152
152
  end
153
153
 
154
154
  def rmtag(image, tag)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DockerRegistry2
4
- VERSION = '1.15.0'
4
+ VERSION = '1.16.0'
5
5
  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.15.0
4
+ version: 1.16.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-05-01 00:00:00.000000000 Z
14
+ date: 2023-06-06 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler