Skip to content
Browse files

Merge pull request #48 from Asmod4n/patch-1

Use celluloid-redis by default
  • Loading branch information...
2 parents 2257aa2 + faca202 commit 66d9af48e26db05b484f009037e031df9cb74ead @tarcieri tarcieri committed Jul 6, 2013
Showing with 8 additions and 6 deletions.
  1. +5 −4 Gemfile
  2. +1 −1 dcell.gemspec
  3. +2 −1 lib/dcell/registries/redis_adapter.rb
View
9 Gemfile
@@ -1,9 +1,10 @@
source "http://rubygems.org"
-gem 'celluloid', github: 'celluloid/celluloid', branch: 'master'
-gem 'celluloid-io', github: 'celluloid/celluloid-io', branch: 'master'
-gem 'celluloid-zmq', github: 'celluloid/celluloid-zmq', branch: 'master'
-gem 'reel', github: 'celluloid/reel', branch: 'master'
+gem 'celluloid', github: 'celluloid/celluloid', branch: 'master'
+gem 'celluloid-io', github: 'celluloid/celluloid-io', branch: 'master'
+gem 'celluloid-zmq', github: 'celluloid/celluloid-zmq', branch: 'master'
+gem 'celluloid-redis', github: 'celluloid/celluloid-redis', branch: 'master'
+gem 'reel', github: 'celluloid/reel', branch: 'master'
#gem 'ffi-rzmq', github: 'chuckremes/ffi-rzmq'
View
2 dcell.gemspec
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
gem.add_runtime_dependency "celluloid", ">= 0.13.0"
gem.add_runtime_dependency "celluloid-zmq", ">= 0.13.0"
gem.add_runtime_dependency "reel"
- gem.add_runtime_dependency "redis"
+ gem.add_runtime_dependency "celluloid-redis"
gem.add_runtime_dependency "redis-namespace"
gem.add_development_dependency "rake"
View
3 lib/dcell/registries/redis_adapter.rb
@@ -1,4 +1,5 @@
-require 'redis'
+require 'celluloid/redis'
+require 'redis/connection/celluloid'
require 'redis-namespace'
module DCell

0 comments on commit 66d9af4

Please sign in to comment.
Something went wrong with that request. Please try again.