notifyor 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/notifyor/remote/connection.rb +2 -1
- data/lib/notifyor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e26b81491bdfd3c2178d00f603ee444ec7d8783
|
4
|
+
data.tar.gz: 6c4da9db8d330ea2c40f3614ac83bf057620b085
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4ff6d80a2f24183bbe05926c7e3ba9ef7e254ea09bbcd5472eefd5e85ec5100896543d9e35124763b02ec9d0aec270e56b3a1be422666dd40302dc775f4dc25
|
7
|
+
data.tar.gz: dc7dd08f8be1a11a30250a0ffe9e8e06395a46c63120bcaeb88ad9b7210595c92de09ae5eb7a071ef0f65a504997fac2cf56557579cfd134fa33341f7d801d19
|
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'json'
|
1
2
|
require 'redis-objects'
|
2
3
|
require 'notifyor/growl'
|
3
4
|
require 'notifyor/util/formatter'
|
@@ -31,7 +32,7 @@ module Notifyor
|
|
31
32
|
def subscribe_to_redis
|
32
33
|
@redis_tunnel_connection.subscribe('notifyor') do |on|
|
33
34
|
on.message do |channel, msg|
|
34
|
-
data = JSON.parse(msg)
|
35
|
+
data = ::JSON.parse(msg)
|
35
36
|
growl_message(data['message'])
|
36
37
|
end
|
37
38
|
end
|
data/lib/notifyor/version.rb
CHANGED