Sha256: 372afee6ba57d911d8f957f9c9669256e0143c93863d8587f3e586d1384cd3a1

Contents?: true

Size: 518 Bytes

Versions: 2

Compression:

Stored size: 518 Bytes

Contents

require 'bundler/setup'
require 'rubocop/rake_task'
require 'rspec/core/rake_task'
require 'rom/sql/rake_task'

ENV['LOTUS_ENV'] = 'test'

RSpec::Core::RakeTask.new(:spec) do |t|
  t.rspec_opts = '-r ./spec/spec_helper'
  t.pattern = 'spec/dummy/spec/**/*_spec.rb'
end

task default: %w(spec)

RuboCop::RakeTask.new do |task|
  task.options << '--display-cop-names'
end

namespace :db do
  task :setup do
    require './spec/dummy/config/environment'
    Lotus::Application.preload!
    Lotus::Container.new
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rom-lotus-0.1.0 Rakefile
rom-lotus-0.0.1 Rakefile