[Catalyst-commits] r8879 - in Catalyst-View-TT-XHTML/1.000/trunk: .
lib/Catalyst/View/TT
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Sun Dec 14 18:52:52 GMT 2008
Author: t0m
Date: 2008-12-14 18:52:52 +0000 (Sun, 14 Dec 2008)
New Revision: 8879
Modified:
Catalyst-View-TT-XHTML/1.000/trunk/Changes
Catalyst-View-TT-XHTML/1.000/trunk/Makefile.PL
Catalyst-View-TT-XHTML/1.000/trunk/lib/Catalyst/View/TT/XHTML.pm
Log:
Checking in changes prior to tagging of version 1.004. Changelog diff is:
=== Changes
==================================================================
--- Changes (revision 9993)
+++ Changes (local)
@@ -1,3 +1,6 @@
+1.004
+ - Nick the OSX fragment out of the Catalyst::Runtime Makefile.PL to
+ beat my Mac into generating a correct dist.
1.003
- Fixes an tests to be fully Internet Explorer compatible (David Dorward)
- Change to MRO::Compat for perl 5.10 (t0m)
Modified: Catalyst-View-TT-XHTML/1.000/trunk/Changes
===================================================================
--- Catalyst-View-TT-XHTML/1.000/trunk/Changes 2008-12-14 13:57:16 UTC (rev 8878)
+++ Catalyst-View-TT-XHTML/1.000/trunk/Changes 2008-12-14 18:52:52 UTC (rev 8879)
@@ -1,3 +1,6 @@
+1.004
+ - Nick the OSX fragment out of the Catalyst::Runtime Makefile.PL to
+ beat my Mac into generating a correct dist.
1.003
- Fixes an tests to be fully Internet Explorer compatible (David Dorward)
- Change to MRO::Compat for perl 5.10 (t0m)
Modified: Catalyst-View-TT-XHTML/1.000/trunk/Makefile.PL
===================================================================
--- Catalyst-View-TT-XHTML/1.000/trunk/Makefile.PL 2008-12-14 13:57:16 UTC (rev 8878)
+++ Catalyst-View-TT-XHTML/1.000/trunk/Makefile.PL 2008-12-14 18:52:52 UTC (rev 8879)
@@ -14,4 +14,22 @@
resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-View-TT-XHTML';
+if (-e 'inc/.author') {
+ build_requires 'Test::Pod' => 1.14;
+ build_requires 'Test::Pod::Coverage' => 1.04;
+
+ if ($^O eq 'darwin') {
+ my $osx_ver = `/usr/bin/sw_vers -productVersion`;
+ chomp $osx_ver;
+
+ # TAR on 10.4 wants COPY_EXTENDED_ATTRIBUTES_DISABLE
+ # On 10.5 (Leopard) it wants COPYFILE_DISABLE
+ my $attr = $osx_ver eq '10.5' ? 'COPYFILE_DISABLE' : 'COPY_EXTENDED_ATTRIBUTES_DISABLE';
+
+ makemaker_args(dist => { PREOP => qq{\@if [ "\$\$$attr" != "true" ]; then}.
+ qq{ echo "You must set the ENV variable $attr to true,"; }.
+ ' echo "to avoid getting resource forks in your dist."; exit 255; fi' });
+ }
+}
+
WriteAll();
Modified: Catalyst-View-TT-XHTML/1.000/trunk/lib/Catalyst/View/TT/XHTML.pm
===================================================================
--- Catalyst-View-TT-XHTML/1.000/trunk/lib/Catalyst/View/TT/XHTML.pm 2008-12-14 13:57:16 UTC (rev 8878)
+++ Catalyst-View-TT-XHTML/1.000/trunk/lib/Catalyst/View/TT/XHTML.pm 2008-12-14 18:52:52 UTC (rev 8879)
@@ -5,7 +5,7 @@
use MRO::Compat;
use base qw/Catalyst::View::TT/;
-our $VERSION = '1.003';
+our $VERSION = '1.004';
our $variants = [
[qw| xhtml 1.000 application/xhtml+xml |],
More information about the Catalyst-commits
mailing list