This is an automated email from the git hooks/post-receive script.

dmn pushed a commit to branch dam-bundle-2.0
in repository libcatalyst-modules-perl.

commit 2c3ead3630cbfabc484086161f2e57b8e111ad59
Author: Damyan Ivanov <d...@debian.org>
Date:   Thu May 8 14:12:44 2014 +0000

    update Catalyst-Plugin-Static-Simple to 0.31
    
    add libmime-types-perl (>= 2.03) to (build-)dependencies
---
 debian/control                                     |  2 ++
 sources/Catalyst-Plugin-Static-Simple/Changes      |  9 +++++++++
 sources/Catalyst-Plugin-Static-Simple/META.yml     |  6 +++---
 sources/Catalyst-Plugin-Static-Simple/MYMETA.json  |  6 +++---
 sources/Catalyst-Plugin-Static-Simple/MYMETA.yml   |  6 +++---
 sources/Catalyst-Plugin-Static-Simple/Makefile.PL  |  4 ++--
 .../lib/Catalyst/Plugin/Static/Simple.pm           | 23 ++++++++++------------
 7 files changed, 32 insertions(+), 24 deletions(-)

diff --git a/debian/control b/debian/control
index 6449a91..cf95568 100644
--- a/debian/control
+++ b/debian/control
@@ -45,6 +45,7 @@ Build-Depends-Indep: perl,
                      libjson-perl,
                      liblocale-maketext-lexicon-perl,
                      liblog-log4perl-perl,
+                     libmime-types-perl (>= 2.03),
                      libmodule-runtime-perl (>= 0.012),
                      libmoose-autobox-perl,
                      libmoose-perl (>= 1.12),
@@ -119,6 +120,7 @@ Depends: ${misc:Depends},
          libjson-perl,
          liblocale-maketext-lexicon-perl,
          liblog-log4perl-perl,
+         libmime-types-perl (>= 2.03),
          libmodule-runtime-perl (>= 0.012),
          libmoose-perl (>= 1.12),
          libmoosex-attribute-chained-perl,
diff --git a/sources/Catalyst-Plugin-Static-Simple/Changes 
b/sources/Catalyst-Plugin-Static-Simple/Changes
index 81a35d7..cf57c87 100644
--- a/sources/Catalyst-Plugin-Static-Simple/Changes
+++ b/sources/Catalyst-Plugin-Static-Simple/Changes
@@ -1,5 +1,14 @@
 Revision history for Perl extension Catalyst::Plugin::Static::Simple
 
+0.31   2013-09-09 16:30:00
+        - Updated docs to reflect config key change from 'static' to
+          'Plugin::Static::Simple' (RT#77709)
+        - Migrated repository from subversion to git
+        - Fixed MIME::Types 2.xx compatibility be removing call to an
+          undocumented method
+        - Bumped the MIME::Types requirement to 2.03 to ensure its
+          improvements make it into Catalyst environments
+
 0.30   2012-05-04 17:05:00
         - Add Cache-Control:public header
         - Optionally provide Expires header
diff --git a/sources/Catalyst-Plugin-Static-Simple/META.yml 
b/sources/Catalyst-Plugin-Static-Simple/META.yml
index 3c92d63..be57553 100644
--- a/sources/Catalyst-Plugin-Static-Simple/META.yml
+++ b/sources/Catalyst-Plugin-Static-Simple/META.yml
@@ -21,12 +21,12 @@ no_index:
     - t
 requires:
   Catalyst::Runtime: 5.80008
-  MIME::Types: 1.25
+  MIME::Types: 2.03
   Moose: 0
   MooseX::Types: 0
   Test::More: 0
   namespace::autoclean: 0
 resources:
   license: http://dev.perl.org/licenses/
-  repository: 
http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Static-Simple/trunk/
-version: 0.30
+  repository: 
git://git.shadowcat.co.uk/catagits/Catalyst-Plugin-Static-Simple.git
+version: 0.31
diff --git a/sources/Catalyst-Plugin-Static-Simple/MYMETA.json 
b/sources/Catalyst-Plugin-Static-Simple/MYMETA.json
index d3b0750..af4918f 100644
--- a/sources/Catalyst-Plugin-Static-Simple/MYMETA.json
+++ b/sources/Catalyst-Plugin-Static-Simple/MYMETA.json
@@ -4,7 +4,7 @@
       "Andy Grundman, <a...@hybridized.org>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter 
version 2.120921",
+   "generated_by" : "ExtUtils::MakeMaker version 6.72, CPAN::Meta::Converter 
version 2.132140",
    "license" : [
       "perl_5"
    ],
@@ -34,7 +34,7 @@
       "runtime" : {
          "requires" : {
             "Catalyst::Runtime" : "5.80008",
-            "MIME::Types" : "1.25",
+            "MIME::Types" : "2.03",
             "Moose" : "0",
             "MooseX::Types" : "0",
             "Test::More" : "0",
@@ -43,5 +43,5 @@
       }
    },
    "release_status" : "stable",
-   "version" : "0.30"
+   "version" : "0.31"
 }
