popper 0.6.1 → 0.6.2

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: ab17348b169036934837f49e080810a44de3243128a2a351ec3ff3a81c83691a
4
- data.tar.gz: 6eecc461e2dcc3e0c0c1cc60f734bf01823b620f8841cb90a96e4ecd57744196
3
+ metadata.gz: 5f23fe15b78f11b47aa52fdb5cad73ebedd8facc552d26a607638708e23b3e1f
4
+ data.tar.gz: 19ed031ffdaa942a0d398557c13baa0fafef8344bbfd253c41a24f8af08f86a3
5
5
  SHA512:
6
- metadata.gz: a937454ccbec5413e59ab04e886774f5a2727cdbc8ff01fefd7f76e0d2e002ce342a920572f1dc14c942f522d01c695827bc01a5582c119399eb7c874fe7c850
7
- data.tar.gz: 25c7de65642770109d0b42e565d733dbaa3468e38ea68dae1cd89ec14339ca47e141e13ee1b863f28aced3318e3afd2440182f72a499f8abbcc99ee38b099307
6
+ metadata.gz: f116d29ff59f6474200649e54e29721662be4659800abb9effee52b0193384cab8d037d2f18d42ebb8b4f14088450c3e2ab261ca957979d21dc10d4ea3718df9
7
+ data.tar.gz: 7725660d395fb16f3574e87dbe5db952bea95d4a90675522e6f4d0a49f3c6adf6b6049f6ae6b8268b925b62a54152631d40ba9e55cbeb270419722f5aed67b0a
@@ -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.force_encoding('UTF-8') unless part.attachment?
123
+ part.body.decoded.encode('UTF-8', charset) unless part.attachment?
124
124
  end.join
125
125
  else
126
- body.decoded.force_encoding('UTF-8')
126
+ body.decoded.encode('UTF-8', charset)
127
127
  end
128
128
  end
129
129
  end
@@ -1,3 +1,3 @@
1
1
  module Popper
2
- VERSION = '0.6.1'
2
+ VERSION = '0.6.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: popper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - pyama86
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-05 00:00:00.000000000 Z
11
+ date: 2024-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler