resque-igo 1.12.6 → 1.12.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/resque.rb +1 -3
  2. data/lib/resque/version.rb +1 -1
  3. metadata +8 -8
@@ -30,10 +30,8 @@ module Resque
30
30
 
31
31
  def mongo=(server)
32
32
  if server.is_a?(String) && server.start_with?('mongodb://')
33
- raise "Connecting with a mongodb uri requires Mongo driver version 1.1.5 or higher." if Mongo::VERSION < "1.1.5"
34
33
  conn = Mongo::Connection.from_uri(server)
35
- nodes, auths = Mongo::URIParser.parse(server)
36
- queuedb = auths.first['db_name']
34
+ queuedb = Mongo::URIParser.new(server).auths.first['db_name']
37
35
  elsif server.is_a? String
38
36
  opts = server.split(':')
39
37
  host = opts[0]
@@ -1,3 +1,3 @@
1
1
  module Resque
2
- Version = VERSION = '1.12.6'
2
+ Version = VERSION = '1.12.7'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-igo
3
3
  version: !ruby/object:Gem::Version
4
- hash: 43
4
+ hash: 41
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 12
9
- - 6
10
- version: 1.12.6
9
+ - 7
10
+ version: 1.12.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nathan D Acuff
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-22 00:00:00 -05:00
18
+ date: 2011-01-31 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirement: &id004 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
- - - ">="
75
+ - - ~>
76
76
  - !ruby/object:Gem::Version
77
- hash: 25
77
+ hash: 31
78
78
  segments:
79
79
  - 1
80
+ - 2
80
81
  - 0
81
- - 7
82
- version: 1.0.7
82
+ version: 1.2.0
83
83
  type: :runtime
84
84
  version_requirements: *id004
85
85
  description: " Resque is a Redis-backed Ruby library for creating background jobs,\n placing those jobs on multiple queues, and processing them later.\n\n Resque-igo is the same thing, but for mongo. It would not exist without the work of defunkt and ctrochalakis on github.\n\n Background jobs can be any Ruby class or module that responds to\n perform. Your existing classes can easily be converted to background\n jobs or you can create new classes specifically to do work. Or, you\n can do both.\n\n Resque is heavily inspired by DelayedJob (which rocks) and is\n comprised of three parts:\n\n * A Ruby library for creating, querying, and processing jobs\n * A Rake task for starting a worker which processes jobs\n * A Sinatra app for monitoring queues, jobs, and workers.\n"