{"id":27247725,"url":"https://github.com/benmelz/ioprio","last_synced_at":"2026-02-28T12:38:14.737Z","repository":{"id":285785914,"uuid":"959335733","full_name":"benmelz/ioprio","owner":"benmelz","description":"A simple ruby API for the linux ioprio system.","archived":false,"fork":false,"pushed_at":"2026-02-17T17:10:00.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-19T12:04:56.119Z","etag":null,"topics":["ioprio","linux","ruby"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/ioprio","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benmelz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-02T16:16:00.000Z","updated_at":"2026-02-17T17:10:55.000Z","dependencies_parsed_at":"2025-04-10T22:58:42.251Z","dependency_job_id":"765c8beb-679c-4a9f-8480-3d7372c2717f","html_url":"https://github.com/benmelz/ioprio","commit_stats":null,"previous_names":["benmelz/ioprio"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/benmelz/ioprio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benmelz%2Fioprio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benmelz%2Fioprio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benmelz%2Fioprio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benmelz%2Fioprio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benmelz","download_url":"https://codeload.github.com/benmelz/ioprio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benmelz%2Fioprio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29934319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T12:34:16.884Z","status":"ssl_error","status_checked_at":"2026-02-28T12:34:13.721Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ioprio","linux","ruby"],"created_at":"2025-04-10T22:58:38.630Z","updated_at":"2026-02-28T12:38:14.717Z","avatar_url":"https://github.com/benmelz.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ioprio\n\nA simple ruby API for the linux ioprio system.\n\n## Installation\n\nInstall the gem and add to the application's Gemfile by executing:\n\n```bash\nbundle add ioprio\n```\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n```bash\ngem install ioprio\n```\n\n## Usage\n\nThe ioprio syscalls are only supported by linux systems. As such their wrappers (`ioprio_get`/`ioprio_set`) will only be implemented when built and run on a linux system.\n\nAll features either directly call or are a recreation of native ioprio system features. Refer to the linux man pages for usage instructions.\n\nIn ruby, the following constants and methods are defined on the `Process` module, corresponding to their native macros and syscalls:\n\n```ruby\n  Process::IOPRIO_CLASS_NONE\n  Process::IOPRIO_CLASS_RT\n  Process::IOPRIO_CLASS_BE\n  Process::IOPRIO_CLASS_IDLE\n\n  Process::IOPRIO_WHO_PROCESS\n  Process::IOPRIO_WHO_PGRP\n  Process::IOPRIO_WHO_USER\n\n  Process.ioprio_prio_class(priority)\n  Process.ioprio_prio_data(priority)\n  Process.ioprio_prio_value(klass, data)\n\n  Process.ioprio_get(which, who)\n  Process.ioprio_set(which, who, priority)\n```\n\n## Development\n\n* Run `bin/setup` to install dependencies.\n* Run `bin/rake spec` to run the tests.\n* Run `bin/rake rubocop` to run the linter.\n* Run `bin/console` for an interactive prompt that will allow you to experiment.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/benmelz/ioprio.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenmelz%2Fioprio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenmelz%2Fioprio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenmelz%2Fioprio/lists"}