r56640 - in /branches/upstream/libthrowable-perl/current: Changes MANIFEST META.json META.yml Makefile.PL README dist.ini lib/Throwable.pm lib/Throwable/Error.pm t/release-pod-coverage.t

ansgar-guest at users.alioth.debian.org ansgar-guest at users.alioth.debian.org
Thu Apr 22 11:07:50 UTC 2010


Author: ansgar-guest
Date: Thu Apr 22 11:07:40 2010
New Revision: 56640

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=56640
Log:
[svn-upgrade] Integrating new upstream version, libthrowable-perl (0.101110)

Removed:
    branches/upstream/libthrowable-perl/current/t/release-pod-coverage.t
Modified:
    branches/upstream/libthrowable-perl/current/Changes
    branches/upstream/libthrowable-perl/current/MANIFEST
    branches/upstream/libthrowable-perl/current/META.json
    branches/upstream/libthrowable-perl/current/META.yml
    branches/upstream/libthrowable-perl/current/Makefile.PL
    branches/upstream/libthrowable-perl/current/README
    branches/upstream/libthrowable-perl/current/dist.ini
    branches/upstream/libthrowable-perl/current/lib/Throwable.pm
    branches/upstream/libthrowable-perl/current/lib/Throwable/Error.pm

Modified: branches/upstream/libthrowable-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libthrowable-perl/current/Changes?rev=56640&op=diff
==============================================================================
--- branches/upstream/libthrowable-perl/current/Changes (original)
+++ branches/upstream/libthrowable-perl/current/Changes Thu Apr 22 11:07:40 2010
@@ -1,4 +1,11 @@
 Revision history for Throwable
+
+0.101110  2010-04-21 20:59:59 America/New_York
+          avoid doing: length undef (thanks, Yuval Kogman)
+
+0.100090  2010-01-10
+          $error->throw now rethrows existing Errors
+          Error->throw("str") now uses the string as message attr
 
 0.092610  2009-09-18
           fix to work with latest Class::MOP (thanks, Paul Mooney)

Modified: branches/upstream/libthrowable-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libthrowable-perl/current/MANIFEST?rev=56640&op=diff
==============================================================================
--- branches/upstream/libthrowable-perl/current/MANIFEST (original)
+++ branches/upstream/libthrowable-perl/current/MANIFEST Thu Apr 22 11:07:40 2010
@@ -9,5 +9,4 @@
 lib/Throwable.pm
 lib/Throwable/Error.pm
 t/basic.t
-t/release-pod-coverage.t
 t/release-pod-syntax.t

