class Warclight::Update

Warclight Update generator. This subclasses the Install generator, so this is intended to override behavior in the install generator that can allow the downstream application to choose if they want to take our changes or not and can choose to see a diff of our changes to help them decide.

Public Instance Methods

create_blacklight_catalog() click to toggle source
# File lib/generators/warclight/update_generator.rb, line 14
def create_blacklight_catalog
  copy_file 'catalog_controller.rb', 'app/controllers/catalog_controller.rb'
end
solr_config() click to toggle source
# File lib/generators/warclight/update_generator.rb, line 18
def solr_config
  directory '../../../../solr', 'solr'
end