ruby_timeout_safe
v1.0.1RubyGems· Rubyruby-timeout-safe is a Ruby library that provides a safe and reliable timeout functionality for executing Ruby blocks. It uses Ruby's threading and monotonic time to ensure that timeouts are enforced even in the presence of blocking operations or long-running computations. The gem defines a `RubyTimeoutSafe` module with a `timeout` method that executes a given Ruby block with a specified timeout duration. If the block execution exceeds the timeout, a `Timeout::Error` exception is raised. This implementation leverages Ruby's built-in threading and monotonic time functions to provide a robust timeout mechanism.
The verdict
Abandoned. Last published over a year ago. No recent activity — look for a maintained alternative.
No recent activity — look for a maintained alternative.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceAbandoned
PopularityNiche
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published over a year ago.
Popularity
6 downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
- 1.0.1over a year ago
- 1.0.0over a year ago
- 0.2.0over a year ago
- 0.1.0over a year ago