sensu-redis 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sensu/redis.rb +4 -1
- data/sensu-redis.gemspec +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcfdf0b6608146e540e20c6f387455d0a34a4b5d
|
4
|
+
data.tar.gz: 522e12100ed683a303de2003ac92588327e4b23b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e0c01fc853d422b50389602cf1f4c201e6144ba278719d120117fc3c386365e802f5b94bb343df2ee1b21e4a3e36786b8ccd8d68bebb5fc0e491e46a88ca18c
|
7
|
+
data.tar.gz: 8db45541c882d821c500cd570faac609630c4c35be0d339fbf1fb5d665cc69cb401497f1e7f095c103a913b39fed7a2b3f5f51b7c6d89ac049545c5480b9e703
|
data/lib/sensu/redis.rb
CHANGED
@@ -30,8 +30,11 @@ module Sensu
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def connect(options={})
|
33
|
-
|
33
|
+
case options
|
34
|
+
when String
|
34
35
|
options = parse_url(options)
|
36
|
+
when nil
|
37
|
+
options = {}
|
35
38
|
end
|
36
39
|
options[:host] ||= "127.0.0.1"
|
37
40
|
options[:port] = (options[:port] || 6379).to_i
|
data/sensu-redis.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-redis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Porter
|
@@ -129,3 +129,4 @@ signing_key:
|
|
129
129
|
specification_version: 4
|
130
130
|
summary: The Sensu Redis client library
|
131
131
|
test_files: []
|
132
|
+
has_rdoc:
|