diff -Nru libmoosex-blessed-reconstruct-perl-0.04/Build.PL libmoosex-blessed-reconstruct-perl-1.00/Build.PL --- libmoosex-blessed-reconstruct-perl-0.04/Build.PL 1970-01-01 00:00:00.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/Build.PL 2014-10-30 16:55:45.000000000 +0000 @@ -0,0 +1,71 @@ + +# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v5.020. +use strict; +use warnings; + +use Module::Build 0.28; + + +my %module_build_args = ( + "build_requires" => { + "Module::Build" => "0.28" + }, + "configure_requires" => { + "Module::Build" => "0.28" + }, + "dist_abstract" => "A L for creating Moose objects from blessed placeholders", + "dist_author" => [ + "Yuval Kogman ", + "Jonathan Rockway " + ], + "dist_name" => "MooseX-Blessed-Reconstruct", + "dist_version" => "1.00", + "license" => "perl", + "module_name" => "MooseX::Blessed::Reconstruct", + "recommends" => {}, + "recursive_test_files" => 1, + "requires" => { + "Carp" => 0, + "Class::Load" => 0, + "Class::MOP" => "0.93", + "Data::Visitor" => "0.21", + "Moose" => "1.05", + "Scalar::Util" => 0, + "Test::use::ok" => 0, + "namespace::clean" => 0 + }, + "script_files" => [], + "test_requires" => { + "File::Spec" => 0, + "IO::Handle" => 0, + "IPC::Open3" => 0, + "Test::More" => "0.88", + "ok" => 0, + "perl" => "5.006", + "strict" => 0, + "warnings" => 0 + } +); + + +my %fallback_build_requires = ( + "File::Spec" => 0, + "IO::Handle" => 0, + "IPC::Open3" => 0, + "Module::Build" => "0.28", + "Test::More" => "0.88", + "ok" => 0, + "perl" => "5.006", + "strict" => 0, + "warnings" => 0 +); + + +unless ( eval { Module::Build->VERSION(0.4004) } ) { + delete $module_build_args{test_requires}; + $module_build_args{build_requires} = \%fallback_build_requires; +} + +my $build = Module::Build->new(%module_build_args); + +$build->create_build_script; diff -Nru libmoosex-blessed-reconstruct-perl-0.04/Changes libmoosex-blessed-reconstruct-perl-1.00/Changes --- libmoosex-blessed-reconstruct-perl-0.04/Changes 2010-07-13 00:01:11.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/Changes 2014-10-30 16:55:45.000000000 +0000 @@ -1,12 +1,30 @@ -0.04 - - Update BUILDALL behavior for recent versions of Moose (doy) +Revision history for MooseX-Blessed-Reconstruct -0.03 - - Class::MOP no longer returns the metaclass from load_class +1.00 2014-10-30 + [BUG FIXES] + - $VERSION was still not using the dzil increment. (GH#1) -0.02 - - Remove Class::Accessor from test suite (not having it as a dependency - caused failures) + [STATISTICS] + - code churn: 3 files changed, 18 insertions(+), 12 deletions(-) + +0.5 2014-10-30 + [BUG FIXES] + - Class::MOP::load_class is deprecated, using Class::Load::load_class + directly. (Yanick Champoux) + + [STATISTICS] + - code churn: 7 files changed, 69 insertions(+), 52 deletions(-) + +0.04 2010-07-13 + - Update BUILDALL behavior for recent versions of Moose (doy) + +0.03 2009-09-17 + - Class::MOP no longer returns the metaclass from load_class + +0.02 2008-12-06 + - Remove Class::Accessor from test suite (not having it as a dependency + caused failures) + +0.01 2008-09-24 + - Initial release -0.01 - - Initial release diff -Nru libmoosex-blessed-reconstruct-perl-0.04/CONTRIBUTORS libmoosex-blessed-reconstruct-perl-1.00/CONTRIBUTORS --- libmoosex-blessed-reconstruct-perl-0.04/CONTRIBUTORS 1970-01-01 00:00:00.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/CONTRIBUTORS 2014-10-30 16:55:45.000000000 +0000 @@ -0,0 +1,12 @@ + +# MOOSEX-BLESSED-RECONSTRUCT CONTRIBUTORS # + +This is the (likely incomplete) list of people who have helped +make this distribution what it is, either via code contributions, +patches, bug reports, help with troubleshooting, etc. A huge +'thank you' to all of them. + + * Jesse Luehrs + * Yanick Champoux + + diff -Nru libmoosex-blessed-reconstruct-perl-0.04/cpanfile libmoosex-blessed-reconstruct-perl-1.00/cpanfile --- libmoosex-blessed-reconstruct-perl-0.04/cpanfile 1970-01-01 00:00:00.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/cpanfile 2014-10-30 16:55:45.000000000 +0000 @@ -0,0 +1,31 @@ +requires "Carp" => "0"; +requires "Class::Load" => "0"; +requires "Class::MOP" => "0.93"; +requires "Data::Visitor" => "0.21"; +requires "Moose" => "1.05"; +requires "Scalar::Util" => "0"; +requires "Test::use::ok" => "0"; +requires "namespace::clean" => "0"; + +on 'build' => sub { + requires "Module::Build" => "0.28"; +}; + +on 'test' => sub { + requires "File::Spec" => "0"; + requires "IO::Handle" => "0"; + requires "IPC::Open3" => "0"; + requires "Test::More" => "0.88"; + requires "ok" => "0"; + requires "perl" => "5.006"; + requires "strict" => "0"; + requires "warnings" => "0"; +}; + +on 'configure' => sub { + requires "Module::Build" => "0.28"; +}; + +on 'develop' => sub { + requires "version" => "0.9901"; +}; diff -Nru libmoosex-blessed-reconstruct-perl-0.04/debian/changelog libmoosex-blessed-reconstruct-perl-1.00/debian/changelog --- libmoosex-blessed-reconstruct-perl-0.04/debian/changelog 2011-04-21 16:45:39.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/debian/changelog 2015-09-11 19:07:47.000000000 +0000 @@ -1,3 +1,40 @@ +libmoosex-blessed-reconstruct-perl (1.00-1) unstable; urgency=low + + * Team upload + + [ Ansgar Burchardt ] + * debian/control: Convert Vcs-* fields to Git. + + [ gregor herrmann ] + * debian/control: update {versioned,alternative} (build) dependencies. + + [ Salvatore Bonaccorso ] + * Change Vcs-Git to canonical URI (git://anonscm.debian.org) + * Change search.cpan.org based URIs to metacpan.org based URIs + + [ Axel Beckert ] + * debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg- + copyright" + + [ gregor herrmann ] + * Strip trailing slash from metacpan URLs. + + [ Salvatore Bonaccorso ] + * Update Vcs-Browser URL to cgit web frontend + + [ gregor herrmann ] + * Update Test::use::ok build dependency. + + [ Florian Schlichting ] + * Add debian/upstream/metadata + * Import upstream version 1.00 + * Update (build-)dependencies + * Install CONTRIBUTORS file + * Declare compliance with Debian Policy 3.9.6 + * Mark package autopkgtest-able + + -- Florian Schlichting Fri, 11 Sep 2015 21:07:09 +0200 + libmoosex-blessed-reconstruct-perl (0.04-2) unstable; urgency=low [ Ansgar Burchardt ] diff -Nru libmoosex-blessed-reconstruct-perl-0.04/debian/control libmoosex-blessed-reconstruct-perl-1.00/debian/control --- libmoosex-blessed-reconstruct-perl-0.04/debian/control 2011-04-21 16:44:55.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/debian/control 2015-09-11 19:07:01.000000000 +0000 @@ -1,29 +1,29 @@ Source: libmoosex-blessed-reconstruct-perl +Maintainer: Debian Perl Group +Uploaders: franck cuny , + Ansgar Burchardt , + gregor herrmann Section: perl Priority: optional -Build-Depends: debhelper (>= 8) +Build-Depends: debhelper (>= 8), libmodule-build-perl Build-Depends-Indep: perl, - libdata-visitor-perl (>= 0.21), - libmoose-perl (>= 1.05), - libmoose-perl (>= 2) | libclass-mop-perl (>= 0.93), - libnamespace-clean-perl, - libtest-use-ok-perl -Maintainer: Debian Perl Group -Uploaders: franck cuny , - Ansgar Burchardt , - gregor herrmann -Standards-Version: 3.9.2 -Homepage: http://search.cpan.org/dist/MooseX-Blessed-Reconstruct/ -Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmoosex-blessed-reconstruct-perl -Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libmoosex-blessed-reconstruct-perl + libdata-visitor-perl, + libmoose-perl, + libnamespace-clean-perl, + libtest-simple-perl (>= 1.001010) | libtest-use-ok-perl | perl (>= 5.21.6) +Standards-Version: 3.9.6 +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libmoosex-blessed-reconstruct-perl.git +Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libmoosex-blessed-reconstruct-perl.git +Homepage: https://metacpan.org/release/MooseX-Blessed-Reconstruct +Testsuite: autopkgtest-pkg-perl Package: libmoosex-blessed-reconstruct-perl Architecture: all -Depends: ${misc:Depends}, ${perl:Depends}, - libdata-visitor-perl (>= 0.21), - libmoose-perl (>= 1.05), - libmoose-perl (>= 2) | libclass-mop-perl (>= 0.93), - libnamespace-clean-perl +Depends: ${misc:Depends}, + ${perl:Depends}, + libdata-visitor-perl, + libmoose-perl, + libnamespace-clean-perl Description: Data::Visitor for creating Moose objects The purpose of MooseX::Blessed::Reconstruct module is to "fix up" blessed data into a real Moose object. diff -Nru libmoosex-blessed-reconstruct-perl-0.04/debian/copyright libmoosex-blessed-reconstruct-perl-1.00/debian/copyright --- libmoosex-blessed-reconstruct-perl-0.04/debian/copyright 2011-04-21 16:42:21.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/debian/copyright 2014-03-04 10:47:14.000000000 +0000 @@ -1,7 +1,7 @@ -Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 -Maintainer: Yuval Kogman -Source: http://search.cpan.org/dist/MooseX-Blessed-Reconstruct/ -Name: MooseX-Blessed-Reconstruct +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: MooseX-Blessed-Reconstruct +Upstream-Contact: Yuval Kogman +Source: https://metacpan.org/release/MooseX-Blessed-Reconstruct Files: * Copyright: 2008, Infinity Interactive diff -Nru libmoosex-blessed-reconstruct-perl-0.04/debian/libmoosex-blessed-reconstruct-perl.docs libmoosex-blessed-reconstruct-perl-1.00/debian/libmoosex-blessed-reconstruct-perl.docs --- libmoosex-blessed-reconstruct-perl-0.04/debian/libmoosex-blessed-reconstruct-perl.docs 1970-01-01 00:00:00.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/debian/libmoosex-blessed-reconstruct-perl.docs 2015-09-11 19:05:56.000000000 +0000 @@ -0,0 +1 @@ +CONTRIBUTORS diff -Nru libmoosex-blessed-reconstruct-perl-0.04/debian/upstream/metadata libmoosex-blessed-reconstruct-perl-1.00/debian/upstream/metadata --- libmoosex-blessed-reconstruct-perl-0.04/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/debian/upstream/metadata 2015-09-11 19:01:17.000000000 +0000 @@ -0,0 +1,7 @@ +--- +Archive: CPAN +Bug-Database: https://github.com/yanick/moosex-blessed-reconstruct/issues +Contact: Yuval Kogman , Jonathan Rockway +Name: MooseX-Blessed-Reconstruct +Repository: https://github.com/yanick/moosex-blessed-reconstruct.git +Repository-Browse: https://github.com/yanick/moosex-blessed-reconstruct diff -Nru libmoosex-blessed-reconstruct-perl-0.04/debian/watch libmoosex-blessed-reconstruct-perl-1.00/debian/watch --- libmoosex-blessed-reconstruct-perl-0.04/debian/watch 2009-06-06 12:09:23.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/debian/watch 2014-03-04 10:47:14.000000000 +0000 @@ -1,4 +1,4 @@ # format version number, currently 3; this line is compulsory! version=3 # URL to the package page followed by a regex to search -http://search.cpan.org/dist/MooseX-Blessed-Reconstruct/ .*/MooseX-Blessed-Reconstruct-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ +https://metacpan.org/release/MooseX-Blessed-Reconstruct .*/MooseX-Blessed-Reconstruct-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ diff -Nru libmoosex-blessed-reconstruct-perl-0.04/doap.xml libmoosex-blessed-reconstruct-perl-1.00/doap.xml --- libmoosex-blessed-reconstruct-perl-0.04/doap.xml 1970-01-01 00:00:00.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/doap.xml 2014-10-30 16:55:45.000000000 +0000 @@ -0,0 +1,75 @@ + + + MooseX-Blessed-Reconstruct + A L<Data::Visitor> for creating Moose objects from blessed placeholders + + + Yuval Kogman + + + + + + Jonathan Rockway + + + + + + Jesse Luehrs + + + + + + Yanick Champoux + + + + + + + + + + + + + + + 0.01 + 2008-09-24 + + + + + 0.02 + 2008-12-06 + + + + + 0.03 + 2009-09-17 + + + + + 0.04 + 2010-07-13 + + + + + 0.5 + 2014-10-30 + + + Perl + diff -Nru libmoosex-blessed-reconstruct-perl-0.04/INSTALL libmoosex-blessed-reconstruct-perl-1.00/INSTALL --- libmoosex-blessed-reconstruct-perl-0.04/INSTALL 1970-01-01 00:00:00.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/INSTALL 2014-10-30 16:55:45.000000000 +0000 @@ -0,0 +1,44 @@ + +This is the Perl distribution MooseX-Blessed-Reconstruct. + +Installing MooseX-Blessed-Reconstruct is straightforward. + +## Installation with cpanm + +If you have cpanm, you only need one line: + + % cpanm MooseX::Blessed::Reconstruct + +If you are installing into a system-wide directory, you may need to pass the +"-S" flag to cpanm, which uses sudo to install the module: + + % cpanm -S MooseX::Blessed::Reconstruct + +## Installing with the CPAN shell + +Alternatively, if your CPAN shell is set up, you should just be able to do: + + % cpan MooseX::Blessed::Reconstruct + +## Manual installation + +As a last resort, you can manually install it. Download the tarball, untar it, +then build it: + + % perl Build.PL + % ./Build && ./Build test + +Then install it: + + % ./Build install + +If you are installing into a system-wide directory, you may need to run: + + % sudo ./Build install + +## Documentation + +MooseX-Blessed-Reconstruct documentation is available as POD. +You can run perldoc from a shell to read the documentation: + + % perldoc MooseX::Blessed::Reconstruct diff -Nru libmoosex-blessed-reconstruct-perl-0.04/lib/MooseX/Blessed/Reconstruct.pm libmoosex-blessed-reconstruct-perl-1.00/lib/MooseX/Blessed/Reconstruct.pm --- libmoosex-blessed-reconstruct-perl-0.04/lib/MooseX/Blessed/Reconstruct.pm 2010-07-13 00:00:40.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/lib/MooseX/Blessed/Reconstruct.pm 2014-10-30 16:55:45.000000000 +0000 @@ -1,19 +1,22 @@ -#!/usr/bin/perl - package MooseX::Blessed::Reconstruct; +BEGIN { + $MooseX::Blessed::Reconstruct::AUTHORITY = 'cpan:YANICK'; +} +# ABSTRACT: A L for creating Moose objects from blessed placeholders +$MooseX::Blessed::Reconstruct::VERSION = '1.00'; + use Moose; use Carp qw(croak); -use Class::MOP 0.66; # well behaved load_class() +use Class::MOP; +use Class::Load; use Data::Visitor 0.21; # n-arity visit use Scalar::Util qw(reftype); use namespace::clean -except => 'meta'; -our $VERSION = "0.04"; - extends qw(Data::Visitor); has load_classes => ( @@ -27,7 +30,7 @@ my $class = ref $obj; - Class::MOP::load_class($class) if $v->load_classes; + Class::Load::load_class($class) if $v->load_classes; my $meta = Class::MOP::get_metaclass_by_name($class); @@ -80,10 +83,15 @@ =pod +=encoding UTF-8 + =head1 NAME -MooseX::Blessed::Reconstruct - A L for creating Moose objects -from blessed placeholders +MooseX::Blessed::Reconstruct - A L for creating Moose objects from blessed placeholders + +=head1 VERSION + +version 1.00 =head1 SYNOPSIS @@ -142,22 +150,25 @@ =back -=head1 VERSION CONTROL +=head1 AUTHORS + +=over 4 + +=item * + +Yuval Kogman -This module is maintained using Darcs. You can get the latest version from -L, and use C to commit -changes. +=item * -=head1 AUTHOR +Jonathan Rockway -Jonathan Rockway +=back -Yuval Kogman Enothingmuch@woobling.orgE +=head1 COPYRIGHT AND LICENSE -=head1 COPYRIGHT +This software is copyright (c) 2008 by Infinity Interactive, Yuval Kogman. - Copyright (c) 2008 Infinity Interactive, Yuval Kogman. All rights - reserved This program is free software; you can redistribute - it and/or modify it under the same terms as Perl itself. +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 diff -Nru libmoosex-blessed-reconstruct-perl-0.04/LICENSE libmoosex-blessed-reconstruct-perl-1.00/LICENSE --- libmoosex-blessed-reconstruct-perl-0.04/LICENSE 1970-01-01 00:00:00.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/LICENSE 2014-10-30 16:55:45.000000000 +0000 @@ -0,0 +1,379 @@ +This software is copyright (c) 2008 by Infinity Interactive, Yuval Kogman. + +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) 2008 by Infinity Interactive, Yuval Kogman. + +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 + + 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. + + + Copyright (C) 19yy + + 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. + + , 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) 2008 by Infinity Interactive, Yuval Kogman. + +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 -Nru libmoosex-blessed-reconstruct-perl-0.04/Makefile.PL libmoosex-blessed-reconstruct-perl-1.00/Makefile.PL --- libmoosex-blessed-reconstruct-perl-0.04/Makefile.PL 2010-07-13 00:00:25.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/Makefile.PL 1970-01-01 00:00:00.000000000 +0000 @@ -1,21 +0,0 @@ -#!/usr/bin/perl -w - -use strict; - -use ExtUtils::MakeMaker; - -WriteMakefile( - NAME => 'MooseX::Blessed::Reconstruct', - VERSION_FROM => 'lib/MooseX/Blessed/Reconstruct.pm', - INSTALLDIRS => 'site', - SIGN => 1, - PL_FILES => { }, - PREREQ_PM => { - 'Test::use::ok' => 0, - 'namespace::clean' => 0, - 'Moose' => 1.05, - 'Class::MOP' => 0.93, - 'Data::Visitor' => 0.21, - }, -); - diff -Nru libmoosex-blessed-reconstruct-perl-0.04/MANIFEST libmoosex-blessed-reconstruct-perl-1.00/MANIFEST --- libmoosex-blessed-reconstruct-perl-0.04/MANIFEST 2010-07-13 00:01:37.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/MANIFEST 2014-10-30 16:55:45.000000000 +0000 @@ -1,8 +1,18 @@ +Build.PL +CONTRIBUTORS Changes +INSTALL +LICENSE +MANIFEST +META.json +META.yml +README +README.mkdn +SIGNATURE +cpanfile +doap.xml lib/MooseX/Blessed/Reconstruct.pm -Makefile.PL -MANIFEST This list of files -MANIFEST.SKIP +t/00-compile.t +t/000-report-versions-tiny.t t/basic.t -META.yml Module meta-data (added by MakeMaker) -SIGNATURE Public-key signature (added by MakeMaker) +xt/release/unused-vars.t diff -Nru libmoosex-blessed-reconstruct-perl-0.04/MANIFEST.SKIP libmoosex-blessed-reconstruct-perl-1.00/MANIFEST.SKIP --- libmoosex-blessed-reconstruct-perl-0.04/MANIFEST.SKIP 2009-01-10 00:12:48.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/MANIFEST.SKIP 1970-01-01 00:00:00.000000000 +0000 @@ -1,44 +0,0 @@ -# Avoid version control files. -\bRCS\b -\bCVS\b -\bSCCS\b -,v$ -\B\.svn\b -\B\.git\b -\b_darcs\b - -# Avoid Makemaker generated and utility files. -\bMANIFEST\.bak -\bMakefile$ -\bblib/ -\bMakeMaker-\d -\bpm_to_blib\.ts$ -\bpm_to_blib$ -\bblibdirs\.ts$ # 6.18 through 6.25 generated this - -# Avoid Module::Build generated and utility files. -\bBuild$ -\b_build/ - -# Avoid temp and backup files. -~$ -\.old$ -\#$ -\b\.# -\.bak$ - -# Avoid Devel::Cover files. -\bcover_db\b - -### DEFAULT MANIFEST.SKIP ENDS HERE #### - -\.DS_Store$ -\.sw.$ -(\w+-)*(\w+)-\d\.\d+(?:\.tar\.gz)?$ - -\.t\.log$ - -\.prove$ - -# XS shit -\.(?:bs|c|o)$ diff -Nru libmoosex-blessed-reconstruct-perl-0.04/META.json libmoosex-blessed-reconstruct-perl-1.00/META.json --- libmoosex-blessed-reconstruct-perl-0.04/META.json 1970-01-01 00:00:00.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/META.json 2014-10-30 16:55:45.000000000 +0000 @@ -0,0 +1,83 @@ +{ + "abstract" : "A L for creating Moose objects from blessed placeholders", + "author" : [ + "Yuval Kogman ", + "Jonathan Rockway " + ], + "dynamic_config" : 0, + "generated_by" : "Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.140640", + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "MooseX-Blessed-Reconstruct", + "prereqs" : { + "build" : { + "requires" : { + "Module::Build" : "0.28" + } + }, + "configure" : { + "requires" : { + "Module::Build" : "0.28" + } + }, + "develop" : { + "requires" : { + "version" : "0.9901" + } + }, + "runtime" : { + "requires" : { + "Carp" : "0", + "Class::Load" : "0", + "Class::MOP" : "0.93", + "Data::Visitor" : "0.21", + "Moose" : "1.05", + "Scalar::Util" : "0", + "Test::use::ok" : "0", + "namespace::clean" : "0" + } + }, + "test" : { + "requires" : { + "File::Spec" : "0", + "IO::Handle" : "0", + "IPC::Open3" : "0", + "Test::More" : "0.88", + "ok" : "0", + "perl" : "5.006", + "strict" : "0", + "warnings" : "0" + } + } + }, + "provides" : { + "MooseX::Blessed::Reconstruct" : { + "file" : "lib/MooseX/Blessed/Reconstruct.pm", + "version" : "1.00" + } + }, + "release_status" : "stable", + "resources" : { + "bugtracker" : { + "web" : "https://github.com/yanick/moosex-blessed-reconstruct/issues" + }, + "homepage" : "http://search.cpan.org/dist/MooseX-Blessed-Reconstruct/", + "repository" : { + "type" : "git", + "url" : "https://github.com/yanick/moosex-blessed-reconstruct.git", + "web" : "https://github.com/yanick/moosex-blessed-reconstruct" + } + }, + "version" : "1.00", + "x_authority" : "cpan:YANICK", + "x_contributors" : [ + "Jesse Luehrs ", + "Yanick Champoux " + ] +} + diff -Nru libmoosex-blessed-reconstruct-perl-0.04/META.yml libmoosex-blessed-reconstruct-perl-1.00/META.yml --- libmoosex-blessed-reconstruct-perl-0.04/META.yml 2010-07-13 00:01:37.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/META.yml 2014-10-30 16:55:45.000000000 +0000 @@ -1,25 +1,46 @@ ---- #YAML:1.0 -name: MooseX-Blessed-Reconstruct -version: 0.04 -abstract: ~ -author: [] -license: unknown -distribution_type: module -configure_requires: - ExtUtils::MakeMaker: 0 +--- +abstract: 'A L for creating Moose objects from blessed placeholders' +author: + - 'Yuval Kogman ' + - 'Jonathan Rockway ' build_requires: - ExtUtils::MakeMaker: 0 -requires: - Class::MOP: 0.93 - Data::Visitor: 0.21 - Moose: 1.05 - namespace::clean: 0 - Test::use::ok: 0 -no_index: - directory: - - t - - inc -generated_by: ExtUtils::MakeMaker version 6.56 + File::Spec: '0' + IO::Handle: '0' + IPC::Open3: '0' + Module::Build: '0.28' + Test::More: '0.88' + ok: '0' + perl: '5.006' + strict: '0' + warnings: '0' +configure_requires: + Module::Build: '0.28' +dynamic_config: 0 +generated_by: 'Dist::Zilla version 5.020, CPAN::Meta::Converter version 2.140640' +license: perl meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: '1.4' +name: MooseX-Blessed-Reconstruct +provides: + MooseX::Blessed::Reconstruct: + file: lib/MooseX/Blessed/Reconstruct.pm + version: '1.00' +requires: + Carp: '0' + Class::Load: '0' + Class::MOP: '0.93' + Data::Visitor: '0.21' + Moose: '1.05' + Scalar::Util: '0' + Test::use::ok: '0' + namespace::clean: '0' +resources: + bugtracker: https://github.com/yanick/moosex-blessed-reconstruct/issues + homepage: http://search.cpan.org/dist/MooseX-Blessed-Reconstruct/ + repository: https://github.com/yanick/moosex-blessed-reconstruct.git +version: '1.00' +x_authority: cpan:YANICK +x_contributors: + - 'Jesse Luehrs ' + - 'Yanick Champoux ' diff -Nru libmoosex-blessed-reconstruct-perl-0.04/README libmoosex-blessed-reconstruct-perl-1.00/README --- libmoosex-blessed-reconstruct-perl-0.04/README 1970-01-01 00:00:00.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/README 2014-10-30 16:55:45.000000000 +0000 @@ -0,0 +1,66 @@ +NAME + MooseX::Blessed::Reconstruct - A Data::Visitor for creating Moose + objects from blessed placeholders + +VERSION + version 1.00 + +SYNOPSIS + use MooseX::Blessed::Reconstruct; + + + my $obj = bless( { + init_arg_foo => "Blah", + arf => "yay", + }, "Foo" ); + + my $proper = MooseX::Blessed::Reconstruct->new->visit($obj); + + + + # equivalent to: + + my $proper = Foo->meta->new_object(%$obj); + + # but recursive (and works with shared references) + +DESCRIPTION + The purpose of this module is to "fix up" blessed data into a real Moose + object. + + This is used internally by MooseX::YAML but has no implementation + details having to do with YAML itself. + +METHODS + See Data::Visitor + + visit_object $object + Calls "load_class" in Class::MOP on the "ref" of $object. + + If there's a metaclass, calls "visit_object_with_meta", otherwise + "visit_ref" is used to walk the object brutishly. + + Returns a deep clone of the input structure with all the Moose + objects reconstructed "properly". + + visit_object_with_meta $obj, $meta + Uses the metaclass $meta to create a new instance, registers the + instance with Data::Visitor's cycle tracking, and then inflates it + using "new_object" in Moose::Meta::Class. + + prepare_args $obj + Collapses $obj into key value pairs to be used as init args to + "new_object" in Moose::Meta::Class. + +AUTHORS + * Yuval Kogman + + * Jonathan Rockway + +COPYRIGHT AND LICENSE + This software is copyright (c) 2008 by Infinity Interactive, Yuval + Kogman. + + 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 -Nru libmoosex-blessed-reconstruct-perl-0.04/README.mkdn libmoosex-blessed-reconstruct-perl-1.00/README.mkdn --- libmoosex-blessed-reconstruct-perl-0.04/README.mkdn 1970-01-01 00:00:00.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/README.mkdn 2014-10-30 16:55:45.000000000 +0000 @@ -0,0 +1,72 @@ +# NAME + +MooseX::Blessed::Reconstruct - A [Data::Visitor](https://metacpan.org/pod/Data::Visitor) for creating Moose objects from blessed placeholders + +# VERSION + +version 1.00 + +# SYNOPSIS + + use MooseX::Blessed::Reconstruct; + + + my $obj = bless( { + init_arg_foo => "Blah", + arf => "yay", + }, "Foo" ); + + my $proper = MooseX::Blessed::Reconstruct->new->visit($obj); + + + + # equivalent to: + + my $proper = Foo->meta->new_object(%$obj); + + # but recursive (and works with shared references) + +# DESCRIPTION + +The purpose of this module is to "fix up" blessed data into a real Moose +object. + +This is used internally by [MooseX::YAML](https://metacpan.org/pod/MooseX::YAML) but has no implementation details +having to do with [YAML](https://metacpan.org/pod/YAML) itself. + +# METHODS + +See [Data::Visitor](https://metacpan.org/pod/Data::Visitor) + +- visit\_object $object + + Calls ["load\_class" in Class::MOP](https://metacpan.org/pod/Class::MOP#load_class) on the `ref` of $object. + + If there's a metaclass, calls `visit_object_with_meta`, otherwise `visit_ref` + is used to walk the object brutishly. + + Returns a deep clone of the input structure with all the [Moose](https://metacpan.org/pod/Moose) objects + reconstructed "properly". + +- visit\_object\_with\_meta $obj, $meta + + Uses the metaclass `$meta` to create a new instance, registers the instance + with [Data::Visitor](https://metacpan.org/pod/Data::Visitor)'s cycle tracking, and then inflates it using + ["new\_object" in Moose::Meta::Class](https://metacpan.org/pod/Moose::Meta::Class#new_object). + +- prepare\_args $obj + + Collapses $obj into key value pairs to be used as init args to + ["new\_object" in Moose::Meta::Class](https://metacpan.org/pod/Moose::Meta::Class#new_object). + +# AUTHORS + +- Yuval Kogman +- Jonathan Rockway + +# COPYRIGHT AND LICENSE + +This software is copyright (c) 2008 by Infinity Interactive, Yuval Kogman. + +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 -Nru libmoosex-blessed-reconstruct-perl-0.04/SIGNATURE libmoosex-blessed-reconstruct-perl-1.00/SIGNATURE --- libmoosex-blessed-reconstruct-perl-0.04/SIGNATURE 2010-07-13 00:01:37.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/SIGNATURE 2014-10-30 16:55:45.000000000 +0000 @@ -1,5 +1,5 @@ This file contains message digests of all files listed in MANIFEST, -signed via the Module::Signature module, version 0.62. +signed via the Module::Signature module, version 0.73. To verify the content in this distribution, first make sure you have Module::Signature installed, then type: @@ -14,17 +14,27 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -SHA1 8e442a83c925d9d54f6e2da526c4a127bd73b877 Changes -SHA1 78a468e5be41b2f15d15e6a989c94fba17c9a093 MANIFEST -SHA1 190e9058eb9c6446a1a3f3ddf15b082f1ecde152 MANIFEST.SKIP -SHA1 e7a4399700f4f8481e357bee58acc36dfd1ed263 META.yml -SHA1 8bfb42276336bae728712b029a18bc2d82914f84 Makefile.PL -SHA1 de7e757558aa28a86f64829ae945eaf5091c6866 lib/MooseX/Blessed/Reconstruct.pm +SHA1 07d6e868efa297a3b0aff46dcbf2eed0b0604c3a Build.PL +SHA1 ec2c04a1df729425f0d5fe5e386f1db13562d221 CONTRIBUTORS +SHA1 7818827859fd01efd985d79fbde626ebcb42e3b9 Changes +SHA1 1a436e7e1a8d13fe2eb2fb38fb51a5d6b27925ee INSTALL +SHA1 77006c8a2d83c22187dcfcbe21c7735e42cb6dcd LICENSE +SHA1 01c818d384fcef8ea036b83e9570c45bb39d2d71 MANIFEST +SHA1 288de67628a9e7963fef31398751880627ac506b META.json +SHA1 c5a5af47e07d5c1eae414f03e58c4cbbca8afe7e META.yml +SHA1 9da93bd03ce7640f60e9b9f432b1352b4535be63 README +SHA1 27c7884f88a8fb09c0fc586998ea9c86e17e73db README.mkdn +SHA1 188e4d8966e0de32d8200666127978b958a94054 cpanfile +SHA1 9d388c4dddd1fb62953604a58429d18f7e156fb8 doap.xml +SHA1 1f22debe7a5f194f4111e8432b6d933d30521158 lib/MooseX/Blessed/Reconstruct.pm +SHA1 6d9e59bfaf0482e8af98b1e6a8d5189f0ab1eec7 t/00-compile.t +SHA1 1eb2815ebbcb38fa90f4d8749221e8b5f99ca0aa t/000-report-versions-tiny.t SHA1 a864e611614c3e25f55dd7174dc6f1f8922881a9 t/basic.t +SHA1 d1fe7d94b3edc7847eb187d4ee41f66e19cf8907 xt/release/unused-vars.t -----BEGIN PGP SIGNATURE----- -Version: GnuPG/MacGPG2 v2.0.12 (Darwin) +Version: GnuPG v1 -iEYEARECAAYFAkw7rOEACgkQVCwRwOvSdBh4XwCfRasi0vD7xrRV/bQQLGZ4pDpd -GBcAn1lHe20qX1zvUB96UD1uXy12ERI0 -=irHr +iEYEARECAAYFAlRSbY8ACgkQ34Hwf+GwC4w/8ACeJKaplV6jI7dpUJLCCZzGyYD3 +cVsAoOZLYK1Ptn3AqSwG/TlzVbSTLWVv +=S5Es -----END PGP SIGNATURE----- diff -Nru libmoosex-blessed-reconstruct-perl-0.04/t/000-report-versions-tiny.t libmoosex-blessed-reconstruct-perl-1.00/t/000-report-versions-tiny.t --- libmoosex-blessed-reconstruct-perl-0.04/t/000-report-versions-tiny.t 1970-01-01 00:00:00.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/t/000-report-versions-tiny.t 2014-10-30 16:55:45.000000000 +0000 @@ -0,0 +1,85 @@ +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 = '5.006'; + $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 = ''; + } + } + + # So, we should be good, right? + return sprintf('%-45s => %-10s%-15s%s', $module, $pmver, $wanted, "\n"); +} + +eval { $v .= pmver('Carp','any version') }; +eval { $v .= pmver('Class::Load','any version') }; +eval { $v .= pmver('Class::MOP','0.93') }; +eval { $v .= pmver('Data::Visitor','0.21') }; +eval { $v .= pmver('File::Spec','any version') }; +eval { $v .= pmver('IO::Handle','any version') }; +eval { $v .= pmver('IPC::Open3','any version') }; +eval { $v .= pmver('Module::Build','0.28') }; +eval { $v .= pmver('Moose','1.05') }; +eval { $v .= pmver('Scalar::Util','any version') }; +eval { $v .= pmver('Test::More','0.88') }; +eval { $v .= pmver('Test::use::ok','any version') }; +eval { $v .= pmver('namespace::clean','any version') }; +eval { $v .= pmver('ok','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 -Nru libmoosex-blessed-reconstruct-perl-0.04/t/00-compile.t libmoosex-blessed-reconstruct-perl-1.00/t/00-compile.t --- libmoosex-blessed-reconstruct-perl-0.04/t/00-compile.t 1970-01-01 00:00:00.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/t/00-compile.t 2014-10-30 16:55:45.000000000 +0000 @@ -0,0 +1,50 @@ +use 5.006; +use strict; +use warnings; + +# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.046 + +use Test::More tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0); + + + +my @module_files = ( + 'MooseX/Blessed/Reconstruct.pm' +); + + + +# no fake home requested + +my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib'; + +use File::Spec; +use IPC::Open3; +use IO::Handle; + +open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!"; + +my @warnings; +for my $lib (@module_files) +{ + # see L + my $stderr = IO::Handle->new; + + my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]"); + binmode $stderr, ':crlf' if $^O eq 'MSWin32'; + my @_warnings = <$stderr>; + waitpid($pid, 0); + is($?, 0, "$lib loaded ok"); + + if (@_warnings) + { + warn @_warnings; + push @warnings, @_warnings; + } +} + + + +is(scalar(@warnings), 0, 'no warnings found') or diag 'got warnings: ', explain \@warnings if $ENV{AUTHOR_TESTING}; + + diff -Nru libmoosex-blessed-reconstruct-perl-0.04/xt/release/unused-vars.t libmoosex-blessed-reconstruct-perl-1.00/xt/release/unused-vars.t --- libmoosex-blessed-reconstruct-perl-0.04/xt/release/unused-vars.t 1970-01-01 00:00:00.000000000 +0000 +++ libmoosex-blessed-reconstruct-perl-1.00/xt/release/unused-vars.t 2014-10-30 16:55:45.000000000 +0000 @@ -0,0 +1,14 @@ +#!perl + +use Test::More 0.96 tests => 1; +eval { require Test::Vars }; + +SKIP: { + skip 1 => 'Test::Vars required for testing for unused vars' + if $@; + Test::Vars->import; + + subtest 'unused vars' => sub { +all_vars_ok(); + }; +};