notify_user 0.1.1 → 0.1.2
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 +4 -4
- data/app/models/notify_user/houston.rb +1 -1
- data/lib/notify_user/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b33bbd2593d7ade8139c4a5a5bbb693ca0806fc6
|
|
4
|
+
data.tar.gz: cd5dba867d875a448871642ca027b5553f937c02
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 91ae7db27368c1ea284d9eb6567bf8f5430a7f956bf12c3cc5163a0662aad19543fc0d19e55dce11ca226414ee1d196159ad5b075ee6e511ab42f8257bc12488
|
|
7
|
+
data.tar.gz: 42525066c51679061f1cc730797c090d87a5b9a911ba2d510fcd7dd6f9cc7202601220ae5a5c79585b48d4fd83ac9bdcbc86307c3d5073f20df2622b95a75777
|
|
@@ -21,7 +21,7 @@ module NotifyUser
|
|
|
21
21
|
|
|
22
22
|
device_method = @options[:device_method] || :devices
|
|
23
23
|
begin
|
|
24
|
-
@devices = @notification.target.send(device_method)
|
|
24
|
+
@devices = @notification.target.send(device_method).to_a
|
|
25
25
|
rescue
|
|
26
26
|
Rails.logger.info "Notification target, #{@notification.target.class}, does not respond to the method, #{device_method}."
|
|
27
27
|
end
|
data/lib/notify_user/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: notify_user
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tom Spacek
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-03-
|
|
11
|
+
date: 2015-03-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|