docker_registry2 1.10.0 → 1.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docker_registry2.rb +0 -2
- data/lib/registry/registry.rb +1 -5
- data/lib/registry/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5950b75a42136e58681f74542001e9da4a205147fc6569a372f779806086926c
|
4
|
+
data.tar.gz: ec5b690dae63f5b0dfb56c46204ba95134bb8ba77df836d10f640f8703b4ebed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2cf4a0e66aa11f273ed66b731116a2a5c66b2d0c013a910f815d12261bb6b2d925b22d8c908e698b7e28c0b3b4228c598731de45b6bcc6e6d4bebcbf2bf3554
|
7
|
+
data.tar.gz: f9834eb49dba00a9801556915bbac365db1dd46e23c9172e8afe83d64415a59a21df0e9e3c3046aca5bab5edd46f7a24693b58e4ae302b8fc54b42c5829f8470
|
data/lib/docker_registry2.rb
CHANGED
data/lib/registry/registry.rb
CHANGED
@@ -38,10 +38,6 @@ class DockerRegistry2::Registry
|
|
38
38
|
return doreq "head", url
|
39
39
|
end
|
40
40
|
|
41
|
-
def ping
|
42
|
-
doget '/v2/'
|
43
|
-
end
|
44
|
-
|
45
41
|
def search(query = '')
|
46
42
|
response = doget "/v2/_catalog"
|
47
43
|
# parse the response
|
@@ -221,7 +217,7 @@ class DockerRegistry2::Registry
|
|
221
217
|
parts.each do |part, index|
|
222
218
|
section = part.split(';')
|
223
219
|
url = section[0][/<(.*)>/,1]
|
224
|
-
name = section[1][/rel="(
|
220
|
+
name = section[1][/rel="?([^"]*)"?/,1].to_sym
|
225
221
|
links[name] = url
|
226
222
|
end
|
227
223
|
|
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.10.
|
4
|
+
version: 1.10.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:
|
14
|
+
date: 2022-05-06 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
requirements: []
|
105
|
-
rubygems_version: 3.1.
|
105
|
+
rubygems_version: 3.1.6
|
106
106
|
signing_key:
|
107
107
|
specification_version: 4
|
108
108
|
summary: Docker v2 registry HTTP API client
|