roust 1.8.4 → 1.8.5

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: b5043886b40b0d5a33be8d95b90b2701aca03c1d
4
- data.tar.gz: bd45d1118e7bbad6766fcfe47a391151fed12dd1
3
+ metadata.gz: b2298e6d0f0bd3c9bd60f21dea7b7b666056aad7
4
+ data.tar.gz: ea7acab12c73cdf2ef50d20bd332a44e71ad0886
5
5
  SHA512:
6
- metadata.gz: 0199a66f73e55be1df0a8de2d18b733bb43541e8dc32f0dcbc44e5679c39d88d25026cc90e32d94789b2c4a5d07574eabf454981597cf0d8ead324dc617d2b47
7
- data.tar.gz: f95b6891214f113f5f9ab002f88d8658011c51eb804398a1945e6be4a7522e91e3182b451a7a62b04369ace5b846a81ddc209744c7f31d6edfaad7c10180bedd
6
+ metadata.gz: a604c28a6a017e1261c642f766bb6feece34132b61bb85ab3e47956c196e427ecd513e463f85972ed4a1f6e362c37fc57faea5f9d8df579a2588a75e34732c31
7
+ data.tar.gz: d02080811bd8c6a02e5190e7885507cea8870c466b15c40acd7417590c3dfde8259d4f5d975831bbcd7770ccab112599fab286c811b3b5634b3a6086f79fd185
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- roust (1.8.4)
4
+ roust (1.8.5)
5
5
  activesupport (>= 4.0.10)
6
6
  httparty (>= 0.13.1)
7
7
  mail (>= 2.5.4)
@@ -382,8 +382,8 @@ class Roust
382
382
  list = []
383
383
  items.each do |item|
384
384
  # Yes, this messes with the "content:" field but that's the one that's upsetting Mail.new
385
+ item.gsub!(/\r/, "\n") # Mail doesn't handle \r at all. Convert them all to \n, then remove the extra lines in the next step
385
386
  item.gsub!(/\n\s*\n/, "\n") # remove blank lines for Mail
386
- item.gsub!(/\r\r\n/, "\n") # convert \r\r\n into \n so Mail parses it correctly
387
387
  history = Mail.new(item)
388
388
  next if not comments and history['type'].to_s =~ /Comment/ # skip comments
389
389
  reply = {}
@@ -1,3 +1,3 @@
1
1
  class Roust
2
- VERSION = '1.8.4'
2
+ VERSION = '1.8.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roust
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.4
4
+ version: 1.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lindsay Holmwood
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-15 00:00:00.000000000 Z
11
+ date: 2015-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mail