async 2.28.1 → 2.32.0
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
- checksums.yaml.gz.sig +0 -0
- data/lib/async/condition.rb +14 -32
- data/lib/async/deadline.rb +70 -0
- data/lib/async/notification.rb +7 -5
- data/lib/async/priority_queue.rb +253 -0
- data/lib/async/promise.rb +188 -0
- data/lib/async/queue.rb +39 -110
- data/lib/async/task.rb +62 -37
- data/lib/async/variable.rb +5 -0
- data/lib/async/version.rb +1 -1
- data/lib/async/waiter.rb +2 -0
- data/lib/kernel/sync.rb +6 -2
- data/readme.md +25 -28
- data/releases.md +93 -0
- data.tar.gz.sig +2 -2
- metadata +4 -2
- metadata.gz.sig +0 -0
- data/agent.md +0 -63
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.
|
4
|
+
version: 2.32.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -145,7 +145,6 @@ executables: []
|
|
145
145
|
extensions: []
|
146
146
|
extra_rdoc_files: []
|
147
147
|
files:
|
148
|
-
- agent.md
|
149
148
|
- context/best-practices.md
|
150
149
|
- context/debugging.md
|
151
150
|
- context/getting-started.md
|
@@ -160,11 +159,14 @@ files:
|
|
160
159
|
- lib/async/condition.md
|
161
160
|
- lib/async/condition.rb
|
162
161
|
- lib/async/console.rb
|
162
|
+
- lib/async/deadline.rb
|
163
163
|
- lib/async/idler.rb
|
164
164
|
- lib/async/limited_queue.rb
|
165
165
|
- lib/async/list.rb
|
166
166
|
- lib/async/node.rb
|
167
167
|
- lib/async/notification.rb
|
168
|
+
- lib/async/priority_queue.rb
|
169
|
+
- lib/async/promise.rb
|
168
170
|
- lib/async/queue.rb
|
169
171
|
- lib/async/reactor.rb
|
170
172
|
- lib/async/scheduler.rb
|
metadata.gz.sig
CHANGED
Binary file
|
data/agent.md
DELETED
@@ -1,63 +0,0 @@
|
|
1
|
-
# Agent
|
2
|
-
|
3
|
-
## Context
|
4
|
-
|
5
|
-
This section provides links to documentation from installed packages. It is automatically generated and may be updated by running `bake agent:context:install`.
|
6
|
-
|
7
|
-
**Important:** Before performing any code, documentation, or analysis tasks, always read and apply the full content of any relevant documentation referenced in the following sections. These context files contain authoritative standards and best practices for documentation, code style, and project-specific workflows. **Do not proceed with any actions until you have read and incorporated the guidance from relevant context files.**
|
8
|
-
|
9
|
-
### agent-context
|
10
|
-
|
11
|
-
Install and manage context files from Ruby gems.
|
12
|
-
|
13
|
-
#### [Usage Guide](.context/agent-context/usage.md)
|
14
|
-
|
15
|
-
`agent-context` is a tool that helps you discover and install contextual information from Ruby gems for AI agents. Gems can provide additional documentation, examples, and guidance in a `context/` ...
|
16
|
-
|
17
|
-
### decode
|
18
|
-
|
19
|
-
Code analysis for documentation generation.
|
20
|
-
|
21
|
-
#### [Getting Started with Decode](.context/decode/getting-started.md)
|
22
|
-
|
23
|
-
The Decode gem provides programmatic access to Ruby code structure and metadata. It can parse Ruby files and extract definitions, comments, and documentation pragmas, enabling code analysis, docume...
|
24
|
-
|
25
|
-
#### [Documentation Coverage](.context/decode/coverage.md)
|
26
|
-
|
27
|
-
This guide explains how to test and monitor documentation coverage in your Ruby projects using the Decode gem's built-in bake tasks.
|
28
|
-
|
29
|
-
#### [Ruby Documentation](.context/decode/ruby-documentation.md)
|
30
|
-
|
31
|
-
This guide covers documentation practices and pragmas supported by the Decode gem for documenting Ruby code. These pragmas provide structured documentation that can be parsed and used to generate A...
|
32
|
-
|
33
|
-
#### [Setting Up RBS Types and Steep Type Checking for Ruby Gems](.context/decode/types.md)
|
34
|
-
|
35
|
-
This guide covers the process for establishing robust type checking in Ruby gems using RBS and Steep, focusing on automated generation from source documentation and proper validation.
|
36
|
-
|
37
|
-
### sus
|
38
|
-
|
39
|
-
A fast and scalable test runner.
|
40
|
-
|
41
|
-
#### [Using Sus Testing Framework](.context/sus/usage.md)
|
42
|
-
|
43
|
-
Sus is a modern Ruby testing framework that provides a clean, BDD-style syntax for writing tests. It's designed to be fast, simple, and expressive.
|
44
|
-
|
45
|
-
#### [Mocking](.context/sus/mocking.md)
|
46
|
-
|
47
|
-
There are two types of mocking in sus: `receive` and `mock`. The `receive` matcher is a subset of full mocking and is used to set expectations on method calls, while `mock` can be used to replace m...
|
48
|
-
|
49
|
-
#### [Shared Test Behaviors and Fixtures](.context/sus/shared.md)
|
50
|
-
|
51
|
-
Sus provides shared test contexts which can be used to define common behaviours or tests that can be reused across one or more test files.
|
52
|
-
|
53
|
-
### sus-fixtures-agent-context
|
54
|
-
|
55
|
-
Test fixtures for running in Async.
|
56
|
-
|
57
|
-
#### [Getting Started](.context/sus-fixtures-agent-context/getting-started.md)
|
58
|
-
|
59
|
-
This guide explains how to use the `sus-fixtures-agent-context` gem to test agent contexts.
|
60
|
-
|
61
|
-
#### [GitHub Actions](.context/sus-fixtures-agent-context/github-actions.md)
|
62
|
-
|
63
|
-
This guide explains how to integrate the `sus-fixtures-agent-context` gem with GitHub Actions for testing agent contexts.
|