Sha256: f1d900a14e91d3762cff0ba445bf8f5131bcccde932ad4a39597641ab43c71fe

Contents?: true

Size: 417 Bytes

Versions: 51

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

51 entries across 51 versions & 2 rubygems

Version Path
blacklight-gallery-3.2.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-3.1.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-3.0.4 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-3.0.3 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-3.0.2 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-3.0.1 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-3.0.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-2.1.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-2.0.2 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-2.0.1 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-2.0.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-1.7.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-1.6.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-1.5.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-1.4.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-1.3.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-1.2.1 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-1.2.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-1.1.1 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-gallery-1.1.0 spec/test_app_templates/lib/generators/test_app_generator.rb