vmail 1.6.5 → 1.6.6

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.
@@ -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