Skip to content

Commit

Permalink
Allow user to invoke append_question!
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed May 17, 2018
1 parent ae61856 commit ca4fe0f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions lib/async/dns/transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/async/dns/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@

module Async
module DNS
VERSION = '1.1.1'
VERSION = '1.2.0'
end
end

0 comments on commit ca4fe0f

Please sign in to comment.