Sha256: b37eb6cc0abe2a8535f1b5d9703a73cfb17ca143b78727b43e6a0970563a3d3d
Contents?: true
Size: 694 Bytes
Versions: 7
Compression:
Stored size: 694 Bytes
Contents
require 'rails/generators' class TestAppGenerator < Rails::Generators::Base source_root File.expand_path("../../../../test_app_templates", __FILE__) def remove_index remove_file "public/index.html" end def run_blacklight_generator say_status("warning", "GENERATING BL", :yellow) if ENV['BLACKLIGHT_VERSION'] == 'github' gem 'blacklight', github: 'projectblacklight/blacklight' elsif ENV['BLACKLIGHT_VERSION'].present? gem 'blacklight', ENV['BLACKLIGHT_VERSION'] end Bundler.with_clean_env do run "bundle update" end generate 'blacklight:install' end def run_oembed_install generate 'blacklight_oembed:install' end end
Version data entries
7 entries across 7 versions & 2 rubygems