vmail 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -10,6 +10,7 @@ task :web do
10
10
  require 'vmail/version'
11
11
  version = Vmail::VERSION
12
12
  Dir.chdir("website") do
13
+ puts "updating website"
13
14
  puts `./run.sh #{version}`
14
15
  end
15
16
  end
@@ -31,7 +31,10 @@ module Vmail
31
31
 
32
32
  def cc
33
33
  return nil unless @replyall
34
- cc = @mail.header['to'].value.split(/,\s*/) + @mail.header['cc'].value.split(/,\s*/)
34
+ cc = @mail.header['to'].value.split(/,\s*/)
35
+ if @mail.header['cc']
36
+ cc += @mail.header['cc'].value.split(/,\s*/)
37
+ end
35
38
  cc = cc.flatten.compact.
36
39
  select {|x|
37
40
  x.to_s[/<([^>]+)>/, 1] !~ /#{@username}/ && x.to_s[/^[^<]+/, 1] !~ /#{@name}/
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 0
9
- version: 0.5.0
8
+ - 1
9
+ version: 0.5.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi