From ca4fe0f662d21bba211c082af4eb4b1f9004788b Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Fri, 18 May 2018 00:06:05 +1200 Subject: [PATCH] Allow user to invoke append_question! --- lib/async/dns/transaction.rb | 2 -- lib/async/dns/version.rb | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/async/dns/transaction.rb b/lib/async/dns/transaction.rb index 4e51b5e..966cc51 100644 --- a/lib/async/dns/transaction.rb +++ b/lib/async/dns/transaction.rb @@ -190,8 +190,6 @@ def process @server.process(name, @resource_class, self) end - protected - # A typical response to a DNS request includes both the question and response. This helper appends the question unless it looks like the user is already managing that aspect of the response. def append_question! if @response.question.size == 0 diff --git a/lib/async/dns/version.rb b/lib/async/dns/version.rb index 02c92ba..81b1784 100644 --- a/lib/async/dns/version.rb +++ b/lib/async/dns/version.rb @@ -20,6 +20,6 @@ module Async module DNS - VERSION = '1.1.1' + VERSION = '1.2.0' end end