postmark-rails 0.4.1 → 0.4.2
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 +2 -0
- data/.travis.yml +7 -0
- data/CHANGELOG.rdoc +4 -0
- data/Gemfile +0 -7
- data/README.rdoc +31 -22
- data/Rakefile +7 -55
- data/lib/postmark-rails/version.rb +5 -0
- data/postmark-rails.gemspec +21 -62
- data/spec/postmark-rails_spec.rb +1 -1
- data/spec/spec.opts +1 -2
- data/spec/spec_helper.rb +0 -2
- metadata +96 -78
- data/Gemfile.lock +0 -48
- data/VERSION +0 -1
data/.gitignore
CHANGED
data/.travis.yml
ADDED
data/CHANGELOG.rdoc
CHANGED
data/Gemfile
CHANGED
data/README.rdoc
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
= postmark-rails gem
|
2
2
|
|
3
|
+
{<img src="https://travis-ci.org/wildbit/postmark-rails.png?branch=master" alt="Build Status" />}[https://travis-ci.org/wildbit/postmark-rails] {<img src="https://codeclimate.com/github/wildbit/postmark-rails.png" />}[https://codeclimate.com/github/wildbit/postmark-rails]
|
4
|
+
|
3
5
|
The Postmark Rails Gem is a drop-in plug-in for ActionMailer to send emails via Postmark, an email delivery service for web apps. The gem has been created for fast implementation and fully supports all of Postmark’s features.
|
4
6
|
|
5
7
|
== Supported Rails Versions
|
@@ -7,6 +9,7 @@ The Postmark Rails Gem is a drop-in plug-in for ActionMailer to send emails via
|
|
7
9
|
* lower than 2.3: could work, but not tested
|
8
10
|
* 2.3 and higher
|
9
11
|
* 3.0
|
12
|
+
* 4.0
|
10
13
|
|
11
14
|
== Install
|
12
15
|
|
@@ -14,7 +17,7 @@ The Postmark Rails Gem is a drop-in plug-in for ActionMailer to send emails via
|
|
14
17
|
|
15
18
|
== Requirements
|
16
19
|
|
17
|
-
* "postmark" gem version 0.
|
20
|
+
* "postmark" gem version 0.9 and higher is required.
|
18
21
|
* You will also need a Postmark account, server and sender signature set up to use it. To get an account, sign up at http://postmarkapp.com.
|
19
22
|
|
20
23
|
== Configuring your Rails application
|
@@ -23,31 +26,31 @@ The Postmark Rails Gem is a drop-in plug-in for ActionMailer to send emails via
|
|
23
26
|
|
24
27
|
Add this to your Gemfile: (change version numbers if needed)
|
25
28
|
|
26
|
-
gem 'postmark-rails', '0.4.
|
27
|
-
|
29
|
+
gem 'postmark-rails', '0.4.2'
|
30
|
+
|
28
31
|
Don't forget to run "bundle install" command every time you change something in the Gemfile.
|
29
32
|
|
30
33
|
Add this to your config/application.rb:
|
31
34
|
|
32
35
|
config.action_mailer.delivery_method = :postmark
|
33
36
|
config.action_mailer.postmark_settings = { :api_key => "your-api-key" }
|
34
|
-
|
37
|
+
|
35
38
|
=== Rails 2
|
36
39
|
|
37
40
|
Add this to config/environment.rb:
|
38
41
|
|
39
42
|
Rails::Initializer.run do |config|
|
40
|
-
|
43
|
+
|
41
44
|
...
|
42
|
-
|
45
|
+
|
43
46
|
config.gem 'postmark-rails'
|
44
47
|
require 'postmark-rails'
|
45
|
-
|
48
|
+
|
46
49
|
config.action_mailer.postmark_api_key = "your-api-key"
|
47
50
|
config.action_mailer.delivery_method = :postmark
|
48
|
-
|
51
|
+
|
49
52
|
...
|
50
|
-
|
53
|
+
|
51
54
|
end
|
52
55
|
|
53
56
|
For API details, refer to the developer documentation at http://developer.postmarkapp.com.
|
@@ -59,7 +62,7 @@ You can use a tag to categorize outgoing messages and attach application-specifi
|
|
59
62
|
=== Rails 3
|
60
63
|
|
61
64
|
class TestMailer < ActionMailer::Base
|
62
|
-
|
65
|
+
|
63
66
|
def tagged_message
|
64
67
|
mail(
|
65
68
|
:subject => 'hello',
|
@@ -68,54 +71,58 @@ You can use a tag to categorize outgoing messages and attach application-specifi
|
|
68
71
|
:tag => 'my-tag'
|
69
72
|
)
|
70
73
|
end
|
71
|
-
|
74
|
+
|
72
75
|
end
|
73
|
-
|
76
|
+
|
74
77
|
=== Rails 2
|
75
78
|
|
76
79
|
class SuperMailer < ActionMailer::Base
|
77
|
-
|
80
|
+
|
78
81
|
def email
|
79
82
|
from "no-reply@example.com"
|
80
83
|
subject "Some marvelous email message"
|
81
84
|
recipients "someone-fancy@example.com"
|
82
85
|
tag "my-another-tag"
|
83
86
|
end
|
84
|
-
|
87
|
+
|
85
88
|
end
|
86
89
|
|
87
90
|
== Sending attachments
|
88
91
|
|
89
|
-
You can also send file attachments with Postmark. Read
|
92
|
+
You can also send file attachments with Postmark. Read our Developer docs for additional information: http://developer.postmarkapp.com/developer-build.html#attachments.
|
93
|
+
|
94
|
+
The Postmark gem is compatible with [ActionMailer attachments API](http://api.rubyonrails.org/classes/ActionMailer/Base.html#method-i-attachments).
|
95
|
+
|
96
|
+
The legacy #postmark_attachments method is no longer supported on Rails 3.2.13 and above.
|
90
97
|
|
91
98
|
=== Rails 3
|
92
99
|
|
93
100
|
class TestMailer < ActionMailer::Base
|
94
|
-
|
101
|
+
|
95
102
|
def message_with_attachment
|
103
|
+
attachment['42.jpg'] = File.read("/path/to/file")
|
96
104
|
mail(
|
97
105
|
:subject => 'hello',
|
98
106
|
:to => 'sheldon@bigbangtheory.com',
|
99
|
-
:from => 'leonard@bigbangtheory.com'
|
100
|
-
:postmark_attachments => [File.open("/path/to/file")]
|
107
|
+
:from => 'leonard@bigbangtheory.com'
|
101
108
|
)
|
102
109
|
end
|
103
|
-
|
110
|
+
|
104
111
|
end
|
105
112
|
|
106
113
|
=== Rails 2
|
107
114
|
|
108
115
|
class SuperMailer < ActionMailer::Base
|
109
|
-
|
116
|
+
|
110
117
|
def email
|
111
118
|
from "no-reply@example.com"
|
112
119
|
subject "Some marvelous email message"
|
113
120
|
recipients "someone-fancy@example.com"
|
114
121
|
postmark_attachments [File.open("/path/to/file")]
|
115
122
|
end
|
116
|
-
|
123
|
+
|
117
124
|
end
|
118
|
-
|
125
|
+
|
119
126
|
You can pass either an array of File objects or a single object. Postmark will detect the file name automatically and send an attachment with the "application/octet-stream" content type. If you want more control on how attachments get formatted, you can pass Hash objects, which contain the custom settings such as file name or content-type. Here is an example:
|
120
127
|
|
121
128
|
#
|
@@ -138,12 +145,14 @@ You can pass either an array of File objects or a single object. Postmark will d
|
|
138
145
|
|
139
146
|
== Authors & Contributors
|
140
147
|
|
148
|
+
* Artem Chistyakov
|
141
149
|
* Petyo Ivanov
|
142
150
|
* Ilya Sabanin
|
143
151
|
* Hristo Deshev
|
144
152
|
* Randy Schmidt
|
145
153
|
* Chris Williams
|
146
154
|
* Nicolás Sanguinetti
|
155
|
+
* Laust Rud Jacobsen (rud)
|
147
156
|
|
148
157
|
== Copyright
|
149
158
|
|
data/Rakefile
CHANGED
@@ -1,59 +1,11 @@
|
|
1
|
-
require '
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
2
3
|
require 'rake'
|
3
4
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
gem.summary = %Q{Postmark adapter for ActionMailer}
|
9
|
-
gem.description = %Q{Use this plugin in your rails applications to send emails through the Postmark API}
|
10
|
-
gem.email = "ilya@wildbit.com"
|
11
|
-
gem.homepage = "http://postmarkapp.com"
|
12
|
-
gem.authors = ["Petyo Ivanov", "Ilya Sabanin"]
|
13
|
-
|
14
|
-
gem.add_dependency "actionmailer"
|
15
|
-
gem.add_dependency "postmark", ">= 0.9.0"
|
16
|
-
gem.add_dependency "rake"
|
17
|
-
|
18
|
-
gem.post_install_message = %q[
|
19
|
-
==================
|
20
|
-
Thanks for installing the postmark-rails gem. If you don't have an account, please sign up at http://postmarkapp.com/.
|
21
|
-
Review the README.rdoc for implementation details and examples.
|
22
|
-
==================
|
23
|
-
]
|
24
|
-
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
25
|
-
end
|
26
|
-
Jeweler::GemcutterTasks.new
|
27
|
-
rescue LoadError
|
28
|
-
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
29
|
-
end
|
30
|
-
|
31
|
-
require 'spec/rake/spectask'
|
32
|
-
Spec::Rake::SpecTask.new(:spec) do |spec|
|
33
|
-
spec.libs << 'lib' << 'spec'
|
34
|
-
spec.spec_files = FileList['spec/**/*_spec.rb']
|
35
|
-
end
|
36
|
-
|
37
|
-
Spec::Rake::SpecTask.new(:rcov) do |spec|
|
38
|
-
spec.libs << 'lib' << 'spec'
|
39
|
-
spec.pattern = 'spec/**/*_spec.rb'
|
40
|
-
spec.rcov = true
|
5
|
+
require "rspec/core/rake_task"
|
6
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
7
|
+
spec.pattern = 'spec/*_spec.rb'
|
8
|
+
spec.rspec_opts = ['--options', "\"#{File.dirname(__FILE__)}/spec/spec.opts\""]
|
41
9
|
end
|
42
10
|
|
43
|
-
task :
|
44
|
-
|
45
|
-
task :default => :spec
|
46
|
-
|
47
|
-
require 'rake/rdoctask'
|
48
|
-
Rake::RDocTask.new do |rdoc|
|
49
|
-
if File.exist?('VERSION')
|
50
|
-
version = File.read('VERSION')
|
51
|
-
else
|
52
|
-
version = ""
|
53
|
-
end
|
54
|
-
|
55
|
-
rdoc.rdoc_dir = 'rdoc'
|
56
|
-
rdoc.title = "postmark-rails #{version}"
|
57
|
-
rdoc.rdoc_files.include('README*')
|
58
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
59
|
-
end
|
11
|
+
task :default => :spec
|
data/postmark-rails.gemspec
CHANGED
@@ -1,77 +1,36 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
-
# -*- encoding: utf-8 -*-
|
1
|
+
$:.push File.expand_path("../lib", __FILE__)
|
2
|
+
require "postmark-rails/version"
|
5
3
|
|
6
4
|
Gem::Specification.new do |s|
|
7
5
|
s.name = %q{postmark-rails}
|
8
|
-
s.version =
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Petyo Ivanov", "Ilya Sabanin"]
|
6
|
+
s.version = Postmark::Rails::VERSION
|
7
|
+
s.authors = ["Petyo Ivanov", "Ilya Sabanin", "Artem Chistyakov"]
|
12
8
|
s.date = %q{2010-11-22}
|
13
9
|
s.description = %q{Use this plugin in your rails applications to send emails through the Postmark API}
|
14
10
|
s.email = %q{ilya@wildbit.com}
|
11
|
+
s.homepage = %q{http://postmarkapp.com}
|
12
|
+
s.summary = %q{Postmark adapter for ActionMailer}
|
13
|
+
|
14
|
+
s.post_install_message = %q{
|
15
|
+
==================
|
16
|
+
Thanks for installing the postmark-rails gem. If you don't have an account, please sign up at http://postmarkapp.com/.
|
17
|
+
Review the README.rdoc for implementation details and examples.
|
18
|
+
==================
|
19
|
+
}
|
20
|
+
|
15
21
|
s.extra_rdoc_files = [
|
16
22
|
"LICENSE",
|
17
23
|
"README.rdoc"
|
18
24
|
]
|
19
|
-
s.files = [
|
20
|
-
".document",
|
21
|
-
".gitignore",
|
22
|
-
"CHANGELOG.rdoc",
|
23
|
-
"Gemfile",
|
24
|
-
"Gemfile.lock",
|
25
|
-
"LICENSE",
|
26
|
-
"README.rdoc",
|
27
|
-
"Rakefile",
|
28
|
-
"VERSION",
|
29
|
-
"lib/postmark-rails.rb",
|
30
|
-
"lib/postmark_delivery_method.rb",
|
31
|
-
"postmark-rails.gemspec",
|
32
|
-
"spec/fixtures/models/test_mailer.rb",
|
33
|
-
"spec/fixtures/views/test_mailer/multipart_message.html.erb",
|
34
|
-
"spec/fixtures/views/test_mailer/multipart_message.text.erb",
|
35
|
-
"spec/fixtures/views/test_mailer/simple_message.erb",
|
36
|
-
"spec/fixtures/views/test_mailer/tagged_message.erb",
|
37
|
-
"spec/postmark-rails_spec.rb",
|
38
|
-
"spec/spec.opts",
|
39
|
-
"spec/spec_helper.rb"
|
40
|
-
]
|
41
|
-
s.homepage = %q{http://postmarkapp.com}
|
42
|
-
s.post_install_message = %q{
|
43
|
-
==================
|
44
|
-
Thanks for installing the postmark-rails gem. If you don't have an account, please sign up at http://postmarkapp.com/.
|
45
|
-
Review the README.rdoc for implementation details and examples.
|
46
|
-
==================
|
47
|
-
}
|
48
25
|
s.rdoc_options = ["--charset=UTF-8"]
|
49
|
-
s.require_paths = ["lib"]
|
50
|
-
s.rubygems_version = %q{1.3.7}
|
51
|
-
s.summary = %q{Postmark adapter for ActionMailer}
|
52
|
-
s.test_files = [
|
53
|
-
"spec/fixtures/models/test_mailer.rb",
|
54
|
-
"spec/postmark-rails_spec.rb",
|
55
|
-
"spec/spec_helper.rb"
|
56
|
-
]
|
57
26
|
|
58
|
-
|
59
|
-
|
60
|
-
|
27
|
+
s.add_dependency('actionmailer')
|
28
|
+
s.add_dependency('postmark', "~> 0.9")
|
29
|
+
s.add_development_dependency('rake')
|
30
|
+
s.add_development_dependency('rspec', '>= 2.7.0')
|
61
31
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
s.add_runtime_dependency(%q<rake>, [">= 0"])
|
66
|
-
else
|
67
|
-
s.add_dependency(%q<actionmailer>, [">= 0"])
|
68
|
-
s.add_dependency(%q<postmark>, [">= 0.9.0"])
|
69
|
-
s.add_dependency(%q<rake>, [">= 0"])
|
70
|
-
end
|
71
|
-
else
|
72
|
-
s.add_dependency(%q<actionmailer>, [">= 0"])
|
73
|
-
s.add_dependency(%q<postmark>, [">= 0.9.0"])
|
74
|
-
s.add_dependency(%q<rake>, [">= 0"])
|
75
|
-
end
|
32
|
+
s.files = `git ls-files`.split("\n")
|
33
|
+
s.test_files = `git ls-files -- spec/*`.split("\n")
|
34
|
+
s.require_paths = ["lib"]
|
76
35
|
end
|
77
36
|
|
data/spec/postmark-rails_spec.rb
CHANGED
data/spec/spec.opts
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -4,8 +4,6 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|
4
4
|
require 'rubygems'
|
5
5
|
require 'postmark'
|
6
6
|
require 'postmark-rails'
|
7
|
-
require 'spec'
|
8
|
-
require 'spec/autorun'
|
9
7
|
|
10
8
|
ActionMailer::Base.delivery_method = :postmark
|
11
9
|
ActionMailer::Base.prepend_view_path(File.join(File.dirname(__FILE__), "fixtures", "views"))
|
metadata
CHANGED
@@ -1,88 +1,101 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: postmark-rails
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 1
|
10
|
-
version: 0.4.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.2
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Petyo Ivanov
|
14
9
|
- Ilya Sabanin
|
10
|
+
- Artem Chistyakov
|
15
11
|
autorequire:
|
16
12
|
bindir: bin
|
17
13
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
dependencies:
|
22
|
-
- !ruby/object:Gem::Dependency
|
14
|
+
date: 2010-11-22 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
23
17
|
name: actionmailer
|
24
|
-
|
25
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
26
19
|
none: false
|
27
|
-
requirements:
|
28
|
-
- -
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
|
31
|
-
segments:
|
32
|
-
- 0
|
33
|
-
version: "0"
|
20
|
+
requirements:
|
21
|
+
- - ! '>='
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '0'
|
34
24
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: postmark
|
38
25
|
prerelease: false
|
39
|
-
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ! '>='
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: '0'
|
32
|
+
- !ruby/object:Gem::Dependency
|
33
|
+
name: postmark
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
40
35
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
45
|
-
segments:
|
46
|
-
- 0
|
47
|
-
- 9
|
48
|
-
- 0
|
49
|
-
version: 0.9.0
|
36
|
+
requirements:
|
37
|
+
- - ~>
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0.9'
|
50
40
|
type: :runtime
|
51
|
-
|
52
|
-
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.9'
|
48
|
+
- !ruby/object:Gem::Dependency
|
53
49
|
name: rake
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
type: :development
|
54
57
|
prerelease: false
|
55
|
-
|
58
|
+
version_requirements: !ruby/object:Gem::Requirement
|
56
59
|
none: false
|
57
|
-
requirements:
|
58
|
-
- -
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
60
|
+
requirements:
|
61
|
+
- - ! '>='
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0'
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: rspec
|
66
|
+
requirement: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
68
|
+
requirements:
|
69
|
+
- - ! '>='
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: 2.7.0
|
72
|
+
type: :development
|
73
|
+
prerelease: false
|
74
|
+
version_requirements: !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ! '>='
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: 2.7.0
|
80
|
+
description: Use this plugin in your rails applications to send emails through the
|
81
|
+
Postmark API
|
67
82
|
email: ilya@wildbit.com
|
68
83
|
executables: []
|
69
|
-
|
70
84
|
extensions: []
|
71
|
-
|
72
|
-
extra_rdoc_files:
|
85
|
+
extra_rdoc_files:
|
73
86
|
- LICENSE
|
74
87
|
- README.rdoc
|
75
|
-
files:
|
88
|
+
files:
|
76
89
|
- .document
|
77
90
|
- .gitignore
|
91
|
+
- .travis.yml
|
78
92
|
- CHANGELOG.rdoc
|
79
93
|
- Gemfile
|
80
|
-
- Gemfile.lock
|
81
94
|
- LICENSE
|
82
95
|
- README.rdoc
|
83
96
|
- Rakefile
|
84
|
-
- VERSION
|
85
97
|
- lib/postmark-rails.rb
|
98
|
+
- lib/postmark-rails/version.rb
|
86
99
|
- lib/postmark_delivery_method.rb
|
87
100
|
- postmark-rails.gemspec
|
88
101
|
- spec/fixtures/models/test_mailer.rb
|
@@ -93,41 +106,46 @@ files:
|
|
93
106
|
- spec/postmark-rails_spec.rb
|
94
107
|
- spec/spec.opts
|
95
108
|
- spec/spec_helper.rb
|
96
|
-
has_rdoc: true
|
97
109
|
homepage: http://postmarkapp.com
|
98
110
|
licenses: []
|
99
|
-
|
100
|
-
|
101
|
-
|
111
|
+
post_install_message: ! "\n ==================\n Thanks for installing the postmark-rails
|
112
|
+
gem. If you don't have an account, please sign up at http://postmarkapp.com/.\n
|
113
|
+
\ Review the README.rdoc for implementation details and examples.\n ==================\n
|
114
|
+
\ "
|
115
|
+
rdoc_options:
|
102
116
|
- --charset=UTF-8
|
103
|
-
require_paths:
|
117
|
+
require_paths:
|
104
118
|
- lib
|
105
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
119
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
106
120
|
none: false
|
107
|
-
requirements:
|
108
|
-
- -
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
|
111
|
-
segments:
|
121
|
+
requirements:
|
122
|
+
- - ! '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
segments:
|
112
126
|
- 0
|
113
|
-
|
114
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
|
+
hash: -776780947269731110
|
128
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
129
|
none: false
|
116
|
-
requirements:
|
117
|
-
- -
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
|
120
|
-
segments:
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
segments:
|
121
135
|
- 0
|
122
|
-
|
136
|
+
hash: -776780947269731110
|
123
137
|
requirements: []
|
124
|
-
|
125
138
|
rubyforge_project:
|
126
|
-
rubygems_version: 1.
|
139
|
+
rubygems_version: 1.8.24
|
127
140
|
signing_key:
|
128
141
|
specification_version: 3
|
129
142
|
summary: Postmark adapter for ActionMailer
|
130
|
-
test_files:
|
143
|
+
test_files:
|
131
144
|
- spec/fixtures/models/test_mailer.rb
|
145
|
+
- spec/fixtures/views/test_mailer/multipart_message.html.erb
|
146
|
+
- spec/fixtures/views/test_mailer/multipart_message.text.erb
|
147
|
+
- spec/fixtures/views/test_mailer/simple_message.erb
|
148
|
+
- spec/fixtures/views/test_mailer/tagged_message.erb
|
132
149
|
- spec/postmark-rails_spec.rb
|
150
|
+
- spec/spec.opts
|
133
151
|
- spec/spec_helper.rb
|
data/Gemfile.lock
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
postmark-rails (0.4.0)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: http://rubygems.org/
|
8
|
-
specs:
|
9
|
-
archive-tar-minitar (0.5.2)
|
10
|
-
columnize (0.3.1)
|
11
|
-
gemcutter (0.6.1)
|
12
|
-
git (1.2.5)
|
13
|
-
jeweler (1.4.0)
|
14
|
-
gemcutter (>= 0.1.0)
|
15
|
-
git (>= 1.2.5)
|
16
|
-
rubyforge (>= 2.0.0)
|
17
|
-
json_pure (1.4.6)
|
18
|
-
linecache (0.43)
|
19
|
-
linecache19 (0.5.11)
|
20
|
-
ruby_core_source (>= 0.1.4)
|
21
|
-
rspec (1.3.0)
|
22
|
-
ruby-debug (0.10.3)
|
23
|
-
columnize (>= 0.1)
|
24
|
-
ruby-debug-base (~> 0.10.3.0)
|
25
|
-
ruby-debug-base (0.10.3)
|
26
|
-
linecache (>= 0.3)
|
27
|
-
ruby-debug-base19 (0.11.24)
|
28
|
-
columnize (>= 0.3.1)
|
29
|
-
linecache19 (>= 0.5.11)
|
30
|
-
ruby_core_source (>= 0.1.4)
|
31
|
-
ruby-debug19 (0.11.6)
|
32
|
-
columnize (>= 0.3.1)
|
33
|
-
linecache19 (>= 0.5.11)
|
34
|
-
ruby-debug-base19 (>= 0.11.19)
|
35
|
-
ruby_core_source (0.1.4)
|
36
|
-
archive-tar-minitar (>= 0.5.2)
|
37
|
-
rubyforge (2.0.4)
|
38
|
-
json_pure (>= 1.1.7)
|
39
|
-
|
40
|
-
PLATFORMS
|
41
|
-
ruby
|
42
|
-
|
43
|
-
DEPENDENCIES
|
44
|
-
jeweler
|
45
|
-
postmark-rails!
|
46
|
-
rspec
|
47
|
-
ruby-debug
|
48
|
-
ruby-debug19
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.4.1
|