Sha256: e25d636deebe0526e35c1ea68dbd1d932f2717556a4337453358f6053c649651

Contents?: true

Size: 915 Bytes

Versions: 4

Compression:

Stored size: 915 Bytes

Contents

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

require 'rdoc/task'

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

APP_RAKEFILE = File.expand_path('spec/dummy/Rakefile', __dir__)
load 'rails/tasks/engine.rake'

Bundler::GemHelper.install_tasks

if %w(development test).include? Rails.env
  require 'rspec/core'
  require 'rspec/core/rake_task'
  RSpec::Core::RakeTask.new

  require 'rubocop/rake_task'
  RuboCop::RakeTask.new

  task(:default).clear
  if ENV['APPRAISAL_INITIALIZED'] || ENV['CI']
    task default: %i(rubocop spec)
  else
    require 'appraisal'
    Appraisal::Task.new
    task default: :appraisal
  end

  task 'db:test:prepare' => 'db:setup'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
journaled-4.1.0 Rakefile
journaled-4.0.0 Rakefile
journaled-3.1.0 Rakefile
journaled-3.0.0 Rakefile