New upstream snapshot.
Debian Janitor
1 year, 4 months ago
4 | 4 | lib/Catalyst/DispatchType/Regex.pm |
5 | 5 | lib/Catalyst/DispatchType/Regexp.pm |
6 | 6 | MANIFEST This list of files |
7 | META.json | |
8 | META.yml | |
9 | README | |
7 | 10 | t/01use.t |
8 | 11 | t/aggregate/live_component_controller_action_regexp.t |
9 | 12 | t/aggregate/live_priorities.t |
30 | 33 | xt/perlcriticrc |
31 | 34 | xt/pod-coverage.t |
32 | 35 | xt/pod.t |
33 | README | |
34 | META.yml | |
35 | META.json |
3 | 3 | "unknown" |
4 | 4 | ], |
5 | 5 | "dynamic_config" : 1, |
6 | "generated_by" : "Module::Build version 0.4004, CPAN::Meta::Converter version 2.130880", | |
6 | "generated_by" : "Module::Build version 0.4232", | |
7 | 7 | "license" : [ |
8 | 8 | "perl_5" |
9 | 9 | ], |
10 | 10 | "meta-spec" : { |
11 | 11 | "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", |
12 | "version" : "2" | |
12 | "version" : 2 | |
13 | 13 | }, |
14 | 14 | "name" : "Catalyst-DispatchType-Regex", |
15 | 15 | "prereqs" : { |
24 | 24 | "Moose" : "0", |
25 | 25 | "Text::Balanced" : "0", |
26 | 26 | "Text::SimpleTable" : "0" |
27 | } | |
28 | }, | |
29 | "test" : { | |
30 | "requires" : { | |
31 | "Data::Dumper" : "0", | |
32 | "MRO::Compat" : "0", | |
33 | "Scalar::Util" : "0", | |
34 | "Test::More" : "0", | |
35 | "namespace::autoclean" : "0" | |
27 | 36 | } |
28 | 37 | } |
29 | 38 | }, |
55 | 64 | } |
56 | 65 | }, |
57 | 66 | "version" : "5.90035", |
58 | "x_test_requires" : { | |
59 | "Data::Dumper" : "0", | |
60 | "MRO::Compat" : "0", | |
61 | "Scalar::Util" : "0", | |
62 | "Test::More" : "0", | |
63 | "namespace::autoclean" : "0" | |
64 | } | |
67 | "x_serialization_backend" : "JSON::PP version 4.07" | |
65 | 68 | } |
1 | 1 | abstract: 'Regex DispatchType' |
2 | 2 | author: |
3 | 3 | - unknown |
4 | build_requires: {} | |
4 | build_requires: | |
5 | Data::Dumper: '0' | |
6 | MRO::Compat: '0' | |
7 | Scalar::Util: '0' | |
8 | Test::More: '0' | |
9 | namespace::autoclean: '0' | |
5 | 10 | configure_requires: |
6 | Module::Build: 0.4004 | |
11 | Module::Build: '0.4004' | |
7 | 12 | dynamic_config: 1 |
8 | generated_by: 'Module::Build version 0.4004, CPAN::Meta::Converter version 2.130880' | |
13 | generated_by: 'Module::Build version 0.4232, CPAN::Meta::Converter version 2.150010' | |
9 | 14 | license: perl |
10 | 15 | meta-spec: |
11 | 16 | url: http://module-build.sourceforge.net/META-spec-v1.4.html |
12 | version: 1.4 | |
17 | version: '1.4' | |
13 | 18 | name: Catalyst-DispatchType-Regex |
14 | 19 | provides: |
15 | 20 | Catalyst::DispatchType::LocalRegex: |
18 | 23 | file: lib/Catalyst/DispatchType/LocalRegexp.pm |
19 | 24 | Catalyst::DispatchType::Regex: |
20 | 25 | file: lib/Catalyst/DispatchType/Regex.pm |
21 | version: 5.90035 | |
26 | version: '5.90035' | |
22 | 27 | Catalyst::DispatchType::Regexp: |
23 | 28 | file: lib/Catalyst/DispatchType/Regexp.pm |
24 | 29 | requires: |
25 | Catalyst::Runtime: 5.90060 | |
26 | Moose: 0 | |
27 | Text::Balanced: 0 | |
28 | Text::SimpleTable: 0 | |
30 | Catalyst::Runtime: '5.90060' | |
31 | Moose: '0' | |
32 | Text::Balanced: '0' | |
33 | Text::SimpleTable: '0' | |
29 | 34 | resources: |
30 | 35 | bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Catalyst-DispatchType-Regex |
31 | 36 | license: http://dev.perl.org/licenses/ |
32 | 37 | repository: http://github.com/mvgrimes/catalyst-dispatch-regex |
33 | version: 5.90035 | |
34 | x_test_requires: | |
35 | Data::Dumper: 0 | |
36 | MRO::Compat: 0 | |
37 | Scalar::Util: 0 | |
38 | Test::More: 0 | |
39 | namespace::autoclean: 0 | |
38 | version: '5.90035' | |
39 | x_serialization_backend: 'CPAN::Meta::YAML version 0.018' |
0 | 0 | NAME |
1 | ||
1 | 2 | Catalyst::DispatchType::Regex - Regex DispatchType |
2 | 3 | |
3 | 4 | SYNOPSIS |
5 | ||
4 | 6 | See Catalyst::DispatchType. |
5 | 7 | |
6 | 8 | DESCRIPTION |
9 | ||
7 | 10 | Status: Deprecated. Regex dispatch types have been deprecated and |
8 | removed from Catalyst core. It is recommend that you use Chained methods | |
9 | or other techniques instead. As part of the refactoring, the dispatch | |
10 | priority of Regex vs Regexp vs LocalRegex vs LocalRegexp may have | |
11 | changed. Priority is now influenced by when the dispatch type is first | |
12 | seen in your application. | |
11 | removed from Catalyst core. It is recommend that you use Chained | |
12 | methods or other techniques instead. As part of the refactoring, the | |
13 | dispatch priority of Regex vs Regexp vs LocalRegex vs LocalRegexp may | |
14 | have changed. Priority is now influenced by when the dispatch type is | |
15 | first seen in your application. | |
13 | 16 | |
14 | 17 | When loaded, a warning about the deprecation will be printed to STDERR. |
15 | 18 | To suppress the warning set the CATALYST_NOWARN_DEPRECATE environment |
18 | 21 | Dispatch type managing path-matching behaviour using regexes. For more |
19 | 22 | information on dispatch types, see: |
20 | 23 | |
21 | * Catalyst::Manual::Intro for how they affect application authors | |
24 | * Catalyst::Manual::Intro for how they affect application authors | |
22 | 25 | |
23 | * Catalyst::DispatchType for implementation information. | |
26 | * Catalyst::DispatchType for implementation information. | |
24 | 27 | |
25 | 28 | METHODS |
26 | $self->list($c) | |
29 | ||
30 | $self->list($c) | |
31 | ||
27 | 32 | Output a table of all regex actions, and their private equivalent. |
28 | 33 | |
29 | $self->match( $c, $path ) | |
34 | $self->match( $c, $path ) | |
35 | ||
30 | 36 | Checks path against every compiled regex, and offers the action for any |
31 | 37 | regex which matches a chance to match the request. If it succeeds, sets |
32 | 38 | action, match and captures on $c->req and returns 1. If not, returns 0 |
33 | 39 | without altering $c. |
34 | 40 | |
35 | $self->register( $c, $action ) | |
36 | Registers one or more regex actions for an action object. Also registers | |
37 | them as literal paths. | |
41 | $self->register( $c, $action ) | |
42 | ||
43 | Registers one or more regex actions for an action object. Also | |
44 | registers them as literal paths. | |
38 | 45 | |
39 | 46 | Returns 1 if any regexps were registered. |
40 | 47 | |
41 | $self->register_regex($c, $re, $action) | |
48 | $self->register_regex($c, $re, $action) | |
49 | ||
42 | 50 | Register an individual regex on the action. Usually called from the |
43 | 51 | register method. |
44 | 52 | |
45 | $self->uri_for_action($action, $captures) | |
53 | $self->uri_for_action($action, $captures) | |
54 | ||
46 | 55 | returns a URI for this action if it can find a regex attributes that |
47 | 56 | contains the correct number of () captures. Note that this may function |
48 | 57 | incorrectly in the case of nested captures - if your regex does |
49 | 58 | (...(..))..(..) you'll need to pass the first and third captures only. |
50 | 59 | |
51 | 60 | AUTHORS |
61 | ||
52 | 62 | Catalyst Contributors, see Catalyst.pm |
53 | 63 | |
54 | 64 | COPYRIGHT |
65 | ||
55 | 66 | This library is free software. You can redistribute it and/or modify it |
56 | 67 | under the same terms as Perl itself. |
57 | 68 |
0 | libcatalyst-dispatchtype-regex-perl (5.90035+git20150331.1.774d0a0-1) UNRELEASED; urgency=low | |
1 | ||
2 | * New upstream snapshot. | |
3 | ||
4 | -- Debian Janitor <janitor@jelmer.uk> Tue, 20 Dec 2022 05:44:57 -0000 | |
5 | ||
0 | 6 | libcatalyst-dispatchtype-regex-perl (5.90035-2) unstable; urgency=medium |
1 | 7 | |
2 | 8 | [ Salvatore Bonaccorso ] |