sensu 0.9.5.beta.4 → 0.9.5.beta.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sensu/api.rb +3 -1
- data/lib/sensu/patches/redis.rb +4 -4
- data/lib/sensu/version.rb +1 -1
- metadata +3 -3
data/lib/sensu/api.rb
CHANGED
data/lib/sensu/patches/redis.rb
CHANGED
@@ -7,15 +7,15 @@ module Redis
|
|
7
7
|
@reconnecting = false
|
8
8
|
if @redis_password
|
9
9
|
auth(@redis_password).callback do |reply|
|
10
|
-
unless reply ==
|
10
|
+
unless reply == 'OK'
|
11
11
|
raise('could not authenticate')
|
12
12
|
end
|
13
13
|
end
|
14
14
|
end
|
15
15
|
info.callback do |reply|
|
16
|
-
redis_version = reply.split(/\n/).first.split(/:/).last
|
17
|
-
|
18
|
-
raise('redis version must be >= 2.0')
|
16
|
+
redis_version = reply.split(/\n/).first.split(/:/).last.chomp
|
17
|
+
if redis_version < '1.3.14'
|
18
|
+
raise('redis version must be >= 2.0 RC 1')
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
data/lib/sensu/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 62196241
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
9
|
- 5
|
10
10
|
- beta
|
11
|
-
-
|
12
|
-
version: 0.9.5.beta.
|
11
|
+
- 5
|
12
|
+
version: 0.9.5.beta.5
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Sean Porter
|