async-background 0.2.3 → 0.2.4
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/lib/async/background/runner.rb +1 -1
- data/lib/async/background/version.rb +1 -1
- data/lib/async/background.rb +0 -8
- metadata +5 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 49376bad9260678399dcf092b9d9f10bb86d834793937b00d2b32beac9b40a92
|
|
4
|
+
data.tar.gz: 1af4b44f91b2e06b6eee54d4916236c57ca70f0e61219aad4560b47ea5c5397d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b0dfde6d86f7198912c0aa106f2abb96fd6e7ff88052a0005c8c49cf7171ce16ad2ba9845f106ae5afa7b623d9c4846082be015e3dfb00482680b172fe20944
|
|
7
|
+
data.tar.gz: 2bf30304fb376f90631df8dc1e3ac5d369653095a36dc686485457412fad3025b834ee71b0fe17cf92ae743c4f30c0f9492e296341153cc17299ac8a33ce3fe3
|
data/lib/async/background.rb
CHANGED
|
@@ -6,14 +6,6 @@ require 'console'
|
|
|
6
6
|
require 'fugit'
|
|
7
7
|
|
|
8
8
|
require_relative 'background/version'
|
|
9
|
-
|
|
10
|
-
# Warn if using an unstable version
|
|
11
|
-
unless ['0.1.0', '0.2.2', '0.2.3'].include?(Async::Background::VERSION)
|
|
12
|
-
warn "\n⚠️ WARNING: Async::Background v#{Async::Background::VERSION} is not a stable version!"
|
|
13
|
-
warn "⚠️ Stable versions are: 0.1.0, 0.2.2, and 0.2.3"
|
|
14
|
-
warn "⚠️ For production use, pin to one of these versions in your Gemfile\n\n"
|
|
15
|
-
end
|
|
16
|
-
|
|
17
9
|
require_relative 'background/min_heap'
|
|
18
10
|
require_relative 'background/entry'
|
|
19
11
|
require_relative 'background/runner'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: async-background
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Roman Hajdarov
|
|
@@ -80,11 +80,10 @@ dependencies:
|
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '3.12'
|
|
83
|
-
description:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
application."
|
|
83
|
+
description: A production-grade lightweight scheduler built on top of Async. Single
|
|
84
|
+
event loop with min-heap timer, skip-overlapping execution, jitter, monotonic clock
|
|
85
|
+
intervals, semaphore concurrency control, and deterministic worker sharding. Designed
|
|
86
|
+
for Falcon but works with any Async-based application.
|
|
88
87
|
email:
|
|
89
88
|
- romnhajdarov@gmail.com
|
|
90
89
|
executables: []
|