{"id":13684321,"url":"https://github.com/hbmartin/danger-spm_version_updates","last_synced_at":"2025-05-12T19:59:26.518Z","repository":{"id":205687302,"uuid":"714405128","full_name":"hbmartin/danger-spm_version_updates","owner":"hbmartin","description":"A Danger plugin to detect if there are any updates to your Swift Package Manager dependencies.","archived":false,"fork":false,"pushed_at":"2024-04-17T18:38:44.000Z","size":63,"stargazers_count":7,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-15T01:39:58.126Z","etag":null,"topics":["ci","danger","danger-plugin","danger-rb","dependencies","dependency-check","dependency-checker","swift","swift-package-manager","swift-pm","version-management","version-monitoring","versioning","xcode"],"latest_commit_sha":null,"homepage":"https://hbmartin.github.io/danger-spm_version_updates/Danger/DangerSpmVersionUpdates.html","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/hbmartin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-04T20:02:15.000Z","updated_at":"2024-11-06T23:50:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"10d39115-9650-4cf0-8518-24b49a703e5a","html_url":"https://github.com/hbmartin/danger-spm_version_updates","commit_stats":null,"previous_names":["hbmartin/danger-spm_version_updates"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbmartin%2Fdanger-spm_version_updates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbmartin%2Fdanger-spm_version_updates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbmartin%2Fdanger-spm_version_updates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbmartin%2Fdanger-spm_version_updates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hbmartin","download_url":"https://codeload.github.com/hbmartin/danger-spm_version_updates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253814522,"owners_count":21968555,"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":["ci","danger","danger-plugin","danger-rb","dependencies","dependency-check","dependency-checker","swift","swift-package-manager","swift-pm","version-management","version-monitoring","versioning","xcode"],"created_at":"2024-08-02T14:00:32.196Z","updated_at":"2025-05-12T19:59:26.496Z","avatar_url":"https://github.com/hbmartin.png","language":"Ruby","funding_links":[],"categories":["Plugins"],"sub_categories":["Ruby (danger)"],"readme":"# danger-spm_version_updates\n\n[![CI](https://github.com/hbmartin/danger-spm_version_updates/actions/workflows/lint_and_test.yml/badge.svg)](https://github.com/hbmartin/danger-spm_version_updates/actions/workflows/lint_and_test.yml)\n[![CodeFactor](https://www.codefactor.io/repository/github/hbmartin/danger-spm_version_updates/badge/main)](https://www.codefactor.io/repository/github/hbmartin/danger-spm_version_updates/overview/main)\n[![Gem Version](https://img.shields.io/gem/v/danger-spm_version_updates?color=D86149)](https://rubygems.org/gems/danger-spm_version_updates)\n[![codecov](https://codecov.io/gh/hbmartin/danger-spm_version_updates/graph/badge.svg?token=eXgUoWlvP7)](https://codecov.io/gh/hbmartin/danger-spm_version_updates)\n[![Documentation](https://img.shields.io/badge/Docs-3d3d41?logo=RubyGems)](https://hbmartin.github.io/danger-spm_version_updates/Danger/DangerSpmVersionUpdates.html)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nA [Danger](https://danger.systems/ruby/) plugin to detect if there are any updates to your Swift Package Manager dependencies.\n\nIt's fast, lightweight, and does not require swift to be installed on the CI where it is run.\n\nNote that version 0.1.0 is the last version to support Ruby 2.7\n\n## Installation\n\n```sh\ngem install danger-spm_version_updates\n```\n\nor add the following to your Gemfile:\n\n```ruby\ngem \"danger-spm_version_updates\"\n```\n\n## Usage\n\nJust add this to your Dangerfile! Note that it is required to pass the path to your Xcode project.\n\n```ruby\nspm_version_updates.check_for_updates(\"Example.xcodeproj\")\n```\n\nYou can also configure custom behaviors:\n\n```ruby\n# Whether to check when dependencies are exact versions or commits, default false\nspm_version_updates.check_when_exact = true\n\n# Whether to report versions above the maximum version range, default false\nspm_version_updates.report_above_maximum = true\n\n# Whether to report pre-release versions, default false\nspm_version_updates.report_pre_releases = true\n\n# A list of repository URLs for packages to ignore entirely\nspm_version_updates.ignore_repos = [\"https://github.com/pointfreeco/swift-snapshot-testing\"]\n```\n\n## Development\n\n1. Clone this repo\n2. Run `bundle install` to setup dependencies.\n3. Run `bundle exec rake spec` to run the tests.\n4. Use `bundle exec guard` to automatically have tests run as you make changes.\n5. Make your changes.\n\n## Authors\n\n- [Harold Martin](https://www.linkedin.com/in/harold-martin-98526971/) - harold.martin at gmail\n\n## Legal\n\nSwift and the Swift logo are trademarks of Apple Inc.\n\nCopyright (c) 2023-2024 Harold Martin\n\nMIT License\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhbmartin%2Fdanger-spm_version_updates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhbmartin%2Fdanger-spm_version_updates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhbmartin%2Fdanger-spm_version_updates/lists"}