hertz-courier-email 1.0.0 → 1.0.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6781ef73572ff9f7a7f62901720a30bd01bbc27b
|
4
|
+
data.tar.gz: dc54040e52fb0928cae7e558685d774f197518d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1e8ebac8a65c1e7316c6321f7d4fac2bb7f2d8542870365815f224181ebf994513f761cec15a9422e4a5d66d13fc320db72d34bc803fca8ca00a6c3135ab5c5
|
7
|
+
data.tar.gz: a4cfb9e5c5142c8e396f659a36ff62f11306ff3d3d0d25067ae2d1daae2e02ff10596c6b8faba2dd56be62cf1a45e4fefeeb2aa9b9e1dc4235dcf624248c8cd4
|
data/README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
# Hertz::Courier::Email
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/hertz-courier-email.svg)](https://badge.fury.io/rb/hertz-courier-email)
|
3
4
|
[![Dependency Status](https://gemnasium.com/badges/github.com/alessandro1997/hertz-courier-email.svg)](https://gemnasium.com/github.com/alessandro1997/hertz-courier-email)
|
4
5
|
[![Code Climate](https://codeclimate.com/github/alessandro1997/hertz-courier-email/badges/gpa.svg)](https://codeclimate.com/github/alessandro1997/hertz-courier-email)
|
5
6
|
|
@@ -7,10 +7,13 @@ module Hertz
|
|
7
7
|
|
8
8
|
def perform(notification)
|
9
9
|
return unless notification.receiver.hertz_email.present?
|
10
|
+
return if notification.delivered_with?(:email)
|
10
11
|
|
11
12
|
Hertz::Courier::Email::NotificationMailer
|
12
13
|
.notification_email(notification)
|
13
14
|
.deliver_now
|
15
|
+
|
16
|
+
notification.mark_delivered_with(:email)
|
14
17
|
end
|
15
18
|
end
|
16
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hertz-courier-email
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alessandro Desantis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.0.
|
33
|
+
version: 1.0.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.0.
|
40
|
+
version: 1.0.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|