Sha256: 05666663277872409a355e4ee85cc571d1f973f62098b946ad0a97b3b45a513a

Contents?: true

Size: 934 Bytes

Versions: 1

Compression:

Stored size: 934 Bytes

Contents

begin
  require "bundler/setup"
rescue LoadError
  puts "You must `gem install bundler` and `bundle install` to run rake tasks"
end

begin
  require "rdoc/task"
rescue LoadError
  require "rdoc/rdoc"
  require "rake/rdoctask"
  RDoc::Task = Rake::RDocTask
end

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = "rdoc"
  rdoc.title    = "Uuids"
  rdoc.options << "--line-numbers"
  rdoc.rdoc_files.include "README.rdoc"
  rdoc.rdoc_files.include "lib/**/*.rb"
end

Bundler::GemHelper.install_tasks

APP_RAKEFILE = File.expand_path "../spec/dummy/Rakefile", __FILE__
load "rails/tasks/engine.rake"

require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new :spec

task :default do
  system "rake db:migrate RAILS_ENV=test"
  system "bundle exec rspec spec"
end

task :check do
  system "coveralls report"
  system "rubocop"
  system "metric_fu"
  system "inch --pedantic"
  system "rails_best_practices"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
uuids-1.3.0 Rakefile