litmus_mailer 0.2.0 → 0.3.0
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/README.rdoc +3 -2
- data/VERSION +1 -1
- data/lib/litmus_mailer/mail_observer.rb +1 -1
- data/lib/litmus_mailer/settings.rb +1 -1
- data/litmus_mailer.gemspec +1 -1
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -15,7 +15,7 @@ Now you have no excuse for not knowing what your emails look like.
|
|
15
15
|
In your Gemfile, add
|
16
16
|
|
17
17
|
group :development do
|
18
|
-
gem 'litmus'
|
18
|
+
gem 'litmus'
|
19
19
|
gem 'litmus_mailer'
|
20
20
|
end
|
21
21
|
|
@@ -25,6 +25,7 @@ Now create a file at `app/initializers/litmus_mailer.rb`
|
|
25
25
|
LitmusMailer::Config.subdomain = 'your_litmus_subdomain'
|
26
26
|
LitmusMailer::Config.username = 'your_listmus_username'
|
27
27
|
LitmusMailer::Config.password = 'your_listmus_password'
|
28
|
+
LitmusMailer::Config.ssl = true
|
28
29
|
LitmusMailer::Config.test_name_prefix = 'MyApplication-'
|
29
30
|
end
|
30
31
|
|
@@ -32,7 +33,7 @@ You're done! A new Litmus test will be created for every action of every
|
|
32
33
|
mailer, every time you deliver an email from development.
|
33
34
|
|
34
35
|
== Contributing to litmus_mailer
|
35
|
-
|
36
|
+
|
36
37
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
37
38
|
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
|
38
39
|
* Fork the project
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
@@ -3,7 +3,7 @@ module LitmusMailer
|
|
3
3
|
class << self
|
4
4
|
|
5
5
|
def delivered_email(mail)
|
6
|
-
Litmus::Base.new( Config.subdomain, Config.username, Config.password)
|
6
|
+
Litmus::Base.new( Config.subdomain, Config.username, Config.password, Config.ssl )
|
7
7
|
|
8
8
|
# We can't add new versions through the API, and smtp settings are
|
9
9
|
# rarely useable in development environments. For now, let's just
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module LitmusMailer
|
2
2
|
class Config
|
3
3
|
class << self
|
4
|
-
attr_accessor :subdomain, :username, :password, :test_name_prefix
|
4
|
+
attr_accessor :subdomain, :username, :password, :test_name_prefix, :ssl
|
5
5
|
LitmusMailer::Config.test_name_prefix = Rails.application.class.parent
|
6
6
|
end
|
7
7
|
end
|
data/litmus_mailer.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: litmus_mailer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -128,7 +128,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
128
128
|
version: '0'
|
129
129
|
segments:
|
130
130
|
- 0
|
131
|
-
hash:
|
131
|
+
hash: 1916697199128441194
|
132
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
133
|
none: false
|
134
134
|
requirements:
|