resque-scheduler 4.3.0 → 4.7.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of resque-scheduler might be problematic. Click here for more details.
- checksums.yaml +5 -5
- data/.github/dependabot.yml +12 -0
- data/.github/funding.yml +4 -0
- data/.github/workflows/codeql-analysis.yml +59 -0
- data/.github/workflows/rubocop.yml +27 -0
- data/.github/workflows/ruby.yml +78 -0
- data/AUTHORS.md +9 -0
- data/CHANGELOG.md +510 -0
- data/Gemfile +23 -0
- data/README.md +115 -23
- data/Rakefile +2 -5
- data/lib/resque/scheduler/cli.rb +1 -0
- data/lib/resque/scheduler/configuration.rb +31 -8
- data/lib/resque/scheduler/delaying_extensions.rb +65 -18
- data/lib/resque/scheduler/env.rb +3 -7
- data/lib/resque/scheduler/lock/resilient.rb +19 -12
- data/lib/resque/scheduler/locking.rb +3 -3
- data/lib/resque/scheduler/scheduling_extensions.rb +4 -3
- data/lib/resque/scheduler/server/views/delayed.erb +4 -4
- data/lib/resque/scheduler/server/views/delayed_timestamp.erb +1 -1
- data/lib/resque/scheduler/server/views/scheduler.erb +2 -2
- data/lib/resque/scheduler/server/views/search.erb +0 -3
- data/lib/resque/scheduler/server/views/search_form.erb +1 -5
- data/lib/resque/scheduler/server.rb +1 -1
- data/lib/resque/scheduler/signal_handling.rb +2 -2
- data/lib/resque/scheduler/util.rb +1 -1
- data/lib/resque/scheduler/version.rb +1 -1
- data/lib/resque/scheduler.rb +39 -17
- data/resque-scheduler.gemspec +14 -7
- metadata +39 -27
- data/HISTORY.md +0 -310
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4bd2a447d845ab5c056174d73fb88995693d998b06b90a3b565d3aa15981c3bb
|
4
|
+
data.tar.gz: d3cbbd2b7bdff68726bb9565e5c00531c7eb18397915fe6edfe568a9f0d34c26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b91aca3627cc71d2082702b3a46be5ae1d38fd6b75961b49fd41c61c78fb3921dbd469a64ed3fb89348d6c00e79dc09c86a68ede59d75ed11d12ef55097bd6bf
|
7
|
+
data.tar.gz: eae2165cb529f4a38b8321f9c2dfe120ffeae5b13c001819af6bde9901a084a1710724caea469ffbd1b88266621b56e64c7f79b11e75ae55ca45f688497f8d24
|
data/.github/funding.yml
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
name: "CodeQL"
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master, '*-stable' ]
|
6
|
+
pull_request:
|
7
|
+
# The branches below must be a subset of the branches above
|
8
|
+
branches: [ master ]
|
9
|
+
schedule:
|
10
|
+
- cron: '44 16 * * 6'
|
11
|
+
|
12
|
+
jobs:
|
13
|
+
analyze:
|
14
|
+
name: Analyze
|
15
|
+
runs-on: ubuntu-latest
|
16
|
+
permissions:
|
17
|
+
actions: read
|
18
|
+
contents: read
|
19
|
+
security-events: write
|
20
|
+
|
21
|
+
strategy:
|
22
|
+
fail-fast: false
|
23
|
+
matrix:
|
24
|
+
language: [ 'ruby' ]
|
25
|
+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
26
|
+
# Learn more about CodeQL language support at https://git.io/codeql-language-support
|
27
|
+
|
28
|
+
steps:
|
29
|
+
- name: Checkout repository
|
30
|
+
uses: actions/checkout@v3
|
31
|
+
|
32
|
+
# Initializes the CodeQL tools for scanning.
|
33
|
+
- name: Initialize CodeQL
|
34
|
+
uses: github/codeql-action/init@v2
|
35
|
+
with:
|
36
|
+
languages: ${{ matrix.language }}
|
37
|
+
# If you wish to specify custom queries, you can do so here or in a config file.
|
38
|
+
# By default, queries listed here will override any specified in a config file.
|
39
|
+
# Prefix the list here with "+" to use these queries and those in the config file.
|
40
|
+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
41
|
+
|
42
|
+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
43
|
+
# If this step fails, then you should remove it and run the build manually (see below)
|
44
|
+
- name: Autobuild
|
45
|
+
uses: github/codeql-action/autobuild@v2
|
46
|
+
|
47
|
+
# ℹ️ Command-line programs to run using the OS shell.
|
48
|
+
# 📚 https://git.io/JvXDl
|
49
|
+
|
50
|
+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
51
|
+
# and modify them (or add more) to build your code if your project
|
52
|
+
# uses a compiled language
|
53
|
+
|
54
|
+
#- run: |
|
55
|
+
# make bootstrap
|
56
|
+
# make release
|
57
|
+
|
58
|
+
- name: Perform CodeQL Analysis
|
59
|
+
uses: github/codeql-action/analyze@v2
|
@@ -0,0 +1,27 @@
|
|
1
|
+
name: Rubocop
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [master]
|
6
|
+
pull_request:
|
7
|
+
branches: [master]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
rubocop:
|
11
|
+
name: Rubocop
|
12
|
+
runs-on: ${{ matrix.os }}
|
13
|
+
strategy:
|
14
|
+
matrix:
|
15
|
+
os: [ubuntu-latest]
|
16
|
+
ruby: [
|
17
|
+
2.4
|
18
|
+
]
|
19
|
+
|
20
|
+
steps:
|
21
|
+
- uses: actions/checkout@v3
|
22
|
+
- uses: ruby/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
ruby-version: ${{ matrix.ruby }}
|
25
|
+
bundler-cache: true
|
26
|
+
- name: Ruby linter
|
27
|
+
run: bundle exec rubocop
|
@@ -0,0 +1,78 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [master]
|
6
|
+
pull_request:
|
7
|
+
branches: [master]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
test:
|
11
|
+
continue-on-error: true
|
12
|
+
runs-on: ubuntu-latest
|
13
|
+
services:
|
14
|
+
redis:
|
15
|
+
image: redis
|
16
|
+
ports:
|
17
|
+
- 6379:6379
|
18
|
+
strategy:
|
19
|
+
fail-fast: false
|
20
|
+
matrix:
|
21
|
+
ruby-version:
|
22
|
+
- 2.3
|
23
|
+
- 2.4
|
24
|
+
- 2.5
|
25
|
+
- 2.6
|
26
|
+
- 2.7
|
27
|
+
- "3.0"
|
28
|
+
- 3.1
|
29
|
+
resque-version:
|
30
|
+
- "master"
|
31
|
+
- "~> 2.4.0"
|
32
|
+
- "~> 1.27"
|
33
|
+
rufus-scheduler:
|
34
|
+
- "3.2"
|
35
|
+
- "3.4"
|
36
|
+
- "3.5"
|
37
|
+
- "3.6"
|
38
|
+
redis-version:
|
39
|
+
- "~> 4.x"
|
40
|
+
- "~> 5.x"
|
41
|
+
exclude:
|
42
|
+
- ruby-version: head
|
43
|
+
rufus-scheduler: 3.2
|
44
|
+
|
45
|
+
- ruby-version: 2.3
|
46
|
+
resque-version: "~> 1.27"
|
47
|
+
rufus-scheduler: 3.4
|
48
|
+
- ruby-version: 2.3
|
49
|
+
resque-version: "~> 1.27"
|
50
|
+
rufus-scheduler: 3.5
|
51
|
+
- ruby-version: 2.5
|
52
|
+
resque-version: "~> 2.4.0"
|
53
|
+
rufus-scheduler: 3.5
|
54
|
+
- ruby-version: 2.5
|
55
|
+
resque-version: master
|
56
|
+
rufus-scheduler: 3.2
|
57
|
+
|
58
|
+
- ruby-version: 2.3
|
59
|
+
redis-version: "~> 5.x"
|
60
|
+
- ruby-version: 2.4
|
61
|
+
redis-version: "~> 5.x"
|
62
|
+
|
63
|
+
- resque-version: "~> 1.27"
|
64
|
+
redis-version: "~> 5.x"
|
65
|
+
env:
|
66
|
+
REDIS_VERSION: "${{ matrix.redis-version }}"
|
67
|
+
RESQUE: "${{ matrix.resque-version }}"
|
68
|
+
RUFUS_SCHEDULER: "${{ matrix.rufus-scheduler }}"
|
69
|
+
COVERAGE: 1
|
70
|
+
|
71
|
+
steps:
|
72
|
+
- uses: actions/checkout@v3
|
73
|
+
- uses: ruby/setup-ruby@v1
|
74
|
+
with:
|
75
|
+
ruby-version: "${{ matrix.ruby-version }}"
|
76
|
+
bundler-cache: true
|
77
|
+
- run: bundle exec rake
|
78
|
+
- run: bin/bundle_console_test.sh
|
data/AUTHORS.md
CHANGED
@@ -10,6 +10,7 @@ Resque Scheduler authors
|
|
10
10
|
- Brian Landau
|
11
11
|
- Brian P O'Rourke
|
12
12
|
- Carlos Antonio da Silva
|
13
|
+
- Chris Bisnett
|
13
14
|
- Chris Kampmeier
|
14
15
|
- DJ Hartman
|
15
16
|
- Damon P. Cortesi
|
@@ -27,18 +28,22 @@ Resque Scheduler authors
|
|
27
28
|
- Harry Lascelles
|
28
29
|
- Henrik Nyh
|
29
30
|
- Hormoz Kheradmand
|
31
|
+
- Ian Davies
|
30
32
|
- James Le Cuirot
|
31
33
|
- Jarkko Mönkkönen
|
34
|
+
- Jimmy Chao
|
32
35
|
- John Crepezzi
|
33
36
|
- John Griffin
|
34
37
|
- Jon Larkowski and Les Hill
|
35
38
|
- Jonathan Conley
|
36
39
|
- Jonathan Hyman
|
37
40
|
- Jonathan Owens
|
41
|
+
- Jordan Gardner
|
38
42
|
- Joshua Szmajda
|
39
43
|
- Justin Weiss
|
40
44
|
- Les Hill
|
41
45
|
- Luke Rodgers
|
46
|
+
- Maksymilian Chwałek
|
42
47
|
- Manuel Meurer
|
43
48
|
- Matt Aimonetti
|
44
49
|
- Matt Simpson
|
@@ -46,6 +51,7 @@ Resque Scheduler authors
|
|
46
51
|
- Michael Lovitt
|
47
52
|
- Michael Nikitochkin
|
48
53
|
- Michael Rykov
|
54
|
+
- Mike MacDonald
|
49
55
|
- Nickolas Means
|
50
56
|
- Olek Janiszewski
|
51
57
|
- Olivier Brisse
|
@@ -59,11 +65,13 @@ Resque Scheduler authors
|
|
59
65
|
- Scott Francis
|
60
66
|
- Sean Stephens
|
61
67
|
- Sebastian Kippe
|
68
|
+
- Sharang Dashputre
|
62
69
|
- Spring MC
|
63
70
|
- tbprojects
|
64
71
|
- Tim Liner
|
65
72
|
- Tony Lewis
|
66
73
|
- Tom Crayford
|
74
|
+
- Tsu-Shiuan Lin
|
67
75
|
- Vincent Zhu
|
68
76
|
- Vladislav Shub
|
69
77
|
- V Sreekanth
|
@@ -79,3 +87,4 @@ Resque Scheduler authors
|
|
79
87
|
- malomalo
|
80
88
|
- sawanoboly
|
81
89
|
- serek
|
90
|
+
- iloveitaly
|