Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (29 sloc) 979 Bytes
# encoding: utf-8
require 'rubygems'
require 'rake'
require 'jeweler'
task :default => :test
desc 'Run tests'
task :test do
files = ["spec/unit/handler_spec.rb",
"spec/unit/parser_spec.rb",
"spec/unit/configuration_spec.rb",
"spec/integration/rails_exception_handler_spec.rb",
"spec/integration/configuration_spec.rb"
]
system "bundle exec rspec #{files.join(' ')}"
end
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = "rails_exception_handler"
gem.homepage = "http://github.com/Sharagoz/rails_exception_handler"
gem.license = "MIT"
gem.summary = %Q{Exception Handling for Rails 3}
gem.description = %Q{}
gem.email = "contact@sharagoz.com"
gem.authors = ["Sharagoz"]
gem.extra_rdoc_files = ['README.markdown']
gem.require_paths = ["lib"]
# dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new