redis-spawn 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  class Redis
2
2
  class SpawnServer
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
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.connect(:path => redis_spawnserver_instance.socket)
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
- - 5
9
- version: 0.0.5
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: 2011-11-08 00:00:00 +00:00
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