resque-queue-priority 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG
CHANGED
@@ -1,3 +1,20 @@
|
|
1
|
+
0.6.2 (07/03/2013)
|
2
|
+
------------------
|
3
|
+
|
4
|
+
Merge pull request #2 from coudron/relative_paths <05bb578> [Matt Conway]
|
5
|
+
Use url helper for forms and redirects to avoid routing errors when Resque is not mounted at the root. <d57dd85> [Chris Mason]
|
6
|
+
cleaner fix of negation detection <ea7b08b> [Matt Conway]
|
7
|
+
disable rbx19 <facf695> [Matt Conway]
|
8
|
+
fix for 1.8.7 <94c4804> [Matt Conway]
|
9
|
+
fix test dependency for 1.8.7 <4ba7434> [Matt Conway]
|
10
|
+
fix test for 1.8 <018658a> [Matt Conway]
|
11
|
+
license <238eb80> [Matt Conway]
|
12
|
+
only auto start/stop redis if not on CI <4077cf1> [Matt Conway]
|
13
|
+
reduce intermittent failure <e20bdbf> [Matt Conway]
|
14
|
+
setup travis ci <7e5a153> [Matt Conway]
|
15
|
+
travis status <a260cf4> [Matt Conway]
|
16
|
+
use relative urls in web ui <75ae7c7> [Matt Conway]
|
17
|
+
|
1
18
|
0.6.0
|
2
19
|
-----
|
3
20
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
The list below orders queue name patterns by the priority you wish them to be executed in. The "Fairly" option allows you to indicate you want the queues within that pattern space be selected in a fair (random) manner, i.e. like resque-fairly. The 'default' pattern must always exist, and matches against all queues that aren't in any of the other patterns.
|
4
4
|
</p>
|
5
5
|
|
6
|
-
<form action="/queuepriority" method="POST" style="float:none; margin-top:10px">
|
6
|
+
<form action="<%= to("/queuepriority") %>" method="POST" style="float:none; margin-top:10px">
|
7
7
|
|
8
8
|
<table class="priorities">
|
9
9
|
<tr>
|
@@ -34,11 +34,11 @@
|
|
34
34
|
{
|
35
35
|
$("input[type=submit]").css({border:"3px orange solid"});
|
36
36
|
}
|
37
|
-
|
37
|
+
|
38
38
|
jQuery(function($) {
|
39
39
|
$("input").live("keypress", markDirty);
|
40
40
|
$("input[type=checkbox]").live("click", markDirty);
|
41
|
-
|
41
|
+
|
42
42
|
$("a.add").live("click", function(e) {
|
43
43
|
e.preventDefault();
|
44
44
|
var $table = $("table.priorities");
|
@@ -73,4 +73,4 @@
|
|
73
73
|
});
|
74
74
|
|
75
75
|
});
|
76
|
-
</script>
|
76
|
+
</script>
|
data/spec/server_spec.rb
CHANGED
@@ -97,7 +97,7 @@ describe "Queue Priority pages" do
|
|
97
97
|
it "should have form to edit queues" do
|
98
98
|
get "/queuepriority"
|
99
99
|
|
100
|
-
last_response.body.should match /<form action="
|
100
|
+
last_response.body.should match /<form action=".*?\/queuepriority"/
|
101
101
|
end
|
102
102
|
|
103
103
|
it "should update queues" do
|
@@ -108,7 +108,7 @@ describe "Queue Priority pages" do
|
|
108
108
|
OrderedHash["pattern", "default"],
|
109
109
|
OrderedHash["pattern", "bar", "fairly", "true"]
|
110
110
|
]}
|
111
|
-
post "/queuepriority", params
|
111
|
+
post "/queuepriority", params
|
112
112
|
|
113
113
|
last_response.should be_redirect
|
114
114
|
last_response['Location'].should match /queuepriority/
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-queue-priority
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,104 +9,104 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-07-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: resque
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
17
|
requirements:
|
19
18
|
- - ~>
|
20
19
|
- !ruby/object:Gem::Version
|
21
20
|
version: '1.10'
|
22
|
-
|
21
|
+
none: false
|
23
22
|
prerelease: false
|
23
|
+
type: :runtime
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
25
|
requirements:
|
27
26
|
- - ~>
|
28
27
|
- !ruby/object:Gem::Version
|
29
28
|
version: '1.10'
|
29
|
+
none: false
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: rake
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
33
|
requirements:
|
35
34
|
- - ! '>='
|
36
35
|
- !ruby/object:Gem::Version
|
37
36
|
version: '0'
|
38
|
-
|
37
|
+
none: false
|
39
38
|
prerelease: false
|
39
|
+
type: :development
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
41
|
requirements:
|
43
42
|
- - ! '>='
|
44
43
|
- !ruby/object:Gem::Version
|
45
44
|
version: '0'
|
45
|
+
none: false
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: rspec
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
49
|
requirements:
|
51
50
|
- - ~>
|
52
51
|
- !ruby/object:Gem::Version
|
53
52
|
version: '2.5'
|
54
|
-
|
53
|
+
none: false
|
55
54
|
prerelease: false
|
55
|
+
type: :development
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
57
|
requirements:
|
59
58
|
- - ~>
|
60
59
|
- !ruby/object:Gem::Version
|
61
60
|
version: '2.5'
|
61
|
+
none: false
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: rack-test
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
65
|
requirements:
|
67
66
|
- - ~>
|
68
67
|
- !ruby/object:Gem::Version
|
69
68
|
version: 0.5.4
|
70
|
-
|
69
|
+
none: false
|
71
70
|
prerelease: false
|
71
|
+
type: :development
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
73
|
requirements:
|
75
74
|
- - ~>
|
76
75
|
- !ruby/object:Gem::Version
|
77
76
|
version: 0.5.4
|
77
|
+
none: false
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
79
|
name: json
|
80
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
81
|
requirements:
|
83
82
|
- - ! '>='
|
84
83
|
- !ruby/object:Gem::Version
|
85
84
|
version: '0'
|
86
|
-
|
85
|
+
none: false
|
87
86
|
prerelease: false
|
87
|
+
type: :development
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
89
|
requirements:
|
91
90
|
- - ! '>='
|
92
91
|
- !ruby/object:Gem::Version
|
93
92
|
version: '0'
|
93
|
+
none: false
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
95
|
name: orderedhash
|
96
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
97
|
requirements:
|
99
98
|
- - ! '>='
|
100
99
|
- !ruby/object:Gem::Version
|
101
100
|
version: '0'
|
102
|
-
|
101
|
+
none: false
|
103
102
|
prerelease: false
|
103
|
+
type: :development
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
105
|
requirements:
|
107
106
|
- - ! '>='
|
108
107
|
- !ruby/object:Gem::Version
|
109
108
|
version: '0'
|
109
|
+
none: false
|
110
110
|
description: A resque plugin for specifying the priority between queues that workers
|
111
111
|
use to determine what to work on next
|
112
112
|
email:
|
@@ -142,20 +142,20 @@ rdoc_options: []
|
|
142
142
|
require_paths:
|
143
143
|
- lib
|
144
144
|
required_ruby_version: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
145
|
requirements:
|
147
146
|
- - ! '>='
|
148
147
|
- !ruby/object:Gem::Version
|
149
148
|
version: '0'
|
150
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
149
|
none: false
|
150
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
152
151
|
requirements:
|
153
152
|
- - ! '>='
|
154
153
|
- !ruby/object:Gem::Version
|
155
154
|
version: '0'
|
155
|
+
none: false
|
156
156
|
requirements: []
|
157
157
|
rubyforge_project: resque-queue-priority
|
158
|
-
rubygems_version: 1.8.
|
158
|
+
rubygems_version: 1.8.25
|
159
159
|
signing_key:
|
160
160
|
specification_version: 3
|
161
161
|
summary: A resque plugin for specifying the priority between queues that workers use
|