chrono_machines 0.2.0 → 0.5.1
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/CHANGELOG.md +74 -0
- data/Cargo.lock +679 -0
- data/Cargo.toml +7 -0
- data/README.md +1 -1
- data/ext/chrono_machines_native/core/Cargo.toml +28 -0
- data/ext/chrono_machines_native/core/src/backoff.rs +516 -0
- data/ext/chrono_machines_native/core/src/dsl.rs +108 -0
- data/ext/chrono_machines_native/core/src/lib.rs +355 -0
- data/ext/chrono_machines_native/core/src/policy.rs +189 -0
- data/ext/chrono_machines_native/core/src/retry.rs +1511 -0
- data/ext/chrono_machines_native/core/src/sleep.rs +97 -0
- data/ext/chrono_machines_native/extconf.rb +3 -0
- data/ext/chrono_machines_native/ffi/Cargo.toml +23 -0
- data/ext/chrono_machines_native/ffi/extconf.rb +62 -0
- data/ext/chrono_machines_native/ffi/src/lib.rs +192 -0
- data/lib/chrono_machines/async_support.rb +2 -1
- data/lib/chrono_machines/configuration.rb +19 -5
- data/lib/chrono_machines/executor.rb +69 -9
- data/lib/chrono_machines/native_speedup.rb +61 -0
- data/lib/chrono_machines/version.rb +1 -1
- data/lib/chrono_machines.rb +1 -1
- metadata +23 -6
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chrono_machines
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Abdelkader Boudih
|
|
@@ -25,24 +25,39 @@ dependencies:
|
|
|
25
25
|
version: '2.7'
|
|
26
26
|
description: ChronoMachines offers a flexible and configurable solution for handling
|
|
27
27
|
transient failures in distributed Ruby applications. It provides powerful retry
|
|
28
|
-
strategies, including exponential backoff and full jitter,
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
strategies, including exponential backoff and full jitter, with customizable callbacks.
|
|
29
|
+
Features optional Rust-powered native performance on CRuby with pure Ruby fallback
|
|
30
|
+
for JRuby compatibility.
|
|
31
31
|
email:
|
|
32
32
|
- terminale@gmail.com
|
|
33
33
|
executables: []
|
|
34
|
-
extensions:
|
|
34
|
+
extensions:
|
|
35
|
+
- ext/chrono_machines_native/extconf.rb
|
|
35
36
|
extra_rdoc_files: []
|
|
36
37
|
files:
|
|
37
38
|
- CHANGELOG.md
|
|
39
|
+
- Cargo.lock
|
|
40
|
+
- Cargo.toml
|
|
38
41
|
- LICENSE.txt
|
|
39
42
|
- README.md
|
|
43
|
+
- ext/chrono_machines_native/core/Cargo.toml
|
|
44
|
+
- ext/chrono_machines_native/core/src/backoff.rs
|
|
45
|
+
- ext/chrono_machines_native/core/src/dsl.rs
|
|
46
|
+
- ext/chrono_machines_native/core/src/lib.rs
|
|
47
|
+
- ext/chrono_machines_native/core/src/policy.rs
|
|
48
|
+
- ext/chrono_machines_native/core/src/retry.rs
|
|
49
|
+
- ext/chrono_machines_native/core/src/sleep.rs
|
|
50
|
+
- ext/chrono_machines_native/extconf.rb
|
|
51
|
+
- ext/chrono_machines_native/ffi/Cargo.toml
|
|
52
|
+
- ext/chrono_machines_native/ffi/extconf.rb
|
|
53
|
+
- ext/chrono_machines_native/ffi/src/lib.rs
|
|
40
54
|
- lib/chrono_machines.rb
|
|
41
55
|
- lib/chrono_machines/async_support.rb
|
|
42
56
|
- lib/chrono_machines/configuration.rb
|
|
43
57
|
- lib/chrono_machines/dsl.rb
|
|
44
58
|
- lib/chrono_machines/errors.rb
|
|
45
59
|
- lib/chrono_machines/executor.rb
|
|
60
|
+
- lib/chrono_machines/native_speedup.rb
|
|
46
61
|
- lib/chrono_machines/test_helper.rb
|
|
47
62
|
- lib/chrono_machines/version.rb
|
|
48
63
|
- sig/chrono_machines.rbs
|
|
@@ -50,11 +65,13 @@ homepage: https://github.com/seuros/chrono_machines
|
|
|
50
65
|
licenses:
|
|
51
66
|
- MIT
|
|
52
67
|
metadata:
|
|
53
|
-
allowed_push_host: https://rubygems.org
|
|
54
68
|
homepage_uri: https://github.com/seuros/chrono_machines
|
|
55
69
|
source_code_uri: https://github.com/seuros/chrono_machines
|
|
56
70
|
changelog_uri: https://github.com/seuros/chrono_machines/blob/main/CHANGELOG.md
|
|
71
|
+
github_repo: ssh://github.com/seuros/chrono_machines
|
|
57
72
|
rubygems_mfa_required: 'true'
|
|
73
|
+
cargo_crate_name: chrono_machines_native
|
|
74
|
+
cargo_manifest_path: ext/chrono_machines_native/ffi/Cargo.toml
|
|
58
75
|
rdoc_options: []
|
|
59
76
|
require_paths:
|
|
60
77
|
- lib
|