resolv 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +6 -0
- data/.github/workflows/test.yml +3 -4
- data/Rakefile +7 -0
- data/lib/resolv.rb +2 -2
- data/resolv.gemspec +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: be8cc01e584a5861d458d566337d00aeafab62860c2170612c1df385df352f0d
|
|
4
|
+
data.tar.gz: 4810a106bcf7e982c68c9e8a6a1ff19a5614deacbdabd6859b0d2078fba48c0d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a8d2b5467bc3af582454742074a91f2d43dbeac233cf33c299541e8c208ff0ef31abe694e7d8b70d6aaf14793df90c7e6fbf976ddc3a989d627f12d59d7c1a7
|
|
7
|
+
data.tar.gz: 2898499c18aae2c0f5700084e82cff594c60920e6d5a3782470e18a3001d101d602810b5aa423067be46099d05f144bf508c0d18ce5c7ef566c3f038906e3823
|
data/.github/workflows/test.yml
CHANGED
|
@@ -11,12 +11,11 @@ jobs:
|
|
|
11
11
|
os: [ ubuntu-latest, macos-latest ]
|
|
12
12
|
runs-on: ${{ matrix.os }}
|
|
13
13
|
steps:
|
|
14
|
-
- uses: actions/checkout@
|
|
14
|
+
- uses: actions/checkout@v3
|
|
15
15
|
- name: Set up Ruby
|
|
16
16
|
uses: ruby/setup-ruby@v1
|
|
17
17
|
with:
|
|
18
18
|
ruby-version: ${{ matrix.ruby }}
|
|
19
|
-
|
|
20
|
-
run: bundle install
|
|
19
|
+
bundler-cache: true
|
|
21
20
|
- name: Run test
|
|
22
|
-
run: rake test
|
|
21
|
+
run: bundle exec rake test
|
data/Rakefile
CHANGED
|
@@ -7,4 +7,11 @@ Rake::TestTask.new(:test) do |t|
|
|
|
7
7
|
t.test_files = FileList["test/**/test_*.rb"]
|
|
8
8
|
end
|
|
9
9
|
|
|
10
|
+
task :sync_tool do
|
|
11
|
+
require 'fileutils'
|
|
12
|
+
FileUtils.cp "../ruby/tool/lib/core_assertions.rb", "./test/lib"
|
|
13
|
+
FileUtils.cp "../ruby/tool/lib/envutil.rb", "./test/lib"
|
|
14
|
+
FileUtils.cp "../ruby/tool/lib/find_executable.rb", "./test/lib"
|
|
15
|
+
end
|
|
16
|
+
|
|
10
17
|
task :default => :test
|
data/lib/resolv.rb
CHANGED
|
@@ -2464,7 +2464,7 @@ class Resolv
|
|
|
2464
2464
|
Regex_8HexLinkLocal = /\A
|
|
2465
2465
|
[Ff][Ee]80
|
|
2466
2466
|
(?::[0-9A-Fa-f]{1,4}){7}
|
|
2467
|
-
%[0-9A-Za-z]+
|
|
2467
|
+
%[-0-9A-Za-z._~]+
|
|
2468
2468
|
\z/x
|
|
2469
2469
|
|
|
2470
2470
|
##
|
|
@@ -2478,7 +2478,7 @@ class Resolv
|
|
|
2478
2478
|
|
|
|
2479
2479
|
:((?:[0-9A-Fa-f]{1,4}(?::[0-9A-Fa-f]{1,4})*)?)
|
|
2480
2480
|
)?
|
|
2481
|
-
:[0-9A-Fa-f]{1,4}%[0-9A-Za-z.]+
|
|
2481
|
+
:[0-9A-Fa-f]{1,4}%[-0-9A-Za-z._~]+
|
|
2482
2482
|
\z/x
|
|
2483
2483
|
|
|
2484
2484
|
##
|
data/resolv.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: resolv
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tanaka Akira
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-12-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Thread-aware DNS resolver library in Ruby.
|
|
14
14
|
email:
|
|
@@ -17,6 +17,7 @@ executables: []
|
|
|
17
17
|
extensions: []
|
|
18
18
|
extra_rdoc_files: []
|
|
19
19
|
files:
|
|
20
|
+
- ".github/dependabot.yml"
|
|
20
21
|
- ".github/workflows/test.yml"
|
|
21
22
|
- ".gitignore"
|
|
22
23
|
- Gemfile
|
|
@@ -49,7 +50,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
49
50
|
- !ruby/object:Gem::Version
|
|
50
51
|
version: '0'
|
|
51
52
|
requirements: []
|
|
52
|
-
rubygems_version: 3.
|
|
53
|
+
rubygems_version: 3.4.0.dev
|
|
53
54
|
signing_key:
|
|
54
55
|
specification_version: 4
|
|
55
56
|
summary: Thread-aware DNS resolver library in Ruby.
|