Skip Menu |
 

This queue is for tickets about the Catalyst-Action-RenderView CPAN distribution.

Report information
The Basics
Id: 40633
Status: resolved
Priority: 0/
Queue: Catalyst-Action-RenderView

People
Owner: Nobody in particular
Requestors: ilmari [...] ilmari.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.09

Attachments


Subject: [PATCH] Convert from NEXT to Class::C3
Date: Mon, 03 Nov 2008 16:23:13 +0000
To: bug-Catalyst-Action-RenderView [...] rt.cpan.org
From: ilmari [...] ilmari.org (Dagfinn Ilmari Mannsåker)
Download (untitled) / with headers
text/plain 101b
Hi, Attached is a patch that converts this plugin to use Class::C3 so it works with Catalyst 5.80.
=== Changes ================================================================== --- Changes (revision 31391) +++ Changes (local) @@ -1,3 +1,7 @@ +0.09 + - Switch from NEXT to Class::C3 for compatibility with Catalyst + 5.80. (ilmari) + 0.08 2008-05-02 19:40:00 - Add AsCGI to list of test requirements. - Check for defined()ness of $c->res->body so "0" is valid. (RT #30564) === Makefile.PL ================================================================== --- Makefile.PL (revision 31391) +++ Makefile.PL (local) @@ -10,6 +10,7 @@ requires 'Catalyst::Runtime' => '5.70'; requires 'Test::More'; requires 'Data::Visitor' => '0.08'; +requires 'Class::C3'; test_requires 'HTTP::Request::AsCGI'; === lib/Catalyst/Action/RenderView.pm ================================================================== --- lib/Catalyst/Action/RenderView.pm (revision 31391) +++ lib/Catalyst/Action/RenderView.pm (local) @@ -3,19 +3,20 @@ use strict; use warnings; -our $VERSION = '0.08'; +our $VERSION = '0.09'; use base 'Catalyst::Action'; use Data::Visitor::Callback; use UNIVERSAL qw/can/; +use Class::C3; my %ignore_classes = (); sub execute { my $self = shift; my ($controller, $c ) = @_; - $self->NEXT::execute( @_ ); + $self->maybe::next::method( @_ ); $c->config->{debug}->{ignore_classes} = [ qw/ DBIx::Class::ResultSource::Table
Download (untitled) / with headers
text/plain 122b
-- ilmari "A disappointingly low fraction of the human race is, at any given time, on fire." - Stig Sandbeck Mathisen
This should be resolved in 0.09 by using MRO::Compat.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.