{"id":15624746,"url":"https://github.com/xuanxu/ojra","last_synced_at":"2026-01-25T02:01:36.017Z","repository":{"id":65339578,"uuid":"589513502","full_name":"xuanxu/ojra","owner":"xuanxu","description":"A Ruby wrapper for the Open Journal's Reviewers application's API","archived":false,"fork":false,"pushed_at":"2024-06-25T09:57:54.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-04T14:37:54.089Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/xuanxu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-01-16T09:51:06.000Z","updated_at":"2024-06-25T09:57:57.000Z","dependencies_parsed_at":"2023-11-23T10:27:09.505Z","dependency_job_id":"ca810b7b-5941-45f3-a17b-180da27afebf","html_url":"https://github.com/xuanxu/ojra","commit_stats":{"total_commits":36,"total_committers":1,"mean_commits":36.0,"dds":0.0,"last_synced_commit":"342f6239a8b714f77395bd02425c36b3868f701d"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/xuanxu/ojra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuanxu%2Fojra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuanxu%2Fojra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuanxu%2Fojra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuanxu%2Fojra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xuanxu","download_url":"https://codeload.github.com/xuanxu/ojra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuanxu%2Fojra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28741627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T01:40:51.112Z","status":"online","status_checked_at":"2026-01-25T02:00:06.841Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-03T10:00:48.264Z","updated_at":"2026-01-25T02:01:35.973Z","avatar_url":"https://github.com/xuanxu.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OJRA: Open Journals Reviewers API\n\nA Ruby wrapper for the Open Journal's [Reviewers application](https://github.com/openjournals/reviewers)'s API\n\n[![Tests](https://github.com/xuanxu/ojra/actions/workflows/tests.yml/badge.svg)](https://github.com/xuanxu/ojra/actions/workflows/tests.yml)\n[![Gem Version](https://badge.fury.io/rb/ojra.svg)](https://badge.fury.io/rb/ojra)\n\n## Use\n\n### Installation\n\nInstall OJRA running:\n\n```\ngem install ojra\n```\n\nOr adding the gem to your project's `Gemfile`:\n```ruby\ngem \"ojra\"\n```\n\n### Authentication\n\nInitialize the API Client class with the URL of the Reviewers site and a valid API token:\n\n```ruby\n  require \"ojra\"\n\n  client = OJRA::Client(\"https://reviewers-app.url\", \"secretTOKEN1234\")\n```\n\n### Available methods\n\n**STATS:**\n\n\n - **assign_reviewers(reviewers_list, issue_id)**: Add a new active review to a reviewer or list of reviewers (array or comma separated string)\n ```ruby\n    client.assign_reviewers(\"@reviewer21\", 4321)\n    client.assign_reviewers(\"@reviewer21, @reviewer33, @reviewer42\", 4321)\n    client.assign_reviewers([\"reviewer21\", \"reviewer33\", \"reviewer42\"], 4321)\n ```\n\n - **unassign_reviewers(reviewers_list, issue_id)**: Log a review unassignment for a reviewer or list of reviewers (array or comma separated string)\n ```ruby\n    client.unassign_reviewers(\"@reviewer21, @reviewer33, @reviewer42\", 4321)\n    client.unassign_reviewers(\"@reviewer21\", 4321)\n    client.unassign_reviewers([\"reviewer21\", \"reviewer33\", \"reviewer42\"], 4321)\n ```\n\n  - **start_review(reviewers_list, issue_id)**: Log starting a review for a reviewer or list of reviewers (array or comma separated string)\n ```ruby\n    client.start_review(\"@reviewer21\", 4321)\n    client.start_review(\"@reviewer21, @reviewer33, @reviewer42\", 4321)\n    client.start_review([\"reviewer21\", \"reviewer33\", \"reviewer42\"], 4321)\n ```\n\n - **finish_review(reviewers_list, issue_id)**: Log end of review for a reviewer or list of reviewers (array or comma separated string)\n ```ruby\n    client.finish_review(\"@reviewer21\", 4321)\n    client.finish_review(\"@reviewer21, @reviewer33, @reviewer42\", 4321)\n    client.finish_review([\"reviewer21\", \"reviewer33\", \"reviewer42\"], 4321)\n ```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuanxu%2Fojra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxuanxu%2Fojra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuanxu%2Fojra/lists"}