spreewald 1.2.11 → 1.2.12
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56ca44775ab807ae4ea9786a8109b350cd65a441
|
4
|
+
data.tar.gz: 30ab6e1e86e09f5aa087545a1e6cf496f0be1c45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7068d9eb34a9ba641580fb389a3ad158ab8a811fb435f0e9c41e596359865b6c908ab08368c7ee3c1a45a825e7e26854e0413d362ae998eddc660f9dcde7e0c3
|
7
|
+
data.tar.gz: 2a44bba5a13f1692863703bb90fba52504ec2d7196304d6e52e906d654459da9c1dc043c4d5dc0444fece7993a7f45f65c47d787156cb6b064b21606da792b4b
|
@@ -56,8 +56,12 @@ class MailFinder
|
|
56
56
|
part.decoded
|
57
57
|
end
|
58
58
|
}
|
59
|
-
mail_bodies.
|
60
|
-
|
59
|
+
utf8_parts = mail_bodies.select{ |part|
|
60
|
+
encoding = part.try(:encoding)
|
61
|
+
encoding.nil? or # Ruby < 1.9.1
|
62
|
+
encoding.name == 'UTF-8' # Ruby > 1.9.1
|
63
|
+
}
|
64
|
+
utf8_parts.join('\n')
|
61
65
|
elsif mail.body.respond_to? :raw_source
|
62
66
|
mail.body.raw_source
|
63
67
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spreewald
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Kraze
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber-rails
|
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
177
|
version: '0'
|
178
178
|
requirements: []
|
179
179
|
rubyforge_project:
|
180
|
-
rubygems_version: 2.
|
180
|
+
rubygems_version: 2.2.2
|
181
181
|
signing_key:
|
182
182
|
specification_version: 4
|
183
183
|
summary: Collection of useful cucumber steps.
|