Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bump mongo version dependency to 1.5 and resolve broken rescue-web -N…

… argument.
  • Loading branch information...
commit 768eb5cbcc0a352296ec2cdc503c3676513ea681 1 parent a901464
@dbackeus dbackeus authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  bin/resque-web
  2. +1 −1  mongo-resque.gemspec
View
2  bin/resque-web
@@ -18,6 +18,6 @@ Vegas::Runner.new(Resque::Server, 'resque-web', {
}) do |runner, opts, app|
opts.on('-N NAMESPACE', "--namespace NAMESPACE", "set the Mongo database") {|namespace|
runner.logger.info "Using Mongo database '#{namespace}'"
- Resque.mongo = Resque.mongo.conn.db(namespace)
+ Resque.mongo = Resque.mongo.connection.db(namespace)
}
end
View
2  mongo-resque.gemspec
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
without the work of defunkt and ctrochalakis on github.
description
- s.add_dependency "mongo", "~> 1.3"
+ s.add_dependency "mongo", "~> 1.5"
s.add_dependency "vegas", "~> 0.1.2"
s.add_dependency "sinatra", ">= 0.9.2"
s.add_dependency "multi_json", "~> 1.0"
Please sign in to comment.
Something went wrong with that request. Please try again.