Sha256: ad095ad10753c2892250db1576f72504b8113d5f6d6aed30ee12702d234d31a6

Contents?: true

Size: 1.77 KB

Versions: 12

Compression:

Stored size: 1.77 KB

Contents

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "html_acceptance"
  gem.homepage = "http://github.com/ericbeland/html_acceptance"
  gem.license = "MIT"
  
  gem.summary = %Q{Wrapper for HTMLTidy that lets you accept warnings/errors}
  gem.description = %Q{HTML Acceptance lets you accept warnings/errors.  Less noisey validation will hopefully let you build html validation into your test suite, but break the rules if you must.}  
  gem.email = "ebeland@testomatix.com"
  gem.authors = ["Eric Beland"]
  # Include your dependencies below. Runtime dependencies are required when using your gem,
  # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
  #  gem.add_runtime_dependency 'jabber4r', '> 0.1'
  #  gem.add_development_dependency 'rspec', '> 1.2.3'
  
  gem.requirements << 'HTML Tidy on the command PATH or at /usr/bin/tidy'
end
Jeweler::RubygemsDotOrgTasks.new

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = FileList['spec/**/*_spec.rb']
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "html_acceptance #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
html_acceptance-0.1.19 Rakefile
html_acceptance-0.1.18 Rakefile
html_acceptance-0.1.17 Rakefile
html_acceptance-0.1.16 Rakefile
html_acceptance-0.1.15 Rakefile
html_acceptance-0.1.9 Rakefile
html_acceptance-0.1.8 Rakefile
html_acceptance-0.1.7 Rakefile
html_acceptance-0.1.5 Rakefile
html_acceptance-0.1.4 Rakefile
html_acceptance-0.1.2 Rakefile
html_acceptance-0.1.1 Rakefile