mailcvt 0.2.28 → 0.2.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/encoded_word.rb CHANGED
@@ -96,7 +96,7 @@ class EncodedWord
96
96
  return '' unless sub and sub.length > 0
97
97
  sub = sub.encode('utf-8', @input_enc, :undef=>:replace, :invalid=>:replace)
98
98
  one = sub.gsub("\a", '')
99
- mime_decode(one)
99
+ plain = mime_decode(one).gsub("\n", '')
100
100
  end
101
101
 
102
102
  def trim_emails(emails)
@@ -136,7 +136,7 @@ class EncodedWord
136
136
  attaches << decode_attach(parts[i])
137
137
  end
138
138
  return '' unless attaches.length > 0
139
- attaches.join("\a")
139
+ attaches.join("\a").gsub("\n", '')
140
140
  end
141
141
 
142
142
  def decode_attach(attach)
@@ -1,3 +1,3 @@
1
1
  module Mailcvt
2
- VERSION = '0.2.28'
2
+ VERSION = '0.2.29'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailcvt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.28
4
+ version: 0.2.29
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: