mandrill_mailer 0.4.10 → 0.4.11

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDUzNzVlMjM5OTBlNWNiMWEzZDQ5OTkzOTBmYzU3MzI2NTNlNTMzOA==
4
+ YzE4ZGUwNzA5Mjg1YWRhMTBjZTkyM2ExYmY5MzIwYWYwOWMzMDNkMQ==
5
5
  data.tar.gz: !binary |-
6
- ZTdkYWM1ZTljZGVmZTIyMmI3M2I2NjEyNTU3ODY5MjRjZTAwMjFmYw==
6
+ YzI0ZmRkMzQ0OGNiMDc5NTliYjZiOGEwNmVlMDM3YzFlNzI3MjMwMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTVhYzQ1NmU1MDQzOTI1ODcxNTgxMTg3YTQ5ZDU5NWVjYjhlNGQ3OTQ0ZDg4
10
- NDBkYzA0MGZkYjRkYTFiZDU0ZmI0NjEyYmUzNjQ1N2JhYzhlZmY2YzdhMGQ2
11
- YTFjZTE2Yjk2MTc3MTAyNDBiNmZjN2I5MTg5ZWVlZmVjNTUxOGE=
9
+ NTQ3ZWU1Yzg1OGM3ZTFmN2IzMmQ3OWY0ZmE3MDUxMWYzMmI5MWY0YzRiMWRi
10
+ NzhhY2M3YmMyZWIzYjYxYWRmMzc1YjMxYjhiZWU2YzBkNDQ2ZjhjMTMzZWQ1
11
+ NGFhMDgwOTVhZWExNzVlZDUxNzk1ZGQ1ZTk2OGQ2ZGIzZWFmYmY=
12
12
  data.tar.gz: !binary |-
13
- ZWJlMzhjODI2MmYxODJkODRhYTM4ODY4YjFjZDFmZDZjNTczNzc2N2ZhMDU1
14
- M2QwZDIyODUzMzg0YjA2MTZmMGQyMjE5Nzg4ZmQ2ZDAyYTk5MzNhNmQwYTAz
15
- NTFiM2NmMDc4NzI1MmY1MWRiYTYyOTJjMjJhZTBjM2IwZTVmNWQ=
13
+ OGQwYmY3ZDdkMzA4MWY2MGEyOTRkNGU2MmNhMTUzMzYxNjIxZTJlMmMwNTM3
14
+ NmYyODc2ZWQxOGZlZTAyZGVmMTk4MTYzZDVlZGRiYTJjZWZhNDQwZDk2OGU4
15
+ NjgzYzQyZTMxZjMyM2MzYWIxYmYyMGFkYjRlNGEyNzQ3NWI2NWU=
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 0.4.9
2
+ - [FEATURE] Added offline support for the MandrillMailer::Messenger class. Thanks @arthurtalkgoal
3
+
1
4
  # 0.4.9
2
5
  - [FEATURE] Added support for the Mandrill Messages api by adding a MandrillMailer::Messenger class. Thanks @arthurtalkgoal
3
6
 
@@ -37,4 +37,15 @@ module MandrillMailer
37
37
  })
38
38
  end
39
39
  end
40
+ class MessageMailer
41
+ def deliver
42
+
43
+ MandrillMailer.deliveries << MandrillMailer::Mock.new({
44
+ :message => message,
45
+ :async => async,
46
+ :ip_pool => ip_pool,
47
+ :send_at => send_at
48
+ })
49
+ end
50
+ end
40
51
  end
@@ -1,3 +1,3 @@
1
1
  module MandrillMailer
2
- VERSION = "0.4.10"
2
+ VERSION = "0.4.11"
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.10
4
+ version: 0.4.11
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-10-20 00:00:00.000000000 Z
11
+ date: 2014-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport