{"id":29899340,"url":"https://github.com/wtnabe/roughly-platform","last_synced_at":"2026-03-16T09:33:39.178Z","repository":{"id":299170099,"uuid":"1002256792","full_name":"wtnabe/roughly-platform","owner":"wtnabe","description":"roughly platform resolver and more","archived":false,"fork":false,"pushed_at":"2025-06-16T11:05:26.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-26T03:08:17.654Z","etag":null,"topics":["ruby","rubygems"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wtnabe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2025-06-15T04:09:59.000Z","updated_at":"2025-07-06T11:06:32.000Z","dependencies_parsed_at":"2025-06-15T05:24:58.183Z","dependency_job_id":"2e721635-847a-4e47-8741-314dcb6d10b5","html_url":"https://github.com/wtnabe/roughly-platform","commit_stats":null,"previous_names":["wtnabe/roughly-platform"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/wtnabe/roughly-platform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtnabe%2Froughly-platform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtnabe%2Froughly-platform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtnabe%2Froughly-platform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtnabe%2Froughly-platform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wtnabe","download_url":"https://codeload.github.com/wtnabe/roughly-platform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtnabe%2Froughly-platform/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268223278,"owners_count":24215711,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"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":["ruby","rubygems"],"created_at":"2025-08-01T12:33:36.422Z","updated_at":"2026-03-16T09:33:34.145Z","avatar_url":"https://github.com/wtnabe.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RoughlyPlatform\n\nroughly platform resolver and more.\n\nThis gem can some how identify linux, windows and macos. And provide something that uses them.\n\nIt provides the path to user's profile now.\n\n## Installation\n\nInstall the gem and add to the application's Gemfile by executing:\n\n```bash\nbundle add roughly-platform\n```\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n```bash\ngem install roughly-platform\n```\n\n## Usage\n\n```ruby\nrequire \"roughly-platform\"\n\nRoughlyPlatform::PlatformResolver.new.resolve # =\u003e :linux\nRoughlyPlatform.os # =\u003e :macos\nRoughlyPlatform.profile_path # =\u003e $HOME/Library/Application Support\n```\n\n## Development\n\nAfter 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.\n\nTo 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 the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/wtnabe/roughly-platform.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwtnabe%2Froughly-platform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwtnabe%2Froughly-platform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwtnabe%2Froughly-platform/lists"}