getv 2.2.0 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/getv/package/docker.rb +2 -2
- data/lib/getv/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: 49aa8b3fcba8807f3c2f3a2293aaa55c8ca6e90b38855793fda814b66d679cf9
|
4
|
+
data.tar.gz: 7c8af95d73dd5a71febd3e6492c84bb24a4652ec87974f6557439be572eded4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d92225e9fe417b80a5e25258f28e9f0c37d7fcac47d6f0f7e68536b76dad83058231d2c9163e762c1920ead4b51b632e29963b22672e4932dc16ed44acf38bcd
|
7
|
+
data.tar.gz: 3ba925a1e820db86aa4f7673fcba59c2e414edee80aaa238549fd8d9378ddb7392ff2a24447315b18c7289826ae5d128ea1dd0393ade0016eb9adf3398914e09
|
data/lib/getv/package/docker.rb
CHANGED
@@ -6,7 +6,7 @@ module Getv
|
|
6
6
|
class Docker < Package
|
7
7
|
def initialize(name, opts = {})
|
8
8
|
opts = defaults.merge(opts)
|
9
|
-
opts = { user: nil, password: nil }.merge(opts)
|
9
|
+
opts = { user: nil, password: nil, auto_paginate: true }.merge(opts)
|
10
10
|
opts = docker_defaults(name).merge(opts)
|
11
11
|
super name, opts
|
12
12
|
end
|
@@ -40,7 +40,7 @@ module Getv
|
|
40
40
|
require 'docker_registry2'
|
41
41
|
retries ||= 0
|
42
42
|
docker = DockerRegistry2.connect(opts[:url], docker_opts)
|
43
|
-
docker.tags("#{opts[:owner]}/#{opts[:repo]}")['tags'] || []
|
43
|
+
docker.tags("#{opts[:owner]}/#{opts[:repo]}", auto_paginate: opts[:auto_paginate])['tags'] || []
|
44
44
|
rescue DockerRegistry2::NotFound
|
45
45
|
[]
|
46
46
|
rescue StandardError => e
|
data/lib/getv/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: getv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- harbottle
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gli
|