Commits

shl...@52c325ad-5fd0-0310-8a0f-c43feede02cc  committed 70a3946

Converted to Build.PL.

  • Participants
  • Parent commits b04530e

Comments (0)

Files changed (5)

File Catalyst-Plugin-SanitizeUrl/Build.PL

+use strict;
+use warnings;
+
+use Module::Build;
+
+my $build = Module::Build->new(
+    'module_name' => "Catalyst::Plugin::SanitizeUrl",
+    'requires' =>
+    {
+        Catalyst => '5.23',
+    },
+    build_requires =>
+    {
+        'Test::More' => 0,
+    },
+    'license' => "perl",
+    create_makefile_pl => 'traditional',
+);
+
+$build->create_build_script;

File Catalyst-Plugin-SanitizeUrl/MANIFEST

+Build.PL
 Changes
+lib/Catalyst/Plugin/SanitizeUrl.pm
+lib/Catalyst/Plugin/SanitizeUrl/PrepAction.pm
 Makefile.PL
 MANIFEST			This list of files
 META.yml
 README
 t/01use.t
 t/02pod.t
-lib/
-lib/Catalyst/Plugin/SanitizeUrl/PrepAction.pm
-lib/Catalyst/Plugin/SanitizeUrl.pm

File Catalyst-Plugin-SanitizeUrl/META.yml

-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
-name:         Catalyst-Plugin-SanitizeUrl
-version:      0.2.0
-version_from: lib/Catalyst/Plugin/SanitizeUrl.pm
-installdirs:  site
+---
+name: Catalyst-Plugin-SanitizeUrl
+version: 0.2.0
+author:
+  - 'Shlomi Fish, C<shlomif@iglu.org.il>'
+abstract: Make Catalyst not ignore trailing slashes
+license: perl
+resources:
+  license: http://dev.perl.org/licenses/
 requires:
-    Catalyst:                      5.23
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+  Catalyst: 5.23
+build_requires:
+  Test::More: 0
+provides:
+  Catalyst::Plugin::SanitizeUrl:
+    file: lib/Catalyst/Plugin/SanitizeUrl.pm
+    version: 0.2.0
+  Catalyst::Plugin::SanitizeUrl::PrepAction:
+    file: lib/Catalyst/Plugin/SanitizeUrl/PrepAction.pm
+    version: 0.2.0
+generated_by: Module::Build version 0.2808
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.2.html
+  version: 1.2

File Catalyst-Plugin-SanitizeUrl/Makefile.PL

-use ExtUtils::MakeMaker;
-
-WriteMakefile(
-    NAME      => 'Catalyst::Plugin::SanitizeUrl',
-    AUTHOR    => 'Shlomi Fish (shlomif@iglu.org.il',
-    PREREQ_PM => {
-        Catalyst            => '5.23',
-    },
-    VERSION_FROM => 'lib/Catalyst/Plugin/SanitizeUrl.pm'
-);
-

File Catalyst-Plugin-SanitizeUrl/lib/Catalyst/Plugin/SanitizeUrl.pm

 1;
 
 __END__
+
 =head1 NAME
 
-Catalyst::Plugin::SanitizeUrl - Make sure Catalyst does not ignore trailing slashes
+Catalyst::Plugin::SanitizeUrl - Make Catalyst not ignore trailing slashes
 
 =head1 SYNOPSIS