Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (16 sloc) 0.469 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
require 'rdoc/task'
require 'rubygems'
require 'rubygems/package_task'
require 'rspec/core/rake_task'

desc 'Default: run specs.'
task :default => :rspec

desc 'Run the specs'
RSpec::Core::RakeTask.new(:rspec) do |t|
  t.rspec_opts = ['--color']
  t.pattern = './spec/**/*_spec.rb'
end

spec = Gem::Specification.load("#{File.dirname(__FILE__)}/activerecord-reputation-system.gemspec")

desc "Package gem."
Gem::PackageTask.new(spec) do |pkg|
  pkg.gem_spec = spec
end
Something went wrong with that request. Please try again.