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: 0e33d98fd0b9e18a6951297f0776d6db7cc9dccd
4
- data.tar.gz: eb69472504e194c7bd68c1d6d3480c299c6181ab
3
+ metadata.gz: fcfbbde36979e5d0128d3d33efc5c483c1e6019d
4
+ data.tar.gz: 479ee21f3a4fd262ccf3cf9a93cb5e7cb514c501
5
5
  SHA512:
6
- metadata.gz: b53e1db8f44c042fc886f8111863cf1fa6051e29b54523bf8dfa74d9acdce482bf23f965f0863514903ede0a05dfdf5390def1947559b1802a9c57356ecd4a8e
7
- data.tar.gz: bad1575d61be211b3f76c09fb5c2cba51ca4341ae20e3df84f7fc3449f14e70a46cf74094bab9970bbd3a01a22088095fd633dbca1aa943f37c0dc1dc7b5f900
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::HTML, Mime::TEXT)
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
@@ -1,3 +1,3 @@
1
1
  module MailerPreviewRequestModel
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
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.1.0
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: 2016-09-15 00:00:00.000000000 Z
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.4.8
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