lib/generators/spotlight/install_generator.rb in blacklight-spotlight-0.3.1 vs lib/generators/spotlight/install_generator.rb in blacklight-spotlight-0.4.1

- old
+ new

@@ -63,12 +63,16 @@ else say "Unable to find SolrDocument class; add `include #{options[:solr_update_class]}` to the class manually" end end + def add_example_catalog_controller + copy_file "catalog_controller.rb", "app/controllers/catalog_controller.rb" + end + def add_osd_viewer - gem 'blacklight-gallery' + gem 'blacklight-gallery', ">= 0.3.0" generate 'blacklight_gallery:install' end def add_oembed gem 'blacklight-oembed' @@ -88,8 +92,13 @@ end def generate_social_share_button_initializer gem 'social-share-button' directory 'config' + end + + def add_solr_config_resources + copy_file "jetty.rake", "lib/tasks/jetty.rake" + directory "solr_conf" end end end