Modified: branches/upstream/libthrowable-perl/current/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libthrowable-perl/current/META.json?rev=56640&op=diff
==============================================================================
--- branches/upstream/libthrowable-perl/current/META.json (original)
+++ branches/upstream/libthrowable-perl/current/META.json Thu Apr 22 11:07:40 2010
@@ -1,24 +1,210 @@
 {
-   "resources" : {
-      "repository" : "http://github.com/rjbs/throwable"
-   },
-   "meta-spec" : {
-      "version" : 1.4,
-      "url" : "http://module-build.sourceforge.net/META-spec-v1.4.html"
-   },
-   "generated_by" : "Dist::Zilla version 1.100060",
-   "version" : "0.100090",
-   "name" : "Throwable",
+   "abstract" : "a role for classes that can be thrown",
    "author" : [
       "Ricardo SIGNES <rjbs at cpan.org>",
       "Florian Ragwitz <rafl at debian.org>"
    ],
+   "build_requires" : {
+      "Test::More" : "0"
+   },
+   "configure_requires" : {
+      "ExtUtils::MakeMaker" : "6.31"
+   },
+   "generated_by" : "Dist::Zilla version 2.101040",
    "license" : "perl",
+   "meta-spec" : {
+      "url" : "http://module-build.sourceforge.net/META-spec-v1.4.html",
+      "version" : 1.4
+   },
+   "name" : "Throwable",
+   "recommends" : {},
    "requires" : {
       "Devel::StackTrace" : "1.21",
-      "ExtUtils::MakeMaker" : "6.11",
-      "Moose" : "0.87"
-   },
-   "abstract" : "a role for classes that can be thrown"
+      "Moose" : "0.87",
+      "Moose::Role" : "0.87",
+      "Moose::Util::TypeConstraints" : "0",
+      "overload" : "0"
+   },
+   "resources" : {
+      "repository" : "git://git.codesimply.com/Throwable.git"
+   },
+   "version" : "0.101110",
+   "x_Dist_Zilla" : {
+      "plugins" : [
+         {
+            "class" : "Dist::Zilla::Plugin::GatherDir",
+            "name" : "@RJBS/@@Basic/GatherDir",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::PruneCruft",
+            "name" : "@RJBS/@@Basic/PruneCruft",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::ManifestSkip",
+            "name" : "@RJBS/@@Basic/ManifestSkip",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::MetaYAML",
+            "name" : "@RJBS/@@Basic/MetaYAML",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::License",
+            "name" : "@RJBS/@@Basic/License",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::Readme",
+            "name" : "@RJBS/@@Basic/Readme",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::ExtraTests",
+            "name" : "@RJBS/@@Basic/ExtraTests",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::ExecDir",
+            "name" : "@RJBS/@@Basic/ExecDir",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::ShareDir",
+            "name" : "@RJBS/@@Basic/ShareDir",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::MakeMaker",
+            "name" : "@RJBS/@@Basic/MakeMaker",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::Manifest",
+            "name" : "@RJBS/@@Basic/Manifest",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::TestRelease",
+            "name" : "@RJBS/@@Basic/TestRelease",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::ConfirmRelease",
+            "name" : "@RJBS/@@Basic/ConfirmRelease",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::UploadToCPAN",
+            "name" : "@RJBS/@@Basic/UploadToCPAN",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::AutoPrereq",
+            "name" : "@RJBS/AutoPrereq",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::AutoVersion",
+            "name" : "@RJBS/AutoVersion",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::PkgVersion",
+            "name" : "@RJBS/PkgVersion",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::MetaConfig",
+            "name" : "@RJBS/MetaConfig",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::MetaJSON",
+            "name" : "@RJBS/MetaJSON",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::NextRelease",
+            "name" : "@RJBS/NextRelease",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::PodSyntaxTests",
+            "name" : "@RJBS/PodSyntaxTests",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::Repository",
+            "name" : "@RJBS/Repository",
+            "version" : "0.11"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::PodWeaver",
+            "name" : "@RJBS/PodWeaver",
+            "version" : "3.100710"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::Git::Check",
+            "name" : "@RJBS/@@Git/Check",
+            "version" : "1.100970"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::Git::Commit",
+            "name" : "@RJBS/@@Git/Commit",
+            "version" : "1.100970"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::Git::Tag",
+            "name" : "@RJBS/@@Git/Tag",
+            "version" : "1.100970"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::Git::Push",
+            "name" : "@RJBS/@@Git/Push",
+            "version" : "1.100970"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::Prereq",
+            "config" : {
+               "Dist::Zilla::Plugin::Prereq" : {
+                  "phase" : "runtime",
+                  "type" : "requires"
+               }
+            },
+            "name" : "Prereq",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::FinderCode",
+            "name" : ":InstallModules",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::FinderCode",
+            "name" : ":TestFiles",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::FinderCode",
+            "name" : ":ExecFiles",
+            "version" : "2.101040"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::FinderCode",
+            "name" : ":ShareFiles",
+            "version" : "2.101040"
+         }
+      ],
+      "zilla" : {
+         "class" : "Dist::Zilla",
+         "config" : {
+            "is_trial" : 0
+         },
+         "version" : "2.101040"
+      }
+   }
 }
 

Modified: branches/upstream/libthrowable-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libthrowable-perl/current/META.yml?rev=56640&op=diff
==============================================================================
--- branches/upstream/libthrowable-perl/current/META.yml (original)
+++ branches/upstream/libthrowable-perl/current/META.yml Thu Apr 22 11:07:40 2010
@@ -3,16 +3,162 @@
 author:
   - 'Ricardo SIGNES <rjbs at cpan.org>'
   - 'Florian Ragwitz <rafl at debian.org>'
-generated_by: 'Dist::Zilla version 1.100060'
+build_requires:
+  Test::More: 0
+configure_requires:
+  ExtUtils::MakeMaker: 6.31
+generated_by: 'Dist::Zilla version 2.101040'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
   version: 1.4
 name: Throwable
+recommends: {}
 requires:
   Devel::StackTrace: 1.21
-  ExtUtils::MakeMaker: 6.11
   Moose: 0.87
+  Moose::Role: 0.87
+  Moose::Util::TypeConstraints: 0
+  overload: 0
 resources:
