public
Description: Suppresses the noise in your Test::Unit backtraces
Homepage: http://www.thoughtbot.com/projects/quietbacktrace
Clone URL: git://github.com/thoughtbot/quietbacktrace.git
quietbacktrace / Rakefile
100644 35 lines (29 sloc) 1.025 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
30
31
32
33
34
35
require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'date'
 
desc "Run the test suite"
task :default => :test
 
desc 'Test the quietbacktrace gem.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
gem_spec = Gem::Specification.new do |gem_spec|
  gem_spec.name = "quietbacktrace"
  gem_spec.version = "1.1.7"
  gem_spec.summary = "Suppresses the noise in your Test::Unit backtraces."
  gem_spec.email = "support@thoughtbot.com"
  gem_spec.homepage = "http://github.com/thoughtbot/quietbacktrace"
  gem_spec.description = "Silence or filter lines of your backtrace programatically."
  gem_spec.authors = ["thoughtbot, inc.", "Dan Croak", "James Golick",
                          "Mike Burns", "Joe Ferris", "Boston.rb"]
  gem_spec.files = FileList["[A-Z]*", "{lib}/**/*"]
end
 
desc "Generate a gemspec file"
task :gemspec do
  File.open("#{gem_spec.name}.gemspec", 'w') do |f|
    f.write gem_spec.to_yaml
  end
end