Re: [Catalyst] Catalyst-Plugin-Params-Nested rt 59604

2010-07-27 Thread David Schmidt
On Wed, Jul 28, 2010 at 1:40 AM, Evan Carroll  wrote:
> Is C:P:P:N still maintained? I filed a bug on CPAN, next day I heard a
> request for a patch. I provided a patch, and I haven't heard anything
> back. If any one is maintaining it? Can I get co-maint to apply my
> patch.
>
> Find more information about the issue and the patch set here:
> https://rt.cpan.org/Public/Bug/Display.html?id=59604
>
> --
> Evan Carroll - m...@evancarroll.com
> System Lord of the Internets
> web: http://www.evancarroll.com
> ph: 281.901.0011
>
> ___
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>

Tomas Doran (the maintainer according to
http://search.cpan.org/dist/Catalyst-Plugin-Params-Nested/lib/Catalyst/Plugin/Params/Nested.pm)
is very active and im convinced he will apply the patch at due time if
it is sane.

He reads the mailinglist aswell. Just give it some more time.

david

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] Catalyst-Plugin-Params-Nested rt 59604

2010-07-27 Thread Evan Carroll
Is C:P:P:N still maintained? I filed a bug on CPAN, next day I heard a
request for a patch. I provided a patch, and I haven't heard anything
back. If any one is maintaining it? Can I get co-maint to apply my
patch.

Find more information about the issue and the patch set here:
https://rt.cpan.org/Public/Bug/Display.html?id=59604

-- 
Evan Carroll - m...@evancarroll.com
System Lord of the Internets
web: http://www.evancarroll.com
ph: 281.901.0011

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] problem with basic test of auto-generated TTSite code

2010-07-27 Thread Leandro Hermida
On Tue, Jul 27, 2010 at 4:19 PM, kevin montuori  wrote:
> On Tue, Jul 27, 2010 at 10:07 AM, Leandro Hermida
>  wrote:
>
>> Is it because at compile time MyApp doesn't have the path_to() method?
>>  How should I write the test?
>
> Perhaps a 'use MyApp' statement?
>

Right, thanks Kevin!  I did this in t/view_TT.t and everything works now:

use strict;
use warnings;
use Test::More;

BEGIN { use_ok 'MyApp', 'MyApp::View::TT' }

done_testing();

> k.
>
> --
> kevin montuori
>
> ___
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] problem with basic test of auto-generated TTSite code

2010-07-27 Thread kevin montuori
On Tue, Jul 27, 2010 at 10:07 AM, Leandro Hermida
 wrote:

> Is it because at compile time MyApp doesn't have the path_to() method?
>  How should I write the test?

Perhaps a 'use MyApp' statement?

k.

-- 
kevin montuori

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] problem with basic test of auto-generated TTSite code

2010-07-27 Thread Leandro Hermida
Hi all,

Sorry if this is a newbie question, I am having a problem writing a
basic test for Catalyst::Helper::View::TTSite generated code.  I did
the following:

./script/myapp_create.pl view TT TTSite

which creates the following package:

package MyApp::View::TT;

use strict;
use base 'Catalyst::View::TT';

__PACKAGE__->config({
INCLUDE_PATH => [
MyApp->path_to( 'root', 'src' ),
MyApp->path_to( 'root', 'lib' )
],
PRE_PROCESS  => 'config/main',
WRAPPER  => 'site/wrapper',
ERROR=> 'error.tt2',
TIMER=> 0,
render_die   => 1,
});

If I create a basic test for this t/view_TT.t that looks like this:

use strict;
use warnings;
use Test::More;

BEGIN { use_ok 'MyApp::View::TT' }

done_testing();

I get the following error when test:

#   Failed test 'use MyApp::View::TT;'
#   at t/view_TT.t line 5.
# Tried to use 'MyApp::View::TT'.
# Error:  Can't locate object method "path_to" via package "MyApp"
at /home/lhermida/work/workspaces/catalyst/MyApp/lib/MyApp/View/TT.pm
line 6.

Is it because at compile time MyApp doesn't have the path_to() method?
 How should I write the test?

not sure,
Leandro

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/