From 88635b4ad546fea1c41e88ff5d4d308a50b6dad6 Mon Sep 17 00:00:00 2001 From: Niktux Date: Wed, 9 Nov 2016 12:17:37 +0100 Subject: [PATCH] chore: bump to version 5.5.1 --- README.md | 4 ++-- src/Karma/Application.php | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 8a86849..865d906 100644 --- a/README.md +++ b/README.md @@ -19,10 +19,10 @@ Installation ------------ Download latest phar: ``` - wget https://github.com/Niktux/karma/releases/download/5.5.0/karma.phar + wget https://github.com/Niktux/karma/releases/download/5.5.1/karma.phar ``` -Or use composer (but you could experiment illegitimate dependencoes conflict with your project) : +Or use composer (but you could experiment illegitimate dependencies conflict with your project) : ```json { "require": { diff --git a/src/Karma/Application.php b/src/Karma/Application.php index fe0e469..8a9b586 100644 --- a/src/Karma/Application.php +++ b/src/Karma/Application.php @@ -20,7 +20,7 @@ class Application extends \Pimple { const - VERSION = '5.5.0', + VERSION = '5.5.1', DEFAULT_DISTFILE_SUFFIX = '-dist', DEFAULT_CONF_DIRECTORY = 'env', DEFAULT_MASTER_FILE = 'master.conf', @@ -108,16 +108,16 @@ private function initializeProfile() private function initializeSourceFileSystem() { $this['sources.fileSystem.adapter'] = function($c) { - + $paths = $c['sources.path']; - + if(! is_array($paths)) { $paths = array($paths); } - + $adapter = new MultipleAdapter(); - + foreach($paths as $path) { $localAdapter = new Local($path); @@ -128,7 +128,7 @@ private function initializeSourceFileSystem() $path = realpath(dirname($path)); $localAdapter = new SingleLocalFile($filename, new Local($path)); } - + $adapter->mount($path, $localAdapter); }