about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.shipit6
-rw-r--r--Makefile.PL19
-rw-r--r--dist.ini27
-rw-r--r--lib/Plack/Middleware/ETag.pm19
4 files changed, 29 insertions, 42 deletions
diff --git a/.shipit b/.shipit
deleted file mode 100644
index e28b215..0000000
--- a/.shipit
+++ /dev/null
@@ -1,6 +0,0 @@
-steps = FindVersion, ChangeVersion, CheckChangeLog, DistTest, Commit, Tag, MakeDist
-git.tagpattern = release-%v
-git.push_to = release
-
-CheckChangeLog.files = Changes
-MakeDist.destination = ~/code/distribs/
diff --git a/Makefile.PL b/Makefile.PL
deleted file mode 100644
index 1a961d5..0000000
--- a/Makefile.PL
+++ /dev/null
@@ -1,19 +0,0 @@
-use inc::Module::Install;
-name 'Plack-Middleware-ETag';
-all_from 'lib/Plack/Middleware/ETag.pm';
-
-requires 'Plack';
-requires 'Digest::SHA';
-requires 'HTTP::Request::Common';
-
-tests 't/*.t';
-author_tests 'xt';
-
-readme_from 'lib/Plack/Middleware/ETag.pm';
-
-build_requires 'Test::More';
-use_test_base;
-auto_include;
-auto_set_repository;
-license 'perl';
-WriteAll;
diff --git a/dist.ini b/dist.ini
new file mode 100644
index 0000000..da07814
--- /dev/null
+++ b/dist.ini
@@ -0,0 +1,27 @@
+name = Plack-Middleware-ETag
+author = franck cuny <franck@lumberjaph.net>
+license = Perl_5
+copyright_holder = franck cuny
+copyright_year = 2011
+version = 0.03
+
+[@Filter]
+bundle = @Basic
+remove = Readme
+[MetaConfig]
+[MetaJSON]
+[PkgVersion]
+[PodSyntaxTests]
+[PodCoverageTests]
+[NoTabsTests]
+[EOLTests]
+
+[MetaResources]
+repository = git://github.com/franckcuny/plack-middleware-etag.git
+bugtracker = http://rt.cpan.org/Public/Dist/Display.html?Name=Plack::Middleware::ETag
+homepage = http://search.cpan.org/perldoc?Plack::Middleware::ETag
+
+[PodWeaver]
+[AutoPrereqs]
+[CheckChangeLog]
+[UploadToCPAN]
\ No newline at end of file
diff --git a/lib/Plack/Middleware/ETag.pm b/lib/Plack/Middleware/ETag.pm
index 3623747..22dcc01 100644
--- a/lib/Plack/Middleware/ETag.pm
+++ b/lib/Plack/Middleware/ETag.pm
@@ -1,5 +1,7 @@
 package Plack::Middleware::ETag;
 
+# ABSTRACT: Adds automatically an ETag header.
+
 use strict;
 use warnings;
 use Digest::SHA;
@@ -77,10 +79,6 @@ sub _set_cache_control {
 1;
 __END__
 
-=head1 NAME
-
-Plack::Middleware::ETag - Adds automatically an ETag header.
-
 =head1 SYNOPSIS
 
   use Plack::Builder;
@@ -127,16 +125,3 @@ Will add "Cache-Control: must-revalidate, max-age=3600" to the headers.
 Will not add an ETag if there is already a Last-Modified header.
 
 =back
-
-=head1 AUTHOR
-
-franck cuny E<lt>franck@lumberjaph.netE<gt>
-
-=head1 SEE ALSO
-
-=head1 LICENSE
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut