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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98a04bab50075d670df75705579e743dcfa11f8348333ff05071294355303860
4
- data.tar.gz: e55cc07d8d7167176f3557a1eecf8f99f9c6f6908922fbf4901d97dd10951d70
3
+ metadata.gz: 853e816de90adcfaac9c59f8b12819af4abf2d12db77bf43c3cc4fd74033ae34
4
+ data.tar.gz: e99c28ae47b5d735c35d01b4d057d9dff33e67d767d4eab1af0611b3ea8431c4
5
5
  SHA512:
6
- metadata.gz: 5b93e911ecd136a22555e97fcd0c62986a862adc4809b37a5c1cd1d047a8bdfd1f663fb7159548b2d4bb3f9558fcd9643831e4b91791b696a90313aa81af8388
7
- data.tar.gz: 0a3a86b63ff5250f3b07bd419d5ecbafca05fe0f63384e12178675411d9ab0fb25f4c56a614d39cb34058d967b09b4b6414ef277a05e565930cc36e7f0bc440a
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Getv
4
- VERSION = '1.6.0'
4
+ VERSION = '1.6.1'
5
5
  end
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.0
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-30 00:00:00.000000000 Z
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.22
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: []