Sha256: ae612c1861c1f5b789762fe84ef5ed726442f984e125ea50b891a7606af4c7d0
Contents?: true
Size: 732 Bytes
Versions: 2
Compression:
Stored size: 732 Bytes
Contents
require 'rails/generators' class TestAppGenerator < Rails::Generators::Base source_root File.expand_path("../../../../spec/test_app_templates", __FILE__) # if you need to generate any additional configuration # into the test app, this generator will be run immediately # after setting up the application def generate_blacklight say_status('status', 'GENERATING BLACKLIGHT', :yellow) generate "blacklight:install", "--devise" end def configure_blacklight say_status('status', 'CONFIGURING BLACKLIGHT', :yellow) remove_file 'config/blacklight.yml' copy_file 'blacklight.yml', 'config/blacklight.yml' end def run_access_controls_generator generate 'blacklight:access_controls' end end
Version data entries
2 entries across 2 versions & 1 rubygems