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 'delayed_job_active_record'
|
||||
gem 'puma'
|
||||
gem 'postmark-rails'
|
||||
group :development do
|
||||
|
||||
#gem 'bullet'
|
||||
|
||||
@@ -91,6 +91,12 @@ GEM
|
||||
passenger (5.0.7)
|
||||
rack
|
||||
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)
|
||||
rack (>= 1.1, < 2.0)
|
||||
rack (1.6.4)
|
||||
@@ -174,6 +180,7 @@ DEPENDENCIES
|
||||
mysql2
|
||||
newrelic_rpm
|
||||
passenger
|
||||
postmark-rails
|
||||
puma
|
||||
rails (= 4.2.5)
|
||||
rails_12factor
|
||||
|
||||
@@ -6,7 +6,7 @@ module GeneratesTournamentMatches
|
||||
end
|
||||
if Rails.env.production?
|
||||
handle_asynchronously :generateMatchups
|
||||
end
|
||||
end
|
||||
|
||||
def poolToBracket
|
||||
resetSchoolScores
|
||||
|
||||
@@ -26,7 +26,11 @@ module Wrestling
|
||||
config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
|
||||
#gzip assets
|
||||
config.middleware.use Rack::Deflater
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user