Skip to content

Commit

Permalink
Switched to qu-mongo, removing the redis dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmagic committed Oct 20, 2011
1 parent 4452aaa commit ca15141
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -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'
Expand Down
15 changes: 5 additions & 10 deletions Gemfile.lock
Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -112,7 +107,7 @@ DEPENDENCIES
hunt
mm-carrierwave
mongo_mapper
qu-redis
qu-mongo
rake
rspec
ruby-debug19
Expand Down
2 changes: 1 addition & 1 deletion lib/pdf_archive.rb
Expand Up @@ -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
Expand Down

0 comments on commit ca15141

Please sign in to comment.