lib/generators/importo/importer_generator.rb in importo-2.0.5 vs lib/generators/importo/importer_generator.rb in importo-3.0.9

- old
+ new

@@ -1,7 +1,7 @@ module Importo class ImporterGenerator < Rails::Generators::NamedBase - source_root File.expand_path('../templates', __FILE__) + source_root File.expand_path("templates", __dir__) def copy_initializer_file template "application_importer.rb", "app/importers/application_importer.rb" template "importer.rb", "app/importers/#{file_name}_importer.rb" end