1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Add letter opener gem.

This commit is contained in:
Dan Barber 2013-06-02 19:41:43 +01:00
parent c47c7e4d3c
commit bb97a18eae
3 changed files with 8 additions and 10 deletions

View File

@ -41,6 +41,7 @@ group :development do
gem 'better_errors'
gem "binding_of_caller"
gem 'yaml_db'
gem 'letter_opener'
end
group :test, :development do

View File

@ -55,6 +55,7 @@ GEM
rdiscount (~> 1.3)
wikicloth
wikitext (~> 2.0)
addressable (2.3.4)
arel (3.0.2)
aws-sdk (1.8.1.1)
json (~> 1.4)
@ -116,6 +117,10 @@ GEM
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.7.7)
launchy (2.3.0)
addressable (~> 2.3)
letter_opener (1.1.1)
launchy (~> 2.2)
mail (2.5.3)
i18n (>= 0.4.0)
mime-types (~> 1.16)
@ -242,6 +247,7 @@ DEPENDENCIES
haml
hpricot
jquery-rails
letter_opener
newrelic_rpm
paperclip
pg

View File

@ -28,16 +28,7 @@ DanBarberPhoto::Application.configure do
# Expands the lines which load the assets
config.assets.debug = true
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "smtp.gmail.com",
:port => 587,
:domain => 'danbee.co.uk',
:user_name => 'webapps@danbee.co.uk',
:password => 'fy-qua-paqu-rhuh-quok-py',
:authentication => 'plain',
:enable_starttls_auto => true
}
config.action_mailer.delivery_method = :letter_opener
config.action_mailer.default_url_options = { :host => "danbarberphoto.dev" }