spreewald 1.2.7 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzhiMmQxOTcxNjYzYzgxOWI1NTNhMjI2NzE2M2JhNDI2MzFjYTVlMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTJhY2FiOTUwZmVlM2NkZDNmNTUwODI0MTE5MTY4ZTk0MTkzOGZhOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
N2QyMGNiZmYyNjUxMzZlNmVmYzRlY2Y0MmE4NTQ4OGI5YjRiMGNhNzNhZjI2
|
10
|
+
NzhhMWE5ZWQyNDQ0NTM1YzlhOWZmNTJkNGNlYmI5Y2U3NDhhYTk4ZDg5NjY1
|
11
|
+
ZDQ0NzIwYzRlYzgwYmViMTM4Yjc4ZGMwZGE1MmYyY2I5NjhiMjk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDIzODc3YmZmZjcyYWU1ZDNjOGY1NTVkNDg0YjAxNzc2MjE5MWE4YTA3NjRm
|
14
|
+
NzIwN2RmMWEzNTY4OTQzYTI0MWY5MDljOTVmY2FiNjYxYWZiY2YyYTNmZTNh
|
15
|
+
NGUxZmEzMzAyNDZkZTQ3NDZlZjg4YmNhYmIzOWYzZjMzOGMwOGE=
|
@@ -45,7 +45,7 @@ class MailFinder
|
|
45
45
|
|
46
46
|
def email_text_body(mail)
|
47
47
|
if mail.parts.any?
|
48
|
-
|
48
|
+
mail_bodies = mail.parts.map { |part|
|
49
49
|
if part.header.to_s.include?('Quoted-printable')
|
50
50
|
if Rails.version.starts_with?('2.3')
|
51
51
|
part.body.to_s
|
@@ -56,7 +56,7 @@ class MailFinder
|
|
56
56
|
part.decoded
|
57
57
|
end
|
58
58
|
}
|
59
|
-
|
59
|
+
mail_bodies.join('\n')
|
60
60
|
|
61
61
|
elsif mail.body.respond_to? :raw_source
|
62
62
|
mail.body.raw_source
|