lib/generic_app.rb in generic_app-3.0.12 vs lib/generic_app.rb in generic_app-3.0.13
- old
+ new
@@ -1,6 +1,6 @@
-URL_TEMPLATE = 'https://github.com/jhsu802701/rails-20180118-025416-206.git'.freeze
+URL_TEMPLATE = 'https://github.com/jhsu802701/rails-20180126-180222-775.git'.freeze
require 'generic_app/version'
require 'string_in_file'
require 'line_containing'
require 'remove_double_blank'
@@ -70,9 +70,35 @@
array_files << "#{subdir_name}/app/views/layouts/_header.html.erb"
array_files << "#{subdir_name}/app/views/layouts/_footer.html.erb"
array_files << "#{subdir_name}/app/views/static_pages/home.html.erb"
array_files << "#{subdir_name}/test/helpers/application_helper_test.rb"
array_files << "#{subdir_name}/test/integration/static_pages_test.rb"
+
+ array_files << "#{subdir_name}/app/views/admins/mailer/confirmation_instructions.html.erb"
+ array_files << "#{subdir_name}/app/views/admins/mailer/email_changed.html.erb"
+ array_files << "#{subdir_name}/app/views/admins/mailer/unlock_instructions.html.erb"
+ array_files << "#{subdir_name}/app/views/admins/mailer/reset_password_instructions.html.erb"
+ array_files << "#{subdir_name}/app/views/admins/mailer/password_change.html.erb"
+
+ array_files << "#{subdir_name}/app/views/users/mailer/confirmation_instructions.html.erb"
+ array_files << "#{subdir_name}/app/views/users/mailer/email_changed.html.erb"
+ array_files << "#{subdir_name}/app/views/users/mailer/unlock_instructions.html.erb"
+ array_files << "#{subdir_name}/app/views/users/mailer/reset_password_instructions.html.erb"
+ array_files << "#{subdir_name}/app/views/users/mailer/password_change.html.erb"
+
+ array_files << "#{subdir_name}/config/locales/devise.en.yml"
+
+ array_files << "#{subdir_name}/test/integration/user_resend_conf_test.rb"
+ array_files << "#{subdir_name}/test/integration/user_password_reset_test.rb"
+ array_files << "#{subdir_name}/test/integration/user_login_test.rb"
+ array_files << "#{subdir_name}/test/integration/user_lock_test.rb"
+ array_files << "#{subdir_name}/test/integration/user_edit_test.rb"
+
+ array_files << "#{subdir_name}/test/integration/admin_resend_conf_test.rb"
+ array_files << "#{subdir_name}/test/integration/admin_password_reset_test.rb"
+ array_files << "#{subdir_name}/test/integration/admin_lock_test.rb"
+ array_files << "#{subdir_name}/test/integration/admin_edit_test.rb"
+
array_files.each do |f|
StringInFile.replace('Generic App Template', title, f)
StringInFile.replace('GENERIC APP TEMPLATE', title, f)
end