diff --git a/sources/Catalyst-Plugin-Static-Simple/MYMETA.yml 
b/sources/Catalyst-Plugin-Static-Simple/MYMETA.yml
index 9434939..2bd30b4 100644
--- a/sources/Catalyst-Plugin-Static-Simple/MYMETA.yml
+++ b/sources/Catalyst-Plugin-Static-Simple/MYMETA.yml
@@ -8,7 +8,7 @@ build_requires:
 configure_requires:
   ExtUtils::MakeMaker: 0
 dynamic_config: 0
-generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 
2.120921'
+generated_by: 'ExtUtils::MakeMaker version 6.72, CPAN::Meta::Converter version 
2.132140'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -20,9 +20,9 @@ no_index:
     - inc
 requires:
   Catalyst::Runtime: 5.80008
-  MIME::Types: 1.25
+  MIME::Types: 2.03
   Moose: 0
   MooseX::Types: 0
   Test::More: 0
   namespace::autoclean: 0
-version: 0.30
+version: 0.31
diff --git a/sources/Catalyst-Plugin-Static-Simple/Makefile.PL 
b/sources/Catalyst-Plugin-Static-Simple/Makefile.PL
index 57096f1..b9cb36f 100644
--- a/sources/Catalyst-Plugin-Static-Simple/Makefile.PL
+++ b/sources/Catalyst-Plugin-Static-Simple/Makefile.PL
@@ -8,7 +8,7 @@ name 'Catalyst-Plugin-Static-Simple';
 all_from 'lib/Catalyst/Plugin/Static/Simple.pm';
 
 requires 'Catalyst::Runtime' => '5.80008';
-requires 'MIME::Types' => '1.25';
+requires 'MIME::Types' => '2.03';
 requires 'Test::More';
 requires 'Moose';
 requires 'MooseX::Types';
@@ -34,6 +34,6 @@ if( can_use 'Catalyst::Plugin::SubRequest' ) {
 }
 
 auto_install;
-resources repository => 
'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Static-Simple/trunk/';
+resources repository => 
'git://git.shadowcat.co.uk/catagits/Catalyst-Plugin-Static-Simple.git';
 
 WriteAll;
diff --git 
a/sources/Catalyst-Plugin-Static-Simple/lib/Catalyst/Plugin/Static/Simple.pm 
b/sources/Catalyst-Plugin-Static-Simple/lib/Catalyst/Plugin/Static/Simple.pm
index 1611f93..39a8f77 100644
--- a/sources/Catalyst-Plugin-Static-Simple/lib/Catalyst/Plugin/Static/Simple.pm
+++ b/sources/Catalyst-Plugin-Static-Simple/lib/Catalyst/Plugin/Static/Simple.pm
@@ -9,7 +9,7 @@ use MooseX::Types::Moose qw/ArrayRef Str/;
 use Catalyst::Utils;
 use namespace::autoclean;
 
-our $VERSION = '0.30';
+our $VERSION = '0.31';
 
 has _static_file => ( is => 'rw' );
 has _static_debug_message => ( is => 'rw', isa => ArrayRef[Str] );
@@ -112,9 +112,6 @@ before setup_finalize => sub {
     # load up a MIME::Types object, only loading types with
     # at least 1 file extension
     $config->{mime_types_obj} = MIME::Types->new( only_complete => 1 );
-
-    # preload the type index hash so it's not built on the first request
-    $config->{mime_types_obj}->create_type_index;
 };
 
 # Search through all included directories for the static file
@@ -345,7 +342,7 @@ Logging of static files is turned off by default.
 =head1 ADVANCED CONFIGURATION
 
 Configuration is completely optional and is specified within
-C<MyApp-E<gt>config-E<gt>{static}>.  If you use any of these options,
+C<MyApp-E<gt>config-E<gt>{Plugin::Static::Simple}>.  If you use any of these 
options,
 this module will probably feel less "simple" to you!
 
 =head2 Enabling request logging
@@ -354,7 +351,7 @@ Since Catalyst 5.50, logging of static requests is turned 
off by
 default; static requests tend to clutter the log output and rarely
 reveal anything useful. However, if you want to enable logging of static
 requests, you can do so by setting
-C<MyApp-E<gt>config-E<gt>{static}-E<gt>{logging}> to 1.
+C<MyApp-E<gt>config-E<gt>{Plugin::Static::Simple}-E<gt>{logging}> to 1.
 
 =head2 Forcing directories into static mode
 
@@ -363,7 +360,7 @@ that should always be served in static mode.  Regular 
expressions may be
 specified using C<qr//>.
 
     MyApp->config(
-        static => {
+        'Plugin::Static::Simple' => {
             dirs => [
                 'static',
                 qr/^(images|css)/,
@@ -380,7 +377,7 @@ added to the search path when you specify an 
C<include_path>. You should
 use C<MyApp-E<gt>config-E<gt>{root}> to add it.
 
     MyApp->config(
-        static => {
+        'Plugin::Static::Simple' => {
             include_path => [
                 '/path/to/overlay',
                 \&incpath_generator,
@@ -424,7 +421,7 @@ If you wish to define your own extensions to ignore, use the
 C<ignore_extensions> option:
 
     MyApp->config(
-        static => {
+        'Plugin::Static::Simple' => {
             ignore_extensions => [ qw/html asp php/ ],
         },
     );
@@ -437,7 +434,7 @@ directory paths to ignore.  If using C<include_path>, the 
path will be
 checked against every included path.
 
     MyApp->config(
-        static => {
+        'Plugin::Static::Simple' => {
             ignore_dirs => [ qw/tmpl css/ ],
         },
     );
@@ -458,7 +455,7 @@ To override or add to the default MIME types set by the 
L<MIME::Types>
 module, you may enter your own extension to MIME type mapping.
 
     MyApp->config(
-        static => {
+        'Plugin::Static::Simple' => {
             mime_types => {
                 jpg => 'image/jpg',
                 png => 'image/png',
@@ -478,7 +475,7 @@ So a value of zero really means "don't cache at all", and 
any higher values
 will keep the file around for that long.
 
     MyApp->config(
-        static => {
+        'Plugin::Static::Simple' => {
             expires => 3600, # Caching allowed for one hour.
         },
     );
@@ -495,7 +492,7 @@ Enable additional debugging information printed in the 
Catalyst log.  This
 is automatically enabled when running Catalyst in -Debug mode.
 
     MyApp->config(
-        static => {
+        'Plugin::Static::Simple' => {
             debug => 1,
         },
     );

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libcatalyst-modules-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to