Permalink
Browse files

Switched to qu-mongo, removing the redis dependency.

  • Loading branch information...
1 parent 4452aaa commit ca15141cc0d65b66ca32f244f54246876edf641f @jonmagic committed Oct 20, 2011
Showing with 7 additions and 12 deletions.
  1. +1 −1 Gemfile
  2. +5 −10 Gemfile.lock
  3. +1 −1 lib/pdf_archive.rb
View
2 Gemfile
@@ -7,7 +7,7 @@ gem 'carrierwave', :git => 'git://github.com/jnicklas/carrierwave.git' # fixes i
gem 'mm-carrierwave'
gem 'hunt'
gem 'grim'
-gem 'qu-redis'
+gem 'qu-mongo'
group :test do
gem 'rspec'
View
15 Gemfile.lock
@@ -53,21 +53,17 @@ GEM
nokogiri (1.5.0)
plucky (0.3.8)
mongo (~> 1.3)
- qu (0.1.0)
+ qu (0.1.3)
multi_json
- qu-redis (0.1.0)
- qu (= 0.1.0)
- redis-namespace
- simple_uuid
+ qu-mongo (0.1.3)
+ mongo
+ qu (= 0.1.3)
rack (1.3.4)
rack-protection (1.1.4)
rack
rack-test (0.6.1)
rack (>= 1.0)
rake (0.9.2)
- redis (2.2.2)
- redis-namespace (1.1.0)
- redis (< 3.0.0)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
@@ -92,7 +88,6 @@ GEM
ffi (>= 1.0.7)
json_pure
rubyzip
- simple_uuid (0.2.0)
sinatra (1.3.1)
rack (>= 1.3.4, ~> 1.3)
rack-protection (>= 1.1.2, ~> 1.1)
@@ -112,7 +107,7 @@ DEPENDENCIES
hunt
mm-carrierwave
mongo_mapper
- qu-redis
+ qu-mongo
rake
rspec
ruby-debug19
View
2 lib/pdf_archive.rb
@@ -23,7 +23,7 @@ def self.root
# Qu setup
Qu.configure do |c|
- c.backend.namespace = "pdfarchive:qu:#{PdfArchive.environment}"
+ c.connection = MongoMapper.connection.db('qu')
end
# CarrierWave setup

0 comments on commit ca15141

Please sign in to comment.