6 Jeweler::Tasks.new do |gem|
8 gem.summary = %Q{TODO: one-line summary of your gem}
9 gem.description = %Q{TODO: longer description of your gem}
10 gem.email = "kazu.dev@gmail.com"
11 gem.homepage = "http://github.com/ktlacaelel/cobalt"
12 gem.authors = ["kazuyoshi tlacaelel"]
13 gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
14 # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16 Jeweler::GemcutterTasks.new
18 puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
21 require 'rake/testtask'
22 Rake::TestTask.new(:test) do |test|
23 test.libs << 'lib' << 'test'
24 test.pattern = 'test/**/test_*.rb'
29 require 'rcov/rcovtask'
30 Rcov::RcovTask.new do |test|
32 test.pattern = 'test/**/test_*.rb'
37 abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
41 task :test => :check_dependencies
43 task :default => :test
45 require 'rake/rdoctask'
46 Rake::RDocTask.new do |rdoc|
47 version = File.exist?('VERSION') ? File.read('VERSION') : ""
49 rdoc.rdoc_dir = 'rdoc'
50 rdoc.title = "cobalt #{version}"
51 rdoc.rdoc_files.include('README*')
52 rdoc.rdoc_files.include('lib/**/*.rb')