popper 0.6.2 → 0.6.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: 5f23fe15b78f11b47aa52fdb5cad73ebedd8facc552d26a607638708e23b3e1f
4
- data.tar.gz: 19ed031ffdaa942a0d398557c13baa0fafef8344bbfd253c41a24f8af08f86a3
3
+ metadata.gz: f5ac30214a916f0962b5f8b88e1e0f6698e2bc2e485b1d02ba647320f3b4c453
4
+ data.tar.gz: '049009d993c8742f2d95186a07a34ad46035ecd0ffd93f45be73143bfc901ed7'
5
5
  SHA512:
6
- metadata.gz: f116d29ff59f6474200649e54e29721662be4659800abb9effee52b0193384cab8d037d2f18d42ebb8b4f14088450c3e2ab261ca957979d21dc10d4ea3718df9
7
- data.tar.gz: 7725660d395fb16f3574e87dbe5db952bea95d4a90675522e6f4d0a49f3c6adf6b6049f6ae6b8268b925b62a54152631d40ba9e55cbeb270419722f5aed67b0a
6
+ metadata.gz: c15e126ecc4d08c3fff23ef776e963e400e1d76215efddecadf82ba47efabe53ae3eb1b3629e953f531e5e36199b03da603837d02348cd5f966c8251c6f93fac
7
+ data.tar.gz: 8213f20cd9639848b0207621cde29ee2cf526621b55204005162151623238843f54a26b66c5c1a07d4d506e83c65701c4f6a2aef687ca546822657b1fc34592f
@@ -120,10 +120,10 @@ class EncodeMail < Mail::Message
120
120
  def utf_body
121
121
  if multipart?
122
122
  parts.map do |part|
123
- part.body.decoded.encode('UTF-8', charset) unless part.attachment?
123
+ part.body.decoded.encode('UTF-8', charset, undef: :replace, invalid: :replace, replace: '') unless part.attachment?
124
124
  end.join
125
125
  else
126
- body.decoded.encode('UTF-8', charset)
126
+ body.decoded.encode('UTF-8', charset, undef: :replace, invalid: :replace, replace: '')
127
127
  end
128
128
  end
129
129
  end
@@ -1,3 +1,3 @@
1
1
  module Popper
2
- VERSION = '0.6.2'
2
+ VERSION = '0.6.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: popper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - pyama86