diff --git a/perl/.shipit b/perl/.shipit index f9997c88..7b4dbc01 100644 --- a/perl/.shipit +++ b/perl/.shipit @@ -1,2 +1,3 @@ steps = FindVersion, ChangeVersion, CheckChangeLog, DistTest, Commit, Tag, MakeDist, UploadCPAN +MakeDist.destination=~/.shipit-dist/ git.tagpattern = perl-%v diff --git a/perl/Changes b/perl/Changes index 091c875a..6e07966b 100644 --- a/perl/Changes +++ b/perl/Changes @@ -1,11 +1,16 @@ +0.31 + + - update Module::Install::XSUtil for ccache support (gfx) + - add version check at bootstrap in order to avoid load old .so (gfx) + 0.30 - - fix utf8 mode not to be reseted by $unpacker->reset method + - fix utf8 mode not to be reseted by $unpacker->reset method (gfx) 0.29 - - add $unpacker->utf8 mode, decoding strings as UTF-8. + - add $unpacker->utf8 mode, decoding strings as UTF-8 (gfx) 0.28 diff --git a/perl/Makefile.PL b/perl/Makefile.PL index 219400f2..111b705c 100644 --- a/perl/Makefile.PL +++ b/perl/Makefile.PL @@ -1,8 +1,7 @@ # Usage: Makefile.PL --pp # disable XS # Makefile.PL -g # add -g to the compiler and disable optimization flags use inc::Module::Install; -use Module::Install::XSUtil 0.32; -use Config; +use Module::Install::XSUtil 0.36; name 'Data-MessagePack'; all_from 'lib/Data/MessagePack.pm'; diff --git a/perl/lib/Data/MessagePack.pm b/perl/lib/Data/MessagePack.pm index 01e0fc05..6d37d8f8 100644 --- a/perl/lib/Data/MessagePack.pm +++ b/perl/lib/Data/MessagePack.pm @@ -3,18 +3,18 @@ use strict; use warnings; use 5.008001; -our $VERSION = '0.29'; +our $VERSION = '0.31'; our $PreferInteger = 0; sub true () { require Data::MessagePack::Boolean; - no warnings 'once', 'redefine'; + no warnings 'once'; return $Data::MessagePack::Boolean::true; } sub false () { require Data::MessagePack::Boolean; - no warnings 'once', 'redefine'; + no warnings 'once'; return $Data::MessagePack::Boolean::false; } diff --git a/perl/xs-src/MessagePack.c b/perl/xs-src/MessagePack.c index 0c3c0b16..82ad1084 100644 --- a/perl/xs-src/MessagePack.c +++ b/perl/xs-src/MessagePack.c @@ -21,7 +21,7 @@ void init_Data__MessagePack_unpack(pTHX_ bool const cloning); XS(boot_Data__MessagePack) { dXSARGS; - PERL_UNUSED_VAR(items); + XS_VERSION_BOOTCHECK; init_Data__MessagePack_pack(aTHX_ false); init_Data__MessagePack_unpack(aTHX_ false);