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:
parent
c47c7e4d3c
commit
bb97a18eae
1
Gemfile
1
Gemfile
@ -41,6 +41,7 @@ group :development do
|
|||||||
gem 'better_errors'
|
gem 'better_errors'
|
||||||
gem "binding_of_caller"
|
gem "binding_of_caller"
|
||||||
gem 'yaml_db'
|
gem 'yaml_db'
|
||||||
|
gem 'letter_opener'
|
||||||
end
|
end
|
||||||
|
|
||||||
group :test, :development do
|
group :test, :development do
|
||||||
|
|||||||
@ -55,6 +55,7 @@ GEM
|
|||||||
rdiscount (~> 1.3)
|
rdiscount (~> 1.3)
|
||||||
wikicloth
|
wikicloth
|
||||||
wikitext (~> 2.0)
|
wikitext (~> 2.0)
|
||||||
|
addressable (2.3.4)
|
||||||
arel (3.0.2)
|
arel (3.0.2)
|
||||||
aws-sdk (1.8.1.1)
|
aws-sdk (1.8.1.1)
|
||||||
json (~> 1.4)
|
json (~> 1.4)
|
||||||
@ -116,6 +117,10 @@ GEM
|
|||||||
railties (>= 3.0, < 5.0)
|
railties (>= 3.0, < 5.0)
|
||||||
thor (>= 0.14, < 2.0)
|
thor (>= 0.14, < 2.0)
|
||||||
json (1.7.7)
|
json (1.7.7)
|
||||||
|
launchy (2.3.0)
|
||||||
|
addressable (~> 2.3)
|
||||||
|
letter_opener (1.1.1)
|
||||||
|
launchy (~> 2.2)
|
||||||
mail (2.5.3)
|
mail (2.5.3)
|
||||||
i18n (>= 0.4.0)
|
i18n (>= 0.4.0)
|
||||||
mime-types (~> 1.16)
|
mime-types (~> 1.16)
|
||||||
@ -242,6 +247,7 @@ DEPENDENCIES
|
|||||||
haml
|
haml
|
||||||
hpricot
|
hpricot
|
||||||
jquery-rails
|
jquery-rails
|
||||||
|
letter_opener
|
||||||
newrelic_rpm
|
newrelic_rpm
|
||||||
paperclip
|
paperclip
|
||||||
pg
|
pg
|
||||||
|
|||||||
@ -28,16 +28,7 @@ DanBarberPhoto::Application.configure do
|
|||||||
# Expands the lines which load the assets
|
# Expands the lines which load the assets
|
||||||
config.assets.debug = true
|
config.assets.debug = true
|
||||||
|
|
||||||
config.action_mailer.delivery_method = :smtp
|
config.action_mailer.delivery_method = :letter_opener
|
||||||
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.default_url_options = { :host => "danbarberphoto.dev" }
|
config.action_mailer.default_url_options = { :host => "danbarberphoto.dev" }
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user