doh_client 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/doh_client/server.rb +3 -3
- data/lib/doh_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acfbac85a8cd2afab9b179a9e026eced2f7af92cd193d559c1b3321e860348c8
|
4
|
+
data.tar.gz: 1ccbec4bc38a37546b51bf2f23444e726b49aa174e18aa3c205620e5ed1b0df7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a090878e7a7605945e5e2fef7a780d61669176ddb2a102bd5aa8a5d95941a86342565d1818a1567f9ba6912665d3dbc8bfcb93cee524aca47d5504ba90c79bb
|
7
|
+
data.tar.gz: 53046218f014d59499266e6c5ab80f78e4908de2447b852572572b485c14b336e08d200698ec13ab04992b6b6903cae782a6e89f24268b9fb646645b5b91afc8
|
data/lib/doh_client/server.rb
CHANGED
@@ -5,9 +5,9 @@ require 'async/dns'
|
|
5
5
|
module DoHClient
|
6
6
|
class Server < Async::DNS::Server
|
7
7
|
attr_reader :client
|
8
|
-
def initialize(resolver)
|
9
|
-
super
|
10
|
-
@client = resolver
|
8
|
+
def initialize(endpoints, resolver = DoHClient::Client::Google)
|
9
|
+
super(endpoints)
|
10
|
+
@client = resolver
|
11
11
|
end
|
12
12
|
|
13
13
|
def process(name, resource_class, transaction)
|
data/lib/doh_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: doh_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manabu Niseki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-rspec
|