Sha256: 05b72a0c0ae85ef92e271352fb7cb6f207a01f25c7c4959e40c7474c18ffcbbc
Contents?: true
Size: 762 Bytes
Versions: 5
Compression:
Stored size: 762 Bytes
Contents
# frozen_string_literal: true 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
5 entries across 5 versions & 1 rubygems