aws-ses 0.3.0 → 0.3.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/Gemfile CHANGED
@@ -16,4 +16,4 @@ end
16
16
  gem 'xml-simple'
17
17
  gem 'builder'
18
18
  gem 'mime-types'
19
- gem 'mail', '~> 2.2.15'
19
+ gem 'mail', '~> 2.2.5'
data/Gemfile.lock CHANGED
@@ -32,7 +32,7 @@ DEPENDENCIES
32
32
  bundler (~> 1.0.0)
33
33
  flexmock (~> 0.8.11)
34
34
  jeweler (~> 1.5.2)
35
- mail (~> 2.2.15)
35
+ mail (~> 2.2.5)
36
36
  mime-types
37
37
  rcov
38
38
  shoulda-context
data/README CHANGED
@@ -69,13 +69,21 @@ You can call 'quota' or 'statistics'
69
69
 
70
70
  == Rails
71
71
 
72
- This gem is compatible with Rails. Simply add this to your `config/environments/*.rb` as appropriate:
72
+ This gem is compatible with Rails >= 3.0.0
73
73
 
74
- ses = AWS::SES::Base.new(
75
- :access_key_id => 'abc',
74
+ To use, first add the gem to your Gemfile:
75
+
76
+ gem "aws-ses", "~> 0.3.1", :require => 'aws/ses'
77
+
78
+ Then, add your Amazon credentials and extend ActionMailer in `config/initializers/amazon_ses.rb`:
79
+
80
+ ActionMailer::Base.add_delivery_method :ses, AWS::SES::Base,
81
+ :access_key_id => 'abc',
76
82
  :secret_access_key => '123'
77
- )
78
- config.action_mailer.deliver_method = ses
83
+
84
+ Then set the delivery method in `config/environments/*rb` as appropriate:
85
+
86
+ config.action_mailer.delivery_method = :ses
79
87
 
80
88
  == Source
81
89
 
@@ -97,4 +105,4 @@ Copyright (c) 2011 Drew Blas. See LICENSE for further details.
97
105
 
98
106
  == Thanks
99
107
 
100
- Special thanks to Marcel Molina Jr. for his creation of AWS::S3 which I used portions of to get things working.
108
+ Special thanks to Marcel Molina Jr. for his creation of AWS::S3 which I used portions of to get things working.
data/README.erb CHANGED
@@ -16,13 +16,21 @@
16
16
 
17
17
  == Rails
18
18
 
19
- This gem is compatible with Rails. Simply add this to your `config/environments/*.rb` as appropriate:
19
+ This gem is compatible with Rails >= 3.0.0
20
20
 
21
- ses = AWS::SES::Base.new(
22
- :access_key_id => 'abc',
21
+ To use, first add the gem to your Gemfile:
22
+
23
+ gem "aws-ses", "~> 0.3.1", :require => 'aws/ses'
24
+
25
+ Then, add your Amazon credentials and extend ActionMailer in `config/initializers/amazon_ses.rb`:
26
+
27
+ ActionMailer::Base.add_delivery_method :ses, AWS::SES::Base,
28
+ :access_key_id => 'abc',
23
29
  :secret_access_key => '123'
24
- )
25
- config.action_mailer.deliver_method = ses
30
+
31
+ Then set the delivery method in `config/environments/*rb` as appropriate:
32
+
33
+ config.action_mailer.delivery_method = :ses
26
34
 
27
35
  == Source
28
36
 
@@ -44,4 +52,4 @@ Copyright (c) 2011 Drew Blas. See LICENSE for further details.
44
52
 
45
53
  == Thanks
46
54
 
47
- Special thanks to Marcel Molina Jr. for his creation of AWS::S3 which I used portions of to get things working.
55
+ Special thanks to Marcel Molina Jr. for his creation of AWS::S3 which I used portions of to get things working.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
data/aws-ses.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{aws-ses}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Drew Blas", "Marcel Molina Jr."]
12
- s.date = %q{2011-01-31}
12
+ s.date = %q{2011-02-01}
13
13
  s.description = %q{Client library for Amazon's Simple Email Service's REST API}
14
14
  s.email = %q{drew.blas@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -68,7 +68,7 @@ Gem::Specification.new do |s|
68
68
  s.add_runtime_dependency(%q<xml-simple>, [">= 0"])
69
69
  s.add_runtime_dependency(%q<builder>, [">= 0"])
70
70
  s.add_runtime_dependency(%q<mime-types>, [">= 0"])
71
- s.add_runtime_dependency(%q<mail>, ["~> 2.2.15"])
71
+ s.add_runtime_dependency(%q<mail>, ["~> 2.2.5"])
72
72
  s.add_development_dependency(%q<shoulda-context>, [">= 0"])
73
73
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
74
74
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
@@ -81,7 +81,7 @@ Gem::Specification.new do |s|
81
81
  s.add_dependency(%q<xml-simple>, [">= 0"])
82
82
  s.add_dependency(%q<builder>, [">= 0"])
83
83
  s.add_dependency(%q<mime-types>, [">= 0"])
84
- s.add_dependency(%q<mail>, ["~> 2.2.15"])
84
+ s.add_dependency(%q<mail>, ["~> 2.2.5"])
85
85
  s.add_dependency(%q<shoulda-context>, [">= 0"])
86
86
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
87
87
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
@@ -95,7 +95,7 @@ Gem::Specification.new do |s|
95
95
  s.add_dependency(%q<xml-simple>, [">= 0"])
96
96
  s.add_dependency(%q<builder>, [">= 0"])
97
97
  s.add_dependency(%q<mime-types>, [">= 0"])
98
- s.add_dependency(%q<mail>, ["~> 2.2.15"])
98
+ s.add_dependency(%q<mail>, ["~> 2.2.5"])
99
99
  s.add_dependency(%q<shoulda-context>, [">= 0"])
100
100
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
101
101
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
@@ -3,7 +3,7 @@ module AWS
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = '0'
5
5
  MINOR = '3'
6
- TINY = '0'
6
+ TINY = '1'
7
7
  BETA = Time.now.to_i.to_s
8
8
  end
9
9
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-ses
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Drew Blas
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-01-31 00:00:00 -06:00
19
+ date: 2011-02-01 00:00:00 -06:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -70,12 +70,12 @@ dependencies:
70
70
  requirements:
71
71
  - - ~>
72
72
  - !ruby/object:Gem::Version
73
- hash: 25
73
+ hash: 13
74
74
  segments:
75
75
  - 2
76
76
  - 2
77
- - 15
78
- version: 2.2.15
77
+ - 5
78
+ version: 2.2.5
79
79
  requirement: *id004
80
80
  - !ruby/object:Gem::Dependency
81
81
  prerelease: false