Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Copy template to lib/override_recipient_smtp.rb #112

Merged
merged 1 commit into from

1 participant

@croaky
Owner

It needs to be available to the configuration set up in d3d6e5f.

@croaky croaky Copy template to lib/override_recipient_smtp.rb
It needs to be available to the configuration.
bc58793
@croaky croaky merged commit bc58793 into master

1 check was pending

Details default The Travis build is in progress
@croaky
Owner

Merged but looking like this will get merged into the Mail gem: mikel/mail#423

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 24, 2012
  1. @croaky

    Copy template to lib/override_recipient_smtp.rb

    croaky authored
    It needs to be available to the configuration.
This page is out of date. Refresh to see the latest.
View
4 lib/suspenders/app_builder.rb
@@ -229,6 +229,10 @@ def create_github_repo(repo_name)
run "#{path_addition} hub create #{repo_name}"
end
+ def copy_libraries
+ copy_file 'override_recipient_smtp.rb', 'lib/override_recipient_smtp.rb'
+ end
+
def copy_miscellaneous_files
copy_file 'errors.rb', 'config/initializers/errors.rb'
end
View
6 lib/suspenders/generators/app_generator.rb
@@ -38,6 +38,7 @@ def suspenders_customization
invoke :setup_database
invoke :configure_app
invoke :setup_stylesheets
+ invoke :copy_libraries
invoke :copy_miscellaneous_files
invoke :customize_error_pages
invoke :remove_routes_comment_lines
@@ -178,6 +179,11 @@ def init_git
build :init_git
end
+ def copy_libraries
+ say 'Copying libraries'
+ build :copy_libraries
+ end
+
def copy_miscellaneous_files
say 'Copying miscellaneous support files'
build :copy_miscellaneous_files
Something went wrong with that request. Please try again.