Sha256: bf3b8f42c86f2d55f7f0c32f334d73aec959c88290c40436f33b31c3d314b0ad

Contents?: true

Size: 992 Bytes

Versions: 2

Compression:

Stored size: 992 Bytes

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

Rake::TestTask.new do |t|
  t.libs << "test"
  t.test_files = FileList['test/shoulda/cli_test.rb', 'test/unit/cli_test.rb']
  t.verbose = true
end

begin
  require 'jeweler'
  gemspec = Gem::Specification.new do |s|

    s.name = "clicase"
    s.summary = "Macros for testing Ruby command line apps with Shoulda or Test::Unit."
    s.email = "afurmanov@rushpost.com"
    s.homepage = "http://github.com/afurmanov/clicase"
    s.description = <<END
CliCase extends TestCase with macros simplifying testing command line apps written in Ruby. These macros allow
to specify command line entry point, run command line and assert execution results. Works with Test::Unit or with Shoulda.
END
    s.authors = ["Aleksandr Furmanov"]
    s.test_files = ['test/shoulda/cli_test.rb', 'test/unit/cli_test.rb']
  end
  Jeweler::Tasks.new gemspec
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install jeweler"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
afurmanov-clicase-0.1.6 Rakefile
afurmanov-clicase-0.1.7 Rakefile