Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating Test::Mini::Unit dependency.

  • Loading branch information...
commit 2a26585b00c943cfb492ca6f91df892d9c997384 1 parent 89da5a6
@pvande authored
Showing with 25 additions and 7 deletions.
  1. +13 −0 Changes
  2. +11 −6 Makefile.PL
  3. +1 −1  lib/Template/Mustache.pm
View
13 Changes
@@ -0,0 +1,13 @@
+Revision history for Template-Mustache
+
+v0.5.1 2011-02-13
+ Updating dependency on Test::Mini::Unit. Solves build problems on Perl
+ 5.13+.
+
+ An optional second argument, `$render`, is now passed to lambdas. This
+ code reference will render the template it's given against the current
+ context stack.
+
+v0.5.0 2011-01-10
+ Initial release to CPAN.
+
View
17 Makefile.PL
@@ -12,7 +12,7 @@ SKIP
my %WriteMakefileArgs = (
'NAME' => 'Template::Mustache',
'ABSTRACT' => 'Drawing Mustaches on Perl for fun and profit',
- 'VERSION' => 'v0.5.0',
+ 'VERSION' => 'v0.5.1',
'AUTHOR' => 'Pieter van de Bruggen <pvande@cpan.org>',
'LICENSE' => 'perl',
'META_MERGE' => {
@@ -23,9 +23,10 @@ my %WriteMakefileArgs = (
},
},
'PREREQ_PM' => {
+ 'version' => '0.77',
},
'BUILD_REQUIRES' => {
- 'Test::Mini::Unit' => 'v1.0.0',
+ 'Test::Mini::Unit' => 'v1.0.3',
'YAML::Syck' => '1.15',
},
'CONFIGURE_REQUIRES' => {
@@ -44,11 +45,15 @@ my %WriteMakefileArgs = (
},
);
-delete $WriteMakefileArgs{BUILD_REQUIRES}
- unless eval { ExtUtils::MakeMaker->VERSION(6.56) };
+unless (eval { ExtUtils::MakeMaker->VERSION(6.56) }) {
+ my $REQS = delete $WriteMakefileArgs{BUILD_REQUIRES};
+ $WriteMakefileArgs{PREREQ_PM}->{$_} = $REQS->{$_} for keys %$REQS;
+}
-delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
- unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+unless (eval { ExtUtils::MakeMaker->VERSION(6.52) }) {
+ my $REQS = delete $WriteMakefileArgs{CONFIGURE_REQUIRES};
+ $WriteMakefileArgs{PREREQ_PM}->{$_} = $REQS->{$_} for keys %$REQS;
+}
(my $DISTNAME = $WriteMakefileArgs{NAME}) =~ s/::/-/g;
my $DISTDIR = "$DISTNAME-$WriteMakefileArgs{VERSION}";
View
2  lib/Template/Mustache.pm
@@ -10,7 +10,7 @@ use warnings;
use CGI ();
use File::Spec;
-our $VERSION = 'v0.5.0';
+use version 0.77; our $VERSION = qv("v0.5.1");
my %TemplateCache;
Please sign in to comment.
Something went wrong with that request. Please try again.