ract 0.1.0 → 0.2.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
- data/Gemfile +0 -1
- data/README.md +18 -5
- data/lib/ract/ract.rb +1 -1
- data/lib/ract/{single_methods.rb → singleton_methods.rb} +1 -1
- data/lib/ract/version.rb +1 -1
- data/lib/ract.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdcd0b50628836af0d73557e4ed0b80f0830c7640dca4a135a66ab4df3ac2d3d
|
4
|
+
data.tar.gz: a578255030f0f2dc32da32f74ed1f25ee87c30cea681d18ea54916b3f543e810
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 533bd81a23a4c29c62ccbb740e28f7373231f7d8b09dec4717d6967a191eb49d5e30a7eba6a1b20ba1859cb6f55002cec2b4301f0558b22bcde9124188518252
|
7
|
+
data.tar.gz: c42e55c294a61562c2c60255a31c01216faa27cab97730495e42cd2c24ceba2d7def0ce01a0de34fd70181ccff013bdacce01a00fbb3fcbc56ed33fb1b879ae2
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,10 +1,23 @@
|
|
1
|
-
<
|
1
|
+
<div href="#" style="text-align: center; width: 50%; margin: 0 auto;">
|
2
|
+
<img src="./images/ract-no-bg.png" alt="Ract Logo" style="position: relative; margin-top: -50px; z-index: 1; display: flex; align-items: center; justify-content: center; text-align: center; mix-blend-mode: overlay;">
|
3
|
+
</div>
|
2
4
|
|
3
|
-
<center>
|
4
|
-
<img src="./images/ract-no-bg.png" alt="Ract Logo" width="65%" style="position: relative; margin-top: -50px; z-index: -1; mix-blend-mode: overlay;">
|
5
|
-
</center>
|
5
|
+
<h1 style="z-index: 999; text-align: center;">Ract</h1>
|
6
6
|
|
7
|
-
Ract is a lightweight Promise implementation for Ruby, providing a clean and intuitive way to handle asynchronous operations.
|
7
|
+
Ract is a lightweight Promise implementation for Ruby, simliar color promises in JavaScript providing a clean and intuitive way to handle asynchronous operations.
|
8
|
+
|
9
|
+
> [!NOTE]
|
10
|
+
> This is dont use Ractor, we just Threads to handle async operations
|
11
|
+
> Enjoy with us!
|
12
|
+
|
13
|
+
[](https://github.com/thadeu/ract/actions/workflows/ci.yml)
|
14
|
+
|
15
|
+
# Features
|
16
|
+
|
17
|
+
- Thread-safe
|
18
|
+
- Similar to JavaScript Promises
|
19
|
+
- Clean and intuitive API
|
20
|
+
- Easy to use
|
8
21
|
|
9
22
|
## Installation
|
10
23
|
|
data/lib/ract/ract.rb
CHANGED
data/lib/ract/version.rb
CHANGED
data/lib/ract.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ract
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thadeu Esteves Jr
|
@@ -34,15 +34,15 @@ files:
|
|
34
34
|
- lib/ract/ract.rb
|
35
35
|
- lib/ract/result.rb
|
36
36
|
- lib/ract/settled.rb
|
37
|
-
- lib/ract/
|
37
|
+
- lib/ract/singleton_methods.rb
|
38
38
|
- lib/ract/version.rb
|
39
|
-
homepage: https://github.com/thadeu/ract
|
39
|
+
homepage: https://github.com/thadeu/ract
|
40
40
|
licenses:
|
41
41
|
- MIT
|
42
42
|
metadata:
|
43
|
-
homepage_uri: https://github.com/thadeu/ract
|
44
|
-
source_code_uri: https://github.com/thadeu/ract
|
45
|
-
changelog_uri: https://github.com/thadeu/ract
|
43
|
+
homepage_uri: https://github.com/thadeu/ract
|
44
|
+
source_code_uri: https://github.com/thadeu/ract
|
45
|
+
changelog_uri: https://github.com/thadeu/ract/blob/main/CHANGELOG.md
|
46
46
|
rdoc_options: []
|
47
47
|
require_paths:
|
48
48
|
- lib
|