Sha256: 7a336e7faa4d04e146fe9d3f201591dfed64b1a0b51f6d97415c50b3f921d1a0
Contents?: true
Size: 842 Bytes
Versions: 1
Compression:
Stored size: 842 Bytes
Contents
require 'rails/generators' class TestAppGenerator < Rails::Generators::Base source_root File.expand_path("../../../../support", __FILE__) def run_blacklight_generator say_status("warning", "GENERATING BL", :yellow) generate 'blacklight', '--devise' end def run_hydra_head_generator say_status("warning", "GENERATING HH", :yellow) generate 'hydra:head', '-f' end def run_hydra_head_generator say_status("warning", "GENERATING HH", :yellow) generate 'hydra:head', '-f' end def install_redis_config copy_file "config/redis.yml" end def run_sufia_generator say_status("warning", "GENERATING SUFIA", :yellow) generate 'sufia', '-f' remove_file 'spec/factories/users.rb' end def remove_index_page remove_file 'public/index.html' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sufia-0.0.1.pre2 | spec/support/lib/generators/test_app_generator.rb |