lib/prospectus_dockerhub.rb in prospectus_dockerhub-0.0.5 vs lib/prospectus_dockerhub.rb in prospectus_dockerhub-0.0.6
- old
+ new
@@ -44,10 +44,10 @@
def status
@status ||= html.xpath(STATUS_XPATH).first.text.strip.downcase
end
def html
- @html ||= Nokogiri::HTML(open(url))
+ @html ||= Nokogiri::HTML(open(url)) # rubocop:disable Security/Open
end
def url
"#{base_url}/#{@repo_slug}/builds"
end