chimpster 0.1.18 → 0.1.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/chimpster.gemspec +1 -1
  2. data/lib/chimpster.rb +4 -1
  3. metadata +3 -3
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{chimpster}
8
- s.version = "0.1.18"
8
+ s.version = "0.1.19"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Hart, Bob Milani, Phuc Quang"]
@@ -43,8 +43,11 @@ module Chimpster
43
43
  _from = @from unless @from == nil
44
44
  _to =message['to'].to_s
45
45
  _to = @to unless @to == nil
46
+ _html = message.body_html
47
+ _text = message.body_text
46
48
  options= {
47
- :html => "test" ,#message.body.raw_source,
49
+ :text => _text,
50
+ :html => _html,
48
51
  :subject => message.subject,
49
52
  :from_email => _from,
50
53
  :to_email => _to.split(',')
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chimpster
3
3
  version: !ruby/object:Gem::Version
4
- hash: 63
4
+ hash: 61
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 18
10
- version: 0.1.18
9
+ - 19
10
+ version: 0.1.19
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Hart, Bob Milani, Phuc Quang