rails_email_preview 0.0.5 → 0.0.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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/views/rails_email_preview/emails/show.html.haml +1 -1
- data/lib/rails_email_preview/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 17b4cb04e7e6af808f41a92896bb71fc50c16472
|
|
4
|
+
data.tar.gz: 01314701475fdd3624e327fa81d0880226e2a3e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9984703040eece53801c17d586053e4f339a272eda8996b75b0e911ddc815346eacb54a61b9eb884a7f05dec4ed1fd392638852a44d33884a4ebfe3c43ff75ed
|
|
7
|
+
data.tar.gz: f72c6a4ce355869bf84715392096184658eaf3d00c52e7d0bcbef9a67d1f6282bc9fce6dd1b714783e4d67a410cd29767d3051185fd46cdb1c6c8d5521bdac60
|
data/README.md
CHANGED
|
@@ -80,7 +80,7 @@ For [premailer-rails](https://github.com/fphilipe/premailer-rails), add to `Rail
|
|
|
80
80
|
Customizing views
|
|
81
81
|
---------------------
|
|
82
82
|
|
|
83
|
-
You can
|
|
83
|
+
You can override any `rails_email_preview` view by placing a file with the same path as in the gem in your project's `app/views`.
|
|
84
84
|
You can also extend the `RailsEmailPreview::EmailsController` for further customization.
|
|
85
85
|
|
|
86
86
|
This project rocks and uses MIT-LICENSE.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
html_url = if @mail.multipart? || @mail.content_type =~ %r(text/html)
|
|
5
5
|
rails_email_preview.email_url(params.merge(:part_type => 'text/html'))
|
|
6
6
|
end
|
|
7
|
-
plain_url = if @mail.multipart? || @mail.content_type =~ %r(text/plain) ||
|
|
7
|
+
plain_url = if @mail.multipart? || @mail.content_type =~ %r(text/plain) || defined?(Premailer::Rails)
|
|
8
8
|
rails_email_preview.email_url(params.merge(:part_type => 'text/plain'))
|
|
9
9
|
end
|
|
10
10
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_email_preview
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gleb Mazovetskiy
|
|
@@ -108,5 +108,5 @@ rubyforge_project:
|
|
|
108
108
|
rubygems_version: 2.0.3
|
|
109
109
|
signing_key:
|
|
110
110
|
specification_version: 4
|
|
111
|
-
summary: Visual Email Preview for Rails >= 3, implemented as a Rails Engine. v0.0.
|
|
111
|
+
summary: Visual Email Preview for Rails >= 3, implemented as a Rails Engine. v0.0.6
|
|
112
112
|
test_files: []
|