mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Smtp now using postmark
This commit is contained in:
1
Gemfile
1
Gemfile
@@ -54,6 +54,7 @@ gem 'spring', :group => :development
|
|||||||
gem 'rb-readline'
|
gem 'rb-readline'
|
||||||
gem 'delayed_job_active_record'
|
gem 'delayed_job_active_record'
|
||||||
gem 'puma'
|
gem 'puma'
|
||||||
|
gem 'postmark-rails'
|
||||||
group :development do
|
group :development do
|
||||||
|
|
||||||
#gem 'bullet'
|
#gem 'bullet'
|
||||||
|
|||||||
@@ -91,6 +91,12 @@ GEM
|
|||||||
passenger (5.0.7)
|
passenger (5.0.7)
|
||||||
rack
|
rack
|
||||||
rake (>= 0.8.1)
|
rake (>= 0.8.1)
|
||||||
|
postmark (1.7.0)
|
||||||
|
json
|
||||||
|
rake
|
||||||
|
postmark-rails (0.12.0)
|
||||||
|
actionmailer (>= 3.0.0)
|
||||||
|
postmark (~> 1.7.0)
|
||||||
puma (2.11.2)
|
puma (2.11.2)
|
||||||
rack (>= 1.1, < 2.0)
|
rack (>= 1.1, < 2.0)
|
||||||
rack (1.6.4)
|
rack (1.6.4)
|
||||||
@@ -174,6 +180,7 @@ DEPENDENCIES
|
|||||||
mysql2
|
mysql2
|
||||||
newrelic_rpm
|
newrelic_rpm
|
||||||
passenger
|
passenger
|
||||||
|
postmark-rails
|
||||||
puma
|
puma
|
||||||
rails (= 4.2.5)
|
rails (= 4.2.5)
|
||||||
rails_12factor
|
rails_12factor
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ module GeneratesTournamentMatches
|
|||||||
end
|
end
|
||||||
if Rails.env.production?
|
if Rails.env.production?
|
||||||
handle_asynchronously :generateMatchups
|
handle_asynchronously :generateMatchups
|
||||||
end
|
end
|
||||||
|
|
||||||
def poolToBracket
|
def poolToBracket
|
||||||
resetSchoolScores
|
resetSchoolScores
|
||||||
|
|||||||
@@ -26,7 +26,11 @@ module Wrestling
|
|||||||
config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
|
config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
|
||||||
#gzip assets
|
#gzip assets
|
||||||
config.middleware.use Rack::Deflater
|
config.middleware.use Rack::Deflater
|
||||||
|
|
||||||
config.active_job.queue_adapter = :delayed_job
|
config.active_job.queue_adapter = :delayed_job
|
||||||
|
|
||||||
|
config.action_mailer.delivery_method = :postmark
|
||||||
|
config.action_mailer.postmark_settings = { :api_token => ENV['POSTMARK_API_TOKEN'] }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user