mandrill_queue 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d51589640920eb3e6f0adc4a4216b56bf018a6a3
4
- data.tar.gz: 734ac1825282bd142a07b3206341cf5092ff6ddc
3
+ metadata.gz: 961ad407cef879d00da3852d8e8d920f405ff160
4
+ data.tar.gz: ceb0ef271bf3d163c84ea598808c125b27562dfb
5
5
  SHA512:
6
- metadata.gz: 18e64f5f2569a7a647f82b28496aa1a3a29536a5f39ffbe94903db5c0732434094b55d228f01a268db91ad76f17a8f5ffcc3b347c74874efc110200c5d7cca30
7
- data.tar.gz: f8c468c62f2761a70ccfa63d80fb692770619d8a1f8626383216a32bf32d506938b1baa2a1956408d4d93d4797b0de39202981837f5f8829330481e17ddf28c1
6
+ metadata.gz: ea3d5ed0c708b7eb176e1c57647f63e2c612a70fd641b22611e9d9fc5310a628133a06d8a8bdc1393348c6ec8c4021f925ca2a0d1e4ec750cb92d89190a6b219
7
+ data.tar.gz: 0544bdd18ca4fb03af450fae213a6ab63b1ff4bf2ae5b32a21d9b395db811e104629370636807db9d11311c84b682ff30efe14b981ba292d3ed4ddf337e8882b
@@ -0,0 +1,7 @@
1
+ # 0.2.7
2
+
3
+ * Optionally pass adapter options through deliver method
4
+
5
+ # 0.2.6
6
+
7
+ * Added adapter settings (delayed mails through Sidekiq / Resque)
@@ -132,9 +132,9 @@ module MandrillQueue
132
132
  end
133
133
  end
134
134
 
135
- def deliver
135
+ def deliver(options = {})
136
136
  validate!
137
- MandrillQueue.adapter.enqueue_to(queue, worker_class, adapter_options, to_hash)
137
+ MandrillQueue.adapter.enqueue_to(queue, worker_class, adapter_options.merge(options), to_hash)
138
138
  end
139
139
 
140
140
  def adapter_options(options = nil)
@@ -1,3 +1,3 @@
1
1
  module MandrillQueue
2
- VERSION = '0.2.6'
2
+ VERSION = '0.2.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mandrill_queue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stan Bondi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-04 00:00:00.000000000 Z
11
+ date: 2015-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -62,70 +62,70 @@ dependencies:
62
62
  name: rake
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - ">="
65
+ - - "~>"
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ">="
72
+ - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: timecop
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - ">="
79
+ - - "~>"
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - ">="
86
+ - - "~>"
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: rspec-mocks
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ">="
93
+ - - "~>"
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - ">="
100
+ - - "~>"
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: factory_girl
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - ">="
107
+ - - "~>"
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
- - - ">="
114
+ - - "~>"
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: faker
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
- - - ">="
121
+ - - "~>"
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - ">="
128
+ - - "~>"
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
131
  description: An easy to use DSL to send mailers using Mailchimps Mandrill api.
@@ -135,6 +135,7 @@ executables: []
135
135
  extensions: []
136
136
  extra_rdoc_files: []
137
137
  files:
138
+ - CHANGELOG.md
138
139
  - Gemfile
139
140
  - Guardfile
140
141
  - LICENSE.txt