vmail 2.7.8 → 2.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -130,7 +130,7 @@ module Vmail
130
130
  return if ENV['VMAIL_HTML_PART_READER']
131
131
  html_reader = %w( w3m elinks lynx ).detect {|x| `which #{x}` != ''}
132
132
  if html_reader
133
- cmd = ['w3m -dump -T text/html', 'lynx -stdin -dump', 'elinks -dump'].detect {|s| s.index(html_reader)}
133
+ cmd = ['w3m -dump -T text/html -I utf-8 -O utf-8', 'lynx -stdin -dump', 'elinks -dump'].detect {|s| s.index(html_reader)}
134
134
  STDERR.puts "Setting VMAIL_HTML_PART_READER to '#{cmd}'"
135
135
  ENV['VMAIL_HTML_PART_READER'] = cmd
136
136
  else
@@ -178,7 +178,7 @@ module Vmail
178
178
  "trash" => "Trash"}
179
179
  @mailbox_aliases = {}
180
180
  aliases.each do |shortname, fullname|
181
- [ "[Gmail]", "[Google Mail" ].each do |prefix|
181
+ [ "[Gmail]", "[Google Mail]" ].each do |prefix|
182
182
  if self.mailboxes.include?( "#{prefix}/#{fullname}" )
183
183
  @mailbox_aliases[shortname] = "#{prefix}/#{fullname}"
184
184
  end
@@ -511,7 +511,7 @@ EOF
511
511
  end
512
512
 
513
513
  def self.daemon(config)
514
- puts "STARTING Vmail::ImapClient in dir #{Dir.pwd}"
514
+ puts "Starting Vmail::ImapClient in dir #{Dir.pwd}"
515
515
  $gmail = self.start(config)
516
516
  use_uri = config['drb_uri'] || nil # redundant but explicit
517
517
  DRb.start_service(use_uri, $gmail)
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '2.7.8'
2
+ VERSION = '2.8.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vmail
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.8
4
+ version: 2.8.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-21 00:00:00.000000000 Z
12
+ date: 2013-01-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mail