no_notifier_needed 2.3.5 → 2.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.3.5
1
+ 2.3.6
@@ -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
- address: 'smtp.gmail.com',
30
- port: 587,
31
- domain: NoNotifierNeeded.domain,
32
- user_name: NoNotifierNeeded.gmail_user_name,
33
- password: NoNotifierNeeded.gmail_password,
34
- authentication: 'login',
35
- enable_starttls_auto: true
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)
@@ -14,8 +14,8 @@ module NoNotifierNeeded
14
14
  :mandrill_port,
15
15
  :current_user_model,
16
16
  :current_user_id_method,
17
- :gmail_password,
18
17
  :gmail_user_name,
18
+ :gmail_password,
19
19
  :domain
20
20
  ].freeze
21
21
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "no_notifier_needed"
8
- s.version = "2.3.5"
8
+ s.version = "2.3.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Robert R. Meyer"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: no_notifier_needed
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.5
4
+ version: 2.3.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: