delayed_job_web 1.4 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5edfc338b6fb18fabbd06ed11c0c9333ca1c76b2
4
- data.tar.gz: f4400d803f007745ac56d87c36ec174850a27243
3
+ metadata.gz: 99f48884103d1746be8bf22069fba1a063e00c39
4
+ data.tar.gz: a28c39e6ff65f387aeb0b50804729abc55f2d803
5
5
  SHA512:
6
- metadata.gz: 7edfb192fe584d1bdc6468247e0149a7e074f3d08e629614345d7d305d97ff5712af5455e347b1fd83ac2001285e44ee4c05bd941599569394e360cf0f43babc
7
- data.tar.gz: 08cda19f9dc812a1564a10c0391b40ad215d53021a3ecaa81d2e4d57a2d530caead7f56a012c13106a7400aa5bc05aebee9f0b1bc737718786c1258024012af6
6
+ metadata.gz: e52ae51596f78c85efdca3f84c091a0592439e08fefe714d9de15140e4813e8754457a0e5bda04d2cf12506dbd05c7bd0936968ce4b4dfdb3099276647bc4b1d
7
+ data.tar.gz: 4bf9f0c4f696362be6aa4c0eb1032489cc4214576ede3c81585762d3819d0f6ee257463ec7d50738963f4b2a5ad1e7cfa80219f535a1a36d919e99d59f320897
@@ -143,6 +143,10 @@ Author
143
143
 
144
144
  Erick Schmitt - [@ejschmitt][1]
145
145
 
146
+ Maintained by Andy Atkinson - [@andatki][2]
147
+
148
+ Get in touch if you'd like to take over maintenance!
146
149
 
147
150
  [0]: https://github.com/defunkt/resque
148
151
  [1]: http://twitter.com/ejschmitt
152
+ [2]: http://twitter.com/andatki
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "delayed_job_web"
3
- gem.version = "1.4"
3
+ gem.version = "1.4.2"
4
4
  gem.author = "Erick Schmitt"
5
5
  gem.email = "ejschmitt@gmail.com"
6
6
  gem.homepage = "https://github.com/ejschmitt/delayed_job_web"
@@ -23,11 +23,11 @@ Gem::Specification.new do |gem|
23
23
  "README.markdown"
24
24
  ]
25
25
 
26
- gem.add_runtime_dependency "sinatra", [">= 1.4.4"]
26
+ gem.add_runtime_dependency "sinatra", [">= 2.0.1"]
27
27
  gem.add_runtime_dependency "activerecord", ["> 3.0.0"]
28
28
  gem.add_runtime_dependency "delayed_job", ["> 2.0.3"]
29
29
 
30
- gem.add_development_dependency "minitest", ["~> 4.2"]
30
+ gem.add_development_dependency "minitest", ["~> 5.0"]
31
31
  gem.add_development_dependency "rack-test", ["~> 0.6"]
32
- gem.add_development_dependency "rails", ["~> 4.0"]
32
+ gem.add_development_dependency "rails", ["~> 5.0"]
33
33
  end
@@ -45,7 +45,7 @@ class DelayedJobWeb < Sinatra::Base
45
45
 
46
46
  def url_path(*path_parts)
47
47
  url = [ path_prefix, path_parts ].join("/").squeeze('/')
48
- url += "?queues=#{@queues.join(",")}" unless @queues.empty?
48
+ url += "?queues=#{CGI.escape(@queues.join(","))}" unless @queues.empty?
49
49
  url
50
50
  end
51
51
 
@@ -167,7 +167,7 @@ class DelayedJobWeb < Sinatra::Base
167
167
  rel =
168
168
  case type
169
169
  when :working
170
- rel.where('locked_at IS NOT NULL')
170
+ rel.where('locked_at IS NOT NULL AND failed_at IS NULL')
171
171
  when :failed
172
172
  rel.where('last_error IS NOT NULL')
173
173
  when :pending
@@ -1,11 +1,11 @@
1
1
  <h1>Pending</h1>
2
2
  <% if @jobs.any? %>
3
- <% if @allow_requeue_pending -%>
3
+ <% if @allow_requeue_pending %>
4
4
  <form action="<%= u('requeue/pending') %>" method="POST">
5
5
  <%= csrf_token_tag %>
6
6
  <input type="submit" value="Enqueue All Immediately"></input>
7
7
  </form>
8
- <% end -%>
8
+ <% end %>
9
9
  <% end %>
10
10
  <p class="sub">
11
11
  The list below contains jobs currently being processed.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delayed_job_web
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.4'
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erick Schmitt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-02 00:00:00.000000000 Z
11
+ date: 2018-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.4.4
19
+ version: 2.0.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 1.4.4
26
+ version: 2.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activerecord
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '4.2'
61
+ version: '5.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '4.2'
68
+ version: '5.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rack-test
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '4.0'
89
+ version: '5.0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '4.0'
96
+ version: '5.0'
97
97
  description: Web interface for delayed_job inspired by resque
98
98
  email: ejschmitt@gmail.com
99
99
  executables:
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  version: '0'
154
154
  requirements: []
155
155
  rubyforge_project:
156
- rubygems_version: 2.4.5.1
156
+ rubygems_version: 2.6.11
157
157
  signing_key:
158
158
  specification_version: 4
159
159
  summary: Web interface for delayed_job inspired by resque