Skip to content

Commit

Permalink
💎 bump to 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed Sep 8, 2015
1 parent 31f4e27 commit 94b6af7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions lib/html/proofer/cache.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module HTML
class Proofer
module Cache
def create_nokogiri(path)
if File.exist? path
content = File.open(path).read
else
content = path
end

Nokogiri::HTML(content)
end
module_function :create_nokogiri
end
end
end
2 changes: 1 addition & 1 deletion lib/html/proofer/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module HTML
class Proofer
VERSION = '2.4.2'
VERSION = '2.5.0'
end
end

0 comments on commit 94b6af7

Please sign in to comment.