1
0
Fork 0
mirror of https://github.com/varvet/pundit.git synced 2022-11-09 12:30:11 -05:00

Add Rakefile to make Travis happy

This commit is contained in:
Jonas Nicklas 2012-11-19 13:47:38 +01:00
parent 8ce9683cd6
commit 27e7a93c13
2 changed files with 18 additions and 1 deletions

View file

@ -1 +1,16 @@
require "bundler/gem_tasks"
require 'rubygems'
require 'rspec/core/rake_task'
require 'yard'
desc "Run all examples"
RSpec::Core::RakeTask.new(:spec) do |t|
#t.rspec_path = 'bin/rspec'
t.rspec_opts = %w[--color]
end
YARD::Rake::YardocTask.new do |t|
t.files = ['lib/**/*.rb']
#t.options = ['--any', '--extra', '--opts'] # optional
end
task :default => [:spec]

View file

@ -20,4 +20,6 @@ Gem::Specification.new do |gem|
gem.add_dependency "rails", "~>3.0"
gem.add_development_dependency "rspec", "~>2.0"
gem.add_development_dependency "pry"
gem.add_development_dependency "rake"
gem.add_development_dependency "yard"
end