-  repository: http://github.com/rjbs/throwable
-version: 0.100090
+  repository: git://git.codesimply.com/Throwable.git
+version: 0.101110
+x_Dist_Zilla:
+  plugins:
+    -
+      class: Dist::Zilla::Plugin::GatherDir
+      name: '@RJBS/@@Basic/GatherDir'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::PruneCruft
+      name: '@RJBS/@@Basic/PruneCruft'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::ManifestSkip
+      name: '@RJBS/@@Basic/ManifestSkip'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::MetaYAML
+      name: '@RJBS/@@Basic/MetaYAML'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::License
+      name: '@RJBS/@@Basic/License'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::Readme
+      name: '@RJBS/@@Basic/Readme'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::ExtraTests
+      name: '@RJBS/@@Basic/ExtraTests'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::ExecDir
+      name: '@RJBS/@@Basic/ExecDir'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::ShareDir
+      name: '@RJBS/@@Basic/ShareDir'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::MakeMaker
+      name: '@RJBS/@@Basic/MakeMaker'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::Manifest
+      name: '@RJBS/@@Basic/Manifest'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::TestRelease
+      name: '@RJBS/@@Basic/TestRelease'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::ConfirmRelease
+      name: '@RJBS/@@Basic/ConfirmRelease'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::UploadToCPAN
+      name: '@RJBS/@@Basic/UploadToCPAN'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::AutoPrereq
+      name: '@RJBS/AutoPrereq'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::AutoVersion
+      name: '@RJBS/AutoVersion'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::PkgVersion
+      name: '@RJBS/PkgVersion'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::MetaConfig
+      name: '@RJBS/MetaConfig'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::MetaJSON
+      name: '@RJBS/MetaJSON'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::NextRelease
+      name: '@RJBS/NextRelease'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::PodSyntaxTests
+      name: '@RJBS/PodSyntaxTests'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::Repository
+      name: '@RJBS/Repository'
+      version: 0.11
+    -
+      class: Dist::Zilla::Plugin::PodWeaver
+      name: '@RJBS/PodWeaver'
+      version: 3.100710
+    -
+      class: Dist::Zilla::Plugin::Git::Check
+      name: '@RJBS/@@Git/Check'
+      version: 1.100970
+    -
+      class: Dist::Zilla::Plugin::Git::Commit
+      name: '@RJBS/@@Git/Commit'
+      version: 1.100970
+    -
+      class: Dist::Zilla::Plugin::Git::Tag
+      name: '@RJBS/@@Git/Tag'
+      version: 1.100970
+    -
+      class: Dist::Zilla::Plugin::Git::Push
+      name: '@RJBS/@@Git/Push'
+      version: 1.100970
+    -
+      class: Dist::Zilla::Plugin::Prereq
+      config:
+        Dist::Zilla::Plugin::Prereq:
+          phase: runtime
+          type: requires
+      name: Prereq
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::FinderCode
+      name: ':InstallModules'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::FinderCode
+      name: ':TestFiles'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::FinderCode
+      name: ':ExecFiles'
+      version: 2.101040
+    -
+      class: Dist::Zilla::Plugin::FinderCode
+      name: ':ShareFiles'
+      version: 2.101040
+  zilla:
+    class: Dist::Zilla
+    config:
+      is_trial: 0
+    version: 2.101040

Modified: branches/upstream/libthrowable-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libthrowable-perl/current/Makefile.PL?rev=56640&op=diff
==============================================================================
--- branches/upstream/libthrowable-perl/current/Makefile.PL (original)
+++ branches/upstream/libthrowable-perl/current/Makefile.PL Thu Apr 22 11:07:40 2010
@@ -4,25 +4,44 @@
 
 
 
-use ExtUtils::MakeMaker 6.11;
+use ExtUtils::MakeMaker 6.31;
 
 
 
-WriteMakefile(
-  DISTNAME  => 'Throwable',
-  NAME      => 'Throwable',
-  AUTHOR    => "Ricardo\ SIGNES\ \<rjbs\@cpan\.org\>\,\ Florian\ Ragwitz\ \<rafl\@debian\.org\>",
-  ABSTRACT  => "a\ role\ for\ classes\ that\ can\ be\ thrown",
-  VERSION   => '0.100090',
-  EXE_FILES => [  ],
-  (eval { ExtUtils::MakeMaker->VERSION(6.31) } ? (LICENSE => 'perl') : ()),
-  PREREQ_PM    => {
-    "Devel::StackTrace" => '1.21',
-    "ExtUtils::MakeMaker" => '6.11',
-    "Moose" => '0.87',
-  },
-  test => {TESTS => 't/*.t'}
-);
+my %WriteMakefileArgs = (
+                       'test' => {
+                                   'TESTS' => 't/*.t'
+                                 },
+                       'NAME' => 'Throwable',
+                       'DISTNAME' => 'Throwable',
+                       'CONFIGURE_REQUIRES' => {
+                                                 'ExtUtils::MakeMaker' => '6.31'
+                                               },
+                       'AUTHOR' => 'Ricardo SIGNES <rjbs at cpan.org>, Florian Ragwitz <rafl at debian.org>',
+                       'BUILD_REQUIRES' => {
+                                             'Test::More' => '0'
+                                           },
+                       'ABSTRACT' => 'a role for classes that can be thrown',
+                       'EXE_FILES' => [],
+                       'VERSION' => '0.101110',
+                       'PREREQ_PM' => {
+                                        'Moose::Role' => '0.87',
+                                        'Devel::StackTrace' => '1.21',
+                                        'overload' => '0',
+                                        'Moose::Util::TypeConstraints' => '0',
+                                        'Moose' => '0.87'
+                                      },
+                       'LICENSE' => 'perl'
+                     );
+
+
+delete $WriteMakefileArgs{BUILD_REQUIRES}
+  unless eval { ExtUtils::MakeMaker->VERSION(6.56) };
+
+delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+
+WriteMakefile(%WriteMakefileArgs);
 
 
 

Modified: branches/upstream/libthrowable-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libthrowable-perl/current/README?rev=56640&op=diff
==============================================================================
--- branches/upstream/libthrowable-perl/current/README (original)
+++ branches/upstream/libthrowable-perl/current/README Thu Apr 22 11:07:40 2010
@@ -1,7 +1,7 @@
 
 
-This archive contains the distribution Throwable, version
-0.100090:
+This archive contains the distribution Throwable,
+version 0.101110:
 
   a role for classes that can be thrown
 
@@ -10,3 +10,4 @@
 This is free software; you can redistribute it and/or modify it under
 the same terms as the Perl 5 programming language system itself.
 
+

Modified: branches/upstream/libthrowable-perl/current/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libthrowable-perl/current/dist.ini?rev=56640&op=diff
==============================================================================
--- branches/upstream/libthrowable-perl/current/dist.ini (original)
+++ branches/upstream/libthrowable-perl/current/dist.ini Thu Apr 22 11:07:40 2010
@@ -7,6 +7,5 @@
 [@RJBS]
 
 [Prereq]
-Moose = 0.87 ; has the construction call flow we unfortunately rely on
 Devel::StackTrace = 1.21 ; frame_filter
 

Modified: branches/upstream/libthrowable-perl/current/lib/Throwable.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libthrowable-perl/current/lib/Throwable.pm?rev=56640&op=diff
==============================================================================
--- branches/upstream/libthrowable-perl/current/lib/Throwable.pm (original)
+++ branches/upstream/libthrowable-perl/current/lib/Throwable.pm Thu Apr 22 11:07:40 2010
@@ -1,6 +1,8 @@
 package Throwable;
-our $VERSION = '0.100090';
-use Moose::Role;
+BEGIN {
+  $Throwable::VERSION = '0.101110';
+}
+use Moose::Role 0.87;
 # ABSTRACT: a role for classes that can be thrown
 
 
@@ -8,7 +10,7 @@
   is       => 'ro',
   init_arg => undef,
   default  => sub {
-    return unless defined $@ and ref $@ or length $@;
+    return unless defined $@ and (ref $@ or length $@);
     return $@;
   },
 );
@@ -38,7 +40,7 @@
 
 =head1 VERSION
 
-version 0.100090
+version 0.101110
 
 =head1 SYNOPSIS
 

Modified: branches/upstream/libthrowable-perl/current/lib/Throwable/Error.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libthrowable-perl/current/lib/Throwable/Error.pm?rev=56640&op=diff
==============================================================================
--- branches/upstream/libthrowable-perl/current/lib/Throwable/Error.pm (original)
+++ branches/upstream/libthrowable-perl/current/lib/Throwable/Error.pm Thu Apr 22 11:07:40 2010
@@ -1,6 +1,8 @@
 package Throwable::Error;
-our $VERSION = '0.100090';
-use Moose;
+BEGIN {
+  $Throwable::Error::VERSION = '0.101110';
+}
+use Moose 0.87;
 with 'Throwable';
 # ABSTRACT: an easy-to-use class for error objects
 
@@ -125,7 +127,7 @@
 
 =head1 VERSION
 
-version 0.100090
+version 0.101110
 
 =head1 SYNOPSIS
 




More information about the Pkg-perl-cvs-commits mailing list