ey_stonith 0.3.2 → 0.3.3
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.
- data/lib/ey_stonith/database.rb +1 -1
- metadata +7 -7
data/lib/ey_stonith/database.rb
CHANGED
|
@@ -56,7 +56,7 @@ module EY
|
|
|
56
56
|
|
|
57
57
|
def load_redis
|
|
58
58
|
redis = Redis.new(:host => @config.redis_host, :port => @config.redis_port, :db => @config.redis_db, :timeout => @config.redis_timeout)
|
|
59
|
-
check_redis_version redis.info[
|
|
59
|
+
check_redis_version redis.info['redis_version']
|
|
60
60
|
redis
|
|
61
61
|
rescue Errno::ECONNREFUSED
|
|
62
62
|
abort "Unable to connect to redis"
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 3
|
|
8
|
-
-
|
|
9
|
-
version: 0.3.
|
|
8
|
+
- 3
|
|
9
|
+
version: 0.3.3
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Ezra Zygmuntowicz
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2010-05-
|
|
19
|
+
date: 2010-05-17 00:00:00 -07:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|
|
@@ -48,13 +48,13 @@ dependencies:
|
|
|
48
48
|
- !ruby/object:Gem::Dependency
|
|
49
49
|
requirement: &id003 !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
|
-
- -
|
|
51
|
+
- - "="
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
53
|
segments:
|
|
54
|
-
- 0
|
|
55
54
|
- 1
|
|
56
|
-
-
|
|
57
|
-
|
|
55
|
+
- 0
|
|
56
|
+
- 7
|
|
57
|
+
version: 1.0.7
|
|
58
58
|
name: redis
|
|
59
59
|
prerelease: false
|
|
60
60
|
type: :runtime
|