rufus-scheduler 3.9.1 → 3.9.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/CHANGELOG.md +5 -0
- data/CREDITS.md +1 -0
- data/README.md +11 -6
- data/lib/rufus/scheduler.rb +1 -1
- data/rufus-scheduler.gemspec +3 -3
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 256656e17e60670dad5d075427c1b3b4326f6f5dac5f232107520c12ea5f32c7
|
4
|
+
data.tar.gz: 6d04177caae292158791d02e095b184bf6f2f888157ef6de1345f5841ed4a94f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8ebf970f2b6bc1d08202a8aa889fa00825ca086d8fb94d696b56703451af5591ac84111a512c9ede9ac54132f4ea73b59480746b005b093371de3284f82df0c
|
7
|
+
data.tar.gz: 0f811b3323c837bbe07f59d6988c92a911e0dfc1c8bd93da877a432ede76abbe5a0da724fd67ed3279ebba480d34a7e2b01b904d7946c8a5375e1929b65a2f35
|
data/CHANGELOG.md
CHANGED
data/CREDITS.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
## Contributors
|
6
6
|
|
7
|
+
* Geremia Taglialatela, https://github.com/tagliala, mfa opt-in gh-347
|
7
8
|
* Austin Arbor https://github.com/austinarbor gh-342 first_at_error
|
8
9
|
* Bence Monus https://github.com/cromega gh-337 on_error and friends
|
9
10
|
* Talia Wong https://github.com/blowfishpro gh-335 on_error and friends
|
data/README.md
CHANGED
@@ -72,17 +72,22 @@ It does not persist your schedules. When the process is gone and the scheduler i
|
|
72
72
|
|
73
73
|
A rufus-scheduler instance will go on scheduling while it is present among the objects in a Ruby process. To make it stop scheduling you have to call its [`#shutdown` method](#schedulershutdown).
|
74
74
|
|
75
|
+
Please note: rufus-scheduler is not a cron replacement.
|
75
76
|
|
76
|
-
## related and similar gems
|
77
77
|
|
78
|
-
|
78
|
+
## related gems
|
79
|
+
|
79
80
|
* [ruby-clock](https://github.com/jjb/ruby-clock) - a clock process / job scheduler for Ruby
|
81
|
+
* [Puma-Rufus-Scheduler](https://github.com/javierav/puma-rufus-scheduler) - Puma plugin to run Rufus-Scheduler
|
82
|
+
|
83
|
+
|
84
|
+
## similar gems
|
85
|
+
|
86
|
+
* [Whenever](https://github.com/javan/whenever) - let cron call back your Ruby code, trusted and reliable cron drives your schedule
|
80
87
|
* [Clockwork](https://github.com/Rykian/clockwork) - rufus-scheduler inspired gem
|
81
88
|
* [Crono](https://github.com/plashchynski/crono) - an in-Rails cron scheduler
|
82
89
|
* [PerfectSched](https://github.com/treasure-data/perfectsched) - highly available distributed cron built on [Sequel](https://sequel.jeremyevans.net) and more
|
83
90
|
|
84
|
-
(please note: rufus-scheduler is not a cron replacement)
|
85
|
-
|
86
91
|
|
87
92
|
## note about the 3.0 line
|
88
93
|
|
@@ -1461,7 +1466,7 @@ The #confirm_lock method is called right before a job triggers (if it is provide
|
|
1461
1466
|
|
1462
1467
|
(introduced in rufus-scheduler 3.0.9).
|
1463
1468
|
|
1464
|
-
Another way of
|
1469
|
+
Another way of providing `#lock`, `#unlock` and `#confirm_lock` to a rufus-scheduler is by using the `:scheduler_lock` and `:trigger_lock` options.
|
1465
1470
|
|
1466
1471
|
See [:trigger_lock](#trigger_lock) and [:scheduler_lock](#scheduler_lock).
|
1467
1472
|
|
@@ -1779,7 +1784,7 @@ If, anyway, you need something like `rails server -d`, why not try `bundle exec
|
|
1779
1784
|
|
1780
1785
|
### executor / reloader
|
1781
1786
|
|
1782
|
-
You might benefit from
|
1787
|
+
You might benefit from wrapping your scheduled code in the executor or reloader. Read more here: https://guides.rubyonrails.org/threading_and_code_execution.html
|
1783
1788
|
|
1784
1789
|
## support
|
1785
1790
|
|
data/lib/rufus/scheduler.rb
CHANGED
data/rufus-scheduler.gemspec
CHANGED
@@ -26,12 +26,12 @@ Job scheduler for Ruby (at, cron, in and every jobs). Not a replacement for cron
|
|
26
26
|
#'wiki_uri' => s.homepage + '/flor/wiki',
|
27
27
|
#'documentation_uri' => s.homepage + '/tree/master/doc',
|
28
28
|
#'mailing_list_uri' => 'https://groups.google.com/forum/#!forum/floraison',
|
29
|
+
'rubygems_mfa_required' => 'true',
|
29
30
|
}
|
30
31
|
|
31
32
|
#s.files = `git ls-files`.split("\n")
|
32
33
|
s.files = Dir[
|
33
|
-
'README.{md,txt}',
|
34
|
-
'CHANGELOG.{md,txt}', 'CREDITS.{md,txt}', 'LICENSE.{md,txt}',
|
34
|
+
'{README,CHANGELOG,CREDITS,LICENSE}.{md,txt}',
|
35
35
|
'Makefile',
|
36
36
|
'lib/**/*.rb', #'spec/**/*.rb', 'test/**/*.rb',
|
37
37
|
"#{s.name}.gemspec",
|
@@ -39,7 +39,7 @@ Job scheduler for Ruby (at, cron, in and every jobs). Not a replacement for cron
|
|
39
39
|
|
40
40
|
s.required_ruby_version = '>= 1.9'
|
41
41
|
|
42
|
-
s.add_runtime_dependency 'fugit', '~> 1.1', '>= 1.1
|
42
|
+
s.add_runtime_dependency 'fugit', '~> 1.1', '>= 1.11.1'
|
43
43
|
|
44
44
|
s.add_development_dependency 'rspec', '~> 3.7'
|
45
45
|
s.add_development_dependency 'chronic', '~> 0.10'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rufus-scheduler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.9.
|
4
|
+
version: 3.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Mettraux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fugit
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '1.1'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.1
|
22
|
+
version: 1.11.1
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '1.1'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 1.1
|
32
|
+
version: 1.11.1
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rspec
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,6 +88,7 @@ metadata:
|
|
88
88
|
bug_tracker_uri: https://github.com/jmettraux/rufus-scheduler/issues
|
89
89
|
homepage_uri: https://github.com/jmettraux/rufus-scheduler
|
90
90
|
source_code_uri: https://github.com/jmettraux/rufus-scheduler
|
91
|
+
rubygems_mfa_required: 'true'
|
91
92
|
post_install_message:
|
92
93
|
rdoc_options: []
|
93
94
|
require_paths:
|
@@ -103,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
104
|
- !ruby/object:Gem::Version
|
104
105
|
version: '0'
|
105
106
|
requirements: []
|
106
|
-
rubygems_version: 3.
|
107
|
+
rubygems_version: 3.4.19
|
107
108
|
signing_key:
|
108
109
|
specification_version: 4
|
109
110
|
summary: job scheduler for Ruby (at, cron, in and every jobs)
|