pmail 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -6,6 +6,10 @@ pmail, send mail using [Postmark](http://postmarkapp.com/) from the command line
6
6
  Usage
7
7
  -----
8
8
 
9
+ Install by running
10
+
11
+ $ gem install pmail
12
+
9
13
  pmail will look for a YAML file located in ~/.pmail which can be used to specify any of the parameters that pmail takes.
10
14
 
11
15
  This is most useful for specifying your Postmark API key and sender signature. For example:
@@ -1,7 +1,3 @@
1
1
  require "pmail/version"
2
2
  require "pmail/config"
3
- require "pmail/message"
4
-
5
- module Pmail
6
-
7
- end
3
+ require "pmail/message"
@@ -23,8 +23,6 @@ module Pmail
23
23
  message.to = @to
24
24
  message.subject = @subject
25
25
  message.body = @body
26
-
27
- # TODO make this user configurable
28
26
  message.content_type = "text/#{@format}"
29
27
 
30
28
  # TODO add custom header support
@@ -1,3 +1,3 @@
1
1
  module Pmail
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pmail
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ben Ubois
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-28 00:00:00 -07:00
18
+ date: 2011-09-13 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency