vmail 1.6.5 → 1.6.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,7 +36,7 @@ module Vmail
36
36
 
37
37
  def cc
38
38
  return nil unless (@replyall || @always_cc)
39
- cc = @mail.header['to'].value.split(/,\s*/)
39
+ cc = @mail.header['to'] ? @mail.header['to'].value.split(/,\s*/) : []
40
40
  if @mail.header['cc']
41
41
  cc += @mail.header['cc'].value.split(/,\s*/)
42
42
  end
data/lib/vmail/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '1.6.5'
2
+ VERSION = '1.6.6'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: vmail
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.6.5
5
+ version: 1.6.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-20 00:00:00 -04:00
13
+ date: 2011-05-27 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency