redis-spawn 0.0.5 → 0.0.6
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/redis/spawn/version.rb +1 -1
- data/lib/redis/spawn.rb +1 -1
- metadata +4 -4
data/lib/redis/spawn/version.rb
CHANGED
data/lib/redis/spawn.rb
CHANGED
|
@@ -233,7 +233,7 @@ class Redis
|
|
|
233
233
|
# @return [Redis] a redis-rb connection to the newly spawned redis-server
|
|
234
234
|
def self.spawn_and_connect(supplied_opts = {})
|
|
235
235
|
redis_spawnserver_instance = SpawnServer.new(supplied_opts)
|
|
236
|
-
redis_instance = self.
|
|
236
|
+
redis_instance = self.new(:path => redis_spawnserver_instance.socket)
|
|
237
237
|
redis_instance.instance_variable_set(:@_redis_spawnserver_instance, redis_spawnserver_instance)
|
|
238
238
|
redis_instance
|
|
239
239
|
end
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: 0.0.
|
|
8
|
+
- 6
|
|
9
|
+
version: 0.0.6
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Phil Stewart
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date:
|
|
17
|
+
date: 2012-07-25 00:00:00 +01:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -23,7 +23,7 @@ dependencies:
|
|
|
23
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
24
24
|
none: false
|
|
25
25
|
requirements:
|
|
26
|
-
- -
|
|
26
|
+
- - ">"
|
|
27
27
|
- !ruby/object:Gem::Version
|
|
28
28
|
segments:
|
|
29
29
|
- 2
|