Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Switched to qu-mongo, removing the redis dependency.

  • Loading branch information...
commit ca15141cc0d65b66ca32f244f54246876edf641f 1 parent 4452aaa
Jonathan Hoyt authored

Showing 3 changed files with 7 additions and 12 deletions. Show diff stats Hide diff stats

  1. +1 1  Gemfile
  2. +5 10 Gemfile.lock
  3. +1 1  lib/pdf_archive.rb
2  Gemfile
@@ -7,7 +7,7 @@ gem 'carrierwave', :git => 'git://github.com/jnicklas/carrierwave.git' # fixes i
7 7 gem 'mm-carrierwave'
8 8 gem 'hunt'
9 9 gem 'grim'
10   -gem 'qu-redis'
  10 +gem 'qu-mongo'
11 11
12 12 group :test do
13 13 gem 'rspec'
15 Gemfile.lock
@@ -53,21 +53,17 @@ GEM
53 53 nokogiri (1.5.0)
54 54 plucky (0.3.8)
55 55 mongo (~> 1.3)
56   - qu (0.1.0)
  56 + qu (0.1.3)
57 57 multi_json
58   - qu-redis (0.1.0)
59   - qu (= 0.1.0)
60   - redis-namespace
61   - simple_uuid
  58 + qu-mongo (0.1.3)
  59 + mongo
  60 + qu (= 0.1.3)
62 61 rack (1.3.4)
63 62 rack-protection (1.1.4)
64 63 rack
65 64 rack-test (0.6.1)
66 65 rack (>= 1.0)
67 66 rake (0.9.2)
68   - redis (2.2.2)
69   - redis-namespace (1.1.0)
70   - redis (< 3.0.0)
71 67 rspec (2.6.0)
72 68 rspec-core (~> 2.6.0)
73 69 rspec-expectations (~> 2.6.0)
@@ -92,7 +88,6 @@ GEM
92 88 ffi (>= 1.0.7)
93 89 json_pure
94 90 rubyzip
95   - simple_uuid (0.2.0)
96 91 sinatra (1.3.1)
97 92 rack (>= 1.3.4, ~> 1.3)
98 93 rack-protection (>= 1.1.2, ~> 1.1)
@@ -112,7 +107,7 @@ DEPENDENCIES
112 107 hunt
113 108 mm-carrierwave
114 109 mongo_mapper
115   - qu-redis
  110 + qu-mongo
116 111 rake
117 112 rspec
118 113 ruby-debug19
2  lib/pdf_archive.rb
@@ -23,7 +23,7 @@ def self.root
23 23
24 24 # Qu setup
25 25 Qu.configure do |c|
26   - c.backend.namespace = "pdfarchive:qu:#{PdfArchive.environment}"
  26 + c.connection = MongoMapper.connection.db('qu')
27 27 end
28 28
29 29 # CarrierWave setup

0 comments on commit ca15141

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