mail-jdec 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/mail/jdec/decoder.rb +1 -1
- data/lib/mail/jdec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40591766001e935ee0d7788949ffeb1bc1169f15648e12b2393c1e493d73fbb5
|
4
|
+
data.tar.gz: b2a30e1f237534e3f4ad48580d9696c7e51865230c0391282e83bcce2481b644
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f20fb45790b61b679be860b6460a1db9d4ae4a04485a58de95fd3f17a6790be351d5ba37a7095b55556032950f585135dd31194c66ce492134e037386c0ca697
|
7
|
+
data.tar.gz: dc3a1c3a3a5c77b4fa56f27ef20521bdf0559d1a58cceb8f425b1949a9a9aa523b75488a6dd772f0e11f39cd0cc131a5476b11df054ce9d5b5beb6bcddf0aaad
|
data/CHANGELOG.md
CHANGED
data/lib/mail/jdec/decoder.rb
CHANGED
@@ -45,7 +45,7 @@ module Mail
|
|
45
45
|
bytes = content.scan(/\=\?([^?]+)\?([QB])\?([^?]*?)\?\=/mi).map do |_, encoding, encoded|
|
46
46
|
case encoding
|
47
47
|
when *B_VALUES then Mail::RubyVer.decode_base64(encoded)
|
48
|
-
when *Q_VALUES then Mail::Encodings::QuotedPrintable.decode(encoded)
|
48
|
+
when *Q_VALUES then Mail::Encodings::QuotedPrintable.decode(encoded.gsub(/_/, '=20').sub(/\=$/, ''))
|
49
49
|
end
|
50
50
|
end.join('')
|
51
51
|
Mail::Encodings.transcode_charset(bytes, charset)
|
data/lib/mail/jdec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mail-jdec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshikazu Kaneta
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mail
|