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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3749874f88fb65100931c4924b9168fd258f1a7a320bfaa9b84606a37ac4f056
4
- data.tar.gz: f73cac933b2bade1e5fd327a7bf48e8019795fc04289aea47c93b814cbad81ed
3
+ metadata.gz: 7252fa3548673ea245bdc6c38a07b10ed922758881c52c4cb474573cf496632c
4
+ data.tar.gz: 7598048ebeb99e6e52c08ce0f182bbf4484b19ea8dceb2a4eff45a0fdf6259de
5
5
  SHA512:
6
- metadata.gz: 345cf18abc31bce77b9344deb47f850a5dedc0a71eaf3482819acf09f939e40e0889ad1b421ca67ac6391e8c9a4b90a5b591a27ce41629a8523ff1971f6b291c
7
- data.tar.gz: 2559487da36a5ebb56299c173897bb49bd517319d07b5cc92b381e57ffc33154beba671e11224476d90f02a8dadbd21c9fd2398be5ab95e2338192710d2c33c3
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
@@ -5,5 +5,5 @@ gemspec
5
5
  gem "minitest"
6
6
  gem "minitest-reporters"
7
7
  gem "rspec"
8
- gem "rubocop", require: false
8
+ gem "rubocop", "0.75.0", require: false
9
9
  gem "rubocop-performance", require: false
@@ -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 TimeoutError
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 TimeoutError
1197
+ rescue Timeout::Error
1198
1198
  @logger.warn "Nameserver #{ns} not responding within UDP timeout, trying next one"
1199
1199
  next
1200
1200
  end
@@ -3,6 +3,6 @@
3
3
  module Net
4
4
  module DNS
5
5
  # The current library version.
6
- VERSION = "0.9.1".freeze
6
+ VERSION = "0.9.2".freeze
7
7
  end
8
8
  end
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.1
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: 2019-10-12 00:00:00.000000000 Z
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.0.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: