alexmchale-gmail-client 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/gmail.rb +2 -2
  3. metadata +1 -1
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :minor: 1
2
+ :minor: 2
3
3
  :major: 0
4
4
  :patch: 0
data/lib/gmail.rb CHANGED
@@ -55,7 +55,7 @@ class GMail
55
55
  "Content-Type: multipart/mixed; boundary=\"#{boundary}\"\r\n" +
56
56
  "\r\n" +
57
57
  "--#{boundary}\r\n" +
58
- "Content-Type: text/plain\r\n" +
58
+ "Content-Type: #{@body_type}\r\n" +
59
59
  "\r\n" +
60
60
  "#{@body}\r\n" +
61
61
  "\r\n" +
@@ -67,7 +67,7 @@ class GMail
67
67
  "From: #{@username}\r\n" +
68
68
  "To: #{@to}\r\n" +
69
69
  "Subject: #{@subject}\r\n" +
70
- "Content-Type: text/plain\r\n" +
70
+ "Content-Type: #{@body_type}\r\n" +
71
71
  "\r\n" +
72
72
  "#{@body}\r\n" +
73
73
  "\r\n.\r\n"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alexmchale-gmail-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex McHale