que 1.0.0.beta4 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/{ruby.yml → tests.yml} +8 -4
- data/CHANGELOG.md +409 -293
- data/Dockerfile +20 -0
- data/README.md +129 -28
- data/auto/dev +21 -0
- data/auto/pre-push-hook +30 -0
- data/auto/psql +9 -0
- data/auto/test +5 -0
- data/auto/test-postgres-14 +17 -0
- data/bin/command_line_interface.rb +14 -6
- data/docker-compose.yml +46 -0
- data/docs/README.md +17 -18
- data/lib/que/active_record/model.rb +1 -1
- data/lib/que/connection.rb +4 -0
- data/lib/que/job.rb +35 -17
- data/lib/que/job_buffer.rb +28 -28
- data/lib/que/locker.rb +24 -12
- data/lib/que/migrations/4/up.sql +3 -1
- data/lib/que/migrations/5/down.sql +73 -0
- data/lib/que/migrations/5/up.sql +76 -0
- data/lib/que/migrations.rb +1 -2
- data/lib/que/poller.rb +10 -3
- data/lib/que/version.rb +5 -1
- data/lib/que/worker.rb +12 -4
- data/lib/que.rb +2 -1
- data/scripts/docker-entrypoint +14 -0
- data/scripts/test +5 -0
- metadata +20 -10
- data/CHANGELOG.1.0.beta.md +0 -137
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 373d26eb482dac300ae6c808412b53444b2103ac5bb5dd323458aa0fe41f70fb
|
4
|
+
data.tar.gz: 26d52759e16382fd52d36582f371f8f059366e019c1cd34851bc69dad1072dab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a4a4aeb666cb9f663b11098fdbf7f2f45c1a67438f61474e57f28a4af981f6bfdeaeb1f54b3530e3975629df72cc2c2875ca39b970a25429d01d84a0c1e2941
|
7
|
+
data.tar.gz: e690054f2d5a8294e1e801897f2bab6f2e1afe6afee0b355d026f03550434d2709f6a6f2311f4664619d5fdbc42cb90b18ade0b2ed510bb5bd8571cd22213e57
|
@@ -1,18 +1,22 @@
|
|
1
|
-
name:
|
1
|
+
name: tests
|
2
2
|
|
3
|
-
on: [pull_request]
|
3
|
+
on: [push, pull_request]
|
4
4
|
|
5
5
|
jobs:
|
6
6
|
test:
|
7
7
|
runs-on: ubuntu-latest
|
8
8
|
strategy:
|
9
9
|
matrix:
|
10
|
-
ruby_version: [2.5.x, 2.6.x]
|
10
|
+
ruby_version: [2.5.x, 2.6.x, 2.7.x]
|
11
11
|
gemfile: ["4.2", "5.2", "6.0"]
|
12
|
-
postgres_version: [9, 10, 11]
|
12
|
+
postgres_version: [9, 10, 11, 12]
|
13
|
+
exclude:
|
14
|
+
- { gemfile: "4.2", ruby_version: "2.7.x" }
|
13
15
|
services:
|
14
16
|
db:
|
15
17
|
image: postgres:${{ matrix.postgres_version }}
|
18
|
+
env:
|
19
|
+
POSTGRES_HOST_AUTH_METHOD: trust
|
16
20
|
ports: ['5432:5432']
|
17
21
|
options: >-
|
18
22
|
--health-cmd pg_isready
|