From f02a45da85a60170cc9b043a448fc1c4a81fc19a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=A0pa=C4=8Dek?= Date: Sun, 3 Mar 2019 01:34:54 +0100 Subject: [PATCH] Move the fork to own namespace --- LICENSE | 1 + README.md | 6 +++--- composer.json | 7 ++++++- src/DI/MysqlSessionHandlerExtension.php | 4 ++-- src/MysqlSessionHandler.php | 2 +- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/LICENSE b/LICENSE index 68d1142..857151e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,6 @@ The MIT License (MIT) +Copyright (c) 2019 Michal Špaček Copyright (c) 2014 Pematon, s.r.o. Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/README.md b/README.md index d8ce4c3..019fb64 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,10 @@ Custom PHP session handler for [Nette Framework](http://nette.org/) that uses My ## Installation -Preferred way to install pematon/mysql-session-handler is by using [Composer](http://getcomposer.org/): +Preferred way to install spaze/mysql-session-handler is by using [Composer](http://getcomposer.org/): ```sh -$ composer require pematon/mysql-session-handler:~1.0 +$ composer require spaze/mysql-session-handler:~1.0 ``` ## Setup @@ -25,7 +25,7 @@ After installation: ```neon extensions: - sessionHandler: Pematon\Session\DI\MysqlSessionHandlerExtension + sessionHandler: Spaze\Session\DI\MysqlSessionHandlerExtension ``` ## Features diff --git a/composer.json b/composer.json index f92f93d..a344c2e 100644 --- a/composer.json +++ b/composer.json @@ -1,8 +1,13 @@ { - "name": "pematon/mysql-session-handler", + "name": "spaze/mysql-session-handler", "description": "MySQL session handler for Nette Framework", "license": "MIT", "authors": [ + { + "name": "Michal Špaček", + "homepage": "https://www.michalspacek.com", + "email": "mail@michalspacek.cz" + }, { "name": "Pematon, s.r.o.", "homepage": "http://www.pematon.com" diff --git a/src/DI/MysqlSessionHandlerExtension.php b/src/DI/MysqlSessionHandlerExtension.php index 3463522..92a45f2 100644 --- a/src/DI/MysqlSessionHandlerExtension.php +++ b/src/DI/MysqlSessionHandlerExtension.php @@ -1,7 +1,7 @@ getContainerBuilder(); $definition = $builder->addDefinition($this->prefix('sessionHandler')) - ->setClass('Pematon\Session\MysqlSessionHandler') + ->setClass('Spaze\Session\MysqlSessionHandler') ->addSetup('setTableName', [$config['tableName']]); diff --git a/src/MysqlSessionHandler.php b/src/MysqlSessionHandler.php index 28c5a6a..e98e2fb 100644 --- a/src/MysqlSessionHandler.php +++ b/src/MysqlSessionHandler.php @@ -1,7 +1,7 @@