* Warning: For a seamless upgrade, upgrade to version 3
* of the decoder before upgrading to version 3 of the
* encoder!
+3.002_001 Sept 26, 2014
+ * Niko Tyni fixed the 64-bit big endian Sereal bug! (Yay Niko!)
+ * Setup META.yml correctly so that certain dependencies are
+ marked as being test dependencies and not build or run-time
+ dependencies.
3.002 Aug 20 2014
Summary of changes from 3.001 - 3.002
"Steffen Mueller <smueller@cpan.org>, Yves Orton <yves@cpan.org>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.9, CPAN::Meta::Converter version 2.141520",
+ "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060",
"license" : [
"perl_5"
],
"prereqs" : {
"build" : {
"requires" : {
- "Data::Dumper" : "0",
"ExtUtils::ParseXS" : "2.21",
"File::Find" : "0",
- "File::Path" : "0",
- "File::Spec" : "0",
- "Scalar::Util" : "0",
- "Sereal::Decoder" : "3.00",
- "Test::LongString" : "0",
- "Test::More" : "0.88",
- "Test::Warn" : "0"
+ "File::Path" : "0"
}
},
"configure" : {
"XSLoader" : "0",
"perl" : "5.008"
}
+ },
+ "test" : {
+ "requires" : {
+ "Data::Dumper" : "0",
+ "File::Spec" : "0",
+ "Scalar::Util" : "0",
+ "Sereal::Decoder" : "3.00",
+ "Test::LongString" : "0",
+ "Test::More" : "0.88",
+ "Test::Warn" : "0"
+ }
}
},
- "release_status" : "stable",
+ "release_status" : "testing",
"resources" : {
"bugtracker" : {
"web" : "https://github.com/Sereal/Sereal/issues"
},
"repository" : {
+ "type" : "git",
"url" : "git://github.com/Sereal/Sereal.git"
}
},
- "version" : "3.002"
+ "version" : "3.002_001"
}
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.9, CPAN::Meta::Converter version 2.141520'
+generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
resources:
bugtracker: https://github.com/Sereal/Sereal/issues
repository: git://github.com/Sereal/Sereal.git
-version: '3.002'
+version: 3.002_001
MIN_PERL_VERSION => '5.008',
META_MERGE => {
resources => {
- repository => 'git://github.com/Sereal/Sereal.git',
- bugtracker => 'https://github.com/Sereal/Sereal/issues',
+ repository => {
+ url => 'git://github.com/Sereal/Sereal.git',
+ },
+ bugtracker => {
+ web => 'https://github.com/Sereal/Sereal/issues',
+ },
},
+ 'meta-spec' => { version => 2 },
},
- BUILD_REQUIRES => {
+ TEST_REQUIRES => {
'Test::More' => 0.88,
'Scalar::Util' => 0,
- 'File::Find' => 0,
'File::Spec' => 0,
- 'Scalar::Util' => 0,
- 'File::Path' => 0,
- 'ExtUtils::ParseXS' => '2.21',
'Test::LongString' => '0',
- 'Data::Dumper' => '0',
'Test::Warn' => '0',
+ 'Data::Dumper' => '0',
'Sereal::Decoder' => '3.00',
},
+ BUILD_REQUIRES => {
+ 'File::Find' => 0,
+ 'File::Path' => 0,
+ 'ExtUtils::ParseXS' => '2.21',
+ },
NAME => $module,
VERSION_FROM => 'lib/Sereal/Encoder.pm', # finds $VERSION
PREREQ_PM => {
$eumm_version=eval $eumm_version;
die "EXTRA_META is deprecated" if exists $params{EXTRA_META};
die "License not specified" if not exists $params{LICENSE};
+ if ($params{TEST_REQUIRES} and $eumm_version < 6.6303) {
+ $params{BUILD_REQUIRES}={ %{$params{BUILD_REQUIRES} || {}} , %{$params{TEST_REQUIRES}} };
+ delete $params{TEST_REQUIRES};
+ }
if ($params{BUILD_REQUIRES} and $eumm_version < 6.5503) {
#EUMM 6.5502 has problems with BUILD_REQUIRES
$params{PREREQ_PM}={ %{$params{PREREQ_PM} || {}} , %{$params{BUILD_REQUIRES}} };
my @cc = split(/\s+/, $Config{cc});
return ( [ @cc, @ccflags ], \@ldflags ) if -x $cc[0];
foreach my $path (@paths) {
- my $compiler = File::Spec->catfile($path, $cc[0]) . $Config{_exe};
+ my $compiler = File::Spec->catfile($path, $cc[0]) . ($^O eq 'cygwin' ? '' : $Config{_exe});
return ([ $compiler, @cc[1 .. $#cc], @ccflags ], \@ldflags)
if -x $compiler;
}
use strict;
use warnings;
use Carp qw(croak);
-use $namespace; # for XSLoading
+use $namespace; our \$VERSION= \$$namespace\::VERSION; # for XSLoading
our \@ISA = qw(Exporter);
require Exporter;
our \@EXPORT_OK;
use Carp qw/croak/;
use XSLoader;
-our $VERSION = '3.002'; # Don't forget to update the TestCompat set for testing against installed decoders!
+our $VERSION = '3.002_001'; # 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.
use strict;
use warnings;
use Carp qw(croak);
-use Sereal::Encoder; # for XSLoading
+use Sereal::Encoder; our $VERSION= $Sereal::Encoder::VERSION; # for XSLoading
our @ISA = qw(Exporter);
require Exporter;
our @EXPORT_OK;
static INLINE uint32_t GetUint32AtOffset(uint64_t v, int offset) {
DCHECK_GE(offset, 0);
DCHECK_LE(offset, 4);
-#ifdef __LITTLE_ENDIAN
+#if __BYTE_ORDER == __LITTLE_ENDIAN
return v >> (8 * offset);
#else
return v >> (32 - 8 * offset);