mandrill_mailer 0.4.9 → 0.4.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjFiMmQwMDkwY2Y2MmEyOWQyNjIwNjZlNGEwZDk3ZGI3YTE4NTZiMw==
4
+ MDUzNzVlMjM5OTBlNWNiMWEzZDQ5OTkzOTBmYzU3MzI2NTNlNTMzOA==
5
5
  data.tar.gz: !binary |-
6
- YTIxMzNmNjllMDkwN2E1NDhhMTAzMTM5YjJhMjFhYTAzNDJiNGUxYQ==
6
+ ZTdkYWM1ZTljZGVmZTIyMmI3M2I2NjEyNTU3ODY5MjRjZTAwMjFmYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YWNjOTFlZmIzNmU0MWVkZmIyMzU0YmZmNmI1NzlmZWUyZjM0ZGEyNWJlNzY1
10
- NzBiMGY5ZDFkZjFiNzIwNDAxMmJjODEwOTc1N2FlYmYwMWI0Njc2NDM1NmRh
11
- ZWYxZjBiYTllZWFhZDk4YzU1YWQ5YzIxNWZkNTAxNzIwZWYyOTk=
9
+ NTVhYzQ1NmU1MDQzOTI1ODcxNTgxMTg3YTQ5ZDU5NWVjYjhlNGQ3OTQ0ZDg4
10
+ NDBkYzA0MGZkYjRkYTFiZDU0ZmI0NjEyYmUzNjQ1N2JhYzhlZmY2YzdhMGQ2
11
+ YTFjZTE2Yjk2MTc3MTAyNDBiNmZjN2I5MTg5ZWVlZmVjNTUxOGE=
12
12
  data.tar.gz: !binary |-
13
- OGIwMDk1NWE5OTNkN2JjYTZhZTZhNGY4ZWExNjUwODFmZDU3MjM5Nzc0OWQx
14
- YWE2YWVmZWRjZDMwNDU0NDYyY2RkMzcyODVmOTllYmQyNmUzODU5ZTRkZGFh
15
- MmQ3Zjg3MGNhYzI0MDk1MzY5YzNmNjY1NTgyZTYwN2JmNTU2Mjc=
13
+ ZWJlMzhjODI2MmYxODJkODRhYTM4ODY4YjFjZDFmZDZjNTczNzc2N2ZhMDU1
14
+ M2QwZDIyODUzMzg0YjA2MTZmMGQyMjE5Nzg4ZmQ2ZDAyYTk5MzNhNmQwYTAz
15
+ NTFiM2NmMDc4NzI1MmY1MWRiYTYyOTJjMjJhZTBjM2IwZTVmNWQ=
@@ -102,7 +102,6 @@ require 'base64'
102
102
 
103
103
  module MandrillMailer
104
104
  class CoreMailer
105
- # include Rails.application.routes.url_helpers
106
105
  include ActionView::Helpers::NumberHelper
107
106
 
108
107
  class InvalidEmail < StandardError; end
@@ -113,7 +113,6 @@ module MandrillMailer
113
113
  # Public: Triggers the stored Mandrill params to be sent to the Mandrill api
114
114
  def deliver
115
115
  mandrill = Mandrill::API.new(api_key)
116
- check_required_options(message)
117
116
  mandrill.messages.send_template(template_name, template_content, message, async, ip_pool, send_at)
118
117
  end
119
118
 
@@ -214,13 +213,5 @@ module MandrillMailer
214
213
  "send_at" => send_at
215
214
  }
216
215
  end
217
-
218
- def check_required_options(options)
219
- names = ['to', 'from', 'subject']
220
-
221
- names.each do |name|
222
- warn("Mandrill Mailer Warn: missing required option: #{name}") unless options.has_key?(name)
223
- end
224
- end
225
216
  end
226
217
  end
@@ -1,3 +1,3 @@
1
1
  module MandrillMailer
2
- VERSION = "0.4.9"
2
+ VERSION = "0.4.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mandrill_mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.9
4
+ version: 0.4.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Rensel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-30 00:00:00.000000000 Z
11
+ date: 2014-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport