{"id":16062161,"url":"https://github.com/gsamokovarov/mock_last_status","last_synced_at":"2025-07-08T08:06:00.154Z","repository":{"id":56884164,"uuid":"55557606","full_name":"gsamokovarov/mock_last_status","owner":"gsamokovarov","description":"Mocks the $? global variable in Ruby.","archived":false,"fork":false,"pushed_at":"2016-04-05T22:21:31.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-16T05:53:25.685Z","etag":null,"topics":["c-extension","ruby","test"],"latest_commit_sha":null,"homepage":"","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/gsamokovarov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-05T22:16:27.000Z","updated_at":"2019-07-15T23:26:44.000Z","dependencies_parsed_at":"2022-08-20T22:31:07.858Z","dependency_job_id":null,"html_url":"https://github.com/gsamokovarov/mock_last_status","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gsamokovarov/mock_last_status","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsamokovarov%2Fmock_last_status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsamokovarov%2Fmock_last_status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsamokovarov%2Fmock_last_status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsamokovarov%2Fmock_last_status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gsamokovarov","download_url":"https://codeload.github.com/gsamokovarov/mock_last_status/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsamokovarov%2Fmock_last_status/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264229252,"owners_count":23576239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["c-extension","ruby","test"],"created_at":"2024-10-09T04:22:13.040Z","updated_at":"2025-07-08T08:06:00.125Z","avatar_url":"https://github.com/gsamokovarov.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mock Last Status\n\nFor that time when you need to test `$?`. Wait, what?\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'mock_last_status'\n```\n\nAnd then execute:\n\n    $ bundle\n\n## Usage\n\n```ruby\nMockLastStatus.set(123)\n$?.exitstatus # =\u003e 123\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at\nhttps://github.com/gsamokovarov/mock_last_status. This project is intended to\nbe a safe, welcoming space for collaboration, and contributors are expected to\nadhere to the [Contributor Covenant](http://contributor-covenant.org) code of\nconduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT\nLicense](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsamokovarov%2Fmock_last_status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgsamokovarov%2Fmock_last_status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsamokovarov%2Fmock_last_status/lists"}