Sha256: f1d900a14e91d3762cff0ba445bf8f5131bcccde932ad4a39597641ab43c71fe

Contents?: true

Size: 417 Bytes

Versions: 59

Compression:

Stored size: 417 Bytes

Contents

require 'rails/generators'

class TestAppGenerator < Rails::Generators::Base
  def remove_index 
    remove_file "public/index.html"
  end

  def run_blacklight_generator
    say_status("warning", "GENERATING BL", :yellow)       

    Bundler.with_clean_env do
      run "bundle install"
    end

    generate 'blacklight:install'
  end

  def run_gallery_install
    generate 'blacklight_gallery:install'
  end

end

Version data entries

59 entries across 59 versions & 2 rubygems

Version Path
blacklight-gallery-4.8.3 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.8.2 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.8.1 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.8.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.7.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.6.4 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.6.3 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.6.2 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.6.1 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.6.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.5.4 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.5.3 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.5.2 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.5.1 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.5.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-gallery-4.4.1/spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.4.1 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.4.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.3.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-4.2.0 spec/test_app_templates/lib/generators/test_app_generator.rb