vmail 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,7 @@ module Vmail
16
16
  list_parts(part.parts)
17
17
  else
18
18
  # part.charset could be used
19
- "- #{part.content_type}"
19
+ "- #{part.content_type} #{part.attachment? ? part.filename : ''}"
20
20
  end
21
21
  end
22
22
  lines.flatten
@@ -91,7 +91,7 @@ EOF
91
91
  end
92
92
 
93
93
  def format_parts_info(parts)
94
- lines = parts.select {|part| part !~ %r{text/plain}}
94
+ lines = parts #.select {|part| part !~ %r{text/plain}}
95
95
  if lines.size > 0
96
96
  "\n#{lines.join("\n")}"
97
97
  end
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '2.1.1'
2
+ VERSION = '2.1.2'
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.1
5
+ version: 2.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi