vmail 2.1.3 → 2.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,8 +22,9 @@ module Vmail
22
22
  sender = current_message.sender
23
23
  reply_quote_header = date ? "On #{date.strftime('%a, %b %d, %Y at %I:%M %p')}, #{sender} wrote:\n\n" : "#{sender} wrote:\n"
24
24
 
25
- reply_body = reply_quote_header + divider('-') +
26
- (current_message.plaintext.split(/^-+$/,2)[1])
25
+ reply_body = reply_quote_header +
26
+ ( current_message.plaintext.split(/^-+$/,2)[1].strip.gsub(/^(?=>)/, ">").gsub(/^(?!>)/, "> ") )
27
+
27
28
  {
28
29
  'references' => current_message.message_id,
29
30
  'from' => "#@name <#@username>",
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '2.1.3'
2
+ VERSION = '2.1.5'
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: 2.1.3
5
+ version: 2.1.5
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-07-04 00:00:00 -04:00
13
+ date: 2011-07-05 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency