[Catalyst-commits] r12602 - in
Catalyst-Plugin-Unicode-Encoding/trunk: .
lib/Catalyst/Plugin/Unicode t
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Mon Jan 11 13:37:24 GMT 2010
Author: t0m
Date: 2010-01-11 13:37:24 +0000 (Mon, 11 Jan 2010)
New Revision: 12602
Modified:
Catalyst-Plugin-Unicode-Encoding/trunk/Changes
Catalyst-Plugin-Unicode-Encoding/trunk/Makefile.PL
Catalyst-Plugin-Unicode-Encoding/trunk/lib/Catalyst/Plugin/Unicode/Encoding.pm
Catalyst-Plugin-Unicode-Encoding/trunk/t/06request_decode.t
Log:
Bug fix for old URI::Escape
Modified: Catalyst-Plugin-Unicode-Encoding/trunk/Changes
===================================================================
--- Catalyst-Plugin-Unicode-Encoding/trunk/Changes 2010-01-10 23:22:18 UTC (rev 12601)
+++ Catalyst-Plugin-Unicode-Encoding/trunk/Changes 2010-01-11 13:37:24 UTC (rev 12602)
@@ -1,5 +1,9 @@
Revision history for Perl extension Catalyst::Plugin::Unicode::Encoding
+0.8 2010-01-11 13:36:16
+ - Don't fail tests if we have an old version of URI::Escape
+ installed.
+
0.7 2009-12-21 21:30:12
- Make Test::WWW::Mechanize::Catalyst an optional dependency.
Modified: Catalyst-Plugin-Unicode-Encoding/trunk/Makefile.PL
===================================================================
--- Catalyst-Plugin-Unicode-Encoding/trunk/Makefile.PL 2010-01-10 23:22:18 UTC (rev 12601)
+++ Catalyst-Plugin-Unicode-Encoding/trunk/Makefile.PL 2010-01-11 13:37:24 UTC (rev 12602)
@@ -6,6 +6,7 @@
requires 'Encode' => '2.21';
requires 'Catalyst' => '5.80';
requires 'LWP' => '5.828'; # LWP had unicode fail in 5.8.26
+requires 'URI' => '1.36';
author_requires 'Test::WWW::Mechanize::Catalyst' => 0.51;
test_requires 'Test::More' => '0.88';
Modified: Catalyst-Plugin-Unicode-Encoding/trunk/lib/Catalyst/Plugin/Unicode/Encoding.pm
===================================================================
--- Catalyst-Plugin-Unicode-Encoding/trunk/lib/Catalyst/Plugin/Unicode/Encoding.pm 2010-01-10 23:22:18 UTC (rev 12601)
+++ Catalyst-Plugin-Unicode-Encoding/trunk/lib/Catalyst/Plugin/Unicode/Encoding.pm 2010-01-11 13:37:24 UTC (rev 12602)
@@ -7,7 +7,7 @@
use Encode 2.21 ();
use MRO::Compat;
-our $VERSION = '0.7';
+our $VERSION = '0.8';
our $CHECK = Encode::FB_CROAK | Encode::LEAVE_SRC;
__PACKAGE__->mk_classdata('_encoding');
Modified: Catalyst-Plugin-Unicode-Encoding/trunk/t/06request_decode.t
===================================================================
--- Catalyst-Plugin-Unicode-Encoding/trunk/t/06request_decode.t 2010-01-10 23:22:18 UTC (rev 12601)
+++ Catalyst-Plugin-Unicode-Encoding/trunk/t/06request_decode.t 2010-01-11 13:37:24 UTC (rev 12602)
@@ -12,7 +12,7 @@
use Catalyst::Test 'TestApp';
use Encode;
use HTTP::Request::Common;
-use URI::Escape;
+use URI::Escape qw/uri_escape_utf8/;
my $encode_str = "\x{e3}\x{81}\x{82}"; # e38182 is japanese 'あ'
my $decode_str = Encode::decode('utf-8' => $encode_str);
More information about the Catalyst-commits
mailing list