async 2.27.1 → 2.27.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c419b1abab6e535bd3f68c7de489ad0086e236f54b513d959f0b5d81373039e2
4
- data.tar.gz: d995214a8ac8539172ffe669563cdaaca34925b7da97939095d2f48f22628ead
3
+ metadata.gz: '09bbe8d1e72307456e130873e0b8085c3e9dfa4c6a5d683628a8b9d71296d536'
4
+ data.tar.gz: df36d6567530daaf5a0973eccd6c7731a0fc74fa16f14492a4166bb52f3e0b74
5
5
  SHA512:
6
- metadata.gz: 79cf05bc46450f20fdbf524f7bc1886564b26cadcbf731c3186c3f1dbec93ad51f15bc042591b77a790d0647a768103533b2eae8ff732ef5350e3ad2b866ffe0
7
- data.tar.gz: 7663314ae8ad34d6c7d647ce8065268cc91754828d474044e3b2c5a6c80bbc9f8467b12fb90af6d4f3d5db6c0a14cc74735ce32ffa37998b2d9c261c5cc4a876
6
+ metadata.gz: 1950f70ab897e009cdd3d662e23fa26647070a8b83c455d5265be83544b7c5e32c5f67647b9d712972a9ee165406be05e26d4aa4d4b4604be96126b7e13baa34
7
+ data.tar.gz: 7dabc3ef0f79ebdbda86736a21c2df628623cf1a707e942f3e7222fbc8aaedc4b836a5c736946002f56e00a5659531acbcf574d768382a4ffe60bf154ce2f1e8
checksums.yaml.gz.sig CHANGED
Binary file
data/context/index.yaml CHANGED
@@ -1,29 +1,29 @@
1
1
  # Automatically generated context index for Utopia::Project guides.
2
2
  # Do not edit then files in this directory directly, instead edit the guides and then run `bake utopia:project:agent:context:update`.
3
3
  ---
4
- getting-started:
4
+ description: A concurrency framework for Ruby.
5
+ metadata:
6
+ documentation_uri: https://socketry.github.io/async/
7
+ funding_uri: https://github.com/sponsors/ioquatix/
8
+ source_code_uri: https://github.com/socketry/async.git
9
+ files:
10
+ - path: getting-started.md
5
11
  title: Getting Started
6
- order: 1
7
12
  description: This guide shows how to add async to your project and run code asynchronously.
8
- scheduler:
13
+ - path: scheduler.md
9
14
  title: Scheduler
10
- order: 2
11
15
  description: This guide gives an overview of how the scheduler is implemented.
12
- tasks:
13
- title: Asynchronous Tasks
14
- order: 3
16
+ - path: tasks.md
17
+ title: Tasks
15
18
  description: This guide explains how asynchronous tasks work and how to use them.
16
- best-practices:
19
+ - path: best-practices.md
17
20
  title: Best Practices
18
- order: 5
19
21
  description: This guide gives an overview of best practices for using Async.
20
- debugging:
22
+ - path: debugging.md
21
23
  title: Debugging
22
- order: 6
23
24
  description: This guide explains how to debug issues with programs that use Async.
24
- thread-safety:
25
+ - path: thread-safety.md
25
26
  title: Thread safety
26
- order: 10
27
27
  description: This guide explains thread safety in Ruby, focusing on fibers and threads,
28
28
  common pitfalls, and best practices to avoid problems like data corruption, race
29
29
  conditions, and deadlocks.
data/context/tasks.md CHANGED
@@ -1,4 +1,4 @@
1
- # Asynchronous Tasks
1
+ # Tasks
2
2
 
3
3
  This guide explains how asynchronous tasks work and how to use them.
4
4
 
data/lib/async/version.rb CHANGED
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2017-2025, by Samuel Williams.
5
5
 
6
6
  module Async
7
- VERSION = "2.27.1"
7
+ VERSION = "2.27.2"
8
8
  end
data/readme.md CHANGED
@@ -23,7 +23,7 @@ Please see the [project documentation](https://socketry.github.io/async/) for mo
23
23
 
24
24
  - [Scheduler](https://socketry.github.io/async/guides/scheduler/index) - This guide gives an overview of how the scheduler is implemented.
25
25
 
26
- - [Asynchronous Tasks](https://socketry.github.io/async/guides/tasks/index) - This guide explains how asynchronous tasks work and how to use them.
26
+ - [Tasks](https://socketry.github.io/async/guides/tasks/index) - This guide explains how asynchronous tasks work and how to use them.
27
27
 
28
28
  - [Best Practices](https://socketry.github.io/async/guides/best-practices/index) - This guide gives an overview of best practices for using Async.
29
29
 
@@ -35,6 +35,14 @@ Please see the [project documentation](https://socketry.github.io/async/) for mo
35
35
 
36
36
  Please see the [project releases](https://socketry.github.io/async/releases/index) for all releases.
37
37
 
38
+ ### v2.27.2
39
+
40
+ - Fix `context/index.yaml` schema.
41
+
42
+ ### v2.27.1
43
+
44
+ - Updated documentation and agent context.
45
+
38
46
  ### v2.27.0
39
47
 
40
48
  - `Async::Task#stop` supports an optional `cause:` argument (that defaults to `$!`), which allows you to specify the cause (exception) for stopping the task.
@@ -81,14 +89,6 @@ Please see the [project releases](https://socketry.github.io/async/releases/inde
81
89
  - [`Async::Scheduler` Debugging](https://socketry.github.io/async/releases/index#async::scheduler-debugging)
82
90
  - [Console Shims](https://socketry.github.io/async/releases/index#console-shims)
83
91
 
84
- ### v2.18.0
85
-
86
- - Add support for `Sync(annotation:)`, so that you can annotate the block with a description of what it does, even if it doesn't create a new task.
87
-
88
- ### v2.17.0
89
-
90
- - Introduce `Async::Queue#push` and `Async::Queue#pop` for compatibility with `::Queue`.
91
-
92
92
  ## See Also
93
93
 
94
94
  - [async-http](https://github.com/socketry/async-http) — Asynchronous HTTP client/server.
data/releases.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Releases
2
2
 
3
+ ## v2.27.2
4
+
5
+ - Fix `context/index.yaml` schema.
6
+
7
+ ## v2.27.1
8
+
9
+ - Updated documentation and agent context.
10
+
3
11
  ## v2.27.0
4
12
 
5
13
  - `Async::Task#stop` supports an optional `cause:` argument (that defaults to `$!`), which allows you to specify the cause (exception) for stopping the task.
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.27.1
4
+ version: 2.27.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file