Sha256: 7290ba738a9585c7458a5afef977da6cf34c9ec6dbd5934b76a4f90fa37b79fe

Contents?: true

Size: 392 Bytes

Versions: 5

Compression:

Stored size: 392 Bytes

Contents

require 'rails/generators'

class TestAppGenerator < Rails::Generators::Base
  def add_gems
    gem 'blacklight'
    Bundler.with_clean_env do
      run 'bundle install'
    end
  end

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

    generate 'blacklight:install'
  end

  def run_hierarchy_install
    generate 'blacklight_hierarchy:install'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blacklight-hierarchy-3.0.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-hierarchy-2.0.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-hierarchy-1.1.0 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-hierarchy-1.0.1 spec/test_app_templates/lib/generators/test_app_generator.rb
blacklight-hierarchy-1.0.0 spec/test_app_templates/lib/generators/test_app_generator.rb