rails_email_preview 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 84132ea530a47db404000e82a07251cd51706955
4
- data.tar.gz: d0aef7d543f2138ddcf82f7a86e4cf538eb4f5b5
3
+ metadata.gz: 17b4cb04e7e6af808f41a92896bb71fc50c16472
4
+ data.tar.gz: 01314701475fdd3624e327fa81d0880226e2a3e1
5
5
  SHA512:
6
- metadata.gz: ba0961461268dd1f986431b84799d185cfb4431c5d10e7881e2c682d4c5dd7447237ad2d090f3dd30289f1cb3b4d5b2da78839bdc677738368c8281011a04fe5
7
- data.tar.gz: 014c0c7c244ff70acf5de3059ddcf39963948297409221cd12fed4ed258db7bef604f94f819223d1d42884580abd7f876945e0ff0c9953669e06ef5322705d04
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 ovveride any `rails_email_preview` view by placing a file with the same path as in the gem in your project's `app/views`.
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) || Object.const_defined?('PremailerRails')
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
 
@@ -1,3 +1,3 @@
1
1
  module RailsEmailPreview
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
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.5
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.5
111
+ summary: Visual Email Preview for Rails >= 3, implemented as a Rails Engine. v0.0.6
112
112
  test_files: []