From 3fc7a8f119d742c626a9aa7e68a279d56197fbea Mon Sep 17 00:00:00 2001 From: ARCANEDEV Date: Thu, 29 Jun 2017 11:57:03 +0000 Subject: [PATCH] Updating the package --- README.md | 49 ++++++++++++++---------- config/sidebar/main.php | 3 +- src/Console/Command.php | 14 ------- src/Console/InstallCommand.php | 1 + src/Console/PublishCommand.php | 1 + src/Entities/DirectoryCollection.php | 1 + src/Entities/FileCollection.php | 1 + src/Policies/AbstractPolicy.php | 14 ------- src/Policies/MediasPolicy.php | 3 +- src/Providers/ConsoleServiceProvider.php | 1 + 10 files changed, 37 insertions(+), 51 deletions(-) delete mode 100644 src/Console/Command.php delete mode 100644 src/Policies/AbstractPolicy.php diff --git a/README.md b/README.md index f69ad88..e9fd88e 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ -# Media [![Packagist License][badge_license]](LICENSE.md) [![For ARCANESOFT][badge_laravel]](https://github.com/ARCANESOFT/Media#media) +# Media [![Packagist License][badge_license]](LICENSE.md) [![For ARCANESOFT][badge_arcanesoft]][link-arcanesoft] -[![Travis Status][badge_build]](https://travis-ci.org/ARCANESOFT/Media) -[![Coverage Status][badge_coverage]](https://scrutinizer-ci.com/g/ARCANESOFT/Media/?branch=master) -[![Scrutinizer Code Quality][badge_quality]](https://scrutinizer-ci.com/g/ARCANESOFT/Media/?branch=master) -[![SensioLabs Insight][badge_insight]](https://insight.sensiolabs.com/projects/d3daf099-bd3c-45d2-a0da-3a1c57252e77) -[![Github Issues][badge_issues]](https://github.com/ARCANESOFT/Media/issues) +[![Travis Status][badge_build]][link-travis] +[![Coverage Status][badge_coverage]][link-scrutinizer] +[![Scrutinizer Code Quality][badge_quality]][link-scrutinizer] +[![SensioLabs Insight][badge_insight]][link-insight] +[![Github Issues][badge_issues]][link-github-issues] -[![Packagist][badge_package]](https://packagist.org/packages/arcanesoft/media) -[![Packagist Release][badge_release]](https://packagist.org/packages/arcanesoft/media) -[![Packagist Downloads][badge_downloads]](https://packagist.org/packages/arcanesoft/media) +[![Packagist][badge_package]][link-packagist] +[![Packagist Release][badge_release]][link-packagist] +[![Packagist Downloads][badge_downloads]][link-packagist] *By [ARCANEDEV©](http://www.arcanedev.net/)* @@ -28,15 +28,24 @@ If you discover any security related issues, please email arcanedev-maroc@gmail. Any ideas are welcome. Feel free to submit any issues or pull requests, please check the [contribution guidelines](CONTRIBUTING.md). -[badge_laravel]: https://img.shields.io/badge/For-ARCANESOFT%20CMS-orange.svg?style=flat-square -[badge_license]: https://img.shields.io/packagist/l/arcanesoft/media.svg?style=flat-square -[badge_build]: https://img.shields.io/travis/ARCANESOFT/Media.svg?style=flat-square -[badge_coverage]: https://img.shields.io/scrutinizer/coverage/g/ARCANESOFT/Media.svg?style=flat-square -[badge_quality]: https://img.shields.io/scrutinizer/g/ARCANESOFT/Media.svg?style=flat-square -[badge_insight]: https://img.shields.io/sensiolabs/i/d3daf099-bd3c-45d2-a0da-3a1c57252e77.svg?style=flat-square -[badge_issues]: https://img.shields.io/github/issues/ARCANESOFT/Media.svg?style=flat-square - -[badge_package]: https://img.shields.io/badge/package-arcanesoft/media-blue.svg?style=flat-square -[badge_release]: https://img.shields.io/packagist/v/arcanesoft/media.svg?style=flat-square -[badge_downloads]: https://img.shields.io/packagist/dt/arcanesoft/media.svg?style=flat-square +[badge_license]: https://img.shields.io/packagist/l/arcanesoft/media.svg?style=flat-square +[badge_arcanesoft]: https://img.shields.io/badge/For-ARCANESOFT%20CMS-orange.svg?style=flat-square +[badge_build]: https://img.shields.io/travis/ARCANESOFT/Media.svg?style=flat-square +[badge_coverage]: https://img.shields.io/scrutinizer/coverage/g/ARCANESOFT/Media.svg?style=flat-square +[badge_quality]: https://img.shields.io/scrutinizer/g/ARCANESOFT/Media.svg?style=flat-square +[badge_insight]: https://img.shields.io/sensiolabs/i/d3daf099-bd3c-45d2-a0da-3a1c57252e77.svg?style=flat-square +[badge_issues]: https://img.shields.io/github/issues/ARCANESOFT/Media.svg?style=flat-square +[badge_package]: https://img.shields.io/badge/package-arcanesoft/media-blue.svg?style=flat-square +[badge_release]: https://img.shields.io/packagist/v/arcanesoft/media.svg?style=flat-square +[badge_downloads]: https://img.shields.io/packagist/dt/arcanesoft/media.svg?style=flat-square + +[link-arcanesoft]: https://github.com/ARCANESOFT/ARCANESOFT +[link-author]: https://github.com/arcanedev-maroc +[link-github-repo]: https://github.com/ARCANESOFT/Media +[link-github-issues]: https://github.com/ARCANESOFT/Media/issues +[link-contributors]: https://github.com/ARCANESOFT/Media/graphs/contributors +[link-packagist]: https://packagist.org/packages/arcanesoft/media +[link-travis]: https://travis-ci.org/ARCANESOFT/Media +[link-scrutinizer]: https://scrutinizer-ci.com/g/ARCANESOFT/Media/?branch=master +[link-insight]: https://insight.sensiolabs.com/projects/d3daf099-bd3c-45d2-a0da-3a1c57252e77 diff --git a/config/sidebar/main.php b/config/sidebar/main.php index 3be34e8..abd21be 100644 --- a/config/sidebar/main.php +++ b/config/sidebar/main.php @@ -1,7 +1,6 @@ 'Media', @@ -10,7 +9,7 @@ 'icon' => 'fa fa-fw fa-picture-o', 'roles' => [Role::ADMINISTRATOR], 'permissions' => [ - MediasPolicy::PERMISSION_LIST, + Arcanesoft\Media\Policies\MediasPolicy::PERMISSION_LIST, ], 'children' => [ // diff --git a/src/Console/Command.php b/src/Console/Command.php deleted file mode 100644 index 22c4b97..0000000 --- a/src/Console/Command.php +++ /dev/null @@ -1,14 +0,0 @@ - - */ -abstract class Command extends BaseCommand -{ - // -} diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php index e23b8bc..c03e138 100644 --- a/src/Console/InstallCommand.php +++ b/src/Console/InstallCommand.php @@ -1,5 +1,6 @@ - */ -abstract class AbstractPolicy extends Policy -{ - // -} diff --git a/src/Policies/MediasPolicy.php b/src/Policies/MediasPolicy.php index f4b5d69..95019ee 100644 --- a/src/Policies/MediasPolicy.php +++ b/src/Policies/MediasPolicy.php @@ -1,6 +1,7 @@ */ -class MediasPolicy extends AbstractPolicy +class MediasPolicy extends Policy { /* ----------------------------------------------------------------- | Constants diff --git a/src/Providers/ConsoleServiceProvider.php b/src/Providers/ConsoleServiceProvider.php index ab93ab3..18a50b4 100644 --- a/src/Providers/ConsoleServiceProvider.php +++ b/src/Providers/ConsoleServiceProvider.php @@ -15,6 +15,7 @@ class ConsoleServiceProvider extends ServiceProvider | Properties | ----------------------------------------------------------------- */ + /** * Console commands. *