Skip to content

Commit 7ed336c

Browse files
committed
Checking in changes prior to tagging of version 0.04. Changelog diff is:
diff --git a/Changes b/Changes index fd99564..f86c908 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Perl extension HTTP::Router +0.04 + - no Mo*se + 0.03 - fixed dependencies
1 parent f291e23 commit 7ed336c

4 files changed

Lines changed: 27 additions & 1 deletion

File tree

Changes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Revision history for Perl extension HTTP::Router
22

3+
0.04
4+
- no Mo*se
5+
36
0.03
47
- fixed dependencies
58

README

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,15 @@ METHODS
6161
reset
6262
Clears registered routes.
6363

64+
freeze
65+
Creates inline matcher using registered routes.
66+
67+
thaw
68+
Clears inline matcher.
69+
70+
is_frozen
71+
Returns true if inline matcher is defined.
72+
6473
match($req)
6574
Returns a HTTP::Router::Match object that matches a given request. If no
6675
routes match, it returns "undef".

README.pod

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
=for stopwords inline
2+
13
=head1 NAME
24

35
HTTP::Router - Yet Another Path Router for HTTP
@@ -71,6 +73,18 @@ Returns registered routes.
7173

7274
Clears registered routes.
7375

76+
=head2 freeze
77+
78+
Creates inline matcher using registered routes.
79+
80+
=head2 thaw
81+
82+
Clears inline matcher.
83+
84+
=head2 is_frozen
85+
86+
Returns true if inline matcher is defined.
87+
7488
=head2 match($req)
7589

7690
Returns a L<HTTP::Router::Match> object that matches a given request.

lib/HTTP/Router.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use List::MoreUtils 'part';
88
use Scalar::Util 'blessed';
99
use HTTP::Router::Route;
1010

11-
our $VERSION = '0.03';
11+
our $VERSION = '0.04';
1212

1313
sub new {
1414
my $class = shift;

0 commit comments

Comments
 (0)