Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (24 sloc) 945 Bytes
require 'spec/rake/spectask'
task :default => :spec
require 'jeweler' do |gemspec| = 'rspec_hpricot_matchers' = 'Kyle Hargraves' = ''
gemspec.summary = "Implementation of have_tag() rspec matcher using Hpricot"
gemspec.description = <<-END
rspec_hpricot_matchers provides an implementation of rspec_on_rails'
have_tag() matcher which does not depend on Rails' assert_select.
Using Hpricot instead, the matcher is available to non-Rails projects,
and enjoys the full flexibility of Hpricot's advanced CSS and XPath
selector support.
# Really, I don't care about rubyforge. Maybe I'll get this
# working some day.
# gemspec.rubyforge_project = 'rspec-hpricot'
rescue LoadError
puts "Jeweler unavailable, packaging tasks can not be run. Install it, thanks."