que-web 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/que/web/sql.rb +2 -2
- 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: eeddec3be28a1432b80a119ff789529635ee886c
|
4
|
+
data.tar.gz: 0ecc5fc315d4c958360a482862c73aa92d5dde3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b9085842772f3f3362d7bc825122e518090605caffbd1823936319a036c54f5a87aff45ce2d8f5bc26a3d7f58589b00a83dde089ac1f8292bf04839a5ad00b1
|
7
|
+
data.tar.gz: 597b57a6461e5b6b151a9c20150600a68c225932aa03a99b11850277c1e8ec06b87caa25c1dd875ed904402bea24bd1c2335ff940e3120d2851cf2ffde86f807
|
data/lib/que/web/sql.rb
CHANGED
@@ -43,14 +43,14 @@ Que::Web::SQL = {
|
|
43
43
|
DELETE
|
44
44
|
FROM que_jobs
|
45
45
|
WHERE job_id = $1::bigint
|
46
|
-
AND pg_try_advisory_lock(
|
46
|
+
AND pg_try_advisory_lock($1::bigint)
|
47
47
|
RETURNING pg_advisory_unlock(job_id)
|
48
48
|
SQL
|
49
49
|
reschedule_job: <<-SQL.freeze,
|
50
50
|
UPDATE que_jobs
|
51
51
|
SET run_at = $2::timestamptz
|
52
52
|
WHERE job_id = $1::bigint
|
53
|
-
AND pg_try_advisory_lock(
|
53
|
+
AND pg_try_advisory_lock($1::bigint)
|
54
54
|
RETURNING pg_advisory_unlock(job_id)
|
55
55
|
SQL
|
56
56
|
fetch_job: <<-SQL.freeze,
|
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.6.
|
7
|
+
spec.version = "0.6.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.6.
|
4
|
+
version: 0.6.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: 2017-
|
11
|
+
date: 2017-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: que
|