Skip to content

Commit

Permalink
Merge pull request #123 from parkr/patch-1
Browse files Browse the repository at this point in the history
Add a version file
  • Loading branch information
gjtorikian committed Oct 29, 2014
2 parents 0ab3c58 + 625ee4c commit c30c183
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
3 changes: 2 additions & 1 deletion html-proofer.gemspec
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require 'html/proofer/version'

Gem::Specification.new do |gem|
gem.name = "html-proofer"
gem.version = "1.4.0"
gem.version = HTML::Proofer::VERSION
gem.authors = ["Garen Torikian"]
gem.email = ["gjtorikian@gmail.com"]
gem.description = %q{Test your rendered HTML files to make sure they're accurate.}
Expand Down
9 changes: 5 additions & 4 deletions lib/html/proofer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
require "awesome_print"
rescue LoadError; end

[
'checkable',
'checks',
'issue'
%w[
checkable
checks
issue
version
].each { |r| require File.join(File.dirname(__FILE__), "proofer", r) }

module HTML
Expand Down
5 changes: 5 additions & 0 deletions lib/html/proofer/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module HTML
class Proofer
VERSION = "1.4.0"
end
end

0 comments on commit c30c183

Please sign in to comment.