Sha256: 371130f3f4ba6d971a6e2e0d07fe29a316fd60869cc58671cb3d0e8cbf715811

Contents?: true

Size: 968 Bytes

Versions: 3

Compression:

Stored size: 968 Bytes

Contents

# frozen_string_literal: true

require 'rubygems'

require 'bundler/gem_tasks'
Bundler::GemHelper.install_tasks

app_rakefile_path = File.expand_path('spec/dummy/Rakefile', __dir__)

if File.exist?(app_rakefile_path)
  APP_RAKEFILE = app_rakefile_path
  load 'rails/tasks/engine.rake'
end

require 'rake'
require 'rdoc/task'

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new
task default: ['db:create', 'db:migrate', 'spec']

Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'PaperTrailManager'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

task :generate_spec_app do
  sh 'rm -rf spec/dummy'
  sh 'rails new spec/dummy --skip-bootsnap --skip-bundle --skip-yarn \
    --skip-git --skip-action-mailer --skip-puma --skip-test --skip-coffee \
    --skip-spring --skip-listen --skip-turbolinks \
    --template=spec/app_template.rb'
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
demingfactor-paper_trail_manager-0.7.3 Rakefile
paper_trail_manager_rails_5-0.7.2 Rakefile
paper_trail_manager_rails_5-0.7.1 Rakefile