ddig 0.5.0 → 0.5.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 436345c126c2da37eec4a4b3e53ffa6fb951b8f843194b20f4c58d2fdded7932
4
- data.tar.gz: '092f974b175b6086e4affec4b2df6a59231abcac1e7c78ea2c6a0894fa291d1d'
3
+ metadata.gz: 47e5d653a323aaf9f9cabb52f5937d2b7644fbd162c509a6080b54f0f31d4406
4
+ data.tar.gz: a25eb8730a22793879e3f3f412fd3886a9e44304465636be66b59d1289fe2fde
5
5
  SHA512:
6
- metadata.gz: e68d13faf8b03d62f4da5b6995e8dff1ae21205569af2dfb8c3a4553f7c699ed3b6dd188c412d80785be57c5f75ffc7f0f1aba319492d464a52cdfcfa3f85570
7
- data.tar.gz: 2e00a96f37828eabbd75ba22e18ab6f15b3ef0023d03b52b363fadc48922a96e3d16495bb059d8945b96e550756fa54b0a0ee7c5c49281a125720e39d0d400ef
6
+ metadata.gz: 5e643e8107504579363384cfd8334c4cd23785ce2d36bcbfeaeabd37b4d35e313ff93bc6a321a173601715965a503d9fd71320e522e375196ea98a921ea4e536
7
+ data.tar.gz: af9dbd303ca5eb469f97c0a0dcf3dab53441c0f394ecbc5bc9aec4b44cb8fd5dbb711716ffe327bd5c52c4f900f613ef4331034c172dda2459405a63acf1dd98
@@ -63,6 +63,11 @@ module Ddig
63
63
  end
64
64
 
65
65
  when 'http/1.1', 'h2', 'h3'
66
+ if @protocol == 'h2' || @protocol == 'h3'
67
+ @errors << "#{@protocol} is not supportted protocol"
68
+ return
69
+ end
70
+
66
71
  @resolver = Ddig::Resolver::DohH1.new(hostname: @hostname, server: @address, address: @address, dohpath: @dohpath, port: @port).lookup
67
72
 
68
73
  unless @resolver.nil?
data/lib/ddig/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ddig
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ddig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taketo Takashima