async-background 0.2.2 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dff33a004b0bb5d6b6c3228b33208f96fba018100cde68ac003ba40296266444
4
- data.tar.gz: 5dc44f929d1104c8460333bc46382183d3ea24830894b64850e2101e3e3bfda8
3
+ metadata.gz: 49376bad9260678399dcf092b9d9f10bb86d834793937b00d2b32beac9b40a92
4
+ data.tar.gz: 1af4b44f91b2e06b6eee54d4916236c57ca70f0e61219aad4560b47ea5c5397d
5
5
  SHA512:
6
- metadata.gz: 8f04ef6eba87b811ed566efecd931613feb528a5e7ce060d5e31c8f1b377678c6128e983a7862041663423335599ea0afd924a222eaf9dd81f429f43ef67dde3
7
- data.tar.gz: 0cc407bd4121973230ddd30225e871bf258559d04b7ba95f2160ad5b756fc105556058ecac5f5b9b22f88efa1a4a6af256b3bb3dd8807c2674d37b84a0f08769
6
+ metadata.gz: 8b0dfde6d86f7198912c0aa106f2abb96fd6e7ff88052a0005c8c49cf7171ce16ad2ba9845f106ae5afa7b623d9c4846082be015e3dfb00482680b172fe20944
7
+ data.tar.gz: 2bf30304fb376f90631df8dc1e3ac5d369653095a36dc686485457412fad3025b834ee71b0fe17cf92ae743c4f30c0f9492e296341153cc17299ac8a33ce3fe3
@@ -28,7 +28,7 @@ module Async
28
28
 
29
29
  def run
30
30
  Async do |task|
31
- while true
31
+ loop do
32
32
  entry = heap.peek
33
33
  break unless entry
34
34
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Async
4
4
  module Background
5
- VERSION = '0.2.2'
5
+ VERSION = '0.2.4'
6
6
  end
7
7
  end
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.2
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Hajdarov
@@ -80,12 +80,10 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '3.12'
83
- description: |
84
- A production-grade lightweight scheduler built on top of Async.
85
- Single event loop with min-heap timer, skip-overlapping execution,
86
- jitter, monotonic clock intervals, semaphore concurrency control,
87
- and deterministic worker sharding. Designed for Falcon but works
88
- with any Async-based 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.
89
87
  email:
90
88
  - romnhajdarov@gmail.com
91
89
  executables: []