From 9a80269458e50432d9047707b1d903c9a1109953 Mon Sep 17 00:00:00 2001 From: Ludovic Chabant Date: Wed, 23 May 2012 10:14:13 -0700 Subject: [PATCH 1/3] Removed call to a PHP 5.3.6-only method. --HG-- branch : stable --- _piecrust/src/PieCrust/IO/FlatFileSystem.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_piecrust/src/PieCrust/IO/FlatFileSystem.php b/_piecrust/src/PieCrust/IO/FlatFileSystem.php index e73080c0..c8477891 100644 --- a/_piecrust/src/PieCrust/IO/FlatFileSystem.php +++ b/_piecrust/src/PieCrust/IO/FlatFileSystem.php @@ -26,7 +26,8 @@ public function getPostFiles() $pathsIterator = new FilesystemIterator($this->pieCrust->getPostsDir() . $this->postsSubDir); foreach ($pathsIterator as $p) { - if ($p->getExtension() != 'html') + $extension = pathinfo($p->getFilename(), PATHINFO_EXTENSION); + if ($extension != 'html') continue; $paths[] = $p->getPathname(); } From db5bc3e2f212ac9e57065c050b558fac3656223b Mon Sep 17 00:00:00 2001 From: Ludovic Chabant Date: Wed, 23 May 2012 10:16:22 -0700 Subject: [PATCH 2/3] Bumped version up, updated CHANGELOG. --HG-- branch : stable --- CHANGELOG.markdown | 5 +++++ _piecrust/src/PieCrust/PieCrustDefaults.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index fa5c30f5..3cdb83b0 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -19,6 +19,11 @@ Fresh changes Frozen changes -------------- +### 0.7.2 (2012-05-23) + +* MINOR: Removed a call to a PHP 5.3.6-only method to prevent raising the + minimum required version to run PieCrust. + ### 0.7.1 (2012-05-15) * BUG: Fixed a bug with the `hierarchy` file-system when several posts are diff --git a/_piecrust/src/PieCrust/PieCrustDefaults.php b/_piecrust/src/PieCrust/PieCrustDefaults.php index dd466aaa..b3995b92 100644 --- a/_piecrust/src/PieCrust/PieCrustDefaults.php +++ b/_piecrust/src/PieCrust/PieCrustDefaults.php @@ -11,7 +11,7 @@ class PieCrustDefaults /** * The current version of PieCrust. */ - const VERSION = '0.7.1'; + const VERSION = '0.7.2'; /** * The application's source code directory. From 641044b93f3fffc0bb48b3930505e75100fb1e4d Mon Sep 17 00:00:00 2001 From: Ludovic Chabant Date: Wed, 23 May 2012 10:16:58 -0700 Subject: [PATCH 3/3] Added tag version_0.7.2 for changeset 846437113780 --HG-- branch : stable --- .hgtags | 1 + 1 file changed, 1 insertion(+) diff --git a/.hgtags b/.hgtags index 31a34c83..402eca11 100644 --- a/.hgtags +++ b/.hgtags @@ -29,3 +29,4 @@ f1134a9e90d0e8b9d2f9dd451d253664bb1b0f6c version_0.6.2 4a6e836b4ad41e67721578d668d09f63202d78af version_0.6.4 f42bd860fe6860800b3028b01dc5b09ca2589754 version_0.7.0 db53dad24ba0590b5a35e8ce438a40bf669d5ef4 version_0.7.1 +84643711378048ea1795f79ad5a86382294f66f8 version_0.7.2