{"id":20699043,"url":"https://github.com/cao7113/cgem","last_synced_at":"2026-02-13T04:41:49.166Z","repository":{"id":59151995,"uuid":"78012884","full_name":"cao7113/cgem","owner":"cao7113","description":"Switch gem sources","archived":false,"fork":false,"pushed_at":"2024-10-28T18:30:30.000Z","size":21,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T19:11:24.272Z","etag":null,"topics":["gem","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cao7113.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2017-01-04T12:17:17.000Z","updated_at":"2024-06-07T11:53:28.000Z","dependencies_parsed_at":"2024-11-17T00:38:24.195Z","dependency_job_id":null,"html_url":"https://github.com/cao7113/cgem","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"f5d371004724bddc2d73c7e2b69bc6b77b1f97a4"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cao7113%2Fcgem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cao7113%2Fcgem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cao7113%2Fcgem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cao7113%2Fcgem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cao7113","download_url":"https://codeload.github.com/cao7113/cgem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249876573,"owners_count":21338751,"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":["gem","ruby"],"created_at":"2024-11-17T00:27:53.367Z","updated_at":"2026-02-13T04:41:44.146Z","avatar_url":"https://github.com/cao7113.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cgem\n\nInspired by cnpm, solve gem source switch in China!\n\n## Usage\n\n```bash\ncgem help\ncgem use rchina\ncgem use default # rubygems\ncgem list\ncgem setup rchina\nCGEM_KEY=rchina cgem setup\ncgem status      # default\ncgem current     # get current gem source\n```\n\n## Installation\n\nInstall the gem and add to the application's Gemfile by executing:\n\n    $ bundle add cgem\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n    $ gem install cgem\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` 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/cao7113/cgem.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcao7113%2Fcgem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcao7113%2Fcgem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcao7113%2Fcgem/lists"}