resque-dynamic-queues 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -4,43 +4,43 @@ Authored against Resque 1.15, so it at least works with that - try running the t
4
4
 
5
5
  Usage:
6
6
 
7
- Start your workers with a QUEUE that can contain '*' for zero-or more of any character, '!' to exclude the following pattern, or @key to look up the patterns from redis. Some examples help:
7
+ Start your workers with a QUEUE that can contain '\*' for zero-or more of any character, '!' to exclude the following pattern, or @key to look up the patterns from redis. Some examples help:
8
8
 
9
- QUEUE=foo rake resque:work
9
+ QUEUE='foo' rake resque:work
10
10
 
11
11
  Pulls jobs from the queue 'foo'
12
12
 
13
- QUEUE=* rake resque:work
13
+ QUEUE='\*' rake resque:work
14
14
 
15
15
  Pulls jobs from any queue
16
16
 
17
- QUEUE=*foo rake resque:work
17
+ QUEUE='\*foo' rake resque:work
18
18
 
19
19
  Pulls jobs from queues that end in foo
20
20
 
21
- QUEUE=*foo* rake resque:work
21
+ QUEUE='\*foo\*' rake resque:work
22
22
 
23
23
  Pulls jobs from queues whose names contain foo
24
24
 
25
- QUEUE=*foo*,!foobar rake resque:work
25
+ QUEUE='\*foo\*,!foobar' rake resque:work
26
26
 
27
27
  Pulls jobs from queues whose names contain foo except the foobar queue
28
28
 
29
- QUEUE=*foo*,!*bar rake resque:work
29
+ QUEUE='\*foo\*,!\*bar' rake resque:work
30
30
 
31
31
  Pulls jobs from queues whose names contain foo except queues whose names end in bar
32
32
 
33
- QUEUE=@key rake resque:work
33
+ QUEUE='@key' rake resque:work
34
34
 
35
- Pulls jobs from queue names stored in redis (use Resque.set_dynamic_queue("key", ["queue_name1", "queue_name2"]) to set them)
35
+ Pulls jobs from queue names stored in redis (use Resque.set\_dynamic\_queue("key", ["queuename1", "queuename2"]) to set them)
36
36
 
37
- QUEUE=@ rake resque:work
37
+ QUEUE='@' rake resque:work
38
38
 
39
39
  Pulls jobs from queue names stored in redis using the hostname of the worker
40
40
 
41
- Resque.set_dynamic_queue("key", ["*foo*", "!*bar"])
41
+ Resque.set\_dynamic\_queue("key", ["\*foo\*", "!\*bar"])
42
42
 
43
- QUEUE=@key rake resque:work
43
+ QUEUE='@key' rake resque:work
44
44
 
45
45
  Pulls jobs from queue names stored in redis, with wildcards/negations
46
46
 
@@ -1,7 +1,7 @@
1
1
  module Resque
2
2
  module Plugins
3
3
  module DynamicQueues
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
6
6
  end
7
7
  end
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
21
21
  s.require_paths = ["lib"]
22
22
 
23
- s.add_dependency("resque", '~> 1.15')
23
+ s.add_dependency("resque", '~> 1.10')
24
24
  s.add_development_dependency('rspec', '~> 2.5')
25
25
 
26
26
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: resque-dynamic-queues
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.5.0
5
+ version: 0.5.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Matt Conway
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-23 00:00:00 -04:00
13
+ date: 2011-03-28 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -21,7 +21,7 @@ dependencies:
21
21
  requirements:
22
22
  - - ~>
23
23
  - !ruby/object:Gem::Version
24
- version: "1.15"
24
+ version: "1.10"
25
25
  type: :runtime
26
26
  version_requirements: *id001
27
27
  - !ruby/object:Gem::Dependency