getv 1.6.0 → 1.6.1
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.rb +3 -1
- data/lib/getv/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 853e816de90adcfaac9c59f8b12819af4abf2d12db77bf43c3cc4fd74033ae34
|
4
|
+
data.tar.gz: e99c28ae47b5d735c35d01b4d057d9dff33e67d767d4eab1af0611b3ea8431c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c87577b970b42e41c006f36ecf9ad9b1bec1b21838eb2daecf189502ccd5eda7f659544488f5f8613bd95bf59c939d595b2353a01cdd22890aae47525e012576
|
7
|
+
data.tar.gz: c1227dddae53f9f8352ba70e5a3aa5bd5a157a1dd35e0c5c92803d63aedf1f72e035a301aa3702d8475f9ac4f4837d6557454be30e351dff55c57cf32e8e6129
|
data/lib/getv/package.rb
CHANGED
@@ -108,7 +108,7 @@ module Getv
|
|
108
108
|
RestClient::Request.execute(method: :get, url: url, proxy: opts[:proxy]).body
|
109
109
|
end
|
110
110
|
|
111
|
-
def versions_using_docker # rubocop:disable Metrics/AbcSize
|
111
|
+
def versions_using_docker # rubocop:disable Metrics/AbcSize,Metrics/MethodLength
|
112
112
|
require 'docker_registry2'
|
113
113
|
docker_opts = {}
|
114
114
|
docker_opts[:http_options] = { proxy: opts[:proxy] } unless opts[:proxy].nil?
|
@@ -118,6 +118,8 @@ module Getv
|
|
118
118
|
end
|
119
119
|
docker = DockerRegistry2.connect(opts[:url], docker_opts)
|
120
120
|
docker.tags("#{opts[:owner]}/#{opts[:repo]}")['tags']
|
121
|
+
rescue DockerRegistry2::NotFound
|
122
|
+
[]
|
121
123
|
end
|
122
124
|
|
123
125
|
def versions_using_gem
|
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: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- harbottle
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gli
|
@@ -151,7 +151,7 @@ metadata:
|
|
151
151
|
homepage_uri: https://github.com/liger1978/getv
|
152
152
|
source_code_uri: https://github.com/liger1978/getv
|
153
153
|
changelog_uri: https://github.com/liger1978/getv
|
154
|
-
post_install_message:
|
154
|
+
post_install_message:
|
155
155
|
rdoc_options: []
|
156
156
|
require_paths:
|
157
157
|
- lib
|
@@ -166,8 +166,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
166
|
- !ruby/object:Gem::Version
|
167
167
|
version: '0'
|
168
168
|
requirements: []
|
169
|
-
rubygems_version: 3.2
|
170
|
-
signing_key:
|
169
|
+
rubygems_version: 3.1.2
|
170
|
+
signing_key:
|
171
171
|
specification_version: 4
|
172
172
|
summary: Pull package version numbers from the web in various ways.
|
173
173
|
test_files: []
|