mailcvt 0.2.36 → 0.2.37

Sign up to get free protection for your applications and to get access to all the features.
@@ -183,11 +183,12 @@ class EncodedWord
183
183
  begin
184
184
  return wd.encode(out_charset, charset, :undef=>:replace, :invalid=>:replace)
185
185
  rescue => e
186
- puts "Cannot encode #{input} because #{e}, try iconv..."
186
+ print "Cannot encode #{input} because #{e}, try iconv..."
187
187
  begin
188
+ puts "OK"
188
189
  return Iconv.conv(out_charset + "//IGNORE", charset, wd)
189
190
  rescue => e
190
- puts "iconv failed too because #{e}."
191
+ puts "Iconv failed too because #{e}. Return ''."
191
192
  return ''
192
193
  end
193
194
  end
@@ -1,3 +1,3 @@
1
1
  module Mailcvt
2
- VERSION = '0.2.36'
2
+ VERSION = '0.2.37'
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.36
4
+ version: 0.2.37
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: