Commit graph

4 commits

Author SHA1 Message Date
sno
0c20b7cc58 pkgsrc changes:
- Updating package of p5 module Catalyst::Component::ACCEPT_CONTEXT
    from 0.06 to 0.07
  - Use Module::Install as module type
  - Adjusting license according to META.yaml

Upstream changes:
0.07    11 June 2009
        Fix tests with Catalyst 5.80005
2009-06-15 22:44:51 +00:00
sno
6b49da8716 PkgSrc changes:
- Updating package for p5 module Catalyst::Component::ACCEPT_CONTEXT to
    0.06 from 0.05
  - Setting license to gnu-gpl-v2
  - Adjusting dependencies

Upstream changes:
0.06    24 April 2009
        Switch from NEXT to MRO::Compat
2009-04-30 20:06:37 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00
abs
3574577ad7 Added www/p5-Catalyst-Component-ACCEPT_CONTEXT version 0.05
Models and Views don't usually have access to the request object,
since they probably don't really need it. Sometimes, however, having
the request context available outside of Controllers makes your
application cleaner. If that's the case, just use this module as
a base class:

    package MyApp::Model::Foobar;
    use base qw|Catalyst::Component::ACCEPT_CONTEXT Catalyst::Model|;

Then, you'll be able to get the current request object from within
your model:

    sub do_something {
	my $self = shift;
	print "The current URL is ". $self->context->req->uri->as_string;
    }
2008-07-15 09:15:42 +00:00