gitlab-net-dns 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +5 -2
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -1
- data/lib/net/dns/resolver.rb +2 -2
- data/lib/net/dns/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: 7252fa3548673ea245bdc6c38a07b10ed922758881c52c4cb474573cf496632c
|
4
|
+
data.tar.gz: 7598048ebeb99e6e52c08ce0f182bbf4484b19ea8dceb2a4eff45a0fdf6259de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 513489ab5947af35ea4c3290b694c1e0bbb99a4bf7124fee3a1d5ffd816cb4fa17b35e345e9445d33752559903a555d4d2619e9429004411e098bdcc1cbbc610
|
7
|
+
data.tar.gz: c31b0927a8c62717b0ffaef61d6eb1c531b815f1477dc00f6fa0c63b08aa03450fe41d2b362ee84ea618efcec5fd7d1ea6304361f130d9e6d66d4373021ceb69
|
data/.gitlab-ci.yml
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
image: "ruby:2.6-alpine"
|
2
1
|
|
3
2
|
cache:
|
4
3
|
paths:
|
@@ -10,11 +9,15 @@ before_script:
|
|
10
9
|
- bundle install --path vendor/ruby
|
11
10
|
|
12
11
|
rubocop:
|
12
|
+
image: "ruby:3.0-alpine"
|
13
13
|
script:
|
14
14
|
- bundle exec rubocop
|
15
15
|
allow_failure: true
|
16
16
|
|
17
17
|
rspec:
|
18
|
+
image: "ruby:${RUBY_VERSION}-alpine"
|
18
19
|
script:
|
19
20
|
- bundle exec rake
|
20
|
-
|
21
|
+
parallel:
|
22
|
+
matrix:
|
23
|
+
- RUBY_VERSION: [ "2.7", "3.0" ]
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## Release 0.9.2
|
4
|
+
|
5
|
+
- FIXED: Fixed TimeoutError deprecation warning (https://gitlab.com/gitlab-org/ruby/gems/gitlab-net-dns/-/merge_requests/4)
|
6
|
+
|
3
7
|
## Release 0.9.1
|
4
8
|
|
5
9
|
- FIXED: Fixed undefined 'size' errors (https://gitlab.com/gitlab-org/gitlab-net-dns/merge_requests/2)
|
data/Gemfile
CHANGED
data/lib/net/dns/resolver.rb
CHANGED
@@ -1163,7 +1163,7 @@ module Net
|
|
1163
1163
|
end
|
1164
1164
|
end
|
1165
1165
|
return [buffer, ["", @config[:port], ns.to_s, ns.to_s]]
|
1166
|
-
rescue
|
1166
|
+
rescue Timeout::Error
|
1167
1167
|
@logger.warn "Nameserver #{ns} not responding within TCP timeout, trying next one"
|
1168
1168
|
next
|
1169
1169
|
ensure
|
@@ -1194,7 +1194,7 @@ module Net
|
|
1194
1194
|
end
|
1195
1195
|
end
|
1196
1196
|
break if ans
|
1197
|
-
rescue
|
1197
|
+
rescue Timeout::Error
|
1198
1198
|
@logger.warn "Nameserver #{ns} not responding within UDP timeout, trying next one"
|
1199
1199
|
next
|
1200
1200
|
end
|
data/lib/net/dns/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-net-dns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marco Ceresa
|
8
8
|
- Simone Carletti
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-04-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mocha
|
@@ -129,7 +129,7 @@ homepage: https://gitlab.com/gitlab-org/gitlab-net-dns
|
|
129
129
|
licenses:
|
130
130
|
- Ruby
|
131
131
|
metadata: {}
|
132
|
-
post_install_message:
|
132
|
+
post_install_message:
|
133
133
|
rdoc_options: []
|
134
134
|
require_paths:
|
135
135
|
- lib
|
@@ -144,8 +144,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
|
-
rubygems_version: 3.
|
148
|
-
signing_key:
|
147
|
+
rubygems_version: 3.4.12
|
148
|
+
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: Pure Ruby DNS library.
|
151
151
|
test_files:
|