{"id":20187379,"url":"https://github.com/wordpress-mobile/cocoapods-repo-update","last_synced_at":"2025-04-10T06:42:54.663Z","repository":{"id":62555919,"uuid":"157388706","full_name":"wordpress-mobile/cocoapods-repo-update","owner":"wordpress-mobile","description":"A CocoaPods plugin that updates your specs repos on pod install if needed.","archived":false,"fork":false,"pushed_at":"2021-10-19T10:05:30.000Z","size":14,"stargazers_count":28,"open_issues_count":2,"forks_count":8,"subscribers_count":6,"default_branch":"trunk","last_synced_at":"2025-03-24T07:49:09.176Z","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":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wordpress-mobile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-13T13:56:34.000Z","updated_at":"2024-05-07T04:57:53.000Z","dependencies_parsed_at":"2022-11-03T05:45:27.241Z","dependency_job_id":null,"html_url":"https://github.com/wordpress-mobile/cocoapods-repo-update","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpress-mobile%2Fcocoapods-repo-update","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpress-mobile%2Fcocoapods-repo-update/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpress-mobile%2Fcocoapods-repo-update/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wordpress-mobile%2Fcocoapods-repo-update/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wordpress-mobile","download_url":"https://codeload.github.com/wordpress-mobile/cocoapods-repo-update/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247842898,"owners_count":21005365,"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":[],"created_at":"2024-11-14T03:23:20.755Z","updated_at":"2025-04-10T06:42:54.641Z","avatar_url":"https://github.com/wordpress-mobile.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cocoapods-repo-update\n\ncocoapods-repo-update is a CocoaPods plugin that checks your dependencies when you run `pod install` and updates the local specs repositories if needed.\n\n## Background\n\nCocoaPods maintains a local mirror of the master specs repository at `~/.cocoapods/repos/master`. When you run `pod install`, CocoaPods checks your local mirror for all the specs you want and fetches them.\n\nAs of CocoaPods 1.0, `pod install` does not update the master specs repo every time it is run. This is because CocoaPods was [hammering Github](https://github.com/CocoaPods/CocoaPods/issues/4989#issuecomment-193772935) with this behavior. Now the specs repo must be explicitly updated with `pod repo update` or `pod install --repo-update`.\n\n[In some cases](https://github.com/CocoaPods/CocoaPods/issues/6033), this change was a bit of an overcorrection. It can be particularly inconvenient when running changes on CI.\n\nThis plugin checks if your CocoaPods specs repo needs to be updated when `pod install` is run and updates it if needed. This eliminates the need to run `pod repo update` or `pod install --repo-update` when you change a pod.\n\n## Installation\n\nInstall with `gem install`:\n\n    $ gem install cocoapods-repo-update\n\nOr add cocoapods-repo-update to your `Gemfile`:\n\n    gem 'cocoapods-repo-update'\n\n## Usage\n\ncocoapods-repo-update is used by adding it to your `Podfile` like this:\n\n```\nsource 'https://github.com/CocoaPods/Specs.git'\n\nplatform :ios, '11.0'\nplugin 'cocoapods-repo-update'\n\ntarget :MyTarget do\n  # Dependencies here\nend\n```\n\n## Development\n\nSource for the plugin is in `lib/`. Tests are run like this:\n\n```\n$ bundle install\n$ bundle exec rspec spec/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpress-mobile%2Fcocoapods-repo-update","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwordpress-mobile%2Fcocoapods-repo-update","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwordpress-mobile%2Fcocoapods-repo-update/lists"}