Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
62 lines (52 sloc) 1.73 KB
require 'rubygems'
require 'bundler'
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'rake'
require 'jeweler'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = "matchstick"
gem.homepage = "http://github.com/kdaigle/matchstick"
gem.license = "MIT"
gem.summary = %Q{A simple framework for communicating with 37signals' Campfire API.}
gem.description = %Q{A simple framework for communicating with 37signals' Campfire API. Currently still a work in progress.}
gem.email = "kyle@digitalworkbox.com"
gem.authors = ["Kyle Daigle"]
# Include your dependencies below. Runtime dependencies are required when using your gem,
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
gem.add_runtime_dependency 'rest-client', '~>1.6.1'
# gem.add_development_dependency 'rspec', '> 1.2.3'
end
Jeweler::RubygemsDotOrgTasks.new
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/*_test.rb'
test.verbose = true
end
require 'cover_me'
namespace :cover_me do
desc "Run the cover_me rport"
task :report do
require 'cover_me'
CoverMe.complete!
end
end
task :test do
Rake::Task['cover_me:report'].invoke
end
task :default => :test
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "matchstick #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
Something went wrong with that request. Please try again.