postmortem 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: 3e05359d9e039f6e44c0e89decaac3c5c72fe3447f7a96fdb8ac1667fe93d537
4
- data.tar.gz: 651d2b986f6b9b07e8fe311cd163865490005da3376c95c4ce05a4110a313e62
3
+ metadata.gz: 46dd7bad9406c1b7278996f90160f228e5e287ba4c52d6a535f73cf9b40127f5
4
+ data.tar.gz: 731ae1a79e1684bcbda56e065f630acf5b64a4fed8bd7191893ac0c5e050957c
5
5
  SHA512:
6
- metadata.gz: 66a929b9cfa7043ebce54eda09c4168e4adfd485d24e32720dc68238c6ea578030c89ad90181d770b22b33d358c2945bae12cc5df9a8f3d3019989b6a72cc8ca
7
- data.tar.gz: 82478c5ef6a04531776023947b39b3c1c04a003185a602199a4460e2ba4b6759a87493475666f4056d0bcc759b7de3a5765db8b3356d28e863e71ed445ca7e2a
6
+ metadata.gz: de1acd3681d97b05432820717711f2c249eadaafc3af5fef55efbe0ead0bed2fac4fb67843d2dc24e86f04a1b30515f65603e59a17951b4bf6aa0dbfcf5fdadd
7
+ data.tar.gz: 12b1c99d4ae45e41b96ac70f144e1ae7d5f79c5939183aa9cb1e77bc1a9dee5d88d7e36fc89923bedd67bf27b80ff30d332e2c644b504fcb5bc017296a2df03a
data/README.md CHANGED
@@ -23,7 +23,7 @@ Add the gem to your application's Gemfile:
23
23
 
24
24
  ```ruby
25
25
  group :development, :test do
26
- gem 'postmortem', '~> 0.1.2'
26
+ gem 'postmortem', '~> 0.1.3'
27
27
  end
28
28
  ```
29
29
 
@@ -171,11 +171,11 @@
171
171
  <script>
172
172
  (function () {
173
173
  var htmlIframeDocument = document.querySelector("#html-iframe").contentDocument;
174
- htmlIframeDocument.write(<%= mail.html_body.to_json %>);
174
+ htmlIframeDocument.write(<%= mail.html_body.to_s.to_json %>);
175
175
  htmlIframeDocument.close();
176
176
 
177
177
  var textIframeDocument = document.querySelector("#text-iframe").contentDocument;
178
- textIframeDocument.write('<pre>' + <%= ERB::Util.html_escape(mail.text_body).to_json %> + '</pre>');
178
+ textIframeDocument.write('<pre>' + <%= ERB::Util.html_escape(mail.text_body.to_s).to_json %> + '</pre>');
179
179
  textIframeDocument.close();
180
180
 
181
181
  var sourceHighlightBundle = [
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Postmortem
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postmortem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Farrell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-09 00:00:00.000000000 Z
11
+ date: 2021-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mail