Sha256: fa3ac3cc2a158c674c1a4bb951d487cbb8a068efdd2ed346a40f496a78fd70a4

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

# sinatra-rspec

%W{rake rake/testtask rake/rdoctask rcov/rcovtask}.each{|x| require x}
 
begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "decoct"
    s.summary = "Its a simple gem which creates a project structure for sinatra to work with rspec, ZenTest, Snarl(on Windows), RedGreen, Rcov"
    s.email = "anuj@andhapp.com"
    s.homepage = "http://github.com/andhapp/decoct"
    s.description = "Sinatra Rspec project generator"
    s.authors = ["Anuj Dutta"]
    s.add_dependency 'rspec'
    s.add_dependency 'ZenTest'
    s.add_dependency 'ruby-snarl'
    s.add_dependency 'redgreen'
    s.add_dependency 'rcov'
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
 
Rake::TestTask.new do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end
 
Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'Jeweler'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end
 
Rcov::RcovTask.new do |t|
  t.libs << "test"
  t.test_files = FileList['test/*_test.rb']
  t.verbose = true
end
 
task :default => :rcov

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
andhapp-decoct-1.0.0 Rakefile