Permalink
Browse files

Removed old "meta-data" files and Makefile.PL - switch do Dist::Zilla

Dist::Zilla generates all the removed files from a single configuration
file, dist.ini.

It also updates the Perl code and POD to mention the correct version
of the distribution.

Signed-off-by: Pedro Melo <melo@simplicidade.org>
  • Loading branch information...
1 parent 6d46c67 commit b707095305b538da55357e433a03de8223f96c06 @melo committed May 9, 2009
Showing with 12 additions and 110 deletions.
  1. +0 −22 MANIFEST
  2. +0 −23 META.yml
  3. +0 −13 Makefile.PL
  4. +0 −45 README
  5. +12 −0 dist.ini
  6. +0 −7 lib/MojoX/Routes/AsGraph.pm
View
@@ -1,22 +0,0 @@
-Changes
-MANIFEST
-Makefile.PL
-META.yml
-README
-lib/MojoX/Routes/AsGraph.pm
-t/00-load.t
-t/05-route-graph.t
-t/pod-coverage.t
-t/pod.t
-.gitignore
-inc/Module/AutoInstall.pm
-inc/Module/Install.pm
-inc/Module/Install/AutoInstall.pm
-inc/Module/Install/Base.pm
-inc/Module/Install/Can.pm
-inc/Module/Install/Fetch.pm
-inc/Module/Install/Include.pm
-inc/Module/Install/Makefile.pm
-inc/Module/Install/Metadata.pm
-inc/Module/Install/Win32.pm
-inc/Module/Install/WriteAll.pm
View
@@ -1,23 +0,0 @@
----
-abstract: 'Create a graph from a MojoX::Routes object'
-author:
- - 'Pedro Melo, C<< <melo at cpan.org> >>'
-build_requires:
- Test::More: 0
-distribution_type: module
-generated_by: 'Module::Install version 0.79'
-license: perl
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
-name: MojoX-Routes-AsGraph
-no_index:
- directory:
- - inc
- - t
-requires:
- Graph::Easy: 0
-resources:
- license: http://dev.perl.org/licenses/
- repository: http://github.com/melo/mojox-routes-asgraph/
-version: 0.01
View
@@ -1,13 +0,0 @@
-use inc::Module::Install;
-
-name 'MojoX-Routes-AsGraph';
-all_from 'lib/MojoX/Routes/AsGraph.pm';
-repository 'http://github.com/melo/mojox-routes-asgraph/';
-
-requires 'Graph::Easy' => 0;
-build_requires 'Test::More';
-
-auto_install;
-
-WriteAll;
-
View
45 README
@@ -1,45 +0,0 @@
-MojoX-Routes-AsGraph
-
-Given a MojoX::Routes object (like the $app->routes
-that each Mojolicious application has), and it generates a Graph::Easy
-object with all the possible routes.
-
-
-INSTALLATION
-
-To install this module, run the following commands:
-
- perl Makefile.PL
- make
- make test
- make install
-
-SUPPORT AND DOCUMENTATION
-
-After installing, you can find documentation for this module with the
-perldoc command.
-
- perldoc MojoX::Routes::AsGraph
-
-You can also look for information at:
-
- RT, CPAN's request tracker
- http://rt.cpan.org/NoAuth/Bugs.html?Dist=MojoX-Routes-AsGraph
-
- AnnoCPAN, Annotated CPAN documentation
- http://annocpan.org/dist/MojoX-Routes-AsGraph
-
- CPAN Ratings
- http://cpanratings.perl.org/d/MojoX-Routes-AsGraph
-
- Search CPAN
- http://search.cpan.org/dist/MojoX-Routes-AsGraph/
-
-
-COPYRIGHT AND LICENCE
-
-Copyright (C) 2009 Pedro Melo
-
-This program is free software; you can redistribute it and/or modify it
-under the same terms as Perl itself.
-
View
@@ -0,0 +1,12 @@
+name = MojoX-Routes-AsGraph
+version = 0.002
+author = Pedro Melo <melo@cpan.org>
+license = Perl_5
+copyright_holder = Pedro Melo
+
+[@Classic]
+
+[Prereq]
+Mojo = 0
+Graph::Easy = 0
+Test::More = 0
@@ -4,8 +4,6 @@ use warnings;
use strict;
use Graph::Easy;
-our $VERSION = '0.01';
-
sub graph {
my ($self, $r) = @_;
return unless $r;
@@ -71,11 +69,6 @@ __END__
MojoX::Routes::AsGraph - Create a graph from a MojoX::Routes object
-=head1 VERSION
-
-Version 0.01
-
-
=head1 SYNOPSIS
Given a MojoX::Routes object, generates a Graph::Easy object with all

0 comments on commit b707095

Please sign in to comment.