resque-dynamic-queues 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -2,6 +2,8 @@ A resque plugin for specifying the queues a worker pulls from with wildcards, ne
2
2
 
3
3
  Authored against Resque 1.15, so it at least works with that - try running the tests if you use a different version of resque
4
4
 
5
+ [![Build Status](https://secure.travis-ci.org/wr0ngway/resque-dynamic-queues.png)](http://travis-ci.org/wr0ngway/resque-dynamic-queues)
6
+
5
7
  Usage:
6
8
 
7
9
  If creating a gem of your own that uses resque-dynamic-queues, you may have to add an explicit require statement at the top of your Rakefile:
@@ -44,7 +44,7 @@ module Resque
44
44
  queues[key] = values
45
45
  end
46
46
  Resque.set_dynamic_queues(queues)
47
- redirect url(:dynamicqueues)
47
+ redirect "/dynamicqueues"
48
48
  end
49
49
 
50
50
  app.helpers do
@@ -3,7 +3,7 @@
3
3
  The list below shows the dynamic queues currently defined. When you start a worker with a dynamic queue key (@key_name), that key is looked up from the list below to determine the actual queues the worker should pull from. Wildcards (*) and negation (leading !) can be used to select the queues the worker should process. There is always a fallback key - @default, which workers will use if the key for that worker is empty. If both the key and the fallback are empty, the worker defaults to processing '*'
4
4
  </p>
5
5
 
6
- <form action="<%= url(:dynamicqueues) %>" method="POST" style="float:none; margin-top:10px">
6
+ <form action="/dynamicqueues" method="POST" style="float:none; margin-top:10px">
7
7
 
8
8
  <table class='queues'>
9
9
  <tr>
@@ -1,7 +1,7 @@
1
1
  module Resque
2
2
  module Plugins
3
3
  module DynamicQueues
4
- VERSION = "0.8.0"
4
+ VERSION = "0.8.1"
5
5
  end
6
6
  end
7
7
  end
@@ -88,7 +88,7 @@ describe "Dynamic Queues pages" do
88
88
  it "should have form to edit queues" do
89
89
  get "/dynamicqueues"
90
90
 
91
- last_response.body.should match /<form action="http:\/\/example.org\/dynamicqueues"/
91
+ last_response.body.should match /<form action="\/dynamicqueues"/
92
92
  end
93
93
 
94
94
  it "should show input fields" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-dynamic-queues
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-29 00:00:00.000000000 Z
12
+ date: 2012-05-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: resque
16
- requirement: &70360381659380 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '1.10'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70360381659380
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.10'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: rake
27
- requirement: &70360381658480 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: '0'
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *70360381658480
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: rspec
38
- requirement: &70360381656740 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: '2.5'
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *70360381656740
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '2.5'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: rack-test
49
- requirement: &70360381655900 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ~>
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: 0.5.4
55
70
  type: :development
56
71
  prerelease: false
57
- version_requirements: *70360381655900
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 0.5.4
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: json
60
- requirement: &70360381655180 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ! '>='
@@ -65,7 +85,12 @@ dependencies:
65
85
  version: '0'
66
86
  type: :development
67
87
  prerelease: false
68
- version_requirements: *70360381655180
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
69
94
  description: A resque plugin for specifying the queues a worker pulls from with wildcards,
70
95
  negations, or dynamic look up from redis
71
96
  email:
@@ -115,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
140
  version: '0'
116
141
  requirements: []
117
142
  rubyforge_project: resque-dynamic-queues
118
- rubygems_version: 1.8.15
143
+ rubygems_version: 1.8.21
119
144
  signing_key:
120
145
  specification_version: 3
121
146
  summary: A resque plugin for specifying the queues a worker pulls from with wildcards,