no_notifier_needed 2.3.5 → 2.3.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/initializers/notifier.rb +9 -8
- data/lib/no_notifier_needed/config.rb +1 -1
- data/no_notifier_needed.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.3.
|
1
|
+
2.3.6
|
data/initializers/notifier.rb
CHANGED
@@ -25,15 +25,16 @@ class Notifier < ActionMailer::Base
|
|
25
25
|
:authentication => 'login' # Mandrill supports 'plain' or 'login'
|
26
26
|
}
|
27
27
|
else
|
28
|
+
pwd = NoNotifierNeeded.gmail_password.first
|
28
29
|
Notifier.smtp_settings = {
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
30
|
+
:address => 'smtp.gmail.com',
|
31
|
+
:port => 587,
|
32
|
+
:domain => NoNotifierNeeded.domain,
|
33
|
+
:user_name => NoNotifierNeeded.gmail_user_name,
|
34
|
+
:password => pwd,
|
35
|
+
:authentication => 'login',
|
36
|
+
:enable_starttls_auto => true
|
37
|
+
}
|
37
38
|
end
|
38
39
|
|
39
40
|
args_to_instance_vars(args)
|
data/no_notifier_needed.gemspec
CHANGED