Remove deprecated Kernel#quietly calls

This commit is contained in:
Thibaut 2014-12-28 13:27:04 -05:00
parent 9d47e02cf1
commit e0556365a8
3 changed files with 3 additions and 3 deletions

View file

@ -68,7 +68,7 @@ module Docs
def parse_html(html)
warn "#{self.class.name} is re-parsing the document" unless ENV['RACK_ENV'] == 'test'
quietly { super }
super
end
end
end

View file

@ -5,7 +5,7 @@ module Docs
end
def html
@html ||= quietly { document? ? parse_as_document : parse_as_fragment }
@html ||= document? ? parse_as_document : parse_as_fragment
end
private

View file

@ -138,7 +138,7 @@ module Docs
def process_response(response)
data = {}
quietly { pipeline.call(parse(response.body), pipeline_context(response), data) }
pipeline.call(parse(response.body), pipeline_context(response), data)
data
end