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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 515bd96984f21b7704d46e69ce490f248f16d199
4
- data.tar.gz: 16953745c27f417ba4061bdac8d26c7ea0971302
3
+ metadata.gz: b33bbd2593d7ade8139c4a5a5bbb693ca0806fc6
4
+ data.tar.gz: cd5dba867d875a448871642ca027b5553f937c02
5
5
  SHA512:
6
- metadata.gz: b7876509ccbcf8851e75f08d719b615dd56e65b21faa5028960083cba81c2bd1712c9ee130cfdb7c397ea8f9feb4f6159c2d162c4c81961cfc2ca2013e21843f
7
- data.tar.gz: d1f7a817c8da8eea278c005fcc3f73fadb9425b9074d985de67fa73a7635bc5e263f51475588999f671d4d145a8f007b225b984300d32b02fad9ac78dc523f26
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
@@ -1,3 +1,3 @@
1
1
  module NotifyUser
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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-27 00:00:00.000000000 Z
11
+ date: 2015-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails