public
Description: Woulda been in Shoulda, but ain't.
Homepage: http://github.com/seanhussey/woulda/tree/master
Clone URL: git://github.com/seanhussey/woulda.git
woulda / Rakefile
100644 29 lines (25 sloc) 0.882 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "woulda"
    s.summary = "woulda is a home for shoulda macros that don't belong in the main shoulda library"
    s.email = ["sean@seanhussey.com", "josh@technicalpickles.com"]
    s.homepage = "http://github.com/seanhussey/woulda"
    s.description = "TODO"
    s.authors = ["Sean Hussey", "Josh Nichols"]
    s.add_dependency "thoughtbot-shoulda", ">= 2.0.0"
    s.rubyforge_project = "woulda"
    s.files = FileList["[A-Z]*", "{shoulda_macros}/**/*", "lib/**/*"]
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
 
desc "Run all tests"
Rake::TestTask.new(:test) do |t|
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
task :default => :test