mailboxer 0.12.3 → 0.12.4

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 83c5af40261eb68998090ef33010a05ba44a54df
4
- data.tar.gz: 6b0895601d10951c432646a0c01523a31c578be1
3
+ metadata.gz: ebfe237459d6d5d336aa8a577c1919e2f061bfee
4
+ data.tar.gz: 9690a641bffbf574024f20559e6fb80008f58344
5
5
  SHA512:
6
- metadata.gz: b87562b725cd716da86a4a14a9e045ae135472eb3785573d20e2ba65e1afc3e71da7a4dc5b068b59fb6711de8599cc4c5d663850bebadb536bc40feb0e6c8052
7
- data.tar.gz: 9f6d429ff50bd88ed755ccd3df267255ecbe1bf0158e0723490b626e630fc3718c1a890eab639262f5ddc6572a8df541fbf193b7ea5574700b58ab9594b2bf0a
6
+ metadata.gz: 9f1f3336341d9f656f9e788fa25bdb2bb7095fbb20a9cba2471ba9e1f0907b6012390c4e3f3a934d3398b28c3f73a60c9f60d78dd5a54fa30a0de20ddeaedc99
7
+ data.tar.gz: b7f0d86046631dff40628d2e29c349f84e1136a43eb5ab5ee861ce0e8bfde6b6ebd739f192c49fb5824c100c9349d2c47499288359af12299a805061dae90ca4
data/README.md CHANGED
@@ -313,3 +313,5 @@ If you need a GUI you should take a look a these links:
313
313
  * [rjst](https://github.com/ging/mailboxer/commits/master?author=rjst) (Ricardo Trindade)
314
314
  * [fabianoalmeida](https://github.com/ging/mailboxer/commits/master?author=fabianoalmeida) (Fabiano Almeida)
315
315
  * [supremebeing7](https://github.com/ging/mailboxer/commits/master?author=supremebeing7) (Mark J. Lehman)
316
+ * [searsaw](https://github.com/mailboxer/mailboxer/commits/master?author=searsaw) (Alex Sears)
317
+ * [joshblour](https://github.com/mailboxer/mailboxer/commits/master?author=joshblour) (Yonah Forst)
@@ -33,8 +33,8 @@ class Mailboxer::Message < Mailboxer::Notification
33
33
 
34
34
  temp_receipts << sender_receipt
35
35
 
36
- if temp_receipts.all?(&:save!)
37
-
36
+ if temp_receipts.all?(&:valid?)
37
+ temp_receipts.each(&:save!)
38
38
  Mailboxer::MailDispatcher.new(self, recipients).call
39
39
 
40
40
  conversation.touch if reply
@@ -1,3 +1,3 @@
1
1
  module Mailboxer
2
- VERSION = "0.12.3"
2
+ VERSION = "0.12.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailboxer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.3
4
+ version: 0.12.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo Casanova Cuesta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-01 00:00:00.000000000 Z
11
+ date: 2014-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foreigner