public
Description: Utility for inlining unit tests with the code under test.
Homepage: http://projects.gregweber.info/quicktest.html
Clone URL: git://github.com/gregwebs/quicktest.git
Click here to lend your support to: quicktest and make a donation at www.pledgie.com !
quicktest / quicktest.gemspec.rb
100644 26 lines (22 sloc) 0.85 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
$gem_specification = Gem::Specification.new do |s|
  s.name = 'quicktest'
  s.rubyforge_project = 'quicktest'
  s.version = "0.6.2"
  s.author = "Greg Weber"
  s.homepage = 'http://gregweber.info/projects/quicktest.html'
  s.platform = Gem::Platform::RUBY
  s.summary = "utility for inlining tests with the code tested"
  s.executables = ['quickspec']
  s.files = FileList.new('./**', '*/**') do |fl|
             fl.exclude('pkg','pkg/*','tmp','tmp/*')
           end
  s.require_path = "lib"
  s.has_rdoc = true
  s.extra_rdoc_files = ["README"]
  s.add_dependency('rspec', '>= 1.0.0')
  s.post_install_message = <<-EOS
 
spec and quickspec are ruby executable scripts, whose directory location must be in your PATH environment variable (or you must invoke the with the full file path).
 
run tests with
quickspec [file1 file2 ...]
 
EOS
end