Sha256: e2d4f08c7c3c1db600cf5522e95831c797bc22cf0b3b1e860615961476b62b6b
Contents?: true
Size: 426 Bytes
Versions: 4
Compression:
Stored size: 426 Bytes
Contents
require 'rails/generators' module Indexers module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def create_initializer_file copy_file 'initializer.rb', 'config/initializers/indexers.rb' end def create_configuration_file copy_file 'configuration.yml', 'config/elasticsearch.yml' end end end end
Version data entries
4 entries across 4 versions & 1 rubygems