postmark-rails 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -0
- data/README.rdoc +19 -8
- data/VERSION +1 -1
- data/lib/postmark-rails.rb +1 -0
- data/postmark-rails.gemspec +62 -0
- metadata +3 -2
data/.gitignore
CHANGED
data/README.rdoc
CHANGED
@@ -1,33 +1,44 @@
|
|
1
1
|
= Postmark rails gem
|
2
2
|
|
3
|
-
Postmark plug-in for ActionMailer
|
3
|
+
Postmark plug-in for ActionMailer
|
4
4
|
|
5
|
-
==
|
5
|
+
== Install
|
6
6
|
|
7
|
+
The gem is hosted at gemcutter. If you don't have it, install it first:
|
8
|
+
|
9
|
+
sudo gem install gemcutter
|
10
|
+
gem tumble
|
11
|
+
|
12
|
+
Then
|
7
13
|
sudo gem install postmark-rails
|
8
14
|
|
9
15
|
== Example
|
10
|
-
|
16
|
+
|
11
17
|
#config/environment.rb
|
12
18
|
|
13
19
|
Rails::Initializer.run do |config|
|
20
|
+
|
14
21
|
config.gem 'postmark-rails'
|
22
|
+
require 'postmark-rails'
|
15
23
|
config.action_mailer.delivery_method = :postmark
|
16
24
|
config.action_mailer.postmark_api_key = "your-api-key"
|
17
25
|
# ...
|
18
26
|
end
|
19
27
|
|
28
|
+
== Limitations
|
29
|
+
Currently postmark API does not support multiple recipients, or attachments. For more information, check the docs here:
|
30
|
+
TODO: URL to docs.
|
31
|
+
|
20
32
|
== Requirements
|
21
33
|
|
22
|
-
You will also need postmark account, server and sender signature set up to use it.
|
34
|
+
You will also need postmark account, server and sender signature set up to use it.
|
23
35
|
|
24
36
|
== Note on Patches/Pull Requests
|
25
|
-
|
37
|
+
|
26
38
|
* Fork the project.
|
27
39
|
* Make your feature addition or bug fix.
|
28
|
-
* Add tests for it. This is important so I don't break it in a
|
29
|
-
|
30
|
-
* Commit, do not mess with rakefile, version, or history.
|
40
|
+
* Add tests for it. This is important so I don't break it in a future version unintentionally.
|
41
|
+
* Commit, do not mess with rakefile, version, or history.
|
31
42
|
* Send me a pull request. Bonus points for topic branches.
|
32
43
|
|
33
44
|
== Copyright
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/postmark-rails.rb
CHANGED
@@ -0,0 +1,62 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{postmark-rails}
|
8
|
+
s.version = "0.1.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Petyo Ivanov"]
|
12
|
+
s.date = %q{2009-11-16}
|
13
|
+
s.description = %q{Use this plugin in your rails applications to send emails through the Postmark API}
|
14
|
+
s.email = %q{underlog@gmail.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"lib/postmark-rails.rb",
|
27
|
+
"postmark-rails.gemspec",
|
28
|
+
"spec/fixtures/models/test_mailer.rb",
|
29
|
+
"spec/fixtures/views/test_mailer/multipart_message.text.html.erb",
|
30
|
+
"spec/fixtures/views/test_mailer/multipart_message.text.plain.erb",
|
31
|
+
"spec/fixtures/views/test_mailer/simple_message.erb",
|
32
|
+
"spec/postmark-rails_spec.rb",
|
33
|
+
"spec/spec.opts",
|
34
|
+
"spec/spec_helper.rb"
|
35
|
+
]
|
36
|
+
s.homepage = %q{http://postmarkapp.com}
|
37
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
38
|
+
s.require_paths = ["lib"]
|
39
|
+
s.rubygems_version = %q{1.3.4}
|
40
|
+
s.summary = %q{Postmark adapter for ActionMailer}
|
41
|
+
s.test_files = [
|
42
|
+
"spec/fixtures/models/test_mailer.rb",
|
43
|
+
"spec/postmark-rails_spec.rb",
|
44
|
+
"spec/spec_helper.rb"
|
45
|
+
]
|
46
|
+
|
47
|
+
if s.respond_to? :specification_version then
|
48
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
49
|
+
s.specification_version = 3
|
50
|
+
|
51
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
52
|
+
s.add_development_dependency(%q<rspec>, [">= 0"])
|
53
|
+
s.add_runtime_dependency(%q<postmark>, [">= 0"])
|
54
|
+
else
|
55
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
56
|
+
s.add_dependency(%q<postmark>, [">= 0"])
|
57
|
+
end
|
58
|
+
else
|
59
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
60
|
+
s.add_dependency(%q<postmark>, [">= 0"])
|
61
|
+
end
|
62
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: postmark-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Petyo Ivanov
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-11-
|
12
|
+
date: 2009-11-16 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -49,6 +49,7 @@ files:
|
|
49
49
|
- Rakefile
|
50
50
|
- VERSION
|
51
51
|
- lib/postmark-rails.rb
|
52
|
+
- postmark-rails.gemspec
|
52
53
|
- spec/fixtures/models/test_mailer.rb
|
53
54
|
- spec/fixtures/views/test_mailer/multipart_message.text.html.erb
|
54
55
|
- spec/fixtures/views/test_mailer/multipart_message.text.plain.erb
|