vegas-cmf/core — pull request #32 by szytko (2014-12-17 13:03:32+00:00)
Title: v1.1

* Seperated common Bootstrap methods to traits: Vegas\Bootstrap\EnvironmentInitializerTrait, Vegas\Bootstrap\LoaderInitializerTrait, Vegas\Bootstrap\ModuleInitializerTrait, Vegas\Bootstrap\ServicesIntializerTrait
* Moved Vegas\Application\Bootstrap to Vegas\Mvc\Bootstrap
* Created Vegas\Tests\Bootstrap\EnvironmentIntializerTraitTest

* Created Vegas\Test\Bootstrap for tests
* Created Vegas\Test\TestCase for tests
* Created Vegas\Test\Http\Request for tests

* Added Vegas\Util\FileWriter::writeObject method that saves php object to plain file
* Created Vegas\Tests\Util\FileWriterTest

* Created Vegas\Util\DateTime that extends php \DateTime class
* Created Vegas\Util\DateTimeTest

* Moved Vegas\Cli\Task to Vegas\Cli\TaskAbstract
* Refactored Vegas\Cli\TaskAbstract
* Refactored Vegas\Cli\Task::setOptions to setupOptions
* Refactored Vegas\Cli\Loader
* Refactored Vegas\Cli\ColorsOutputTrait
* Rewritten Vegas\Cli\Bootstrap according to refactoring in Vegas\Mvc\Bootstrap
* Removed Vegas\Cli\Task\Exception\MissingArgumentException
* Refactored Vegas\Tests\Cli\BootstrapTest

* Created Vegas\Db\Adapter\Mongo\DbRef that allows to create MongoDBRef based on model entity
* Created Vegas\Db\Decorator\Helper\ReadNestedAttributeTrait that allows to read value from nested entity property
* Created Vegas\Db\Adapter\Mongo\RefResolverTrait that allows to get related object based on MongoDBRef
* Created Vegas\Db\Adapter\Mongo\Mapper that maps Mongo collections with corresponding models -> used in RefResolverTrait
* Added ReadNestedAttributeTrait and RefResolverTrait to Vegas\Db\Decorator\CollectionAbstract
* Created Vegas\Db\Adapter\Mongo\Exception\InvalidMappingClassException
* Created Vegas\Db\Adapter\Mongo\Exception\MappingClassNotFoundException
* Rewritten Vegas\Db\Mapping\DateTime
* Created Vegas\Tests\Db\Adapter\Mongo\DbRef
* Created Vegas\Tests\Db\Decorator\Helper\ReadNestedAttributeTrait
* Created Vegas\Tests\Adapter\Mongo\RefResolverTraitTest
* Created Vegas\Tests\Adapter\Mongo\MapperTest
* Added tests to Vegas\Tests\Db\MappingTest

* Removed Vegas\Http\Response\Json

* Refactored Vegas\Mvc\Module\Loader
* Created Vegas\Mvc\Module\Exception\InvalidModulesListException
* Created Vegas\Tests\Mvc\Module\LoaderTest

* Vegas\Mvc\Router::DEFAULT_ROUTE is now using to define default module,controller,action
* Vegas\Mvc\Router::BASE_ROUTE is now using as basic routing rule
* Refactored Vegas\Mvc\Router\Route constructor
* Refactored Vegas\Tests\Mvc\RouterTest
* Created Vegas\Tests\Mvc\Router\Adapter\StandardTest
* Created Vegas\Tests\Mvc\Router\Route\BaseRouteTest
* Created Vegas\Tests\Mvc\Router\Route\DefaultRouteTest
* Created Vegas\Tests\Mvc\Router\Route\NotFoundRouteTest
* Created Vegas\Tests\Mvc\Router\Route\RestRouteTest
* Created Vegas\Tests\Mvc\Router\Route\StaticRouteTest

* Refactored Vegas\Tests\Mvc\Controller\CrudTest
* Refactored Vegas\Tests\Mvc\ControllerAbstractTest

* Refactored Vegas\Tests\Mvc\ViewTest

* Added tests to Vegas\Tests\DI\ServiceManagerTest