From f889dec66b45cedd3f7a985039e4b5b9ab149cb5 Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Wed, 6 Aug 2014 00:15:40 +0200 Subject: [PATCH] Imported Upstream version 3.001.009 --- META.json | 2 +- META.yml | 2 +- author_tools/hobodecoder.pl | 4 ++-- lib/Sereal/Encoder.pm | 2 +- t/lib/Sereal/TestSet.pm | 3 +-- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/META.json b/META.json index 82c26dc..f2fb3e4 100644 --- a/META.json +++ b/META.json @@ -55,5 +55,5 @@ "url" : "git://github.com/Sereal/Sereal.git" } }, - "version" : "3.001_008" + "version" : "3.001_009" } diff --git a/META.yml b/META.yml index 47b03f1..677e645 100644 --- a/META.yml +++ b/META.yml @@ -32,4 +32,4 @@ requires: resources: bugtracker: https://github.com/Sereal/Sereal/issues repository: git://github.com/Sereal/Sereal.git -version: 3.001_008 +version: 3.001_009 diff --git a/author_tools/hobodecoder.pl b/author_tools/hobodecoder.pl index 3f1ec2f..6dc4c0e 100644 --- a/author_tools/hobodecoder.pl +++ b/author_tools/hobodecoder.pl @@ -10,12 +10,12 @@ BEGIN { eval ' use Sereal::Encoder::Constants qw(:all); @constants= @Sereal::Encoder::Constants::EXPORT_OK; - print "Loaded constants from $INC{q(Sereal/Encoder/Constants.pm)}"; + print "Loaded constants from $INC{q(Sereal/Encoder/Constants.pm)}\n"; 1; ' or do { $err= $@; eval ' use Sereal::Decoder::Constants qw(:all); @constants= @Sereal::Decoder::Constants::EXPORT_OK; - print "Loaded constants from $INC{q(Sereal/Decoder/Constants.pm)}"; + print "Loaded constants from $INC{q(Sereal/Decoder/Constants.pm)}\n"; 1; ' } or die "No encoder/decoder constants: $err\n$@"; } diff --git a/lib/Sereal/Encoder.pm b/lib/Sereal/Encoder.pm index 31129ea..f9d17ca 100644 --- a/lib/Sereal/Encoder.pm +++ b/lib/Sereal/Encoder.pm @@ -5,7 +5,7 @@ use warnings; use Carp qw/croak/; use XSLoader; -our $VERSION = '3.001_008'; # Don't forget to update the TestCompat set for testing against installed decoders! +our $VERSION = '3.001_009'; # Don't forget to update the TestCompat set for testing against installed decoders! our $XS_VERSION = $VERSION; $VERSION= eval $VERSION; # not for public consumption, just for testing. diff --git a/t/lib/Sereal/TestSet.pm b/t/lib/Sereal/TestSet.pm index d3b9f54..021bc7b 100644 --- a/t/lib/Sereal/TestSet.pm +++ b/t/lib/Sereal/TestSet.pm @@ -526,8 +526,7 @@ sub setup_tests { array(chr(SRL_HDR_FALSE),chr(SRL_HDR_TRUE)), "true/false", $Config{usethreads}, # if this is true - array(chr(SRL_HDR_FALSE),chr(0b0000_0001)), # the we will accept this - array(chr(0b0000_0000),chr(0b0000_0001)), # or this if the test fails. + array(chr(SRL_HDR_FALSE),short_string("1")), # the we will accept this ] ); } -- 2.30.2