mailer_preview_request_model 1.1.0 → 1.2.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcfbbde36979e5d0128d3d33efc5c483c1e6019d
|
4
|
+
data.tar.gz: 479ee21f3a4fd262ccf3cf9a93cb5e7cb514c501
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 856e11e4a712b78a7771c2831cc1403c2c1f75f48ee40ff39cb2a078f8afbc7e1ec77bf170a31c1ec3258bfee60674d16ec3b304bc3408e87d699169e00ed60a
|
7
|
+
data.tar.gz: 25400492819960046b4084d9b768d5bf9c25686b9d36f47bb3e1bac64018835a18f662b575287fc12d8ca2f9c3eb333c3417e01f73b1dab092e86a49db88efd4
|
@@ -28,7 +28,7 @@ module MailerPreviewRequestModel
|
|
28
28
|
raise AbstractController::ActionNotFound, "Email part '#{part_type}' not found in #{@preview.name}##{email}"
|
29
29
|
end
|
30
30
|
else
|
31
|
-
@part = find_preferred_part(request.format, Mime
|
31
|
+
@part = find_preferred_part(request.format, Mime[:html], Mime[:text])
|
32
32
|
render action: 'email', layout: false, formats: %w[html]
|
33
33
|
end
|
34
34
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailer_preview_request_model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomas Valent
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|
121
121
|
rubyforge_project:
|
122
|
-
rubygems_version: 2.
|
122
|
+
rubygems_version: 2.5.1
|
123
123
|
signing_key:
|
124
124
|
specification_version: 4
|
125
125
|
summary: Enable Rails ActionMailer Preview to accept argumeents
|