Sha256: 8c42da696b7d6b79d5c46d0e6d32ccd4783aa3e26990c5103a5c8c57f3116b8f

Contents?: true

Size: 547 Bytes

Versions: 2

Compression:

Stored size: 547 Bytes

Contents

require 'rails/generators'

class TestAppGenerator < Rails::Generators::Base
  source_root File.expand_path("../../../../test_app_templates", __FILE__)

  def copy_blacklight_test_app_rake_task
    copy_file "lib/tasks/blacklight_test_app.rake"
  end

  def run_blacklight_generator
    say_status("warning", "GENERATING BL", :yellow)       

    generate 'blacklight:install', '--devise'
  end

  def run_blacklight_range_limit_generator
    say_status("warning", "GENERATING BL", :yellow)       

    generate 'blacklight_range_limit'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blacklight_range_limit-5.0.1 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight_range_limit-5.0.0 spec/test_app_templates/lib/generators/test_app_generator.rb