lib/generators/titler/install/install_generator.rb in titler-1.2.0 vs lib/generators/titler/install/install_generator.rb in titler-1.3.0

- old
+ new

@@ -1,19 +1,19 @@ -require 'rails/generators/base' +require "rails/generators/base" module Titler module Generators class InstallGenerator < Rails::Generators::Base - source_root File.expand_path('../templates', __FILE__) + source_root File.expand_path("../templates", __FILE__) desc "Creates Titler initializer and i18n for your application" def copy_initializer - template 'titler.rb', 'config/initializers/titler.rb' + template "titler.rb", "config/initializers/titler.rb" puts "Initializer install complete." end def copy_i18n - template 'titler.en.yml', 'config/locales/titler.en.yml' + template "titler.en.yml", "config/locales/titler.en.yml" puts "Localization install complete." end end end end