Skip to content

Commit

Permalink
Merge pull request #11 from ARCANESOFT/develop
Browse files Browse the repository at this point in the history
Updating the package
  • Loading branch information
arcanedev-maroc authored Jun 29, 2017
2 parents a7d2f15 + 3fc7a8f commit 18b6eed
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 51 deletions.
49 changes: 29 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -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/)*

Expand All @@ -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
3 changes: 1 addition & 2 deletions config/sidebar/main.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php

use Arcanesoft\Auth\Models\Role;
use Arcanesoft\Media\Policies\MediasPolicy;

return [
'title' => 'Media',
Expand All @@ -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' => [
//
Expand Down
14 changes: 0 additions & 14 deletions src/Console/Command.php

This file was deleted.

1 change: 1 addition & 0 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php namespace Arcanesoft\Media\Console;

use Arcanedev\Support\Bases\Command;
use Arcanesoft\Media\Seeds\DatabaseSeeder;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Console/PublishCommand.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php namespace Arcanesoft\Media\Console;

use Arcanedev\Support\Bases\Command;
use Arcanesoft\Media\MediaServiceProvider;

/**
Expand Down
1 change: 1 addition & 0 deletions src/Entities/DirectoryCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class DirectoryCollection extends Collection
| Main Methods
| -----------------------------------------------------------------
*/

/**
* ExcludePattern directories with the given patterns.
*
Expand Down
1 change: 1 addition & 0 deletions src/Entities/FileCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class FileCollection extends Collection
| Main Methods
| -----------------------------------------------------------------
*/

/**
* ExcludePattern files with the given patterns.
*
Expand Down
14 changes: 0 additions & 14 deletions src/Policies/AbstractPolicy.php

This file was deleted.

3 changes: 2 additions & 1 deletion src/Policies/MediasPolicy.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<?php namespace Arcanesoft\Media\Policies;

use Arcanesoft\Contracts\Auth\Models\User;
use Arcanesoft\Core\Bases\Policy;

/**
* Class MediaPolicy
*
* @package Arcanesoft\Media\Policies
* @author ARCANEDEV <[email protected]>
*/
class MediasPolicy extends AbstractPolicy
class MediasPolicy extends Policy
{
/* -----------------------------------------------------------------
| Constants
Expand Down
1 change: 1 addition & 0 deletions src/Providers/ConsoleServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class ConsoleServiceProvider extends ServiceProvider
| Properties
| -----------------------------------------------------------------
*/

/**
* Console commands.
*
Expand Down

0 comments on commit 18b6eed

Please sign in to comment.