queue_classic 2.0.0rc13 → 2.0.0rc14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/readme.md +1 -1
  2. data/sql/create_table.sql +9 -0
  3. metadata +6 -5
data/readme.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # queue_classic
2
2
 
3
- v2.0.0rc13
3
+ v2.0.0rc14
4
4
 
5
5
  queue_classic is a PostgreSQL-backed queueing library that is focused on
6
6
  concurrent job locking, minimizing database load & providing a simple &
@@ -0,0 +1,9 @@
1
+ CREATE TABLE queue_classic_jobs (
2
+ id serial PRIMARY KEY,
3
+ q_name varchar(255),
4
+ method varchar(255),
5
+ args text,
6
+ locked_at timestamptz
7
+ );
8
+
9
+ CREATE INDEX idx_qc_on_name_only_unlocked ON queue_classic_jobs (q_name, id) WHERE locked_at IS NULL;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: queue_classic
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0rc13
4
+ version: 2.0.0rc14
5
5
  prerelease: 5
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-29 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pg
16
- requirement: &18438700 !ruby/object:Gem::Requirement
16
+ requirement: &12898980 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.13.2
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *18438700
24
+ version_requirements: *12898980
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: scrolls
27
- requirement: &18438040 !ruby/object:Gem::Requirement
27
+ requirement: &12897580 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 0.0.8
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *18438040
35
+ version_requirements: *12897580
36
36
  description: queue_classic is a queueing library for Ruby apps. (Rails, Sinatra, Etc...)
37
37
  queue_classic features asynchronous job polling, database maintained locks and no
38
38
  ridiculous dependencies. As a matter of fact, queue_classic only requires pg.
@@ -43,6 +43,7 @@ extra_rdoc_files: []
43
43
  files:
44
44
  - readme.md
45
45
  - sql/ddl.sql
46
+ - sql/create_table.sql
46
47
  - sql/drop_ddl.sql
47
48
  - lib/queue_classic/conn.rb
48
49
  - lib/queue_classic/okjson.rb