Sha256: 4a2973c9387e2dc57c7e9ad1c419320e55c907814daf7da1b182316053f61fb1
Contents?: true
Size: 516 Bytes
Versions: 2
Compression:
Stored size: 516 Bytes
Contents
# frozen_string_literal: true require "rails/generators" module GeoblacklightAdmin class ExampleDocsGenerator < Rails::Generators::Base source_root File.expand_path("../../../spec/fixtures", __dir__) desc <<-DESCRIPTION This generator makes the following changes to your application: 1. Copies the dir of example solr doc files to host app/solr/geoblacklight/example_docs DESCRIPTION def create_services directory "files", "solr/geoblacklight/example_docs" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
geoblacklight_admin-0.1.0 | lib/generators/geoblacklight_admin/example_docs_generator.rb |
geoblacklight_admin-0.0.1 | lib/generators/geoblacklight_admin/example_docs_generator.rb |