A summary of data about the Ruby ecosystem.

https://github.com/ruby/timeout

Timeout provides a way to auto-terminate a potentially long-running operation if it hasn't finished in a fixed amount of time.
https://github.com/ruby/timeout

Keywords

ruby

Keywords from Contributors

rubygems repl webrick debugger bigdecimal debugging-tool documentation-tool strscan activerecord activejob

Last synced: about 2 hours ago
JSON representation

Repository metadata

Timeout provides a way to auto-terminate a potentially long-running operation if it hasn't finished in a fixed amount of time.

README.md

Timeout

Timeout provides a way to auto-terminate a potentially long-running
operation if it hasn't finished in a fixed amount of time.

Installation

Add this line to your application's Gemfile:

gem 'timeout'

And then execute:

$ bundle

Or install it yourself as:

$ gem install timeout

Usage

require 'timeout'
status = Timeout.timeout(5) {
  # Something that should be interrupted if it takes more than 5 seconds...
}

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake test to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ruby/timeout.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 3 days ago

Total Commits: 213
Total Committers: 33
Avg Commits per committer: 6.455
Development Distribution Score (DDS): 0.793

Commits in past year: 44
Committers in past year: 11
Avg Commits per committer in past year: 4.0
Development Distribution Score (DDS) in past year: 0.682

Name Email Commits
nobu n****u@b****e 44
Hiroshi SHIBATA h****t@r****g 41
Benoit Daloze e****p@g****m 22
dependabot[bot] 4****] 21
matz m****z@b****e 12
John Bachir j****b 9
CosmicOppai c****i@p****m 8
kazu k****u@b****e 7
Jeremy Evans c****e@j****t 5
Jean Boussier j****r@g****m 4
Samuel Williams s****s@o****z 4
akr a****r@b****e 4
Olle Jonsson o****n@g****m 4
Koichi Sasada k****1@a****t 3
drbrain d****n@b****e 3
kosaki k****i@b****e 3
Takashi Kokubun t****n@g****m 2
zzak z****k@b****e 2
tarui t****i@b****e 1
aamine a****e@b****e 1
ryan r****n@b****e 1
t-mangoe m****r@g****m 1
shyouhei s****i@b****e 1
rm155 r****n@v****t 1
naruse n****e@b****e 1
Yusuke Endoh m****e@r****g 1
Ryunosuke Sato t****s@g****m 1
Rick Blommers r****k@b****l 1
Masafumi Koba 4****s 1
Mark Young m****g@a****o 1
and 3 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 14
Total pull requests: 81
Average time to close issues: 6 months
Average time to close pull requests: 11 days
Total issue authors: 12
Total pull request authors: 21
Average comments per issue: 4.86
Average comments per pull request: 1.89
Merged pull request: 68
Bot issues: 0
Bot pull requests: 26

Past year issues: 0
Past year pull requests: 26
Past year average time to close issues: N/A
Past year average time to close pull requests: about 9 hours
Past year issue authors: 0
Past year pull request authors: 8
Past year average comments per issue: 0
Past year average comments per pull request: 0.77
Past year merged pull request: 20
Past year bot issues: 0
Past year bot pull requests: 13

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/ruby/timeout

Top Issue Authors

  • jjb (3)
  • akihikodaki (1)
  • docu-tyler-harris (1)
  • gamecreature (1)
  • headius (1)
  • voxik (1)
  • gaffneyc (1)
  • trogd0r (1)
  • donnygitsome (1)
  • HoneyryderChuck (1)
  • jsvd (1)
  • ShockwaveNN (1)

Top Pull Request Authors

  • dependabot[bot] (26)
  • jjb (11)
  • eregon (8)
  • olleolleolle (5)
  • hsbt (4)
  • nobu (4)
  • ko1 (2)
  • joelibaceta (2)
  • headius (2)
  • jpcamara (2)
  • casperisfine (2)
  • jeremyevans (2)
  • k0kubun (2)
  • Cosmicoppai (2)
  • gamecreature (1)

Top Issue Labels

Top Pull Request Labels

  • dependencies (26)
  • github_actions (13)
  • documentation (1)

Package metadata

gem.coop: timeout

Auto-terminate potentially long-running operations in Ruby.

  • Homepage: https://github.com/ruby/timeout
  • Documentation: http://www.rubydoc.info/gems/timeout/
  • Licenses: Ruby,BSD-2-Clause
  • Latest release: 0.6.0 (published 3 months ago)
  • Last Synced: 2026-03-02T06:22:49.275Z (1 day ago)
  • Versions: 13
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 281,277,706 Total
  • Docker Downloads: 3,639,839,983
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Docker downloads count: 0.017%
    • Average: 0.03%
    • Downloads: 0.103%
  • Maintainers (1)
rubygems.org: timeout

Auto-terminate potentially long-running operations in Ruby.

  • Homepage: https://github.com/ruby/timeout
  • Documentation: http://www.rubydoc.info/gems/timeout/
  • Licenses: Ruby,BSD-2-Clause
  • Latest release: 0.6.0 (published 3 months ago)
  • Last Synced: 2026-02-28T11:02:31.482Z (3 days ago)
  • Versions: 13
  • Dependent Packages: 38
  • Dependent Repositories: 35,095
  • Downloads: 280,903,347 Total
  • Docker Downloads: 3,639,839,983
  • Rankings:
    • Docker downloads count: 0.019%
    • Dependent repos count: 0.177%
    • Downloads: 0.208%
    • Dependent packages count: 0.67%
    • Average: 2.014%
    • Stargazers count: 4.782%
    • Forks count: 6.23%
  • Maintainers (1)
proxy.golang.org: github.com/ruby/timeout

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/ruby/timeout#section-documentation
  • Licenses: other
  • Latest release: v0.6.0 (published 3 months ago)
  • Last Synced: 2026-03-02T06:22:50.579Z (1 day ago)
  • Versions: 13
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Stargazers count: 4.407%
    • Forks count: 5.604%
    • Average: 7.597%
    • Dependent packages count: 9.576%
    • Dependent repos count: 10.802%

Dependencies

Gemfile rubygems
  • bundler >= 0 development
  • rake >= 0 development
  • test-unit >= 0 development
.github/workflows/test.yml actions
  • actions/checkout v3 composite
  • ruby/setup-ruby v1 composite
timeout.gemspec rubygems
.github/workflows/sync-ruby.yml actions
  • actions/checkout v6 composite
  • actions/create-github-app-token v2 composite
  • convictional/trigger-workflow-and-wait v1.6.5 composite
.github/workflows/push_gem.yml actions
  • actions/checkout 1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 composite
  • ruby/setup-ruby d5126b9b3579e429dd52e51e68624dda2e05be25 composite
  • rubygems/release-gem 1c162a739e8b4cb21a676e97b087e8268d8fc40b composite
  • step-security/harden-runner 20cf305ff2072d973412fa9b1e3a4f227bda3c76 composite

Score: 31.329110799252838