Permalink
Browse files

added xt tests, cleaned up docs, DZil-ified

  • Loading branch information...
1 parent 9e951e1 commit ce2f32155d9c77bf6f1a9795dc534d04091ac76a @genio genio committed Apr 25, 2016
Showing with 826 additions and 423 deletions.
  1. +3 −0 Changes
  2. +0 −9 MANIFEST
  3. +93 −0 META.json
  4. +78 −29 Makefile.PL
  5. +0 −53 README
  6. +152 −0 README.md
  7. +101 −0 dist.ini
  8. +341 −332 lib/WWW/Shorten/Yourls.pm
  9. +13 −0 xt/author/changes.t
  10. +17 −0 xt/author/kwalitee.t
  11. +13 −0 xt/author/manifest.t
  12. +15 −0 xt/author/pod-cm.t
View
@@ -4,6 +4,9 @@ Revision history for {{$dist->name}}
- Backfilled Changelog as best as possible.
- Added tidy, git, mailmap, and travis files.
- Added a MANIFEST.SKIP
+ - Cleaned up documentation
+ - DZil-ified
+ - Made the README a github markdown file.
0.06 2010-03-23
- Added signature
View
@@ -1,9 +0,0 @@
-Changes
-MANIFEST
-Makefile.PL
-README
-lib/WWW/Shorten/Yourls.pm
-t/00-load.t
-t/boilerplate.t
-t/pod-coverage.t
-t/pod.t
View
@@ -0,0 +1,93 @@
+{
+ "abstract" : "Interface to shortening URLs using L<http://yourls.org>",
+ "author" : [
+ "Pankaj Jain <pjain@cpan.org>"
+ ],
+ "dynamic_config" : 0,
+ "generated_by" : "Dist::Zilla version 5.047, CPAN::Meta::Converter version 2.150005",
+ "license" : [
+ "perl_5"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : 2
+ },
+ "name" : "WWW-Shorten-Yourls",
+ "prereqs" : {
+ "configure" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "develop" : {
+ "requires" : {
+ "Pod::Coverage::TrustPod" : "0",
+ "Test::CPAN::Changes" : "0.4",
+ "Test::CheckManifest" : "1.29",
+ "Test::Kwalitee" : "1.22",
+ "Test::More" : "0.88",
+ "Test::Pod" : "1.41",
+ "Test::Pod::Coverage" : "1.08",
+ "Test::Pod::Spelling::CommonMistakes" : "1.000",
+ "Test::Spelling" : "0.12",
+ "Test::Version" : "1"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "Carp" : "0",
+ "Exporter" : "0",
+ "File::Spec" : "0",
+ "HTTP::Request" : "0",
+ "JSON::Any" : "1.18",
+ "JSON::MaybeXS" : "1.0",
+ "LWP::Protocol::https" : "0",
+ "LWP::UserAgent" : "5.835",
+ "URI" : "0",
+ "WWW::Shorten" : "3.09",
+ "XML::Simple" : "2.18",
+ "base" : "0",
+ "perl" : "5.008001",
+ "strict" : "0",
+ "warnings" : "0"
+ }
+ },
+ "test" : {
+ "recommends" : {
+ "CPAN::Meta" : "2.120900"
+ },
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0",
+ "File::Spec" : "0",
+ "IO::Handle" : "0",
+ "IPC::Open3" : "0",
+ "Test::More" : "0.88",
+ "Try::Tiny" : "0.24"
+ }
+ }
+ },
+ "provides" : {
+ "WWW::Shorten::Yourls" : {
+ "file" : "lib/WWW/Shorten/Yourls.pm",
+ "version" : "0.070"
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "bugtracker" : {
+ "web" : "https://github.com/p5-shorten/WWW-Shorten-Yourls/issues"
+ },
+ "homepage" : "https://github.com/p5-shorten/WWW-Shorten-Yourls",
+ "repository" : {
+ "type" : "git",
+ "url" : "https://github.com/p5-shorten/WWW-Shorten-Yourls.git",
+ "web" : "https://github.com/p5-shorten/WWW-Shorten-Yourls"
+ }
+ },
+ "version" : "0.070",
+ "x_contributors" : [
+ "Chase Whitener <capoeirab@cpan.org>",
+ "Michiel Beijen <michielb@cpan.org>"
+ ]
+}
+
View
@@ -1,33 +1,82 @@
+# This Makefile.PL for WWW-Shorten-Yourls was generated by
+# Dist::Zilla::Plugin::MakeMaker::Awesome 0.38.
+# Don't edit it but the dist.ini and plugins used to construct it.
+
use strict;
use warnings;
+
+use 5.008001;
use ExtUtils::MakeMaker;
-WriteMakefile(
- NAME => 'WWW::Shorten::Yourls',
- AUTHOR => 'Pankaj Jain <pjain@cpan.org>',
- VERSION_FROM => 'lib/WWW/Shorten/Yourls.pm',
- ABSTRACT_FROM => 'lib/WWW/Shorten/Yourls.pm',
- ($ExtUtils::MakeMaker::VERSION >= 6.3002
- ? ('LICENSE'=> 'perl')
- : ()),
- ($ExtUtils::MakeMaker::VERSION >= 6.48
- ? ('MIN_PERL_VERSION'=> '5.6.1')
- : ()),
- PL_FILES => {},
- PREREQ_PM => {
- 'base' => 0,
- 'Carp' => 0,
- 'File::Spec' => 0,
- 'Exporter' => 0,
- 'Test::More' => 0,
- 'WWW::Shorten' => 1.90,
- 'XML::Simple' => 2.18,
- 'JSON::Any' => 1.18,
- },
- TEST_REQUIRES => {
- 'Test::More' => 0,
- },
- PREREQ_PRINT => 1,
- dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
- clean => { FILES => 'WWW-Shorten-Yourls-*' },
-);
+my %WriteMakefileArgs = (
+ "ABSTRACT" => "Interface to shortening URLs using L<http://yourls.org>",
+ "AUTHOR" => "Pankaj Jain <pjain\@cpan.org>",
+ "CONFIGURE_REQUIRES" => {
+ "ExtUtils::MakeMaker" => 0
+ },
+ "DISTNAME" => "WWW-Shorten-Yourls",
+ "LICENSE" => "perl",
+ "MIN_PERL_VERSION" => "5.008001",
+ "NAME" => "WWW::Shorten::Yourls",
+ "PREREQ_PM" => {
+ "Carp" => 0,
+ "Exporter" => 0,
+ "File::Spec" => 0,
+ "HTTP::Request" => 0,
+ "JSON::Any" => "1.18",
+ "JSON::MaybeXS" => "1.0",
+ "LWP::Protocol::https" => 0,
+ "LWP::UserAgent" => "5.835",
+ "URI" => 0,
+ "WWW::Shorten" => "3.09",
+ "XML::Simple" => "2.18",
+ "base" => 0,
+ "strict" => 0,
+ "warnings" => 0
+ },
+ "TEST_REQUIRES" => {
+ "ExtUtils::MakeMaker" => 0,
+ "File::Spec" => 0,
+ "IO::Handle" => 0,
+ "IPC::Open3" => 0,
+ "Test::More" => "0.88",
+ "Try::Tiny" => "0.24"
+ },
+ "VERSION" => "0.070",
+ "test" => {
+ "TESTS" => "t/*.t"
+ }
+);
+
+my %FallbackPrereqs = (
+ "Carp" => 0,
+ "Exporter" => 0,
+ "ExtUtils::MakeMaker" => 0,
+ "File::Spec" => 0,
+ "HTTP::Request" => 0,
+ "IO::Handle" => 0,
+ "IPC::Open3" => 0,
+ "JSON::Any" => "1.18",
+ "JSON::MaybeXS" => "1.0",
+ "LWP::Protocol::https" => 0,
+ "LWP::UserAgent" => "5.835",
+ "Test::More" => "0.88",
+ "Try::Tiny" => "0.24",
+ "URI" => 0,
+ "WWW::Shorten" => "3.09",
+ "XML::Simple" => "2.18",
+ "base" => 0,
+ "strict" => 0,
+ "warnings" => 0
+);
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+ delete $WriteMakefileArgs{TEST_REQUIRES};
+ delete $WriteMakefileArgs{BUILD_REQUIRES};
+ $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
+}
+
+delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+ unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+
+WriteMakefile(%WriteMakefileArgs);
View
@@ -1,53 +0,0 @@
-WWW-Shorten-Yourls
-
-The README is used to introduce the module and provide instructions on
-how to install the module, any machine dependencies it may have (for
-example C compilers and installed libraries) and any other information
-that should be provided before the module is installed.
-
-A README file is required for CPAN modules since CPAN extracts the README
-file from a module distribution so that people browsing the archive
-can use it to get an idea of the module's uses. It is usually a good idea
-to provide version information here so that people can decide whether
-fixes for the module are worth downloading.
-
-
-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 WWW::Shorten::Yourls
-
-You can also look for information at:
-
- RT, CPAN's request tracker
- http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Shorten-Yourls
-
- AnnoCPAN, Annotated CPAN documentation
- http://annocpan.org/dist/WWW-Shorten-Yourls
-
- CPAN Ratings
- http://cpanratings.perl.org/d/WWW-Shorten-Yourls
-
- Search CPAN
- http://search.cpan.org/dist/WWW-Shorten-Yourls/
-
-
-COPYRIGHT AND LICENCE
-
-Copyright (C) 2009 Pankaj Jain
-Copyright (C) 2009 Teknatus Solutions LLC
-
-This program is free software; you can redistribute it and/or modify it
-under the same terms as Perl itself.
-
Oops, something went wrong.

0 comments on commit ce2f321

Please sign in to comment.