que-web 0.2.1 → 0.2.2
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.
- checksums.yaml +4 -4
- data/examples/rack/Gemfile.lock +1 -1
- data/lib/que/web/sql.rb +2 -2
- data/lib/que/web.rb +0 -1
- data/que-web.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f961c975dc887e5c769088ab961dc143d91b810a
|
|
4
|
+
data.tar.gz: cf90a843935e7ff3918c8ea6f5f21e2cb31097f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec34ca05e2e6ea188dfd667fc666a484e6b3f757fc660350c9e4596f603433dd9a60963ea58886ead379af07e081988a175f0c77a914b38d3b5797d21d9d5356
|
|
7
|
+
data.tar.gz: 61dc356e013622a56334b7813e82ea62033e5f6c57f3e7a3ab5f4ccf6472bc3d9ceae1b6dc611ec9783ee742b372bbac19e4182ca2171a04fc172f1b0e8eadac
|
data/examples/rack/Gemfile.lock
CHANGED
data/lib/que/web/sql.rb
CHANGED
|
@@ -2,8 +2,8 @@ Que::Web::SQL = {
|
|
|
2
2
|
:dashboard_stats => %{
|
|
3
3
|
SELECT count(*) AS total,
|
|
4
4
|
count(locks.job_id) AS running,
|
|
5
|
-
sum((error_count > 0 AND locks.job_id IS NULL)::int) AS failing,
|
|
6
|
-
sum((error_count = 0 AND locks.job_id IS NULL)::int) AS scheduled
|
|
5
|
+
coalesce(sum((error_count > 0 AND locks.job_id IS NULL)::int), 0) AS failing,
|
|
6
|
+
coalesce(sum((error_count = 0 AND locks.job_id IS NULL)::int), 0) AS scheduled
|
|
7
7
|
FROM que_jobs
|
|
8
8
|
LEFT JOIN (
|
|
9
9
|
SELECT (classid::bigint << 32) + objid::bigint AS job_id
|
data/lib/que/web.rb
CHANGED
data/que-web.gemspec
CHANGED
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = "que-web"
|
|
7
|
-
spec.version = "0.2.
|
|
7
|
+
spec.version = "0.2.2"
|
|
8
8
|
spec.authors = ["Jason Staten"]
|
|
9
9
|
spec.email = ["jstaten07@gmail.com"]
|
|
10
10
|
spec.summary = %q{A web interface for the que queue}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: que-web
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jason Staten
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-11-
|
|
11
|
+
date: 2014-11-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: que
|