فهرست منبع

More DZIL stuff

George S. Baugh 11 سال پیش
والد
کامیت
30139d5bf7
4فایلهای تغییر یافته به همراه64 افزوده شده و 25 حذف شده
  1. 6 0
      MANIFEST.SKIP
  2. 23 3
      dist.ini
  3. 5 22
      lib/TestRail/API.pm
  4. 30 0
      weaver.ini

+ 6 - 0
MANIFEST.SKIP

@@ -1 +1,7 @@
 dist/*
+MANIFEST.SKIP
+dist.ini
+README.md
+perlcriticrc
+.git/*
+.gitignore

+ 23 - 3
dist.ini

@@ -5,13 +5,33 @@ author = George Baugh <teodesian@cpan.org>
 license = Perl_5
 copyright_holder = George S. Baugh
 
-[@Basic]
+[MetaResources]
+bugtracker.web    = https://rt.cpan.org/Public/Dist/Display.html?Name=TestRail-API
+bugtracker.mailto = bug-TestRail-API@rt.cpan.org
+repository.url    = git://github.com/teodesian/TestRail-Perl.git
+repository.web    = https://github.com/teodesian/TestRail-Perl
+repository.type   = git
+homepage          = https://github.com/teodesian/TestRail-Perl
 
+[@Basic]
 
 [@TestingMania]
 critic_config = perlcriticrc
+[Test::PodSpelling]
 
 [PkgVersion]
-[PodVersion]
-
 [AutoPrereqs]
+[MetaProvides::Package]
+
+[PromptIfStale]
+module = Dist::Zilla
+check_all_plugins = 1
+
+[CheckMetaResources]
+[CheckPrereqsIndexed]
+[CheckChangesHasContent]
+
+[PodWeaver]
+[ContributorsFromGit]
+
+;[Signature]

+ 5 - 22
lib/TestRail/API.pm

@@ -1,8 +1,7 @@
-package TestRail::API;
-
-=head1 NAME
+# ABSTRACT: Provides an interface to TestRail's REST api via HTTP
+# PODNAME: TestRail::API
 
-TestRail::API - Provides an interface to TestRail's REST api via HTTP
+package TestRail::API;
 
 =head1 SYNOPSIS
 
@@ -85,7 +84,9 @@ sub new {
 =head1 GETTERS
 
 =head2 B<browser>
+
 =head2 B<apiurl>
+
 =head2 B<debug>
 
 Accessors for these parameters you pass into the constructor, in case you forget.
@@ -1451,24 +1452,6 @@ L<JSON::XS>
 
 L<http://docs.gurock.com/testrail-api2/start>
 
-=head1 REPOSITORY
-
-L<https://github.com/teodesian/TestRail-Perl>
-
-=head1 AUTHOR
-
-George Baugh <teodesian@cpan.org>
-
-=head1 CONTRIBUTORS
-
-Neil Bowers <neil@bowers.com> - Fixed minor distribution issues for 0.010
-
 =head1 SPECIAL THANKS
 
 Thanks to cPanel Inc, for graciously funding the creation of this module.
-
-=head1 COPYRIGHT AND LICENSE
-
-This software is copyright (c) 2014 by George S. Baugh.
-
-This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

+ 30 - 0
weaver.ini

@@ -0,0 +1,30 @@
+[@CorePrep]
+
+[-SingleEncoding]
+
+[Name]
+[Version]
+
+[Region  / prelude]
+
+[Generic / SYNOPSIS]
+[Generic / DESCRIPTION]
+[Generic / OVERVIEW]
+
+[Collect / ATTRIBUTES]
+command = attr
+
+[Collect / METHODS]
+command = method
+
+[Collect / FUNCTIONS]
+command = func
+
+[Leftovers]
+
+[Region  / postlude]
+
+[Authors]
+[Contributors]
+[SourceGitHub]
+[Legal]