Sha256: c39de750b1203c64b308003679afe2388d52178aebe6f5dfaca95899354b868e
Contents?: true
Size: 761 Bytes
Versions: 2
Compression:
Stored size: 761 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
2 entries across 2 versions & 1 rubygems