diff --git a/Build.PL b/Build.PL index 369cdf1..16855c4 100644 --- a/Build.PL +++ b/Build.PL @@ -4,62 +4,9 @@ # ========================================================================= use 5.008_001; - use strict; -use warnings; -use utf8; - -use Module::Build; -use File::Basename; -use File::Spec; - -my %args = ( - license => 'perl', - dynamic_config => 0, - - configure_requires => { - 'Module::Build' => 0.38, - }, - - name => 'Routes-Tiny', - module_name => 'Routes::Tiny', - allow_pureperl => 0, - - script_files => [glob('script/*'), glob('bin/*')], - c_source => [qw()], - PL_files => {}, - - test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/', - recursive_test_files => 1, - - -); -if (-d 'share') { - $args{share_dir} = 'share'; -} - -my $builder = Module::Build->subclass( - class => 'MyBuilder', - code => q{ - sub ACTION_distmeta { - die "Do not run distmeta. Install Minilla and `minil install` instead.\n"; - } - sub ACTION_installdeps { - die "Do not run installdeps. Run `cpanm --installdeps .` instead.\n"; - } - } -)->new(%args); -$builder->create_build_script(); - -use File::Copy; -print "cp META.json MYMETA.json\n"; -copy("META.json","MYMETA.json") or die "Copy failed(META.json): $!"; +use Module::Build::Tiny 0.035; -if (-f 'META.yml') { - print "cp META.yml MYMETA.yml\n"; - copy("META.yml","MYMETA.yml") or die "Copy failed(META.yml): $!"; -} else { - print "There is no META.yml... You may install this module from the repository...\n"; -} +Build_PL(); diff --git a/Changes b/Changes index 6e5060f..060b842 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,10 @@ Revision history for perl module Routes::Tiny {{$NEXT}} +0.17 2016-12-26T18:28:28Z + + - merge arguments in subroutes + 0.16 2016-08-19T08:10:24Z - Fix captures when using array constraints (Alexander Batyrshin) diff --git a/META.json b/META.json index e24403c..4e13ff6 100644 --- a/META.json +++ b/META.json @@ -4,7 +4,7 @@ "Viacheslav Tykhanovskyi, C." ], "dynamic_config" : 0, - "generated_by" : "Minilla/v2.5.0, CPAN::Meta::Converter version 2.150005", + "generated_by" : "Minilla/v3.0.4, CPAN::Meta::Converter version 2.150010", "license" : [ "artistic_2" ], @@ -28,7 +28,7 @@ "prereqs" : { "configure" : { "requires" : { - "Module::Build" : "0.38" + "Module::Build::Tiny" : "0.035" } }, "develop" : { @@ -59,15 +59,15 @@ "web" : "https://github.com/vti/routes-tiny" } }, - "version" : "0.16", + "version" : "0.17", "x_contributors" : [ "Sergey Zasenko ", "Dmitry Smal ", "Dinar Sabitov ", "Jonathan R. Warden ", "Alexander Batyrshin <0x62ash@gmail.com>", - "Viacheslav Tykhanovskyi ", - "vti " + "vti ", + "vti " ], - "x_serialization_backend" : "JSON::PP version 2.27300" + "x_serialization_backend" : "JSON::PP version 2.27300_01" } diff --git a/lib/Routes/Tiny.pm b/lib/Routes/Tiny.pm index 2c34c83..6191ca0 100644 --- a/lib/Routes/Tiny.pm +++ b/lib/Routes/Tiny.pm @@ -7,7 +7,7 @@ require Carp; require Scalar::Util; use Routes::Tiny::Pattern; -our $VERSION = 0.16; +our $VERSION = 0.17; sub new { my $class = shift;