Sha256: b2f8289069855d4a632d64ea963a70442e2919316f1eed4fb4d5c93f624c8510

Contents?: true

Size: 652 Bytes

Versions: 2

Compression:

Stored size: 652 Bytes

Contents

# frozen_string_literal: true

require 'rspec/core/rake_task'
require_relative 'app'

RSpec::Core::RakeTask.new do |task|
  task.pattern = 'spec/**/*_spec.rb'
end

desc 'List defined routes'
task :routes do
  Application.routes.map do |method, routes|
    routes.map { |r| r.first.to_s }.map do |route|
      "#{method.rjust(7, ' ')} #{route}"
    end
  end.flatten.sort.each do |route|
    puts route
  end
end

require 'fixturizer/rake/manage'


Fixturizer::Services.configure do |settings|
  settings.configuration_filename = './config/rules.yml'
  settings.log_target = '/tmp/fixturizer.log'
  settings.verbose = (ENV['VERBOSE'])? true : false
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fixturizer-0.4.4 samples/Rakefile
fixturizer-0.4.3 samples/Rakefile