mailchimp_ses 1.0.2 → 1.0.3

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/CHANGELOG.md ADDED
@@ -0,0 +1,15 @@
1
+ 1.0.3
2
+ -----
3
+ * Added reply_to option [jeffmcfadden]
4
+
5
+ 1.0.2
6
+ -----
7
+ * Bugfix for parameters, for real.
8
+
9
+ 1.0.1
10
+ -----
11
+ * Bugfix for parameters.
12
+
13
+ 1.0.0
14
+ -----
15
+ * Birthday
data/README.md CHANGED
@@ -27,6 +27,7 @@ Usage example:
27
27
  :text => 'Welcome to our website.',
28
28
  :from_name => 'David Balatero',
29
29
  :from_email => 'david@balatero.com',
30
+ :reply_to => 'david@alias.com',
30
31
  :to_email => ['john@smith.com'],
31
32
  :to_name => ['John Smith']
32
33
  },
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
data/lib/mailchimp_ses.rb CHANGED
@@ -40,6 +40,11 @@ class MailchimpSes < MonsterMash::Base
40
40
  if options[:message].has_key?(:to_name) && !options[:message][:to_name].empty?
41
41
  message[:to_name] = convert_to_hash_array(options[:message][:to_name])
42
42
  end
43
+
44
+ # Pull optional reply_to.
45
+ if options[:message].has_key?(:reply_to) && !options[:message][:reply_to].blank?
46
+ message[:reply_to] = convert_to_hash_array(options[:message][:reply_to])
47
+ end
43
48
 
44
49
  # Check on to_email and to_name length.
45
50
  if message.has_key?(:to_email) && message.has_key?(:to_name) &&
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mailchimp_ses}
8
- s.version = "1.0.2"
8
+ s.version = "1.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David Balatero"]
12
- s.date = %q{2011-02-19}
12
+ s.date = %q{2011-03-22}
13
13
  s.description = %q{Allows you to call MailChimp <-> Amazon SES integration methods.}
14
14
  s.email = %q{dbalatero@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -20,6 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.files = [
21
21
  ".document",
22
22
  ".rspec",
23
+ "CHANGELOG.md",
23
24
  "Gemfile",
24
25
  "Gemfile.lock",
25
26
  "LICENSE.txt",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailchimp_ses
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Balatero
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-19 00:00:00 -08:00
18
+ date: 2011-03-22 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -213,6 +213,7 @@ extra_rdoc_files:
213
213
  files:
214
214
  - .document
215
215
  - .rspec
216
+ - CHANGELOG.md
216
217
  - Gemfile
217
218
  - Gemfile.lock
218
219
  - LICENSE.txt