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: a41568cd7ca29831b74ab8d09580cdf8564c33dc
4
- data.tar.gz: 832acb415518591a19de9494d0a6856205473f2d
3
+ metadata.gz: 56ca44775ab807ae4ea9786a8109b350cd65a441
4
+ data.tar.gz: 30ab6e1e86e09f5aa087545a1e6cf496f0be1c45
5
5
  SHA512:
6
- metadata.gz: d27e8c436b901864fd0f13b3aab0f13d53fff3d214f01766476535b132128c4ca3fa221125fd9294adb2d2bbfc0f9bc6ee89254af13a8ddca5f9c270a5244efd
7
- data.tar.gz: ed21b7631686b1552156b509ef727c37a2a7c1ad548cb1205997b403dd11f453038a2451420d220c25dce973ea311caed6fa955b58a37c4ed59b00713f2a20f1
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.join('\n')
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
@@ -1,3 +1,3 @@
1
1
  module Spreewald
2
- VERSION = '1.2.11'
2
+ VERSION = '1.2.12'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- spreewald (1.2.9)
4
+ spreewald (1.2.12)
5
5
  capybara
6
6
  cucumber
7
7
  cucumber-rails
@@ -100,6 +100,3 @@ DEPENDENCIES
100
100
  selenium-webdriver (>= 2.35.0)
101
101
  spreewald!
102
102
  sqlite3
103
-
104
- BUNDLED WITH
105
- 1.10.5
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../../..
3
3
  specs:
4
- spreewald (1.2.11)
4
+ spreewald (1.2.12)
5
5
  capybara
6
6
  cucumber
7
7
  cucumber-rails
@@ -164,6 +164,3 @@ DEPENDENCIES
164
164
  selenium-webdriver
165
165
  spreewald!
166
166
  sqlite3
167
-
168
- BUNDLED WITH
169
- 1.10.5
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../../..
3
3
  specs:
4
- spreewald (1.2.11)
4
+ spreewald (1.2.12)
5
5
  capybara
6
6
  cucumber
7
7
  cucumber-rails
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.11
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-07-28 00:00:00.000000000 Z
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.4.8
180
+ rubygems_version: 2.2.2
181
181
  signing_key:
182
182
  specification_version: 4
183
183
  summary: Collection of useful cucumber steps.