async 2.27.0 → 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.
data/readme.md CHANGED
@@ -21,20 +21,28 @@ Please see the [project documentation](https://socketry.github.io/async/) for mo
21
21
 
22
22
  - [Getting Started](https://socketry.github.io/async/guides/getting-started/index) - This guide shows how to add async to your project and run code asynchronously.
23
23
 
24
- - [Asynchronous Tasks](https://socketry.github.io/async/guides/asynchronous-tasks/index) - This guide explains how asynchronous tasks work and how to use them.
25
-
26
24
  - [Scheduler](https://socketry.github.io/async/guides/scheduler/index) - This guide gives an overview of how the scheduler is implemented.
27
25
 
28
- - [Compatibility](https://socketry.github.io/async/guides/compatibility/index) - This guide gives an overview of the compatibility of Async with Ruby and other frameworks.
26
+ - [Tasks](https://socketry.github.io/async/guides/tasks/index) - This guide explains how asynchronous tasks work and how to use them.
29
27
 
30
28
  - [Best Practices](https://socketry.github.io/async/guides/best-practices/index) - This guide gives an overview of best practices for using Async.
31
29
 
32
30
  - [Debugging](https://socketry.github.io/async/guides/debugging/index) - This guide explains how to debug issues with programs that use Async.
33
31
 
32
+ - [Thread safety](https://socketry.github.io/async/guides/thread-safety/index) - This guide explains thread safety in Ruby, focusing on fibers and threads, common pitfalls, and best practices to avoid problems like data corruption, race conditions, and deadlocks.
33
+
34
34
  ## Releases
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.0
4
+ version: 2.27.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -144,6 +144,13 @@ extensions: []
144
144
  extra_rdoc_files: []
145
145
  files:
146
146
  - agent.md
147
+ - context/best-practices.md
148
+ - context/debugging.md
149
+ - context/getting-started.md
150
+ - context/index.yaml
151
+ - context/scheduler.md
152
+ - context/tasks.md
153
+ - context/thread-safety.md
147
154
  - lib/async.rb
148
155
  - lib/async/barrier.md
149
156
  - lib/async/barrier.rb
@@ -199,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
206
  - !ruby/object:Gem::Version
200
207
  version: '0'
201
208
  requirements: []
202
- rubygems_version: 3.6.7
209
+ rubygems_version: 3.6.9
203
210
  specification_version: 4
204
211
  summary: A concurrency framework for Ruby.
205
212
  test_files: []
metadata.gz.sig CHANGED
Binary file