Skip to content

Commit

Permalink
Merge pull request #3 from ARCANESOFT/develop
Browse files Browse the repository at this point in the history
Bump arcanesoft/auth package version
  • Loading branch information
arcanedev-maroc authored Jul 31, 2017
2 parents 5c99875 + 6229ff6 commit 1f3ef4e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"license": "MIT",
"require": {
"php": ">=5.6.4",
"arcanesoft/auth": "~2.0",
"arcanesoft/auth": "~3.0",
"arcanesoft/core": "~2.0",
"arcanedev/laravel-tracker": "~0.9"
},
Expand Down
26 changes: 16 additions & 10 deletions config/tracker.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,32 @@
use Arcanesoft\Tracker\Models;

return [
/* ------------------------------------------------------------------------------------------------

/* -----------------------------------------------------------------
| Route
| ------------------------------------------------------------------------------------------------
| -----------------------------------------------------------------
*/

'route' => [
'prefix' => 'tracker',
],

/* ------------------------------------------------------------------------------------------------
/* -----------------------------------------------------------------
| Database
| ------------------------------------------------------------------------------------------------
| -----------------------------------------------------------------
*/

'database' => [
'connection' => null,

'prefix' => 'tracker_'
],

/* ------------------------------------------------------------------------------------------------
/* -----------------------------------------------------------------
| Models
| ------------------------------------------------------------------------------------------------
| -----------------------------------------------------------------
*/

'models' => [
BindingManager::MODEL_AGENT => Models\Agent::class,
BindingManager::MODEL_COOKIE => Models\Cookie::class,
Expand All @@ -46,10 +50,11 @@
BindingManager::MODEL_VISITOR_ACTIVITY => Models\VisitorActivity::class,
],

/* ------------------------------------------------------------------------------------------------
/* -----------------------------------------------------------------
| Tracking
| ------------------------------------------------------------------------------------------------
| -----------------------------------------------------------------
*/

'tracking' => [
'cookies' => true,
'devices' => true,
Expand All @@ -63,10 +68,11 @@
'user-agents' => true,
],

/* ------------------------------------------------------------------------------------------------
/* -----------------------------------------------------------------
| Routes
| ------------------------------------------------------------------------------------------------
| -----------------------------------------------------------------
*/

'routes' => [
'ignore' => [
'names' => [
Expand Down
3 changes: 1 addition & 2 deletions src/TrackerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public function register()
Providers\PackagesServiceProvider::class,
Providers\AuthorizationServiceProvider::class,
Providers\ComposerServiceProvider::class,
Providers\RouteServiceProvider::class,
]);
$this->registerConsoleServiceProvider(Providers\CommandServiceProvider::class);
}
Expand All @@ -51,8 +52,6 @@ public function boot()
{
parent::boot();

$this->registerProvider(Providers\RouteServiceProvider::class);

// Publishes
$this->publishConfig();
$this->publishViews();
Expand Down

0 comments on commit 1f3ef4e

Please sign in to comment.