[Bps-public-commit] Shipwright branch, master, updated. c8b1548183fed9d3e52e46f8b77e9b5ce836fca0

? sunnavy sunnavy at bestpractical.com
Wed Dec 11 09:15:51 EST 2013


The branch, master has been updated
       via  c8b1548183fed9d3e52e46f8b77e9b5ce836fca0 (commit)
       via  dc9fae141a2750f45885de292e80b0f910934484 (commit)
       via  e5f5f29d1889a882cc2461e8dd1a1e3d7c4fa03f (commit)
      from  25f6acb02ca1193143a24f5054c92b0699eced62 (commit)

Summary of changes:
 Changes                       | 7 ++++++-
 META.yml                      | 2 +-
 lib/Shipwright.pm             | 2 +-
 lib/Shipwright/Source/Base.pm | 1 +
 4 files changed, 9 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit e5f5f29d1889a882cc2461e8dd1a1e3d7c4fa03f
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Dec 11 22:03:19 2013 +0800

    in case some type's deps are empty
    
    we check $require->{requires} to determine if the structure of $require is
    like { requires => { 'Foo' => '1.0' }, build_requires => { 'Bar' => '1.0' } }
    or { Foo => '1.0', Bar => '1.0' }, without this fix, we might be wrong about
    the structure.

diff --git a/lib/Shipwright/Source/Base.pm b/lib/Shipwright/Source/Base.pm
index be7085e..7c5862c 100644
--- a/lib/Shipwright/Source/Base.pm
+++ b/lib/Shipwright/Source/Base.pm
@@ -442,6 +442,7 @@ EOF
                         $eval =~ s/([\w:]+)=>/'$1'=>/g;
                         eval "$eval;1" or confess_or_die "eval error: $@";    ## no critic
 
+                        $require->{$requires_map{$item}} ||= {};
                         for ( keys %$tmp_requires ) {
                             $require->{$requires_map{$item}}{$_} = delete $tmp_requires->{$_};
                         }

commit dc9fae141a2750f45885de292e80b0f910934484
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Dec 11 22:13:03 2013 +0800

    release 2.4.38

diff --git a/Changes b/Changes
index 74b0a88..e6fd75c 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,9 @@
 Revision history for Shipwright
 
-2.4.38
+2.4.38 Wed Dec 11 22:10:05 CST 2013
+
+* edge case fix("requires" is empty but "configure_requires" is not for
+  usual Makefile.PL)
 
 2.4.37 Sat Dec  7 17:06:54 CST 2013
 

commit c8b1548183fed9d3e52e46f8b77e9b5ce836fca0
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Dec 11 22:13:36 2013 +0800

    bump to 2.4.39

diff --git a/Changes b/Changes
index e6fd75c..c1df34e 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,7 @@
 Revision history for Shipwright
 
+2.4.39
+
 2.4.38 Wed Dec 11 22:10:05 CST 2013
 
 * edge case fix("requires" is empty but "configure_requires" is not for
diff --git a/META.yml b/META.yml
index d2fe618..ea888a0 100644
--- a/META.yml
+++ b/META.yml
@@ -57,4 +57,4 @@ requires:
 resources:
   license: http://dev.perl.org/licenses/
   repository: git://github.com/bestpractical/shipwright.git
-version: 2.004038
+version: 2.004039
diff --git a/lib/Shipwright.pm b/lib/Shipwright.pm
index 104fc5c..1f21910 100644
--- a/lib/Shipwright.pm
+++ b/lib/Shipwright.pm
@@ -2,7 +2,7 @@ package Shipwright;
 
 use warnings;
 use strict;
-use version; our $VERSION = qv('2.4.38');
+use version; our $VERSION = qv('2.4.39');
 
 use base qw/Shipwright::Base/;
 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list