mail_male_mail 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,8 @@ module MailMaleMail
2
2
  module PostalService
3
3
  def self.api_request(settings, message)
4
4
  if settings[:method].to_s == "iron_mq"
5
- queue = IronMQ::Client.new(token: settings[:token], project_id: settings[:project_id]).queue(settings[:queue])
5
+ settings[:host] ||= "mq-aws-us-east-1"
6
+ queue = IronMQ::Client.new(host: settings[:host], token: settings[:token], project_id: settings[:project_id]).queue(settings[:queue])
6
7
  queue.post(message.to_json)
7
8
  else
8
9
  uri = URI(url)
@@ -1,3 +1,3 @@
1
1
  module MailMaleMail
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail_male_mail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-13 00:00:00.000000000 Z
12
+ date: 2013-05-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionmailer