From 48adfdcfa3f490da1fae712ed3954e8f3b3eb3b6 Mon Sep 17 00:00:00 2001 From: "tien.xuan.vo" Date: Fri, 15 Mar 2024 20:12:57 +0700 Subject: [PATCH] refactor: Rename project to pact-foundation/composer-downloads-plugin --- README.md | 18 +++++++++--------- composer.json | 2 +- tests/Fixtures/library/composer.json | 2 +- tests/Integration/CommandTestCase.php | 4 ++-- tests/Integration/Valid/RequireTest.php | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 7b50377..a44c206 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Suppose your PHP package `foo/bar` relies on an external archive file (`examplel { "name": "foo/bar", "require": { - "tienvx/composer-downloads-plugin": "^1.0" + "pact-foundation/composer-downloads-plugin": "^1.0" }, "extra": { "downloads": { @@ -141,25 +141,25 @@ See more at [Doc](./doc/) ## Contributing -Pull requests are welcome, please [send pull requests](https://github.com/tienvx/composer-downloads-plugin/pulls). +Pull requests are welcome, please [send pull requests](https://github.com/pact-foundation/composer-downloads-plugin/pulls). -If you found any bug, please [report issues](https://github.com/tienvx/composer-downloads-plugin/issues). +If you found any bug, please [report issues](https://github.com/pact-foundation/composer-downloads-plugin/issues). ## Authors * **Rob Bayliss** - [Composer Extra Files](https://github.com/LastCallMedia/ComposerExtraFiles/graphs/contributors) * **Tim Otten** and contributors - [Composer Download Plugin](https://github.com/civicrm/composer-downloads-plugin/graphs/contributors) -* **Tien Vo** and contributors - [this project](https://github.com/tienvx/composer-downloads-plugin/graphs/contributors) +* **Tien Vo** and contributors - [this project](https://github.com/pact-foundation/composer-downloads-plugin/graphs/contributors) ## License This package is available under the [MIT license](LICENSE). -[actions_badge]: https://github.com/tienvx/composer-downloads-plugin/workflows/main/badge.svg -[actions_link]: https://github.com/tienvx/composer-downloads-plugin/actions +[actions_badge]: https://github.com/pact-foundation/composer-downloads-plugin/workflows/main/badge.svg +[actions_link]: https://github.com/pact-foundation/composer-downloads-plugin/actions -[coveralls_badge]: https://coveralls.io/repos/tienvx/composer-downloads-plugin/badge.svg?branch=main&service=github -[coveralls_link]: https://coveralls.io/github/tienvx/composer-downloads-plugin?branch=main +[coveralls_badge]: https://coveralls.io/repos/pact-foundation/composer-downloads-plugin/badge.svg?branch=main&service=github +[coveralls_link]: https://coveralls.io/github/pact-foundation/composer-downloads-plugin?branch=main -[php-version-url]: https://packagist.org/packages/tienvx/composer-downloads-plugin +[php-version-url]: https://packagist.org/packages/pact-foundation/composer-downloads-plugin [php-version-image]: http://img.shields.io/badge/php-8.0.0+-ff69b4.svg diff --git a/composer.json b/composer.json index d8d406d..ca39a18 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "tienvx/composer-downloads-plugin", + "name": "pact-foundation/composer-downloads-plugin", "description": "Composer plugin for downloading additional files within any composer package.", "type": "composer-plugin", "license": "MIT", diff --git a/tests/Fixtures/library/composer.json b/tests/Fixtures/library/composer.json index 3c593d8..f2d0e66 100644 --- a/tests/Fixtures/library/composer.json +++ b/tests/Fixtures/library/composer.json @@ -1,7 +1,7 @@ { "name": "test/library", "require": { - "tienvx/composer-downloads-plugin": "@dev" + "pact-foundation/composer-downloads-plugin": "@dev" }, "extra": { "downloads": { diff --git a/tests/Integration/CommandTestCase.php b/tests/Integration/CommandTestCase.php index 21860de..3a18c58 100644 --- a/tests/Integration/CommandTestCase.php +++ b/tests/Integration/CommandTestCase.php @@ -30,7 +30,7 @@ protected static function getComposerJson(): array ], ], 'require' => [ - 'tienvx/composer-downloads-plugin' => '@dev', + 'pact-foundation/composer-downloads-plugin' => '@dev', 'test/library' => '@dev', ], 'minimum-stability' => 'dev', @@ -95,7 +95,7 @@ protected static function getComposerJson(): array ], 'config' => [ 'allow-plugins' => [ - 'tienvx/composer-downloads-plugin' => true, + 'pact-foundation/composer-downloads-plugin' => true, ], 'secure-http' => false, ], diff --git a/tests/Integration/Valid/RequireTest.php b/tests/Integration/Valid/RequireTest.php index 23eaaa4..a889814 100644 --- a/tests/Integration/Valid/RequireTest.php +++ b/tests/Integration/Valid/RequireTest.php @@ -10,7 +10,7 @@ protected static function getComposerJson(): array { return [ 'require' => [ - 'tienvx/composer-downloads-plugin' => '@dev', + 'pact-foundation/composer-downloads-plugin' => '@dev', ], ] + parent::getComposerJson(); }