diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/Changes libcatalyst-dispatchtype-regex-perl-5.90033/Changes --- libcatalyst-dispatchtype-regex-perl-5.90032/Changes 2013-04-13 02:45:26.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/Changes 2013-06-18 18:22:39.000000000 +0000 @@ -1,5 +1,10 @@ Revision history for Catalyst-DispatchType-Regex +5.90033 - Tue Jun 18 14:20:48 EDT 2013 + - Fixes spelling of deprecation. + - Improves skips in tests. + - Adds env flag to suppress the deprecation warning message. + 5.90032 - Fri Apr 12 22:44:58 EDT 2013 Removes Catalyst-Runtime as a dependency diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/MANIFEST libcatalyst-dispatchtype-regex-perl-5.90033/MANIFEST --- libcatalyst-dispatchtype-regex-perl-5.90032/MANIFEST 2013-04-13 02:45:26.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/MANIFEST 2013-06-18 18:22:39.000000000 +0000 @@ -5,8 +5,6 @@ lib/Catalyst/DispatchType/Regex.pm lib/Catalyst/DispatchType/Regexp.pm MANIFEST This list of files -META.json -META.yml README t/01use.t t/aggregate/live_component_controller_action_regexp.t @@ -25,7 +23,6 @@ t/lib/TestApp/View/Dump/Env.pm t/lib/TestApp/View/Dump/Request.pm t/lib/TestApp/View/Dump/Response.pm -TODO xt/critic.t xt/fixme.t xt/hasversion.t @@ -35,3 +32,5 @@ xt/perlcriticrc xt/pod-coverage.t xt/pod.t +META.yml +META.json diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/META.json libcatalyst-dispatchtype-regex-perl-5.90033/META.json --- libcatalyst-dispatchtype-regex-perl-5.90032/META.json 2013-04-13 02:45:26.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/META.json 2013-06-18 18:22:39.000000000 +0000 @@ -36,7 +36,7 @@ }, "Catalyst::DispatchType::Regex" : { "file" : "lib/Catalyst/DispatchType/Regex.pm", - "version" : "5.90032" + "version" : "5.90033" }, "Catalyst::DispatchType::Regexp" : { "file" : "lib/Catalyst/DispatchType/Regexp.pm" @@ -54,7 +54,7 @@ "url" : "http://github.com/mvgrimes/catalyst-dispatch-regex" } }, - "version" : "5.90032", + "version" : "5.90033", "x_test_requires" : { "Data::Dumper" : "0", "MRO::Compat" : "0", diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/META.yml libcatalyst-dispatchtype-regex-perl-5.90033/META.yml --- libcatalyst-dispatchtype-regex-perl-5.90032/META.yml 2013-04-13 02:45:26.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/META.yml 2013-06-18 18:22:39.000000000 +0000 @@ -19,7 +19,7 @@ file: lib/Catalyst/DispatchType/LocalRegexp.pm Catalyst::DispatchType::Regex: file: lib/Catalyst/DispatchType/Regex.pm - version: 5.90032 + version: 5.90033 Catalyst::DispatchType::Regexp: file: lib/Catalyst/DispatchType/Regexp.pm requires: @@ -30,7 +30,7 @@ bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Catalyst-DispatchType-Regex license: http://dev.perl.org/licenses/ repository: http://github.com/mvgrimes/catalyst-dispatch-regex -version: 5.90032 +version: 5.90033 x_test_requires: Data::Dumper: 0 MRO::Compat: 0 diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/README libcatalyst-dispatchtype-regex-perl-5.90033/README --- libcatalyst-dispatchtype-regex-perl-5.90032/README 2013-04-13 02:45:26.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/README 2013-06-18 18:22:39.000000000 +0000 @@ -5,13 +5,17 @@ See Catalyst::DispatchType. DESCRIPTION - Status: Deprecated. Regex dispatch types have been depreciated and + Status: Deprecated. Regex dispatch types have been deprecated and removed from Catalyst core. It is recommend that you use Chained methods or other techniques instead. As part of the refactoring, the dispatch priority of Regex vs Regexp vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by when the dispatch type is first seen in your application. + When loaded, a warning about the deprecation will be printed to STDERR. + To suppress the warning set the CATALYST_NOWARN_DEPRECATE environment + variable to a true value. + Dispatch type managing path-matching behaviour using regexes. For more information on dispatch types, see: diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/TODO libcatalyst-dispatchtype-regex-perl-5.90033/TODO --- libcatalyst-dispatchtype-regex-perl-5.90032/TODO 2013-04-13 02:45:26.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/TODO 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ -- Update Catalyst manual -x Update CPDR documentation -x Update Catalyst-Runtime documentation -x Test on upgraded installation -x Add depreciation warning to Catalyst-Runtime diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/debian/changelog libcatalyst-dispatchtype-regex-perl-5.90033/debian/changelog --- libcatalyst-dispatchtype-regex-perl-5.90032/debian/changelog 2013-05-14 18:29:00.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/debian/changelog 2013-09-21 17:19:47.000000000 +0000 @@ -1,3 +1,21 @@ +libcatalyst-dispatchtype-regex-perl (5.90033-2) unstable; urgency=low + + * Team upload. + * Fix Module::Build build dependency. (Closes: #723917) + * Add build dependency on libcatalyst-perl to enable tests. Now the + required version is available in the archive. + * Remove unversioned perl from Depends. + + -- gregor herrmann Sat, 21 Sep 2013 19:19:40 +0200 + +libcatalyst-dispatchtype-regex-perl (5.90033-1) unstable; urgency=low + + * Imported Upstream version 5.90033. + * Change search.cpan.org based URIs to metacpan.org based URIs + * change VCS-Git to canonical URL + + -- Florian Schlichting Wed, 07 Aug 2013 22:23:17 +0200 + libcatalyst-dispatchtype-regex-perl (5.90032-1) unstable; urgency=low * Initial Release. (Closes: #708179) diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/debian/control libcatalyst-dispatchtype-regex-perl-5.90033/debian/control --- libcatalyst-dispatchtype-regex-perl-5.90032/debian/control 2013-05-14 18:23:23.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/debian/control 2013-09-21 17:19:47.000000000 +0000 @@ -4,15 +4,16 @@ Maintainer: Debian Perl Group Uploaders: Florian Schlichting Build-Depends: debhelper (>= 8), + libmodule-build-perl (>= 0.400400) | perl (>= 5.19.1), perl -Build-Depends-Indep: libmodule-build-perl (>= 0.400400) | perl (>= 5.17.12), +Build-Depends-Indep: libcatalyst-perl (>= 5.90030), libmoose-perl, libnamespace-autoclean-perl, libtext-simpletable-perl Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libcatalyst-dispatchtype-regex-perl.git -Vcs-Git: git://git.debian.org/pkg-perl/packages/libcatalyst-dispatchtype-regex-perl.git -Homepage: http://search.cpan.org/dist/Catalyst-DispatchType-Regex/ +Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libcatalyst-dispatchtype-regex-perl.git +Homepage: https://metacpan.org/release/Catalyst-DispatchType-Regex/ Package: libcatalyst-dispatchtype-regex-perl Architecture: all @@ -20,8 +21,7 @@ Breaks: libcatalyst-perl (<< 5.90030-1) Depends: ${misc:Depends}, ${perl:Depends}, libmoose-perl, - libtext-simpletable-perl, - perl + libtext-simpletable-perl Description: Regex DispatchType for Catalyst Regex dispatch types have been deprecated and removed from Catalyst core. If your application depends on regex dispatch, you can install diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/debian/copyright libcatalyst-dispatchtype-regex-perl-5.90033/debian/copyright --- libcatalyst-dispatchtype-regex-perl-5.90032/debian/copyright 2013-05-13 20:32:27.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/debian/copyright 2013-09-21 17:19:47.000000000 +0000 @@ -1,6 +1,6 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Catalyst-DispatchType-Regex -Source: http://search.cpan.org/dist/Catalyst-DispatchType-Regex/ +Source: https://metacpan.org/release/Catalyst-DispatchType-Regex/ Upstream-Contact: Mark Grimes Files: * diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/debian/watch libcatalyst-dispatchtype-regex-perl-5.90033/debian/watch --- libcatalyst-dispatchtype-regex-perl-5.90032/debian/watch 2013-05-13 19:43:25.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/debian/watch 2013-09-21 17:19:47.000000000 +0000 @@ -1,2 +1,2 @@ version=3 -http://search.cpan.org/dist/Catalyst-DispatchType-Regex/ .*/Catalyst-DispatchType-Regex-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ +https://metacpan.org/release/Catalyst-DispatchType-Regex/ .*/Catalyst-DispatchType-Regex-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/lib/Catalyst/DispatchType/LocalRegex.pm libcatalyst-dispatchtype-regex-perl-5.90033/lib/Catalyst/DispatchType/LocalRegex.pm --- libcatalyst-dispatchtype-regex-perl-5.90032/lib/Catalyst/DispatchType/LocalRegex.pm 2013-04-13 02:45:26.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/lib/Catalyst/DispatchType/LocalRegex.pm 2013-06-18 18:22:39.000000000 +0000 @@ -14,12 +14,16 @@ =head1 DESCRIPTION -B Regex dispatch types have been depreciated and removed +B Regex dispatch types have been deprecated and removed from Catalyst core. It is recommend that you use Chained methods or other techniques instead. As part of the refactoring, the dispatch priority of Regex vs Regexp vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by when the dispatch type is first seen in your application. +When loaded, a warning about the deprecation will be printed to STDERR. To +suppress the warning set the CATALYST_NOWARN_DEPRECATE environment variable to +a true value. + Dispatch type managing path-matching behaviour using regexes. For more information on dispatch types, see: diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/lib/Catalyst/DispatchType/LocalRegexp.pm libcatalyst-dispatchtype-regex-perl-5.90033/lib/Catalyst/DispatchType/LocalRegexp.pm --- libcatalyst-dispatchtype-regex-perl-5.90032/lib/Catalyst/DispatchType/LocalRegexp.pm 2013-04-13 02:45:26.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/lib/Catalyst/DispatchType/LocalRegexp.pm 2013-06-18 18:22:39.000000000 +0000 @@ -15,12 +15,16 @@ =head1 DESCRIPTION -B Regex dispatch types have been depreciated and removed +B Regex dispatch types have been deprecated and removed from Catalyst core. It is recommend that you use Chained methods or other techniques instead. As part of the refactoring, the dispatch priority of Regex vs Regexp vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by when the dispatch type is first seen in your application. +When loaded, a warning about the deprecation will be printed to STDERR. To +suppress the warning set the CATALYST_NOWARN_DEPRECATE environment variable to +a true value. + Dispatch type managing path-matching behaviour using regexes. This simply supports the alternate spelling of C. All the work is done in L. For more information on dispatch types, diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/lib/Catalyst/DispatchType/Regex.pm libcatalyst-dispatchtype-regex-perl-5.90033/lib/Catalyst/DispatchType/Regex.pm --- libcatalyst-dispatchtype-regex-perl-5.90032/lib/Catalyst/DispatchType/Regex.pm 2013-04-13 02:45:26.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/lib/Catalyst/DispatchType/Regex.pm 2013-06-18 18:22:39.000000000 +0000 @@ -23,7 +23,7 @@ # Version needs to be in a format such that $VERSION gt '5.90020' => true # We use in Catalyst::Dispatcher ($VERSION le '5.90020') -our $VERSION = '5.90032'; +our $VERSION = '5.90033'; =head1 NAME @@ -35,12 +35,16 @@ =head1 DESCRIPTION -B Regex dispatch types have been depreciated and removed +B Regex dispatch types have been deprecated and removed from Catalyst core. It is recommend that you use Chained methods or other techniques instead. As part of the refactoring, the dispatch priority of Regex vs Regexp vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by when the dispatch type is first seen in your application. +When loaded, a warning about the deprecation will be printed to STDERR. To +suppress the warning set the CATALYST_NOWARN_DEPRECATE environment variable to +a true value. + Dispatch type managing path-matching behaviour using regexes. For more information on dispatch types, see: @@ -118,7 +122,7 @@ sub register { my ( $self, $c, $action ) = @_; - $self->_display_depreciation_warning; + $self->_display_deprecation_warning; my @register = $self->_get_attributes( $c, $action ); @@ -194,12 +198,13 @@ } { - my $depreciation_warning_displayed = 0; + my $deprecation_warning_displayed = 0; - sub _display_depreciation_warning { - return if $depreciation_warning_displayed++; + sub _display_deprecation_warning { + return if $deprecation_warning_displayed++; + return if $ENV{CATALYST_NOWARN_DEPRECATE}; - warn "DEPRECIATION WARNING: The Regex dispatch type is depreciated.\n" + warn "DEPRECATION WARNING: The Regex dispatch type is deprecated.\n" . " The standalone Catalyst::DispatchType::Regex distribution\n" . " has been temporarily included as a prerequisite of\n" . " Catalyst::Runtime, but will be dropped in the future. Convert\n" diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/lib/Catalyst/DispatchType/Regexp.pm libcatalyst-dispatchtype-regex-perl-5.90033/lib/Catalyst/DispatchType/Regexp.pm --- libcatalyst-dispatchtype-regex-perl-5.90032/lib/Catalyst/DispatchType/Regexp.pm 2013-04-13 02:45:26.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/lib/Catalyst/DispatchType/Regexp.pm 2013-06-18 18:22:39.000000000 +0000 @@ -15,12 +15,16 @@ =head1 DESCRIPTION -B Regex dispatch types have been depreciated and removed +B Regex dispatch types have been deprecated and removed from Catalyst core. It is recommend that you use Chained methods or other techniques instead. As part of the refactoring, the dispatch priority of Regex vs Regexp vs LocalRegex vs LocalRegexp may have changed. Priority is now influenced by when the dispatch type is first seen in your application. +When loaded, a warning about the deprecation will be printed to STDERR. To +suppress the warning set the CATALYST_NOWARN_DEPRECATE environment variable to +a true value. + Dispatch type managing path-matching behaviour using regexes. This simply supports the alternate spelling of C. All the work is done in L. For more information on dispatch types, see: diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/t/01use.t libcatalyst-dispatchtype-regex-perl-5.90033/t/01use.t --- libcatalyst-dispatchtype-regex-perl-5.90032/t/01use.t 2013-04-13 02:45:26.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/t/01use.t 2013-06-18 18:22:39.000000000 +0000 @@ -4,16 +4,12 @@ # Catalyst-Runtime prereqs, this is necessary to avoid Catalyst-Runtime build # failing. BEGIN { - eval qq{use Catalyst::Runtime 5.90030;}; - if ( $@ ) { - plan skip_all => 'Test require Catalyst::Runtime 5.90030'; - exit; - } + plan skip_all => 'Catalyst::Runtime required' + unless eval { require Catalyst }; + plan skip_all => 'Test requires Catalyst::Runtime >= 5.90030' unless $Catalyst::VERSION >= 5.90030; plan tests => 1; } -BEGIN { use_ok( 'Catalyst::DispatchType::Regex' ); -} diag( "Testing Catalyst::DispatchType::Regex $Catalyst::DispatchType::Regex::VERSION" ); diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/t/aggregate/live_component_controller_action_regexp.t libcatalyst-dispatchtype-regex-perl-5.90033/t/aggregate/live_component_controller_action_regexp.t --- libcatalyst-dispatchtype-regex-perl-5.90032/t/aggregate/live_component_controller_action_regexp.t 2013-04-13 02:45:26.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/t/aggregate/live_component_controller_action_regexp.t 2013-06-18 18:22:39.000000000 +0000 @@ -16,11 +16,9 @@ # Catalyst-Runtime prereqs, this is necessary to avoid Catalyst-Runtime build # failing. BEGIN { - eval qq{use Catalyst::Runtime 5.90030;}; - if( $@ ){ - use Test::More skip_all => 'Test require Catalyst::Runtime 5.90030'; - exit; - } + plan skip_all => 'Catalyst::Runtime required' + unless eval { require Catalyst }; + plan skip_all => 'Test requires Catalyst::Runtime >= 5.90030' unless $Catalyst::VERSION >= 5.90030; plan tests => 39*$iters; } diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/t/aggregate/live_priorities.t libcatalyst-dispatchtype-regex-perl-5.90033/t/aggregate/live_priorities.t --- libcatalyst-dispatchtype-regex-perl-5.90032/t/aggregate/live_priorities.t 2013-04-13 02:45:26.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/t/aggregate/live_priorities.t 2013-06-18 18:22:39.000000000 +0000 @@ -12,11 +12,9 @@ # Catalyst-Runtime prereqs, this is necessary to avoid Catalyst-Runtime build # failing. BEGIN { - eval qq{use Catalyst::Runtime 5.90030;}; - if( $@ ){ - use Test::More skip_all => 'Test require Catalyst::Runtime 5.90030'; - exit; - } + plan skip_all => 'Catalyst::Runtime required' + unless eval { require Catalyst }; + plan skip_all => 'Test requires Catalyst::Runtime >= 5.90030' unless $Catalyst::VERSION >= 5.90030; plan tests => 12; } diff -Nru libcatalyst-dispatchtype-regex-perl-5.90032/t/aggregate/unit_core_uri_for_action.t libcatalyst-dispatchtype-regex-perl-5.90033/t/aggregate/unit_core_uri_for_action.t --- libcatalyst-dispatchtype-regex-perl-5.90032/t/aggregate/unit_core_uri_for_action.t 2013-04-13 02:45:26.000000000 +0000 +++ libcatalyst-dispatchtype-regex-perl-5.90033/t/aggregate/unit_core_uri_for_action.t 2013-06-18 18:22:39.000000000 +0000 @@ -12,11 +12,9 @@ # Catalyst-Runtime prereqs, this is necessary to avoid Catalyst-Runtime build # failing. BEGIN { - eval qq{use Catalyst::Runtime 5.90030;}; - if( $@ ){ - plan skip_all => 'Test require Catalyst::Runtime 5.90030'; - exit; - } + plan skip_all => 'Catalyst::Runtime required' + unless eval { require Catalyst }; + plan skip_all => 'Test requires Catalyst::Runtime >= 5.90030' unless $Catalyst::VERSION >= 5.90030; } use_ok('TestApp');