sensu-redis 0.1.10 → 0.1.11
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/.gitignore +2 -1
- data/lib/sensu/redis/client.rb +2 -2
- data/lib/sensu/redis/sentinel.rb +1 -1
- data/sensu-redis.gemspec +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: 4172f2d18d1dbcb45355ced74b16cc32df6a96c9
|
|
4
|
+
data.tar.gz: fc2433374afbb9479b15c0ff1865c3e2f88c26e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b6ed1d80e9a420e0e3aa3c8b89093c535edffda903cf62f02f89e04e36118c4930c5a653edaf8706d2386c5d612a5aeb4e23d20cc98c3a8866011b2902208fb
|
|
7
|
+
data.tar.gz: 741df53a52163cb744898966789ea58ec7e448d86ac2389cebf38324f5d2f190e433d6d43bff835d6dcac1c4cc7587f6f660719d67a6a0b7a8e924ffeb726dbd
|
data/.gitignore
CHANGED
data/lib/sensu/redis/client.rb
CHANGED
|
@@ -175,7 +175,7 @@ module Sensu
|
|
|
175
175
|
# Subscribe to a Redis PubSub channel.
|
|
176
176
|
#
|
|
177
177
|
# @param channel [String]
|
|
178
|
-
# @yield channel message callback
|
|
178
|
+
# @yield channel message callback.
|
|
179
179
|
def subscribe(channel, &block)
|
|
180
180
|
@pubsub_callbacks ||= Hash.new([])
|
|
181
181
|
@pubsub_callbacks[channel] << block
|
|
@@ -188,7 +188,7 @@ module Sensu
|
|
|
188
188
|
# Redis PubSub channels.
|
|
189
189
|
#
|
|
190
190
|
# @param channel [String]
|
|
191
|
-
# @yield unsubscribe callback
|
|
191
|
+
# @yield unsubscribe callback.
|
|
192
192
|
def unsubscribe(channel=nil, &block)
|
|
193
193
|
@pubsub_callbacks ||= Hash.new([])
|
|
194
194
|
arguments = [UNSUBSCRIBE_COMMAND]
|
data/lib/sensu/redis/sentinel.rb
CHANGED
data/sensu-redis.gemspec
CHANGED