Merge branch 'master' into psgi
Florian Ragwitz [Wed, 1 Jun 2011 20:20:41 +0000 (22:20 +0200)]
* master:
  Unbreak remote server tests
  Add MYMETA.yml to .gitignore
  Add missing Catalyst::Devel author dep
  Append $\ in Catalyst::Response->print

.gitignore
Makefile.PL
lib/Catalyst/Response.pm
t/aggregate/live_engine_response_print.t
t/lib/TestApp/Controller/Engine/Response/Print.pm

index 4541780..a853ad2 100644 (file)
@@ -2,6 +2,7 @@
 !.gitignore
 Makefile*
 !Makefile.PL
+MYMETA.yml
 META.yml
 blib
 build
index 6083b74..2ff732c 100644 (file)
@@ -76,6 +76,7 @@ else {
 
 author_requires 'CatalystX::LeakChecker', '0.05';
 author_requires 'File::Copy::Recursive'; # For http server test
+author_requires 'Catalyst::Devel', '1.0'; # For http server test
 
 author_tests 't/author';
 author_requires(map {; $_ => 0 } qw(
index 2bf4dfe..818ae86 100644 (file)
@@ -201,6 +201,7 @@ sub print {
         defined $self->write($,) or return;
         defined $self->write($_) or return;
     }
+    defined $self->write($\) or return;
 
     return 1;
 }
index ad00ea3..4e8f024 100644 (file)
@@ -12,7 +12,7 @@ use Catalyst::Test 'TestApp';
 my $expected = {
    one => "foo",
    two => "foobar",
-   three => "foo,bar,baz",
+   three => "foo,bar,baz:",
 };
 
 for my $action ( sort keys %{$expected} ) {
index 8d986f8..13f3d04 100644 (file)
@@ -19,7 +19,9 @@ sub three :Relative {
     my ( $self, $c ) = @_;
 
     local $, = ',';
+    local $\ = ':';
     $c->res->print(qw/foo bar baz/);
 }
 
+
 1;