[libhttp-throwable-perl] 03/06: Imported Upstream version 0.018
Jonas Smedegaard
js at moszumanska.debian.org
Sat Mar 1 22:49:31 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libhttp-throwable-perl.
commit 85dd3c789cec5eb6fe941d74cb3c06c8bef7c6ca
Merge: a94f718 2dff209
Author: Jonas Smedegaard <dr at jones.dk>
Date: Sat Mar 1 23:24:41 2014 +0100
Imported Upstream version 0.018
Changes | 79 +++---
LICENSE | 2 +-
MANIFEST | 4 +-
META.json | 291 +++++++++++++++------
META.yml | 222 +++++++++++-----
Makefile.PL | 117 +++++----
README | 2 +-
lib/HTTP/Throwable.pm | 19 +-
lib/HTTP/Throwable/Factory.pm | 12 +-
lib/HTTP/Throwable/Role/BoringText.pm | 9 +-
lib/HTTP/Throwable/Role/Generic.pm | 9 +-
lib/HTTP/Throwable/Role/NoBody.pm | 9 +-
lib/HTTP/Throwable/Role/Redirect.pm | 9 +-
lib/HTTP/Throwable/Role/Status/BadGateway.pm | 9 +-
lib/HTTP/Throwable/Role/Status/BadRequest.pm | 9 +-
lib/HTTP/Throwable/Role/Status/Conflict.pm | 9 +-
.../Throwable/Role/Status/ExpectationFailed.pm | 9 +-
lib/HTTP/Throwable/Role/Status/Forbidden.pm | 9 +-
lib/HTTP/Throwable/Role/Status/Found.pm | 9 +-
lib/HTTP/Throwable/Role/Status/GatewayTimeout.pm | 9 +-
lib/HTTP/Throwable/Role/Status/Gone.pm | 9 +-
.../Role/Status/HTTPVersionNotSupported.pm | 9 +-
lib/HTTP/Throwable/Role/Status/ImATeapot.pm | 9 +-
.../Throwable/Role/Status/InternalServerError.pm | 9 +-
lib/HTTP/Throwable/Role/Status/LengthRequired.pm | 9 +-
lib/HTTP/Throwable/Role/Status/MethodNotAllowed.pm | 13 +-
lib/HTTP/Throwable/Role/Status/MovedPermanently.pm | 9 +-
lib/HTTP/Throwable/Role/Status/MultipleChoices.pm | 9 +-
lib/HTTP/Throwable/Role/Status/NotAcceptable.pm | 9 +-
lib/HTTP/Throwable/Role/Status/NotFound.pm | 9 +-
lib/HTTP/Throwable/Role/Status/NotImplemented.pm | 9 +-
lib/HTTP/Throwable/Role/Status/NotModified.pm | 9 +-
.../Throwable/Role/Status/PreconditionFailed.pm | 9 +-
.../Role/Status/ProxyAuthenticationRequired.pm | 9 +-
.../Throwable/Role/Status/RequestEntityTooLarge.pm | 9 +-
lib/HTTP/Throwable/Role/Status/RequestTimeout.pm | 9 +-
.../Throwable/Role/Status/RequestURITooLong.pm | 9 +-
.../Role/Status/RequestedRangeNotSatisfiable.pm | 9 +-
lib/HTTP/Throwable/Role/Status/SeeOther.pm | 9 +-
.../Throwable/Role/Status/ServiceUnavailable.pm | 9 +-
.../Throwable/Role/Status/TemporaryRedirect.pm | 9 +-
lib/HTTP/Throwable/Role/Status/Unauthorized.pm | 9 +-
.../Throwable/Role/Status/UnsupportedMediaType.pm | 9 +-
lib/HTTP/Throwable/Role/Status/UseProxy.pm | 9 +-
lib/HTTP/Throwable/Role/TextBody.pm | 9 +-
t/000-report-versions-tiny.t | 95 +++++++
t/release-pod-syntax.t | 15 --
xt/release/changes_has_content.t | 41 +++
xt/release/pod-syntax.t | 7 +
49 files changed, 758 insertions(+), 476 deletions(-)
diff --cc Changes
index 0d2debf,d403c5c..ce652dc
--- a/Changes
+++ b/Changes
@@@ -1,59 -1,68 +1,66 @@@
Revision history for Perl extension HTTP::Throwable
-{{$NEXT}}
-
+ 0.018 2013-11-19 19:54:21 America/New_York
+ - removed use of deprecated enum syntax
+
+ 0.017 2013-09-17 09:04:45 Asia/Tokyo
+ - removed use of deprecated Class::MOP::load_class
+
0.016 2011-06-17 20:39:10 America/New_York
- - fix a test regex to work with DOS-style paths
+ - fix a test regex to work with DOS-style paths
0.015 2011-06-16 12:03:01 America/New_York
- - require Moose 1.23 to avoid bugs both various and sundry
+ - require Moose 1.23 to avoid bugs both various and sundry
0.014 2011-04-30 07:41:49 America/New_York
- - remove the use of // from a test, restoring perl 5.8 compatibility
+ - remove the use of // from a test, restoring perl 5.8 compatibility
0.013 2011-04-25 10:52:47 America/New_York
- - MooseX::StrictConstructor has changed API; track it
+ - MooseX::StrictConstructor has changed API; track it
0.011
- - fix Dist::Zilla configuration so that we get per-package $VERSION vars
+ - fix Dist::Zilla configuration so that we get per-package $VERSION
+ vars
0.010
- - NOT BACKWARD COMPATIBLE
- - significantly rewritten by rjbs, in terms of roles rather than subclasses
- - re-read the documentation!
- - HTTP::Throwable::Factory is now the piece intended most for end users
- - should be significantly easier to both use and extend
+ [NOT BACKWARD COMPATIBLE]
+ - significantly rewritten by rjbs, in terms of roles rather than
+ subclasses - re-read the documentation!
+ - HTTP::Throwable::Factory is now the piece intended most for end users
+ - should be significantly easier to both use and extend
0.005 Sat. Feb. 12, 2011
- - add proper support for RFC 2324 (thanks rjbs)
- - allowing more than one Proxy-Authenticate header
- (thanks to chansen for pointing this out, though he
- could have mentioned it before I released 0.004 :P)
+ - add proper support for RFC 2324 (thanks rjbs)
+ - allowing more than one Proxy-Authenticate header
+ (thanks to chansen for pointing this out, though he
+ could have mentioned it before I released 0.004 :P)
0.004 Sat. Feb. 12, 2011
- - allowing more than one WWW-Authenticate header
- (thanks to chansen for pointing this out)
+ - allowing more than one WWW-Authenticate header
+ (thanks to chansen for pointing this out)
0.003 Fri. Feb. 11, 2011
- - introspection for status code via is_redirect, is_client_error and
- is_server_error (Brian Cassidy)
+ - introspection for status code via is_redirect, is_client_error and
+ is_server_error (Brian Cassidy)
0.002 Tues. Feb. 8, 2011
- - normalize *_location attributes to all be
- called location, since that is the name of the
- header
- - any time we allow additional headers to be
- passed in, the attribute is now called
- additional_headers instead of whatever it was
- before (usually cache_headers)
- - change the valid_methods attribute in
- HTTP::Throwable::MethodNotAllowed to be just
- allow (which is what the header is)
- - improved the type check on this as well
- - make the exceptions also function as PSGI apps
- - add to_app method
- - support &{} overload
- - added tests for this
- - overload stringification
- - added tests for this
+ - normalize *_location attributes to all be
+ called location, since that is the name of the
+ header
+ - any time we allow additional headers to be
+ passed in, the attribute is now called
+ additional_headers instead of whatever it was
+ before (usually cache_headers)
+ - change the valid_methods attribute in
+ HTTP::Throwable::MethodNotAllowed to be just
+ allow (which is what the header is)
+ - improved the type check on this as well
+ - make the exceptions also function as PSGI apps
+ - add to_app method
+ - support &{} overload
+ - added tests for this
+ - overload stringification
+ - added tests for this
0.001 Tues. Feb. 8, 2011
- - first release
+ - first release
diff --cc LICENSE
index 186bf54,0000000..cde6736
mode 100644,000000..100644
--- a/LICENSE
+++ b/LICENSE
@@@ -1,379 -1,0 +1,379 @@@
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+Terms of the Perl programming language system itself
+
+a) the GNU General Public License as published by the Free
+ Software Foundation; either version 1, or (at your option) any
+ later version, or
+b) the "Artistic License"
+
+--- The GNU General Public License, Version 1, February 1989 ---
+
+This software is Copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software, licensed under:
+
+ The GNU General Public License, Version 1, February 1989
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 1, February 1989
+
+ Copyright (C) 1989 Free Software Foundation, Inc.
- 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
++ 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The license agreements of most software companies try to keep users
+at the mercy of those companies. By contrast, our General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. The
+General Public License applies to the Free Software Foundation's
+software and to any other program whose authors commit to using it.
+You can use it for your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Specifically, the General Public License is designed to make
+sure that you have the freedom to give away or sell copies of free
+software, that you receive source code or can get it if you want it,
+that you can change the software or use pieces of it in new free
+programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of a such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must tell them their rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any program or other work which
+contains a notice placed by the copyright holder saying it may be
+distributed under the terms of this General Public License. The
+"Program", below, refers to any such program or work, and a "work based
+on the Program" means either the Program or any work containing the
+Program or a portion of it, either verbatim or with modifications. Each
+licensee is addressed as "you".
+
+ 1. You may copy and distribute verbatim copies of the Program's source
+code as you receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice and
+disclaimer of warranty; keep intact all the notices that refer to this
+General Public License and to the absence of any warranty; and give any
+other recipients of the Program a copy of this General Public License
+along with the Program. You may charge a fee for the physical act of
+transferring a copy.
+
+ 2. You may modify your copy or copies of the Program or any portion of
+it, and copy and distribute such modifications under the terms of Paragraph
+1 above, provided that you also do the following:
+
+ a) cause the modified files to carry prominent notices stating that
+ you changed the files and the date of any change; and
+
+ b) cause the whole of any work that you distribute or publish, that
+ in whole or in part contains the Program or any part thereof, either
+ with or without modifications, to be licensed at no charge to all
+ third parties under the terms of this General Public License (except
+ that you may choose to grant warranty protection to some or all
+ third parties, at your option).
+
+ c) If the modified program normally reads commands interactively when
+ run, you must cause it, when started running for such interactive use
+ in the simplest and most usual way, to print or display an
+ announcement including an appropriate copyright notice and a notice
+ that there is no warranty (or else, saying that you provide a
+ warranty) and that users may redistribute the program under these
+ conditions, and telling the user how to view a copy of this General
+ Public License.
+
+ d) You may charge a fee for the physical act of transferring a
+ copy, and you may at your option offer warranty protection in
+ exchange for a fee.
+
+Mere aggregation of another independent work with the Program (or its
+derivative) on a volume of a storage or distribution medium does not bring
+the other work under the scope of these terms.
+
+ 3. You may copy and distribute the Program (or a portion or derivative of
+it, under Paragraph 2) in object code or executable form under the terms of
+Paragraphs 1 and 2 above provided that you also do one of the following:
+
+ a) accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ b) accompany it with a written offer, valid for at least three
+ years, to give any third party free (except for a nominal charge
+ for the cost of distribution) a complete machine-readable copy of the
+ corresponding source code, to be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ c) accompany it with the information you received as to where the
+ corresponding source code may be obtained. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form alone.)
+
+Source code for a work means the preferred form of the work for making
+modifications to it. For an executable file, complete source code means
+all the source code for all modules it contains; but, as a special
+exception, it need not include source code for modules which are standard
+libraries that accompany the operating system on which the executable
+file runs, or for standard header files or definitions files that
+accompany that operating system.
+
+ 4. You may not copy, modify, sublicense, distribute or transfer the
+Program except as expressly provided under this General Public License.
+Any attempt otherwise to copy, modify, sublicense, distribute or transfer
+the Program is void, and will automatically terminate your rights to use
+the Program under this License. However, parties who have received
+copies, or rights to use copies, from you under this General Public
+License will not have their licenses terminated so long as such parties
+remain in full compliance.
+
+ 5. By copying, distributing or modifying the Program (or any work based
+on the Program) you indicate your acceptance of this license to do so,
+and all its terms and conditions.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the original
+licensor to copy, distribute or modify the Program subject to these
+terms and conditions. You may not impose any further restrictions on the
+recipients' exercise of the rights granted herein.
+
+ 7. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of the license which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+the license, you may choose any version ever published by the Free Software
+Foundation.
+
+ 8. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ Appendix: How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to humanity, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these
+terms.
+
+ To do so, attach the following notices to the program. It is safest to
+attach them to the start of each source file to most effectively convey
+the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) 19yy <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) 19xx name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the
+appropriate parts of the General Public License. Of course, the
+commands you use may be called something other than `show w' and `show
+c'; they could even be mouse-clicks or menu items--whatever suits your
+program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ program `Gnomovision' (a program to direct compilers to make passes
+ at assemblers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+That's all there is to it!
+
+
+--- The Artistic License 1.0 ---
+
+This software is Copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software, licensed under:
+
+ The Artistic License 1.0
+
+The Artistic License
+
+Preamble
+
+The intent of this document is to state the conditions under which a Package
+may be copied, such that the Copyright Holder maintains some semblance of
+artistic control over the development of the package, while giving the users of
+the package the right to use and distribute the Package in a more-or-less
+customary fashion, plus the right to make reasonable modifications.
+
+Definitions:
+
+ - "Package" refers to the collection of files distributed by the Copyright
+ Holder, and derivatives of that collection of files created through
+ textual modification.
+ - "Standard Version" refers to such a Package if it has not been modified,
+ or has been modified in accordance with the wishes of the Copyright
+ Holder.
+ - "Copyright Holder" is whoever is named in the copyright or copyrights for
+ the package.
+ - "You" is you, if you're thinking about copying or distributing this Package.
+ - "Reasonable copying fee" is whatever you can justify on the basis of media
+ cost, duplication charges, time of people involved, and so on. (You will
+ not be required to justify it to the Copyright Holder, but only to the
+ computing community at large as a market that must bear the fee.)
+ - "Freely Available" means that no fee is charged for the item itself, though
+ there may be fees involved in handling the item. It also means that
+ recipients of the item may redistribute it under the same conditions they
+ received it.
+
+1. You may make and give away verbatim copies of the source form of the
+Standard Version of this Package without restriction, provided that you
+duplicate all of the original copyright notices and associated disclaimers.
+
+2. You may apply bug fixes, portability fixes and other modifications derived
+from the Public Domain or from the Copyright Holder. A Package modified in such
+a way shall still be considered the Standard Version.
+
+3. You may otherwise modify your copy of this Package in any way, provided that
+you insert a prominent notice in each changed file stating how and when you
+changed that file, and provided that you do at least ONE of the following:
+
+ a) place your modifications in the Public Domain or otherwise make them
+ Freely Available, such as by posting said modifications to Usenet or an
+ equivalent medium, or placing the modifications on a major archive site
+ such as ftp.uu.net, or by allowing the Copyright Holder to include your
+ modifications in the Standard Version of the Package.
+
+ b) use the modified Package only within your corporation or organization.
+
+ c) rename any non-standard executables so the names do not conflict with
+ standard executables, which must also be provided, and provide a separate
+ manual page for each non-standard executable that clearly documents how it
+ differs from the Standard Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+4. You may distribute the programs of this Package in object code or executable
+form, provided that you do at least ONE of the following:
+
+ a) distribute a Standard Version of the executables and library files,
+ together with instructions (in the manual page or equivalent) on where to
+ get the Standard Version.
+
+ b) accompany the distribution with the machine-readable source of the Package
+ with your modifications.
+
+ c) accompany any non-standard executables with their corresponding Standard
+ Version executables, giving the non-standard executables non-standard
+ names, and clearly documenting the differences in manual pages (or
+ equivalent), together with instructions on where to get the Standard
+ Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+5. You may charge a reasonable copying fee for any distribution of this
+Package. You may charge any fee you choose for support of this Package. You
+may not charge a fee for this Package itself. However, you may distribute this
+Package in aggregate with other (possibly commercial) programs as part of a
+larger (possibly commercial) software distribution provided that you do not
+advertise this Package as a product of your own.
+
+6. The scripts and library files supplied as input to or produced as output
+from the programs of this Package do not automatically fall under the copyright
+of this Package, but belong to whomever generated them, and may be sold
+commercially, and may be aggregated with this Package.
+
+7. C or perl subroutines supplied by you and linked into this Package shall not
+be considered part of this Package.
+
+8. The name of the Copyright Holder may not be used to endorse or promote
+products derived from this software without specific prior written permission.
+
+9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+The End
+
diff --cc MANIFEST
index bf41507,0000000..6356fbd
mode 100644,000000..100644
--- a/MANIFEST
+++ b/MANIFEST
@@@ -1,55 -1,0 +1,57 @@@
+Changes
+LICENSE
+MANIFEST
+META.json
+META.yml
+Makefile.PL
+README
+README.md
+dist.ini
+lib/HTTP/Throwable.pm
+lib/HTTP/Throwable/Factory.pm
+lib/HTTP/Throwable/Role/BoringText.pm
+lib/HTTP/Throwable/Role/Generic.pm
+lib/HTTP/Throwable/Role/NoBody.pm
+lib/HTTP/Throwable/Role/Redirect.pm
+lib/HTTP/Throwable/Role/Status/BadGateway.pm
+lib/HTTP/Throwable/Role/Status/BadRequest.pm
+lib/HTTP/Throwable/Role/Status/Conflict.pm
+lib/HTTP/Throwable/Role/Status/ExpectationFailed.pm
+lib/HTTP/Throwable/Role/Status/Forbidden.pm
+lib/HTTP/Throwable/Role/Status/Found.pm
+lib/HTTP/Throwable/Role/Status/GatewayTimeout.pm
+lib/HTTP/Throwable/Role/Status/Gone.pm
+lib/HTTP/Throwable/Role/Status/HTTPVersionNotSupported.pm
+lib/HTTP/Throwable/Role/Status/ImATeapot.pm
+lib/HTTP/Throwable/Role/Status/InternalServerError.pm
+lib/HTTP/Throwable/Role/Status/LengthRequired.pm
+lib/HTTP/Throwable/Role/Status/MethodNotAllowed.pm
+lib/HTTP/Throwable/Role/Status/MovedPermanently.pm
+lib/HTTP/Throwable/Role/Status/MultipleChoices.pm
+lib/HTTP/Throwable/Role/Status/NotAcceptable.pm
+lib/HTTP/Throwable/Role/Status/NotFound.pm
+lib/HTTP/Throwable/Role/Status/NotImplemented.pm
+lib/HTTP/Throwable/Role/Status/NotModified.pm
+lib/HTTP/Throwable/Role/Status/PreconditionFailed.pm
+lib/HTTP/Throwable/Role/Status/ProxyAuthenticationRequired.pm
+lib/HTTP/Throwable/Role/Status/RequestEntityTooLarge.pm
+lib/HTTP/Throwable/Role/Status/RequestTimeout.pm
+lib/HTTP/Throwable/Role/Status/RequestURITooLong.pm
+lib/HTTP/Throwable/Role/Status/RequestedRangeNotSatisfiable.pm
+lib/HTTP/Throwable/Role/Status/SeeOther.pm
+lib/HTTP/Throwable/Role/Status/ServiceUnavailable.pm
+lib/HTTP/Throwable/Role/Status/TemporaryRedirect.pm
+lib/HTTP/Throwable/Role/Status/Unauthorized.pm
+lib/HTTP/Throwable/Role/Status/UnsupportedMediaType.pm
+lib/HTTP/Throwable/Role/Status/UseProxy.pm
+lib/HTTP/Throwable/Role/TextBody.pm
+t/000-load.t
++t/000-report-versions-tiny.t
+t/001-basic.t
+t/002-to-app.t
+t/300-all.t
+t/400-all.t
+t/500-all.t
+t/lib/Test/HT.pm
- t/release-pod-syntax.t
++xt/release/changes_has_content.t
++xt/release/pod-syntax.t
diff --cc META.json
index d7f8d3e,0000000..7f4b8c5
mode 100644,000000..100644
--- a/META.json
+++ b/META.json
@@@ -1,301 -1,0 +1,428 @@@
+{
+ "abstract" : "a set of strongly-typed, PSGI-friendly HTTP 1.1 exception libraries",
+ "author" : [
+ "Stevan Little <stevan.little at iinteractive.com>",
+ "Ricardo Signes <rjbs at cpan.org>"
+ ],
+ "dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.200007, CPAN::Meta::Converter version 2.110440",
++ "generated_by" : "Dist::Zilla version 5.006, CPAN::Meta::Converter version 2.132830",
+ "license" : [
+ "perl_5"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "HTTP-Throwable",
+ "prereqs" : {
+ "configure" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "6.30"
+ }
+ },
++ "develop" : {
++ "requires" : {
++ "Test::Pod" : "1.41",
++ "version" : "0.9901"
++ }
++ },
+ "runtime" : {
+ "requires" : {
- "List::AllUtils" : 0,
++ "List::AllUtils" : "0",
++ "Module::Runtime" : "0",
+ "Moose" : "1.23",
- "Moose::Role" : 0,
- "Moose::Util::TypeConstraints" : 0,
++ "Moose::Role" : "0",
++ "Moose::Util::TypeConstraints" : "0",
+ "MooseX::Role::WithOverloading" : "0.09",
+ "MooseX::StrictConstructor" : "0.12",
+ "Plack" : "0.9967",
- "Plack::Util" : 0,
- "StackTrace::Auto" : 0,
- "Sub::Exporter" : 0,
- "Sub::Exporter::Util" : 0,
++ "Plack::Util" : "0",
++ "StackTrace::Auto" : "0",
++ "Sub::Exporter" : "0",
++ "Sub::Exporter::Util" : "0",
+ "Throwable" : "0.102080",
- "overload" : 0
++ "overload" : "0"
+ }
+ },
+ "test" : {
+ "requires" : {
- "HTTP::Request::Common" : 0,
- "Plack::Builder" : 0,
- "Plack::Test" : 0,
- "Scalar::Util" : 0,
- "Test::Deep" : 0,
++ "HTTP::Request::Common" : "0",
++ "Plack::Builder" : "0",
++ "Plack::Test" : "0",
++ "Scalar::Util" : "0",
++ "Test::Deep" : "0",
+ "Test::Fatal" : "0.003",
- "Test::Moose" : 0,
- "Test::More" : "0.96"
++ "Test::Moose" : "0",
++ "Test::More" : "0.96",
++ "base" : "0",
++ "strict" : "0",
++ "warnings" : "0"
+ }
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
- "homepage" : "http://github.com/rjbs/HTTP-Throwable",
++ "bugtracker" : {
++ "web" : "https://github.com/rjbs/HTTP-Throwable/issues"
++ },
++ "homepage" : "https://github.com/rjbs/HTTP-Throwable",
+ "repository" : {
+ "type" : "git",
- "url" : "http://github.com/rjbs/HTTP-Throwable",
- "web" : "http://github.com/rjbs/HTTP-Throwable"
++ "url" : "https://github.com/rjbs/HTTP-Throwable.git",
++ "web" : "https://github.com/rjbs/HTTP-Throwable"
+ }
+ },
- "version" : "0.016",
++ "version" : "0.018",
+ "x_Dist_Zilla" : {
++ "perl" : {
++ "version" : "5.018001"
++ },
+ "plugins" : [
+ {
++ "class" : "Dist::Zilla::Plugin::Git::GatherDir",
++ "name" : "@RJBS/Git::GatherDir",
++ "version" : "2.017"
++ },
++ {
+ "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
+ "name" : "@RJBS/CheckPrereqsIndexed",
- "version" : "0.003"
++ "version" : "0.009"
+ },
+ {
- "class" : "Dist::Zilla::Plugin::GatherDir",
- "name" : "@RJBS/@Basic/GatherDir",
- "version" : "4.200007"
++ "class" : "Dist::Zilla::Plugin::CheckExtraTests",
++ "name" : "@RJBS/CheckExtraTests",
++ "version" : "0.016"
++ },
++ {
++ "class" : "Dist::Zilla::Plugin::PromptIfStale",
++ "name" : "@RJBS/RJBS-Outdated",
++ "version" : "0.013"
++ },
++ {
++ "class" : "Dist::Zilla::Plugin::PromptIfStale",
++ "name" : "@RJBS/CPAN-Outdated",
++ "version" : "0.013"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PruneCruft",
- "name" : "@RJBS/@Basic/PruneCruft",
- "version" : "4.200007"
++ "name" : "@RJBS/@Filter/PruneCruft",
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::ManifestSkip",
- "name" : "@RJBS/@Basic/ManifestSkip",
- "version" : "4.200007"
++ "name" : "@RJBS/@Filter/ManifestSkip",
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MetaYAML",
- "name" : "@RJBS/@Basic/MetaYAML",
- "version" : "4.200007"
++ "name" : "@RJBS/@Filter/MetaYAML",
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::License",
- "name" : "@RJBS/@Basic/License",
- "version" : "4.200007"
++ "name" : "@RJBS/@Filter/License",
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Readme",
- "name" : "@RJBS/@Basic/Readme",
- "version" : "4.200007"
- },
- {
- "class" : "Dist::Zilla::Plugin::ExtraTests",
- "name" : "@RJBS/@Basic/ExtraTests",
- "version" : "4.200007"
++ "name" : "@RJBS/@Filter/Readme",
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::ExecDir",
- "name" : "@RJBS/@Basic/ExecDir",
- "version" : "4.200007"
++ "name" : "@RJBS/@Filter/ExecDir",
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::ShareDir",
- "name" : "@RJBS/@Basic/ShareDir",
- "version" : "4.200007"
++ "name" : "@RJBS/@Filter/ShareDir",
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MakeMaker",
- "name" : "@RJBS/@Basic/MakeMaker",
- "version" : "4.200007"
++ "name" : "@RJBS/@Filter/MakeMaker",
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Manifest",
- "name" : "@RJBS/@Basic/Manifest",
- "version" : "4.200007"
++ "name" : "@RJBS/@Filter/Manifest",
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::TestRelease",
- "name" : "@RJBS/@Basic/TestRelease",
- "version" : "4.200007"
++ "name" : "@RJBS/@Filter/TestRelease",
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::ConfirmRelease",
- "name" : "@RJBS/@Basic/ConfirmRelease",
- "version" : "4.200007"
++ "name" : "@RJBS/@Filter/ConfirmRelease",
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::UploadToCPAN",
- "name" : "@RJBS/@Basic/UploadToCPAN",
- "version" : "4.200007"
++ "name" : "@RJBS/@Filter/UploadToCPAN",
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::AutoPrereqs",
+ "name" : "@RJBS/AutoPrereqs",
- "version" : "4.200007"
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::NextVersion",
+ "name" : "@RJBS/Git::NextVersion",
- "version" : "1.111590"
++ "version" : "2.017"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PkgVersion",
+ "name" : "@RJBS/PkgVersion",
- "version" : "4.200007"
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MetaConfig",
+ "name" : "@RJBS/MetaConfig",
- "version" : "4.200007"
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MetaJSON",
+ "name" : "@RJBS/MetaJSON",
- "version" : "4.200007"
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::NextRelease",
+ "name" : "@RJBS/NextRelease",
- "version" : "4.200007"
++ "version" : "5.006"
++ },
++ {
++ "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
++ "name" : "@RJBS/Test::ChangesHasContent",
++ "version" : "0.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PodSyntaxTests",
+ "name" : "@RJBS/PodSyntaxTests",
- "version" : "4.200007"
++ "version" : "5.006"
+ },
+ {
- "class" : "Dist::Zilla::Plugin::Repository",
- "name" : "@RJBS/Repository",
- "version" : "0.18"
++ "class" : "Dist::Zilla::Plugin::ReportVersions::Tiny",
++ "name" : "@RJBS/ReportVersions::Tiny",
++ "version" : "1.10"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Prereqs",
+ "config" : {
+ "Dist::Zilla::Plugin::Prereqs" : {
+ "phase" : "test",
+ "type" : "requires"
+ }
+ },
+ "name" : "@RJBS/TestMoreWithSubtests",
- "version" : "4.200007"
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PodWeaver",
++ "config" : {
++ "Dist::Zilla::Plugin::PodWeaver" : {
++ "config_plugin" : "@RJBS",
++ "finder" : [
++ ":InstallModules",
++ ":ExecFiles"
++ ],
++ "plugins" : [
++ {
++ "class" : "Pod::Weaver::Plugin::EnsurePod5",
++ "name" : "@CorePrep/EnsurePod5",
++ "version" : "4.004"
++ },
++ {
++ "class" : "Pod::Weaver::Plugin::H1Nester",
++ "name" : "@CorePrep/H1Nester",
++ "version" : "4.004"
++ },
++ {
++ "class" : "Pod::Weaver::Section::Name",
++ "name" : "@RJBS/Name",
++ "version" : "4.004"
++ },
++ {
++ "class" : "Pod::Weaver::Section::Version",
++ "name" : "@RJBS/Version",
++ "version" : "4.004"
++ },
++ {
++ "class" : "Pod::Weaver::Section::Region",
++ "name" : "@RJBS/Prelude",
++ "version" : "4.004"
++ },
++ {
++ "class" : "Pod::Weaver::Section::Generic",
++ "name" : "@RJBS/Synopsis",
++ "version" : "4.004"
++ },
++ {
++ "class" : "Pod::Weaver::Section::Generic",
++ "name" : "@RJBS/Description",
++ "version" : "4.004"
++ },
++ {
++ "class" : "Pod::Weaver::Section::Generic",
++ "name" : "@RJBS/Overview",
++ "version" : "4.004"
++ },
++ {
++ "class" : "Pod::Weaver::Section::Generic",
++ "name" : "@RJBS/Stability",
++ "version" : "4.004"
++ },
++ {
++ "class" : "Pod::Weaver::Section::Collect",
++ "name" : "Attributes",
++ "version" : "4.004"
++ },
++ {
++ "class" : "Pod::Weaver::Section::Collect",
++ "name" : "Methods",
++ "version" : "4.004"
++ },
++ {
++ "class" : "Pod::Weaver::Section::Collect",
++ "name" : "Functions",
++ "version" : "4.004"
++ },
++ {
++ "class" : "Pod::Weaver::Section::Leftovers",
++ "name" : "@RJBS/Leftovers",
++ "version" : "4.004"
++ },
++ {
++ "class" : "Pod::Weaver::Section::Region",
++ "name" : "@RJBS/postlude",
++ "version" : "4.004"
++ },
++ {
++ "class" : "Pod::Weaver::Section::Authors",
++ "name" : "@RJBS/Authors",
++ "version" : "4.004"
++ },
++ {
++ "class" : "Pod::Weaver::Section::Legal",
++ "name" : "@RJBS/Legal",
++ "version" : "4.004"
++ },
++ {
++ "class" : "Pod::Weaver::Plugin::Transformer",
++ "name" : "@RJBS/List",
++ "version" : "4.004"
++ }
++ ]
++ }
++ },
+ "name" : "@RJBS/PodWeaver",
- "version" : "3.101641"
++ "version" : "4.002"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::GithubMeta",
+ "name" : "@RJBS/GithubMeta",
- "version" : "0.12"
++ "version" : "0.42"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Check",
+ "name" : "@RJBS/@Git/Check",
- "version" : "1.111590"
++ "version" : "2.017"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Commit",
+ "name" : "@RJBS/@Git/Commit",
- "version" : "1.111590"
++ "version" : "2.017"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Tag",
+ "name" : "@RJBS/@Git/Tag",
- "version" : "1.111590"
++ "version" : "2.017"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Push",
+ "name" : "@RJBS/@Git/Push",
- "version" : "1.111590"
++ "version" : "2.017"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Authority",
+ "name" : "Authority",
- "version" : "1.005"
++ "version" : "1.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Prereqs",
+ "config" : {
+ "Dist::Zilla::Plugin::Prereqs" : {
+ "phase" : "runtime",
+ "type" : "requires"
+ }
+ },
+ "name" : "Prereqs",
- "version" : "4.200007"
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Prereqs",
+ "config" : {
+ "Dist::Zilla::Plugin::Prereqs" : {
+ "phase" : "test",
+ "type" : "requires"
+ }
+ },
+ "name" : "TestRequires",
- "version" : "4.200007"
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::RemovePrereqs",
+ "config" : {
+ "Dist::Zilla::Plugin::RemovePrereqs" : {
+ "modules_to_remove" : [
+ "t::lib::Test::HT"
+ ]
+ }
+ },
+ "name" : "RemovePrereqs",
- "version" : "4.200007"
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":InstallModules",
- "version" : "4.200007"
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":IncModules",
- "version" : "4.200007"
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":TestFiles",
- "version" : "4.200007"
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":ExecFiles",
- "version" : "4.200007"
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":ShareFiles",
- "version" : "4.200007"
++ "version" : "5.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":MainModule",
- "version" : "4.200007"
++ "version" : "5.006"
+ }
+ ],
+ "zilla" : {
+ "class" : "Dist::Zilla::Dist::Builder",
+ "config" : {
- "is_trial" : 0
++ "is_trial" : "0"
+ },
- "version" : "4.200007"
++ "version" : "5.006"
+ }
+ },
+ "x_authority" : "cpan:STEVAN"
+}
+
diff --cc META.yml
index 3e9ecc0,0000000..8cafe24
mode 100644,000000..100644
--- a/META.yml
+++ b/META.yml
@@@ -1,225 -1,0 +1,319 @@@
+---
+abstract: 'a set of strongly-typed, PSGI-friendly HTTP 1.1 exception libraries'
+author:
+ - 'Stevan Little <stevan.little at iinteractive.com>'
+ - 'Ricardo Signes <rjbs at cpan.org>'
+build_requires:
+ HTTP::Request::Common: 0
+ Plack::Builder: 0
+ Plack::Test: 0
+ Scalar::Util: 0
+ Test::Deep: 0
+ Test::Fatal: 0.003
+ Test::Moose: 0
+ Test::More: 0.96
++ base: 0
++ strict: 0
++ warnings: 0
+configure_requires:
+ ExtUtils::MakeMaker: 6.30
+dynamic_config: 0
- generated_by: 'Dist::Zilla version 4.200007, CPAN::Meta::Converter version 2.110440'
++generated_by: 'Dist::Zilla version 5.006, CPAN::Meta::Converter version 2.132830'
+license: perl
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: HTTP-Throwable
+requires:
+ List::AllUtils: 0
++ Module::Runtime: 0
+ Moose: 1.23
+ Moose::Role: 0
+ Moose::Util::TypeConstraints: 0
+ MooseX::Role::WithOverloading: 0.09
+ MooseX::StrictConstructor: 0.12
+ Plack: 0.9967
+ Plack::Util: 0
+ StackTrace::Auto: 0
+ Sub::Exporter: 0
+ Sub::Exporter::Util: 0
+ Throwable: 0.102080
+ overload: 0
+resources:
- homepage: http://github.com/rjbs/HTTP-Throwable
- repository: http://github.com/rjbs/HTTP-Throwable
- version: 0.016
++ bugtracker: https://github.com/rjbs/HTTP-Throwable/issues
++ homepage: https://github.com/rjbs/HTTP-Throwable
++ repository: https://github.com/rjbs/HTTP-Throwable.git
++version: 0.018
+x_Dist_Zilla:
++ perl:
++ version: 5.018001
+ plugins:
+ -
++ class: Dist::Zilla::Plugin::Git::GatherDir
++ name: '@RJBS/Git::GatherDir'
++ version: 2.017
++ -
+ class: Dist::Zilla::Plugin::CheckPrereqsIndexed
+ name: '@RJBS/CheckPrereqsIndexed'
- version: 0.003
++ version: 0.009
++ -
++ class: Dist::Zilla::Plugin::CheckExtraTests
++ name: '@RJBS/CheckExtraTests'
++ version: 0.016
++ -
++ class: Dist::Zilla::Plugin::PromptIfStale
++ name: '@RJBS/RJBS-Outdated'
++ version: 0.013
+ -
- class: Dist::Zilla::Plugin::GatherDir
- name: '@RJBS/@Basic/GatherDir'
- version: 4.200007
++ class: Dist::Zilla::Plugin::PromptIfStale
++ name: '@RJBS/CPAN-Outdated'
++ version: 0.013
+ -
+ class: Dist::Zilla::Plugin::PruneCruft
- name: '@RJBS/@Basic/PruneCruft'
- version: 4.200007
++ name: '@RJBS/@Filter/PruneCruft'
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::ManifestSkip
- name: '@RJBS/@Basic/ManifestSkip'
- version: 4.200007
++ name: '@RJBS/@Filter/ManifestSkip'
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::MetaYAML
- name: '@RJBS/@Basic/MetaYAML'
- version: 4.200007
++ name: '@RJBS/@Filter/MetaYAML'
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::License
- name: '@RJBS/@Basic/License'
- version: 4.200007
++ name: '@RJBS/@Filter/License'
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::Readme
- name: '@RJBS/@Basic/Readme'
- version: 4.200007
- -
- class: Dist::Zilla::Plugin::ExtraTests
- name: '@RJBS/@Basic/ExtraTests'
- version: 4.200007
++ name: '@RJBS/@Filter/Readme'
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::ExecDir
- name: '@RJBS/@Basic/ExecDir'
- version: 4.200007
++ name: '@RJBS/@Filter/ExecDir'
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::ShareDir
- name: '@RJBS/@Basic/ShareDir'
- version: 4.200007
++ name: '@RJBS/@Filter/ShareDir'
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::MakeMaker
- name: '@RJBS/@Basic/MakeMaker'
- version: 4.200007
++ name: '@RJBS/@Filter/MakeMaker'
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::Manifest
- name: '@RJBS/@Basic/Manifest'
- version: 4.200007
++ name: '@RJBS/@Filter/Manifest'
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::TestRelease
- name: '@RJBS/@Basic/TestRelease'
- version: 4.200007
++ name: '@RJBS/@Filter/TestRelease'
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::ConfirmRelease
- name: '@RJBS/@Basic/ConfirmRelease'
- version: 4.200007
++ name: '@RJBS/@Filter/ConfirmRelease'
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::UploadToCPAN
- name: '@RJBS/@Basic/UploadToCPAN'
- version: 4.200007
++ name: '@RJBS/@Filter/UploadToCPAN'
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::AutoPrereqs
+ name: '@RJBS/AutoPrereqs'
- version: 4.200007
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::Git::NextVersion
+ name: '@RJBS/Git::NextVersion'
- version: 1.111590
++ version: 2.017
+ -
+ class: Dist::Zilla::Plugin::PkgVersion
+ name: '@RJBS/PkgVersion'
- version: 4.200007
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::MetaConfig
+ name: '@RJBS/MetaConfig'
- version: 4.200007
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::MetaJSON
+ name: '@RJBS/MetaJSON'
- version: 4.200007
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::NextRelease
+ name: '@RJBS/NextRelease'
- version: 4.200007
++ version: 5.006
++ -
++ class: Dist::Zilla::Plugin::Test::ChangesHasContent
++ name: '@RJBS/Test::ChangesHasContent'
++ version: 0.006
+ -
+ class: Dist::Zilla::Plugin::PodSyntaxTests
+ name: '@RJBS/PodSyntaxTests'
- version: 4.200007
++ version: 5.006
+ -
- class: Dist::Zilla::Plugin::Repository
- name: '@RJBS/Repository'
- version: 0.18
++ class: Dist::Zilla::Plugin::ReportVersions::Tiny
++ name: '@RJBS/ReportVersions::Tiny'
++ version: 1.10
+ -
+ class: Dist::Zilla::Plugin::Prereqs
+ config:
+ Dist::Zilla::Plugin::Prereqs:
+ phase: test
+ type: requires
+ name: '@RJBS/TestMoreWithSubtests'
- version: 4.200007
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::PodWeaver
++ config:
++ Dist::Zilla::Plugin::PodWeaver:
++ config_plugin: '@RJBS'
++ finder:
++ - ':InstallModules'
++ - ':ExecFiles'
++ plugins:
++ -
++ class: Pod::Weaver::Plugin::EnsurePod5
++ name: '@CorePrep/EnsurePod5'
++ version: 4.004
++ -
++ class: Pod::Weaver::Plugin::H1Nester
++ name: '@CorePrep/H1Nester'
++ version: 4.004
++ -
++ class: Pod::Weaver::Section::Name
++ name: '@RJBS/Name'
++ version: 4.004
++ -
++ class: Pod::Weaver::Section::Version
++ name: '@RJBS/Version'
++ version: 4.004
++ -
++ class: Pod::Weaver::Section::Region
++ name: '@RJBS/Prelude'
++ version: 4.004
++ -
++ class: Pod::Weaver::Section::Generic
++ name: '@RJBS/Synopsis'
++ version: 4.004
++ -
++ class: Pod::Weaver::Section::Generic
++ name: '@RJBS/Description'
++ version: 4.004
++ -
++ class: Pod::Weaver::Section::Generic
++ name: '@RJBS/Overview'
++ version: 4.004
++ -
++ class: Pod::Weaver::Section::Generic
++ name: '@RJBS/Stability'
++ version: 4.004
++ -
++ class: Pod::Weaver::Section::Collect
++ name: Attributes
++ version: 4.004
++ -
++ class: Pod::Weaver::Section::Collect
++ name: Methods
++ version: 4.004
++ -
++ class: Pod::Weaver::Section::Collect
++ name: Functions
++ version: 4.004
++ -
++ class: Pod::Weaver::Section::Leftovers
++ name: '@RJBS/Leftovers'
++ version: 4.004
++ -
++ class: Pod::Weaver::Section::Region
++ name: '@RJBS/postlude'
++ version: 4.004
++ -
++ class: Pod::Weaver::Section::Authors
++ name: '@RJBS/Authors'
++ version: 4.004
++ -
++ class: Pod::Weaver::Section::Legal
++ name: '@RJBS/Legal'
++ version: 4.004
++ -
++ class: Pod::Weaver::Plugin::Transformer
++ name: '@RJBS/List'
++ version: 4.004
+ name: '@RJBS/PodWeaver'
- version: 3.101641
++ version: 4.002
+ -
+ class: Dist::Zilla::Plugin::GithubMeta
+ name: '@RJBS/GithubMeta'
- version: 0.12
++ version: 0.42
+ -
+ class: Dist::Zilla::Plugin::Git::Check
+ name: '@RJBS/@Git/Check'
- version: 1.111590
++ version: 2.017
+ -
+ class: Dist::Zilla::Plugin::Git::Commit
+ name: '@RJBS/@Git/Commit'
- version: 1.111590
++ version: 2.017
+ -
+ class: Dist::Zilla::Plugin::Git::Tag
+ name: '@RJBS/@Git/Tag'
- version: 1.111590
++ version: 2.017
+ -
+ class: Dist::Zilla::Plugin::Git::Push
+ name: '@RJBS/@Git/Push'
- version: 1.111590
++ version: 2.017
+ -
+ class: Dist::Zilla::Plugin::Authority
+ name: Authority
- version: 1.005
++ version: 1.006
+ -
+ class: Dist::Zilla::Plugin::Prereqs
+ config:
+ Dist::Zilla::Plugin::Prereqs:
+ phase: runtime
+ type: requires
+ name: Prereqs
- version: 4.200007
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::Prereqs
+ config:
+ Dist::Zilla::Plugin::Prereqs:
+ phase: test
+ type: requires
+ name: TestRequires
- version: 4.200007
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::RemovePrereqs
+ config:
+ Dist::Zilla::Plugin::RemovePrereqs:
+ modules_to_remove:
+ - t::lib::Test::HT
+ name: RemovePrereqs
- version: 4.200007
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':InstallModules'
- version: 4.200007
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':IncModules'
- version: 4.200007
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':TestFiles'
- version: 4.200007
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':ExecFiles'
- version: 4.200007
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':ShareFiles'
- version: 4.200007
++ version: 5.006
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':MainModule'
- version: 4.200007
++ version: 5.006
+ zilla:
+ class: Dist::Zilla::Dist::Builder
+ config:
+ is_trial: 0
- version: 4.200007
++ version: 5.006
+x_authority: cpan:STEVAN
diff --cc Makefile.PL
index 0453cb1,0000000..ba05bb7
mode 100644,000000..100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@@ -1,72 -1,0 +1,99 @@@
+
+use strict;
+use warnings;
+
+
+
+use ExtUtils::MakeMaker 6.30;
+
+
+
+my %WriteMakefileArgs = (
- 'ABSTRACT' => 'a set of strongly-typed, PSGI-friendly HTTP 1.1 exception libraries',
- 'AUTHOR' => 'Stevan Little <stevan.little at iinteractive.com>, Ricardo Signes <rjbs at cpan.org>',
- 'BUILD_REQUIRES' => {
- 'HTTP::Request::Common' => '0',
- 'Plack::Builder' => '0',
- 'Plack::Test' => '0',
- 'Scalar::Util' => '0',
- 'Test::Deep' => '0',
- 'Test::Fatal' => '0.003',
- 'Test::Moose' => '0',
- 'Test::More' => '0.96'
++ "ABSTRACT" => "a set of strongly-typed, PSGI-friendly HTTP 1.1 exception libraries",
++ "AUTHOR" => "Stevan Little <stevan.little\@iinteractive.com>, Ricardo Signes <rjbs\@cpan.org>",
++ "BUILD_REQUIRES" => {},
++ "CONFIGURE_REQUIRES" => {
++ "ExtUtils::MakeMaker" => "6.30"
+ },
- 'CONFIGURE_REQUIRES' => {
- 'ExtUtils::MakeMaker' => '6.30'
++ "DISTNAME" => "HTTP-Throwable",
++ "EXE_FILES" => [],
++ "LICENSE" => "perl",
++ "NAME" => "HTTP::Throwable",
++ "PREREQ_PM" => {
++ "List::AllUtils" => 0,
++ "Module::Runtime" => 0,
++ "Moose" => "1.23",
++ "Moose::Role" => 0,
++ "Moose::Util::TypeConstraints" => 0,
++ "MooseX::Role::WithOverloading" => "0.09",
++ "MooseX::StrictConstructor" => "0.12",
++ "Plack" => "0.9967",
++ "Plack::Util" => 0,
++ "StackTrace::Auto" => 0,
++ "Sub::Exporter" => 0,
++ "Sub::Exporter::Util" => 0,
++ "Throwable" => "0.102080",
++ "overload" => 0
+ },
- 'DISTNAME' => 'HTTP-Throwable',
- 'EXE_FILES' => [],
- 'LICENSE' => 'perl',
- 'NAME' => 'HTTP::Throwable',
- 'PREREQ_PM' => {
- 'List::AllUtils' => '0',
- 'Moose' => '1.23',
- 'Moose::Role' => '0',
- 'Moose::Util::TypeConstraints' => '0',
- 'MooseX::Role::WithOverloading' => '0.09',
- 'MooseX::StrictConstructor' => '0.12',
- 'Plack' => '0.9967',
- 'Plack::Util' => '0',
- 'StackTrace::Auto' => '0',
- 'Sub::Exporter' => '0',
- 'Sub::Exporter::Util' => '0',
- 'Throwable' => '0.102080',
- 'overload' => '0'
++ "TEST_REQUIRES" => {
++ "HTTP::Request::Common" => 0,
++ "Plack::Builder" => 0,
++ "Plack::Test" => 0,
++ "Scalar::Util" => 0,
++ "Test::Deep" => 0,
++ "Test::Fatal" => "0.003",
++ "Test::Moose" => 0,
++ "Test::More" => "0.96",
++ "base" => 0,
++ "strict" => 0,
++ "warnings" => 0
+ },
- 'VERSION' => '0.016',
- 'test' => {
- 'TESTS' => 't/*.t'
++ "VERSION" => "0.018",
++ "test" => {
++ "TESTS" => "t/*.t"
+ }
+);
+
+
- unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
- my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
- my $pp = $WriteMakefileArgs{PREREQ_PM};
- for my $mod ( keys %$br ) {
- if ( exists $pp->{$mod} ) {
- $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
- }
- else {
- $pp->{$mod} = $br->{$mod};
- }
- }
++my %FallbackPrereqs = (
++ "HTTP::Request::Common" => 0,
++ "List::AllUtils" => 0,
++ "Module::Runtime" => 0,
++ "Moose" => "1.23",
++ "Moose::Role" => 0,
++ "Moose::Util::TypeConstraints" => 0,
++ "MooseX::Role::WithOverloading" => "0.09",
++ "MooseX::StrictConstructor" => "0.12",
++ "Plack" => "0.9967",
++ "Plack::Builder" => 0,
++ "Plack::Test" => 0,
++ "Plack::Util" => 0,
++ "Scalar::Util" => 0,
++ "StackTrace::Auto" => 0,
++ "Sub::Exporter" => 0,
++ "Sub::Exporter::Util" => 0,
++ "Test::Deep" => 0,
++ "Test::Fatal" => "0.003",
++ "Test::Moose" => 0,
++ "Test::More" => "0.96",
++ "Throwable" => "0.102080",
++ "base" => 0,
++ "overload" => 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);
+
+
+
diff --cc README
index 02e5829,0000000..2dff62f
mode 100644,000000..100644
--- a/README
+++ b/README
@@@ -1,13 -1,0 +1,13 @@@
+
+
+This archive contains the distribution HTTP-Throwable,
- version 0.016:
++version 0.018:
+
+ a set of strongly-typed, PSGI-friendly HTTP 1.1 exception libraries
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+
diff --cc lib/HTTP/Throwable.pm
index 311d8f1,d044831..e108c00
--- a/lib/HTTP/Throwable.pm
+++ b/lib/HTTP/Throwable.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable;
+BEGIN {
+ $HTTP::Throwable::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::VERSION = '0.016';
++{
++ $HTTP::Throwable::VERSION = '0.018';
+}
use Moose::Role;
use MooseX::StrictConstructor;
use MooseX::Role::WithOverloading 0.09;
@@@ -95,17 -89,9 +95,15 @@@ sub is_server_error
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: a set of strongly-typed, PSGI-friendly HTTP 1.1 exception libraries
+=head1 NAME
+
+HTTP::Throwable - a set of strongly-typed, PSGI-friendly HTTP 1.1 exception libraries
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 SYNOPSIS
@@@ -392,33 -374,6 +390,42 @@@ L<HTTP::Throwable::Role::TextBody> and
=head1 SEE ALSO
-=for :list
-* L<http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html>
-* L<Plack::Middleware::HTTPExceptions>
++=over 4
++
++=item *
++
+L<http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html>
+
++=item *
++
++L<Plack::Middleware::HTTPExceptions>
++
++=back
++
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: a set of strongly-typed, PSGI-friendly HTTP 1.1 exception libraries
+
diff --cc lib/HTTP/Throwable/Factory.pm
index b98384b,02bdf41..f54ff56
--- a/lib/HTTP/Throwable/Factory.pm
+++ b/lib/HTTP/Throwable/Factory.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Factory;
+BEGIN {
+ $HTTP::Throwable::Factory::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Factory::VERSION = '0.016';
++{
++ $HTTP::Throwable::Factory::VERSION = '0.018';
+}
use Moose;
use Sub::Exporter::Util ();
@@@ -90,17 -85,9 +91,15 @@@ sub class_for
1;
-
-
-__END__
+=pod
-# ABSTRACT: a factory that throws HTTP::Throwables for you
+=head1 NAME
+
+HTTP::Throwable::Factory - a factory that throws HTTP::Throwables for you
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 OVERVIEW
@@@ -198,32 -185,3 +197,31 @@@ class
This method returns the roles that are expected to be applied to every
HTTP::Throwable exception. This method's results might change over time, and
you are encouraged I<B<not>> to alter it.
+
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: a factory that throws HTTP::Throwables for you
+
diff --cc lib/HTTP/Throwable/Role/BoringText.pm
index 570ed49,832b7d8..6564a51
--- a/lib/HTTP/Throwable/Role/BoringText.pm
+++ b/lib/HTTP/Throwable/Role/BoringText.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::BoringText;
+BEGIN {
+ $HTTP::Throwable::Role::BoringText::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::BoringText::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::BoringText::VERSION = '0.018';
+}
use Moose::Role;
sub text_body { $_[0]->status_line }
@@@ -12,17 -6,8 +12,15 @@@
no Moose::Role;
1;
-
-
-__END__
-# ABSTRACT: provide the simplest text_body method possible
+=pod
+
+=head1 NAME
+
+HTTP::Throwable::Role::BoringText - provide the simplest text_body method possible
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 OVERVIEW
@@@ -34,30 -19,3 +32,29 @@@ L<HTTP::Throwable::Role::TextBody> rol
converted to an HTTP message. Most of the core well-known exception types
consume this method.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+# ABSTRACT: provide the simplest text_body method possible
+
diff --cc lib/HTTP/Throwable/Role/Generic.pm
index 6513d62,d998708..1951fc2
--- a/lib/HTTP/Throwable/Role/Generic.pm
+++ b/lib/HTTP/Throwable/Role/Generic.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Generic;
+BEGIN {
+ $HTTP::Throwable::Role::Generic::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Generic::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Generic::VERSION = '0.018';
+}
use Moose::Role;
with 'HTTP::Throwable';
@@@ -19,48 -13,12 +19,45 @@@ sub default_reason
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: a generic built-by-hand exception
+=head1 NAME
+
+HTTP::Throwable::Role::Generic - a generic built-by-hand exception
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
This role is used (for boring internals-related reasons) when you throw an
exception with no special roles mixed in.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: a generic built-by-hand exception
+
diff --cc lib/HTTP/Throwable/Role/NoBody.pm
index 27e55a5,eec0b34..cce4487
--- a/lib/HTTP/Throwable/Role/NoBody.pm
+++ b/lib/HTTP/Throwable/Role/NoBody.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::NoBody;
+BEGIN {
+ $HTTP::Throwable::Role::NoBody::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::NoBody::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::NoBody::VERSION = '0.018';
+}
use Moose::Role;
sub body { return }
@@@ -22,17 -16,8 +22,15 @@@ sub as_string { $_[0]->status_line
no Moose::Role;
1;
-
-
-__END__
-# ABSTRACT: an exception with no body
+=pod
+
+=head1 NAME
+
+HTTP::Throwable::Role::NoBody - an exception with no body
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 OVERVIEW
@@@ -42,31 -27,3 +40,30 @@@ and C<body_headers> for L<HTTP::Throwab
When an HTTP::Throwable exception uses this role, its PSGI response will have
no entity body. It will report a Content-Length of zero. It will stringify to
its status line.
+
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+# ABSTRACT: an exception with no body
+
diff --cc lib/HTTP/Throwable/Role/Redirect.pm
index 5cff107,aa633c0..704cea2
--- a/lib/HTTP/Throwable/Role/Redirect.pm
+++ b/lib/HTTP/Throwable/Role/Redirect.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Redirect;
+BEGIN {
+ $HTTP::Throwable::Role::Redirect::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Redirect::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Redirect::VERSION = '0.018';
+}
use Moose::Role;
has 'location' => (
@@@ -24,17 -18,8 +24,15 @@@ around 'build_headers' => sub
no Moose::Role; 1;
-
-
-__END__
-# ABSTRACT: an exception that is a redirect
+=pod
+
+=head1 NAME
+
+HTTP::Throwable::Role::Redirect - an exception that is a redirect
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 OVERVIEW
@@@ -45,31 -30,3 +43,30 @@@ Location header when the exception is c
Note that "MultipleChoices," the 300 status code is I<not> currently a
redirect, as its Location header is optional. This may change in the future of
the semantics of this role are refined.
+
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+# ABSTRACT: an exception that is a redirect
+
diff --cc lib/HTTP/Throwable/Role/Status/BadGateway.pm
index db56664,b9e3188..f7a4364
--- a/lib/HTTP/Throwable/Role/Status/BadGateway.pm
+++ b/lib/HTTP/Throwable/Role/Status/BadGateway.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::BadGateway;
+BEGIN {
+ $HTTP::Throwable::Role::Status::BadGateway::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::BadGateway::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::BadGateway::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -17,17 -11,9 +17,15 @@@ sub default_reason { 'Bad Gateway
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 502 Bad Gateway
+=head1 NAME
+
+HTTP::Throwable::Role::Status::BadGateway - 502 Bad Gateway
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -35,31 -21,4 +33,30 @@@ The server, while acting as a gateway o
an invalid response from the upstream server it accessed
in attempting to fulfill the request.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 502 Bad Gateway
diff --cc lib/HTTP/Throwable/Role/Status/BadRequest.pm
index de24c7d,e1b36d5..f6eae7b
--- a/lib/HTTP/Throwable/Role/Status/BadRequest.pm
+++ b/lib/HTTP/Throwable/Role/Status/BadRequest.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::BadRequest;
+BEGIN {
+ $HTTP::Throwable::Role::Status::BadRequest::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::BadRequest::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::BadRequest::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -18,49 -12,12 +18,46 @@@ sub default_reason { 'Bad Request'
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 400 Bad Request
+=head1 NAME
+
+HTTP::Throwable::Role::Status::BadRequest - 400 Bad Request
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
The request could not be understood by the server due to
malformed syntax. The client SHOULD NOT repeat the request
without modifications.
+
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 400 Bad Request
+
diff --cc lib/HTTP/Throwable/Role/Status/Conflict.pm
index cbec5ef,fba706e..73e1e8d
--- a/lib/HTTP/Throwable/Role/Status/Conflict.pm
+++ b/lib/HTTP/Throwable/Role/Status/Conflict.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::Conflict;
+BEGIN {
+ $HTTP::Throwable::Role::Status::Conflict::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::Conflict::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::Conflict::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -17,17 -11,9 +17,15 @@@ sub default_reason { 'Conflict'
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 409 Conflict
+=head1 NAME
+
+HTTP::Throwable::Role::Status::Conflict - 409 Conflict
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -50,31 -36,3 +48,30 @@@ In this case, the response entity woul
the differences between the two versions in a format defined by
the response Content-Type.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 409 Conflict
+
diff --cc lib/HTTP/Throwable/Role/Status/ExpectationFailed.pm
index fa018be,e282fd7..b2ba101
--- a/lib/HTTP/Throwable/Role/Status/ExpectationFailed.pm
+++ b/lib/HTTP/Throwable/Role/Status/ExpectationFailed.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::ExpectationFailed;
+BEGIN {
+ $HTTP::Throwable::Role::Status::ExpectationFailed::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::ExpectationFailed::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::ExpectationFailed::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -17,17 -11,9 +17,15 @@@ sub default_reason { 'Expectation
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 417 Expectation Failed
+=head1 NAME
+
+HTTP::Throwable::Role::Status::ExpectationFailed - 417 Expectation Failed
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -36,31 -22,3 +34,30 @@@ could not be met by this server, or, i
proxy, the server has unambiguous evidence that the
request could not be met by the next-hop server.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 417 Expectation Failed
+
diff --cc lib/HTTP/Throwable/Role/Status/Forbidden.pm
index 4455db7,fdfc68f..12b904a
--- a/lib/HTTP/Throwable/Role/Status/Forbidden.pm
+++ b/lib/HTTP/Throwable/Role/Status/Forbidden.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::Forbidden;
+BEGIN {
+ $HTTP::Throwable::Role::Status::Forbidden::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::Forbidden::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::Forbidden::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -17,17 -11,9 +17,15 @@@ sub default_reason { 'Forbidden'
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 403 Forbidden
+=head1 NAME
+
+HTTP::Throwable::Role::Status::Forbidden - 403 Forbidden
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -39,31 -25,4 +37,30 @@@ the reason for the refusal in the entit
wish to make this information available to the client, the status
code 404 (Not Found) can be used instead.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 403 Forbidden
diff --cc lib/HTTP/Throwable/Role/Status/Found.pm
index c615452,643c1b1..fff0a75
--- a/lib/HTTP/Throwable/Role/Status/Found.pm
+++ b/lib/HTTP/Throwable/Role/Status/Found.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::Found;
+BEGIN {
+ $HTTP::Throwable::Role::Status::Found::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::Found::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::Found::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -18,17 -12,9 +18,15 @@@ sub default_reason { 'Found'
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 302 Found
+=head1 NAME
+
+HTTP::Throwable::Role::Status::Found - 302 Found
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -50,31 -34,3 +48,30 @@@ to the new URI(s)
This is a required string, which will be used in the Location header
when creating a PSGI response.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 302 Found
+
diff --cc lib/HTTP/Throwable/Role/Status/GatewayTimeout.pm
index 7c7370f,9f9ff56..b62091a
--- a/lib/HTTP/Throwable/Role/Status/GatewayTimeout.pm
+++ b/lib/HTTP/Throwable/Role/Status/GatewayTimeout.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::GatewayTimeout;
+BEGIN {
+ $HTTP::Throwable::Role::Status::GatewayTimeout::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::GatewayTimeout::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::GatewayTimeout::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -17,17 -11,9 +17,15 @@@ sub default_reason { 'Gateway Time
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 504 Gateway Timeout
+=head1 NAME
+
+HTTP::Throwable::Role::Status::GatewayTimeout - 504 Gateway Timeout
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -37,31 -23,3 +35,30 @@@ by the URI (e.g. HTTP, FTP, LDAP) or so
server (e.g. DNS) it needed to access in attempting to
complete the request.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 504 Gateway Timeout
+
diff --cc lib/HTTP/Throwable/Role/Status/Gone.pm
index f0bdf4d,f0c9fcd..2602677
--- a/lib/HTTP/Throwable/Role/Status/Gone.pm
+++ b/lib/HTTP/Throwable/Role/Status/Gone.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::Gone;
+BEGIN {
+ $HTTP::Throwable::Role::Status::Gone::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::Gone::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::Gone::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -17,17 -11,9 +17,15 @@@ sub default_reason { 'Gone'
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 410 Gone
+=head1 NAME
+
+HTTP::Throwable::Role::Status::Gone - 410 Gone
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -50,31 -36,3 +48,30 @@@ necessary to mark all permanently unava
or to keep the mark for any length of time -- that is left to the
discretion of the server owner.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 410 Gone
+
diff --cc lib/HTTP/Throwable/Role/Status/HTTPVersionNotSupported.pm
index 2628b3d,d0a71a3..88e0f99
--- a/lib/HTTP/Throwable/Role/Status/HTTPVersionNotSupported.pm
+++ b/lib/HTTP/Throwable/Role/Status/HTTPVersionNotSupported.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::HTTPVersionNotSupported;
+BEGIN {
+ $HTTP::Throwable::Role::Status::HTTPVersionNotSupported::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::HTTPVersionNotSupported::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::HTTPVersionNotSupported::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -17,17 -11,9 +17,15 @@@ sub default_reason { 'HTTP Versio
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 505 HTTP Version Not Supported
+=head1 NAME
+
+HTTP::Throwable::Role::Status::HTTPVersionNotSupported - 505 HTTP Version Not Supported
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -39,32 -25,3 +37,31 @@@ client, other than with this error mess
SHOULD contain an entity describing why that version is not
supported and what other protocols are supported by that
server.
+
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 505 HTTP Version Not Supported
+
diff --cc lib/HTTP/Throwable/Role/Status/ImATeapot.pm
index 6edce67,5533800..bbaa9a1
--- a/lib/HTTP/Throwable/Role/Status/ImATeapot.pm
+++ b/lib/HTTP/Throwable/Role/Status/ImATeapot.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::ImATeapot;
+BEGIN {
+ $HTTP::Throwable::Role::Status::ImATeapot::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::ImATeapot::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::ImATeapot::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -46,17 -40,9 +46,15 @@@ sub text_body
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 418 I'm a teapot
+=head1 NAME
+
+HTTP::Throwable::Role::Status::ImATeapot - 418 I'm a teapot
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -67,31 -53,3 +65,30 @@@ This exception provides RFC2324 support
Boolean attributes C<short> and C<stout> are provided, and default to false.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 418 I'm a teapot
+
diff --cc lib/HTTP/Throwable/Role/Status/InternalServerError.pm
index b5b5989,c31d0fd..a362f49
--- a/lib/HTTP/Throwable/Role/Status/InternalServerError.pm
+++ b/lib/HTTP/Throwable/Role/Status/InternalServerError.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::InternalServerError;
+BEGIN {
+ $HTTP::Throwable::Role::Status::InternalServerError::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::InternalServerError::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::InternalServerError::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -29,17 -23,9 +29,15 @@@ sub text_body
no Moose; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 500 Internal Server Error
+=head1 NAME
+
+HTTP::Throwable::Role::Status::InternalServerError - 500 Internal Server Error
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -54,31 -38,3 +52,30 @@@ This is a boolean attribute which by de
to the C<text_body> method whether or not to show the stack trace
in the output.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 500 Internal Server Error
+
diff --cc lib/HTTP/Throwable/Role/Status/LengthRequired.pm
index f8c369d,e7e7316..773ad46
--- a/lib/HTTP/Throwable/Role/Status/LengthRequired.pm
+++ b/lib/HTTP/Throwable/Role/Status/LengthRequired.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::LengthRequired;
+BEGIN {
+ $HTTP::Throwable::Role::Status::LengthRequired::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::LengthRequired::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::LengthRequired::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -17,17 -11,9 +17,15 @@@ sub default_reason { 'Length Requi
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 411 Length Required
+=head1 NAME
+
+HTTP::Throwable::Role::Status::LengthRequired - 411 Length Required
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -35,32 -21,3 +33,31 @@@ The server refuses to accept the reques
Content-Length. The client MAY repeat the request if it
adds a valid Content-Length header field containing the
length of the message-body in the request message.
+
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 411 Length Required
+
diff --cc lib/HTTP/Throwable/Role/Status/MethodNotAllowed.pm
index 55cc0f2,fd18a18..22cd963
--- a/lib/HTTP/Throwable/Role/Status/MethodNotAllowed.pm
+++ b/lib/HTTP/Throwable/Role/Status/MethodNotAllowed.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::MethodNotAllowed;
+BEGIN {
+ $HTTP::Throwable::Role::Status::MethodNotAllowed::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::MethodNotAllowed::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::MethodNotAllowed::VERSION = '0.018';
+}
use Moose::Role;
use Moose::Util::TypeConstraints;
@@@ -46,17 -40,9 +46,15 @@@ around 'build_headers' => sub
no Moose::Role; no Moose::Util::TypeConstraints; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 405 Method Not Allowed
+=head1 NAME
+
+HTTP::Throwable::Role::Status::MethodNotAllowed - 405 Method Not Allowed
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -76,31 -60,4 +74,30 @@@ methods will be type checked to ensure
HTTP Methods - L<http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html>
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 405 Method Not Allowed
diff --cc lib/HTTP/Throwable/Role/Status/MovedPermanently.pm
index 38f3c79,b2525d3..6d5b850
--- a/lib/HTTP/Throwable/Role/Status/MovedPermanently.pm
+++ b/lib/HTTP/Throwable/Role/Status/MovedPermanently.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::MovedPermanently;
+BEGIN {
+ $HTTP::Throwable::Role::Status::MovedPermanently::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::MovedPermanently::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::MovedPermanently::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -18,17 -12,9 +18,15 @@@ sub default_reason { 'Moved Perman
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 301 Moved Permanently
+=head1 NAME
+
+HTTP::Throwable::Role::Status::MovedPermanently - 301 Moved Permanently
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -44,31 -30,3 +42,30 @@@ response. Unless the request method wa
response SHOULD contain a short hypertext note with a hyperlink to
the new URI(s).
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 301 Moved Permanently
+
diff --cc lib/HTTP/Throwable/Role/Status/MultipleChoices.pm
index 02d1ad3,1b2d471..cf06cfb
--- a/lib/HTTP/Throwable/Role/Status/MultipleChoices.pm
+++ b/lib/HTTP/Throwable/Role/Status/MultipleChoices.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::MultipleChoices;
+BEGIN {
+ $HTTP::Throwable::Role::Status::MultipleChoices::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::MultipleChoices::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::MultipleChoices::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -29,17 -23,9 +29,15 @@@ around 'build_headers' => sub
no Moose; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 300 Multiple Choices
+=head1 NAME
+
+HTTP::Throwable::Role::Status::MultipleChoices - 300 Multiple Choices
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -70,32 -54,3 +68,31 @@@ header when creating a PSGI response
Note that this is I<not> (at present) the location attribute provided by the
role L<HTTP::Throwable::Role::Redirect>, which this role does not include.
+
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 300 Multiple Choices
+
diff --cc lib/HTTP/Throwable/Role/Status/NotAcceptable.pm
index 4b4d7f0,cdb08ab..2d7c2c4
--- a/lib/HTTP/Throwable/Role/Status/NotAcceptable.pm
+++ b/lib/HTTP/Throwable/Role/Status/NotAcceptable.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::NotAcceptable;
+BEGIN {
+ $HTTP::Throwable::Role::Status::NotAcceptable::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::NotAcceptable::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::NotAcceptable::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -17,17 -11,9 +17,15 @@@ sub default_reason { 'Not Acceptab
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 406 Not Acceptable
+=head1 NAME
+
+HTTP::Throwable::Role::Status::NotAcceptable - 406 Not Acceptable
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -53,32 -39,3 +51,31 @@@ any standard for such automatic selecti
If the response could be unacceptable, a user agent SHOULD temporarily
stop receipt of more data and query the user for a decision on further
actions.
+
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 406 Not Acceptable
+
diff --cc lib/HTTP/Throwable/Role/Status/NotFound.pm
index c1bdda2,1df0b76..18b0fdd
--- a/lib/HTTP/Throwable/Role/Status/NotFound.pm
+++ b/lib/HTTP/Throwable/Role/Status/NotFound.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::NotFound;
+BEGIN {
+ $HTTP::Throwable::Role::Status::NotFound::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::NotFound::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::NotFound::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -17,17 -11,9 +17,15 @@@ sub default_reason { 'Not Found'
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 404 Not Found
+=head1 NAME
+
+HTTP::Throwable::Role::Status::NotFound - 404 Not Found
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -40,31 -26,3 +38,30 @@@ forwarding address. This status code i
the server does not wish to reveal exactly why the request
has been refused, or when no other response is applicable.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 404 Not Found
+
diff --cc lib/HTTP/Throwable/Role/Status/NotImplemented.pm
index f008047,b8e1a52..d20a9c2
--- a/lib/HTTP/Throwable/Role/Status/NotImplemented.pm
+++ b/lib/HTTP/Throwable/Role/Status/NotImplemented.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::NotImplemented;
+BEGIN {
+ $HTTP::Throwable::Role::Status::NotImplemented::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::NotImplemented::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::NotImplemented::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -17,17 -11,9 +17,15 @@@ sub default_reason { 'Not Implemen
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 501 Not Implemented
+=head1 NAME
+
+HTTP::Throwable::Role::Status::NotImplemented - 501 Not Implemented
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -36,31 -22,4 +34,30 @@@ fulfill the request. This is the approp
the server does not recognize the request method and is
not capable of supporting it for any resource.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 501 Not Implemented
diff --cc lib/HTTP/Throwable/Role/Status/NotModified.pm
index b4314d7,ddb0a55..437c85e
--- a/lib/HTTP/Throwable/Role/Status/NotModified.pm
+++ b/lib/HTTP/Throwable/Role/Status/NotModified.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::NotModified;
+BEGIN {
+ $HTTP::Throwable::Role::Status::NotModified::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::NotModified::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::NotModified::VERSION = '0.018';
+}
use Moose::Role;
use Plack::Util ();
@@@ -34,17 -28,9 +34,15 @@@ around 'as_psgi' => sub
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 304 Not Modified
+=head1 NAME
+
+HTTP::Throwable::Role::Status::NotModified - 304 Not Modified
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -85,31 -71,3 +83,30 @@@ If a cache uses a received 304 respons
the cache MUST update the entry to reflect any new field values
given in the response.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 304 Not Modified
+
diff --cc lib/HTTP/Throwable/Role/Status/PreconditionFailed.pm
index 8607b70,ac21c7f..4f4cdcc
--- a/lib/HTTP/Throwable/Role/Status/PreconditionFailed.pm
+++ b/lib/HTTP/Throwable/Role/Status/PreconditionFailed.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::PreconditionFailed;
+BEGIN {
+ $HTTP::Throwable::Role::Status::PreconditionFailed::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::PreconditionFailed::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::PreconditionFailed::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -17,17 -11,9 +17,15 @@@ sub default_reason { 'Preconditio
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 412 Precondition Failed
+=head1 NAME
+
+HTTP::Throwable::Role::Status::PreconditionFailed - 412 Precondition Failed
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -38,31 -24,3 +36,30 @@@ on the current resource metainformatio
and thus prevent the requested method from being applied to
a resource other than the one intended.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 412 Precondition Failed
+
diff --cc lib/HTTP/Throwable/Role/Status/ProxyAuthenticationRequired.pm
index 1971a49,38898df..5c0f567
--- a/lib/HTTP/Throwable/Role/Status/ProxyAuthenticationRequired.pm
+++ b/lib/HTTP/Throwable/Role/Status/ProxyAuthenticationRequired.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::ProxyAuthenticationRequired;
+BEGIN {
+ $HTTP::Throwable::Role::Status::ProxyAuthenticationRequired::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::ProxyAuthenticationRequired::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::ProxyAuthenticationRequired::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -37,17 -31,9 +37,15 @@@ around 'build_headers' => sub
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 407 Proxy Authentication Required
+=head1 NAME
+
+HTTP::Throwable::Role::Status::ProxyAuthenticationRequired - 407 Proxy Authentication Required
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -69,32 -53,3 +67,31 @@@ the 'Proxy-Authenticate' header(s) whe
HTTP Authentication: Basic and Digest Access Authentication - L<http://www.apps.ietf.org/rfc/rfc2617.html>
Proxy-Authenticate Header - L<http://www.apps.ietf.org/rfc/rfc2617.html#sec-3.6>
+
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 407 Proxy Authentication Required
+
diff --cc lib/HTTP/Throwable/Role/Status/RequestEntityTooLarge.pm
index 5b85bff,26d5fae..20b08e7
--- a/lib/HTTP/Throwable/Role/Status/RequestEntityTooLarge.pm
+++ b/lib/HTTP/Throwable/Role/Status/RequestEntityTooLarge.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::RequestEntityTooLarge;
+BEGIN {
+ $HTTP::Throwable::Role::Status::RequestEntityTooLarge::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::RequestEntityTooLarge::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::RequestEntityTooLarge::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -29,17 -23,9 +29,15 @@@ around 'build_headers' => sub
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 413 Request Entity Too Large
+=head1 NAME
+
+HTTP::Throwable::Role::Status::RequestEntityTooLarge - 413 Request Entity Too Large
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -58,32 -42,3 +56,31 @@@ after what time the client MAY try agai
This is an optional string to be used to add a Retry-After header
in the PSGI response.
+
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 413 Request Entity Too Large
+
diff --cc lib/HTTP/Throwable/Role/Status/RequestTimeout.pm
index 89184f3,2b237c2..ca59387
--- a/lib/HTTP/Throwable/Role/Status/RequestTimeout.pm
+++ b/lib/HTTP/Throwable/Role/Status/RequestTimeout.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::RequestTimeout;
+BEGIN {
+ $HTTP::Throwable::Role::Status::RequestTimeout::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::RequestTimeout::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::RequestTimeout::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -17,17 -11,9 +17,15 @@@ sub default_reason { 'Request Time
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 408 Request Timeout
+=head1 NAME
+
+HTTP::Throwable::Role::Status::RequestTimeout - 408 Request Timeout
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -36,31 -22,3 +34,30 @@@ time that the server was prepared to wa
client MAY repeat the request without modifications
at any later time.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 408 Request Timeout
+
diff --cc lib/HTTP/Throwable/Role/Status/RequestURITooLong.pm
index cce3cd1,d406a1f..9d06991
--- a/lib/HTTP/Throwable/Role/Status/RequestURITooLong.pm
+++ b/lib/HTTP/Throwable/Role/Status/RequestURITooLong.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::RequestURITooLong;
+BEGIN {
+ $HTTP::Throwable::Role::Status::RequestURITooLong::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::RequestURITooLong::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::RequestURITooLong::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -17,17 -11,9 +17,15 @@@ sub default_reason { 'Request-URI
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 414 Request-URI Too Long
+=head1 NAME
+
+HTTP::Throwable::Role::Status::RequestURITooLong - 414 Request-URI Too Long
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -42,31 -28,3 +40,30 @@@ by a client attempting to exploit secur
servers using fixed-length buffers for reading or manipulating
the Request-URI.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 414 Request-URI Too Long
+
diff --cc lib/HTTP/Throwable/Role/Status/RequestedRangeNotSatisfiable.pm
index 529c8dc,f74839e..7b36245
--- a/lib/HTTP/Throwable/Role/Status/RequestedRangeNotSatisfiable.pm
+++ b/lib/HTTP/Throwable/Role/Status/RequestedRangeNotSatisfiable.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::RequestedRangeNotSatisfiable;
+BEGIN {
+ $HTTP::Throwable::Role::Status::RequestedRangeNotSatisfiable::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::RequestedRangeNotSatisfiable::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::RequestedRangeNotSatisfiable::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -29,17 -23,9 +29,15 @@@ around 'build_headers' => sub
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 416 Requested Range Not Satisfiable
+=head1 NAME
+
+HTTP::Throwable::Role::Status::RequestedRangeNotSatisfiable - 416 Requested Range Not Satisfiable
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -56,31 -42,3 +54,30 @@@ response SHOULD include a Content-Rang
the current length of the selected resource. This response MUST NOT
use the multipart/byteranges content-type.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 416 Requested Range Not Satisfiable
+
diff --cc lib/HTTP/Throwable/Role/Status/SeeOther.pm
index a2140dc,101fb91..7e1c6f1
--- a/lib/HTTP/Throwable/Role/Status/SeeOther.pm
+++ b/lib/HTTP/Throwable/Role/Status/SeeOther.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::SeeOther;
+BEGIN {
+ $HTTP::Throwable::Role::Status::SeeOther::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::SeeOther::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::SeeOther::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -18,17 -12,9 +18,15 @@@ sub default_reason { 'See Other'
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 303 See Other
+=head1 NAME
+
+HTTP::Throwable::Role::Status::SeeOther - 303 See Other
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -45,32 -31,3 +43,31 @@@ The different URI SHOULD be given by th
the response. Unless the request method was HEAD, the entity
of the response SHOULD contain a short hypertext note with a
hyperlink to the new URI(s).
+
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 303 See Other
+
diff --cc lib/HTTP/Throwable/Role/Status/ServiceUnavailable.pm
index 17e6b05,89f4f47..75a4193
--- a/lib/HTTP/Throwable/Role/Status/ServiceUnavailable.pm
+++ b/lib/HTTP/Throwable/Role/Status/ServiceUnavailable.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::ServiceUnavailable;
+BEGIN {
+ $HTTP::Throwable::Role::Status::ServiceUnavailable::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::ServiceUnavailable::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::ServiceUnavailable::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -29,17 -23,9 +29,15 @@@ around 'build_headers' => sub
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 503 Service Unavailable
+=head1 NAME
+
+HTTP::Throwable::Role::Status::ServiceUnavailable - 503 Service Unavailable
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -55,31 -41,4 +53,30 @@@ it would for a 500 response
server must use it when becoming overloaded. Some servers may wish
to simply refuse the connection.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 503 Service Unavailable
diff --cc lib/HTTP/Throwable/Role/Status/TemporaryRedirect.pm
index 9381469,51123f5..177ab2e
--- a/lib/HTTP/Throwable/Role/Status/TemporaryRedirect.pm
+++ b/lib/HTTP/Throwable/Role/Status/TemporaryRedirect.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::TemporaryRedirect;
+BEGIN {
+ $HTTP::Throwable::Role::Status::TemporaryRedirect::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::TemporaryRedirect::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::TemporaryRedirect::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -18,17 -12,9 +18,15 @@@ sub default_reason { 'Temporary Re
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 307 Temporary Redirect
+=head1 NAME
+
+HTTP::Throwable::Role::Status::TemporaryRedirect - 307 Temporary Redirect
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -46,31 -32,3 +44,30 @@@ understand the 307 status. Therefore, t
the information necessary for a user to repeat the original
request on the new URI.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 307 Temporary Redirect
+
diff --cc lib/HTTP/Throwable/Role/Status/Unauthorized.pm
index 11bfd95,1871f8c..cf0d2b3
--- a/lib/HTTP/Throwable/Role/Status/Unauthorized.pm
+++ b/lib/HTTP/Throwable/Role/Status/Unauthorized.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::Unauthorized;
+BEGIN {
+ $HTTP::Throwable::Role::Status::Unauthorized::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::Unauthorized::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::Unauthorized::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -37,17 -31,9 +37,15 @@@ around 'build_headers' => sub
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 401 Unauthorized
+=head1 NAME
+
+HTTP::Throwable::Role::Status::Unauthorized - 401 Unauthorized
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -74,32 -58,3 +72,31 @@@ the 'WWW-Authenticate' header(s) when c
HTTP Authentication: Basic and Digest Access Authentication - L<http://www.apps.ietf.org/rfc/rfc2617.html>
WWW-Authenticate Header - L<http://www.apps.ietf.org/rfc/rfc2617.html#sec-3.2.1>
+
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 401 Unauthorized
+
diff --cc lib/HTTP/Throwable/Role/Status/UnsupportedMediaType.pm
index 3a1ff8c,5a823f5..67eb8b5
--- a/lib/HTTP/Throwable/Role/Status/UnsupportedMediaType.pm
+++ b/lib/HTTP/Throwable/Role/Status/UnsupportedMediaType.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::UnsupportedMediaType;
+BEGIN {
+ $HTTP::Throwable::Role::Status::UnsupportedMediaType::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::UnsupportedMediaType::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::UnsupportedMediaType::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -17,17 -11,9 +17,15 @@@ sub default_reason { 'Unsupported
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 415 Unsupported Media Type
+=head1 NAME
+
+HTTP::Throwable::Role::Status::UnsupportedMediaType - 415 Unsupported Media Type
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -35,31 -21,3 +33,30 @@@ The server is refusing to service the r
of the request is in a format not supported by the requested resource
for the requested method.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 415 Unsupported Media Type
+
diff --cc lib/HTTP/Throwable/Role/Status/UseProxy.pm
index 297e311,2ef6559..a78cf52
--- a/lib/HTTP/Throwable/Role/Status/UseProxy.pm
+++ b/lib/HTTP/Throwable/Role/Status/UseProxy.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::Status::UseProxy;
+BEGIN {
+ $HTTP::Throwable::Role::Status::UseProxy::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::Status::UseProxy::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::Status::UseProxy::VERSION = '0.018';
+}
use Moose::Role;
with(
@@@ -18,17 -12,9 +18,15 @@@ sub default_reason { 'Use Proxy'
no Moose::Role; 1;
-
-
-__END__
+=pod
-# ABSTRACT: 305 Use Proxy
+=head1 NAME
+
+HTTP::Throwable::Role::Status::UseProxy - 305 Use Proxy
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 DESCRIPTION
@@@ -38,31 -24,3 +36,30 @@@ proxy. The recipient is expected to rep
via the proxy. 305 responses MUST only be generated by origin
servers.
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+
+# ABSTRACT: 305 Use Proxy
+
diff --cc lib/HTTP/Throwable/Role/TextBody.pm
index 32878ef,96d4a77..645ffb2
--- a/lib/HTTP/Throwable/Role/TextBody.pm
+++ b/lib/HTTP/Throwable/Role/TextBody.pm
@@@ -1,10 -1,4 +1,10 @@@
package HTTP::Throwable::Role::TextBody;
+BEGIN {
+ $HTTP::Throwable::Role::TextBody::AUTHORITY = 'cpan:STEVAN';
+}
- BEGIN {
- $HTTP::Throwable::Role::TextBody::VERSION = '0.016';
++{
++ $HTTP::Throwable::Role::TextBody::VERSION = '0.018';
+}
use Moose::Role;
sub body { $_[0]->text_body }
@@@ -25,17 -19,8 +25,15 @@@ requires 'text_body'
no Moose::Role;
1;
-
-
-__END__
-# ABSTRACT: an exception with a plaintext body
+=pod
+
+=head1 NAME
+
+HTTP::Throwable::Role::TextBody - an exception with a plaintext body
+
+=head1 VERSION
+
- version 0.016
++version 0.018
=head1 OVERVIEW
@@@ -49,31 -34,3 +47,30 @@@ method as the response body. It will a
The role L<HTTP::Throwable::Role::BoringText> can be useful to provide a
C<text_body> method that issues the C<status_line> as the body.
+
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Stevan Little <stevan.little at iinteractive.com>
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Infinity Interactive, Inc..
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+
-
+__END__
+# ABSTRACT: an exception with a plaintext body
+
diff --cc t/000-report-versions-tiny.t
index 0000000,0000000..a4058b5
new file mode 100644
--- /dev/null
+++ b/t/000-report-versions-tiny.t
@@@ -1,0 -1,0 +1,95 @@@
++use strict;
++use warnings;
++use Test::More 0.88;
++# This is a relatively nice way to avoid Test::NoWarnings breaking our
++# expectations by adding extra tests, without using no_plan. It also helps
++# avoid any other test module that feels introducing random tests, or even
++# test plans, is a nice idea.
++our $success = 0;
++END { $success && done_testing; }
++
++# List our own version used to generate this
++my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10\n";
++
++eval { # no excuses!
++ # report our Perl details
++ my $want = "any version";
++ $v .= "perl: $] (wanted $want) on $^O from $^X\n\n";
++};
++defined($@) and diag("$@");
++
++# Now, our module version dependencies:
++sub pmver {
++ my ($module, $wanted) = @_;
++ $wanted = " (want $wanted)";
++ my $pmver;
++ eval "require $module;";
++ if ($@) {
++ if ($@ =~ m/Can't locate .* in \@INC/) {
++ $pmver = 'module not found.';
++ } else {
++ diag("${module}: $@");
++ $pmver = 'died during require.';
++ }
++ } else {
++ my $version;
++ eval { $version = $module->VERSION; };
++ if ($@) {
++ diag("${module}: $@");
++ $pmver = 'died during VERSION check.';
++ } elsif (defined $version) {
++ $pmver = "$version";
++ } else {
++ $pmver = '<undef>';
++ }
++ }
++
++ # So, we should be good, right?
++ return sprintf('%-45s => %-10s%-15s%s', $module, $pmver, $wanted, "\n");
++}
++
++eval { $v .= pmver('ExtUtils::MakeMaker','6.30') };
++eval { $v .= pmver('HTTP::Request::Common','any version') };
++eval { $v .= pmver('List::AllUtils','any version') };
++eval { $v .= pmver('Module::Runtime','any version') };
++eval { $v .= pmver('Moose','1.23') };
++eval { $v .= pmver('Moose::Role','any version') };
++eval { $v .= pmver('Moose::Util::TypeConstraints','any version') };
++eval { $v .= pmver('MooseX::Role::WithOverloading','0.09') };
++eval { $v .= pmver('MooseX::StrictConstructor','0.12') };
++eval { $v .= pmver('Plack','0.9967') };
++eval { $v .= pmver('Plack::Builder','any version') };
++eval { $v .= pmver('Plack::Test','any version') };
++eval { $v .= pmver('Plack::Util','any version') };
++eval { $v .= pmver('Scalar::Util','any version') };
++eval { $v .= pmver('StackTrace::Auto','any version') };
++eval { $v .= pmver('Sub::Exporter','any version') };
++eval { $v .= pmver('Sub::Exporter::Util','any version') };
++eval { $v .= pmver('Test::Deep','any version') };
++eval { $v .= pmver('Test::Fatal','0.003') };
++eval { $v .= pmver('Test::Moose','any version') };
++eval { $v .= pmver('Test::More','0.96') };
++eval { $v .= pmver('Throwable','0.102080') };
++eval { $v .= pmver('base','any version') };
++eval { $v .= pmver('overload','any version') };
++eval { $v .= pmver('strict','any version') };
++eval { $v .= pmver('warnings','any version') };
++
++
++# All done.
++$v .= <<'EOT';
++
++Thanks for using my code. I hope it works for you.
++If not, please try and include this output in the bug report.
++That will help me reproduce the issue and solve your problem.
++
++EOT
++
++diag($v);
++ok(1, "we really didn't test anything, just reporting data");
++$success = 1;
++
++# Work around another nasty module on CPAN. :/
++no warnings 'once';
++$Template::Test::NO_FLUSH = 1;
++exit 0;
diff --cc xt/release/changes_has_content.t
index 0000000,0000000..fff663c
new file mode 100644
--- /dev/null
+++ b/xt/release/changes_has_content.t
@@@ -1,0 -1,0 +1,41 @@@
++#!perl
++
++use Test::More tests => 2;
++
++note 'Checking Changes';
++my $changes_file = 'Changes';
++my $newver = '0.018';
++my $trial_token = '-TRIAL';
++
++SKIP: {
++ ok(-e $changes_file, "$changes_file file exists")
++ or skip 'Changes is missing', 1;
++
++ ok(_get_changes($newver), "$changes_file has content for $newver");
++}
++
++done_testing;
++
++# _get_changes copied and adapted from Dist::Zilla::Plugin::Git::Commit
++# by Jerome Quelin
++sub _get_changes
++{
++ my $newver = shift;
++
++ # parse changelog to find commit message
++ open(my $fh, '<', $changes_file) or die "cannot open $changes_file: $!";
++ my $changelog = join('', <$fh>);
++ close $fh;
++
++ my @content =
++ grep { /^$newver(?:$trial_token)?(?:\s+|$)/ ... /^\S/ } # from newver to un-indented
++ split /\n/, $changelog;
++ shift @content; # drop the version line
++
++ # drop unindented last line and trailing blank lines
++ pop @content while ( @content && $content[-1] =~ /^(?:\S|\s*$)/ );
++
++ # return number of non-blank lines
++ return scalar @content;
++}
++
diff --cc xt/release/pod-syntax.t
index 0000000,0000000..8a22900
new file mode 100644
--- /dev/null
+++ b/xt/release/pod-syntax.t
@@@ -1,0 -1,0 +1,7 @@@
++#!perl
++use Test::More;
++
++eval "use Test::Pod 1.41";
++plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
++
++all_pod_files_ok();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhttp-throwable-perl.git
More information about the Pkg-perl-cvs-commits
mailing list