Skip to content

Commit

Permalink
Checking in changes prior to tagging of version 0.17.
Browse files Browse the repository at this point in the history
Changelog diff is:

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)
  • Loading branch information
vti committed Dec 26, 2016
1 parent da221f5 commit eb8bfc7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 62 deletions.
57 changes: 2 additions & 55 deletions Build.PL
Original file line number Diff line number Diff line change
Expand Up @@ -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();

4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
12 changes: 6 additions & 6 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Viacheslav Tykhanovskyi, C<[email protected]>."
],
"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"
],
Expand All @@ -28,7 +28,7 @@
"prereqs" : {
"configure" : {
"requires" : {
"Module::Build" : "0.38"
"Module::Build::Tiny" : "0.035"
}
},
"develop" : {
Expand Down Expand Up @@ -59,15 +59,15 @@
"web" : "https://github.com/vti/routes-tiny"
}
},
"version" : "0.16",
"version" : "0.17",
"x_contributors" : [
"Sergey Zasenko <[email protected]>",
"Dmitry Smal <[email protected]>",
"Dinar Sabitov <[email protected]>",
"Jonathan R. Warden <[email protected]>",
"Alexander Batyrshin <[email protected]>",
"Viacheslav Tykhanovskyi <viacheslav.t@gmail.com>",
"vti <vti@clarive.com>"
"vti <vti@clarive.com>",
"vti <viacheslav.t@gmail.com>"
],
"x_serialization_backend" : "JSON::PP version 2.27300"
"x_serialization_backend" : "JSON::PP version 2.27300_01"
}
2 changes: 1 addition & 1 deletion lib/Routes/Tiny.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit eb8bfc7

Please sign in to comment.