notifly 0.3.2 → 0.3.3

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: 3db709f0dcd09932609351d9eecad1779c9f1edb
4
- data.tar.gz: 5878e7e50fdf4fb0cb219eab4ed08ca0165d9497
3
+ metadata.gz: 451c45effd33eee07444e8cfd3b12e6e5a8543bf
4
+ data.tar.gz: 875ad52e8dcb6d776007880d93f582afcf742ec3
5
5
  SHA512:
6
- metadata.gz: 895bed1c390b0288aac01d3e85ea5ec7e3c829da622678f43958db290411f39dd77f023b83a43bb737a94b07d1941ee09c15d0598af6c2b5287f36b8b71e2f5f
7
- data.tar.gz: cdcc36903a7bc8434e193efd8a76897c54cdc0122d8343134837d3b3c679ae39bfabd721439b9464c7dd78decdf1366afe84df2eb5fbc7182ae6d9b0f5e3fb2e
6
+ metadata.gz: f94a8a9765d4e4239a2be377be780eb8cc4b747b3a8a8d1f6dc81214e331b1f57cb879656b79b8e8446b5df6445d706e6114b28f71162cd03a0490e2f2ba8fcb
7
+ data.tar.gz: b4b9711473e44d89d23b0400d1f083880a26708b583d55c1b8b5b5ed69995ba372ab4acd92029945c3ff40e726a91f918573ebfed1cd04de4a108e66c136235c
data/README.md CHANGED
@@ -205,7 +205,7 @@ class ApplicationController < ActionController::Base
205
205
  helper_method :current_user
206
206
  end
207
207
  end
208
- ``
208
+ ```
209
209
 
210
210
  After that you need our assets, add them to your `application.js` and `application.css`.
211
211
 
@@ -143,8 +143,7 @@ module Notifly
143
143
 
144
144
  if fly.mail.present?
145
145
  template = fly.mail.try(:fetch, :template) || notification.template
146
-
147
- Notifly::NotificationMailer.notifly to: self.email, template: template,
146
+ Notifly::NotificationMailer.notifly to: instance_eval(fly.receiver.to_s).email, template: template,
148
147
  notification_id: notification.id
149
148
  end
150
149
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notifly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedro Passalini
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-30 00:00:00.000000000 Z
12
+ date: 2015-01-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails