diff --git a/README.md b/README.md index b09a73f..ea83b97 100644 --- a/README.md +++ b/README.md @@ -101,25 +101,27 @@ are a more comfortable with html than markdown, you should use it. ## Changelog +* __2.0.9__ : Updated Modern template with improved spacing. Update parsing of + `--template` option to close [issue #7](https://github.com/there4/markdown-resume/issues/7) * __2.0.8__ : New `readable` theme contributed by @ahmadnazir, minor refactor to support a /links directory * __2.0.7__ : Update composer to use `sunra/php-simple-html-dom-parser` this - appears to be better maintained and more popular to close #27 -* __2.0.6__ : Fix empty template list from phar file to close #24 -* __2.0.5__ : Remove default value for the `--refresh` option to close #22 -* __2.0.4__ : Fix path resolution problem with absolute paths to close #16 -* __2.0.3__ : Add optional duration to the `--refresh` option to close #15 -* __2.0.2__ : Add new dependency check for `mbstring` to close #20 -* __2.0.1__ : Add new `swissen` template with Helvetica styling (@beautifulcode) + appears to be better maintained and more popular to [close #27](https://github.com/there4/markdown-resume/issues/27) +* __2.0.6__ : Fix empty template list from phar file to [close #24](https://github.com/there4/markdown-resume/issues/24) +* __2.0.5__ : Remove default value for the `--refresh` option to [close #22](https://github.com/there4/markdown-resume/issues/22) +* __2.0.4__ : Fix path resolution problem with absolute paths to [close #16](https://github.com/there4/markdown-resume/issues/16) +* __2.0.3__ : Add optional duration to the `--refresh` option to [close #15](https://github.com/there4/markdown-resume/issues/15) +* __2.0.2__ : Add new dependency check for `mbstring` to [close #20](https://github.com/there4/markdown-resume/issues/20) +* __2.0.1__ : Add new `swissen` template with Helvetica styling [@beautifulcode](https://github.com/beautifulcode) * __2.0.0__ : Complete rewrite with the [symfony console component][console]. Deployment is now done with a compiled phar file, and development dependencies are managed with composer. * __0.9.0__ : Add composer and update README with new changelog -* __0.8.8__ : Add Chinese text example (@ishitcno1) -* __0.8.7__ : Update pdf formatting of the modern template (@roleary) -* __0.8.6__ : Fix output path (@abhikandoi2000) -* __0.8.5__ : Fix issue #2 -* __0.8.4__ : Correct chmod and add parameter for output directory (@kevinxucs) +* __0.8.8__ : Add Chinese text example [@ishitcno1](https://github.com/ishitcno1) +* __0.8.7__ : Update pdf formatting of the modern template [@roleary](https://github.com/roleary) +* __0.8.6__ : Fix output path [@abhikandoi2000](https://github.com/abhikandoi2000) +* __0.8.5__ : Fix [issue #2](https://github.com/there4/markdown-resume/issues/2) +* __0.8.4__ : Correct chmod and add parameter for output directory [@kevinxucs](https://github.com/kevinxucs) * __0.8.2__ : Update build script and add refresh command option * __0.8.1__ : Updating formatting of initial templates * __0.8__ : Initial Release to Public diff --git a/bin/md2resume b/bin/md2resume index a7ebe7e..b563f73 100755 Binary files a/bin/md2resume and b/bin/md2resume differ diff --git a/pakefile b/pakefile index 17e0f01..6d2c6a4 100644 --- a/pakefile +++ b/pakefile @@ -32,7 +32,10 @@ pake_task('build', 'version', 'version_file', 'readme', 'lint', 'fixer', 'sniff' pake_alias('default', 'build'); -function run_build() {} +function run_build() +{ + // Used only for naming a string of dependencies. +} function run_test() { @@ -112,7 +115,7 @@ function run_readme() function run_mv() { - pake_sh('cp ./bin/md2resume ~/bin/md2resume', true); + pake_sh('cp ./bin/md2resume ~/bin/md2resume', true); } /* End of pakefile */ diff --git a/src/Resume/Command/HtmlCommand.php b/src/Resume/Command/HtmlCommand.php index e8e42d8..5ab9d2a 100644 --- a/src/Resume/Command/HtmlCommand.php +++ b/src/Resume/Command/HtmlCommand.php @@ -102,7 +102,7 @@ class HtmlCommand extends Command array_push($assets, new FileAsset($fileInfo->getPathname())); } - usort($assets, function(FileAsset $a, FileAsset $b){ + usort($assets, function (FileAsset $a, FileAsset $b) { return strcmp($a->getSourcePath(), $b->getSourcePath()); }); @@ -179,7 +179,6 @@ class HtmlCommand extends Command protected function determineOutfile($outputFilename) { return join(DIRECTORY_SEPARATOR, array($destination, pathinfo($source, PATHINFO_FILENAME) . '.html')); - } }