From: Robert 'phaylon' Sedlacek Date: Wed, 8 Aug 2012 02:15:57 +0000 (+0000) Subject: release preparations X-Git-Tag: v0.000001~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FJSON-Diffable.git;a=commitdiff_plain;h=76e1f3094cbf69754e3b022d8ddd2cf89a2bd20a release preparations --- diff --git a/Makefile.PL b/Makefile.PL index a565fac..7c5ca12 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,8 +1,9 @@ use strict; -use warnings; - +use warnings FATAL => 'all'; use ExtUtils::MakeMaker; +(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml'; + my %build_requires = ( 'Test::More' => 0.98, ); @@ -18,7 +19,7 @@ my $mymeta = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5702 }; WriteMakefile( NAME => 'JSON-Diffable', - VERSION_FROM => 'lib/JSON/Diffable.pm', + VERSION_FROM => 'lib/JSON/Diffable.pm' PREREQ_PM => { %requires, ($mymeta_works ? () : (%build_requires)), @@ -36,5 +37,4 @@ WriteMakefile( ) ), ($mymeta && !$mymeta_works ? (NO_MYMETA => 1) : ()), - LICENSE => 'perl', -);; +); diff --git a/lib/JSON/Diffable.pm b/lib/JSON/Diffable.pm index c9cef45..8542f26 100644 --- a/lib/JSON/Diffable.pm +++ b/lib/JSON/Diffable.pm @@ -7,7 +7,8 @@ package JSON::Diffable; use JSON (); use Exporter 'import'; -our $VERSION = '0.000001'; +our $VERSION = '0.000001'; # 0.0.1 + $VERSION = eval $VERSION; my $real = JSON->new->relaxed->allow_nonref->utf8; @@ -94,7 +95,7 @@ L function. my $json = encode_json($data); -Turns a Perl data structure into relaxed JSON. +Turns a Perl data structure into diffable JSON. =head2 decode_json diff --git a/maint/Makefile.PL.include b/maint/Makefile.PL.include new file mode 100644 index 0000000..05af156 --- /dev/null +++ b/maint/Makefile.PL.include @@ -0,0 +1,8 @@ +BEGIN { + -e 'Distar' + or system("git clone git://git.shadowcat.co.uk/p5sagit/Distar.git") +} +use lib 'Distar/lib'; +use Distar; + +author 'Robert Sedlacek ';