From: Ian Beckwith Date: Sat, 1 Mar 2008 00:36:31 +0000 (+0000) Subject: Imported upstream version 0.09 X-Git-Tag: upstream/0.09^0 X-Git-Url: http://erislabs.net/gitweb/?p=liburi-template-perl.git;a=commitdiff_plain;h=0bf9e38bd59ec2d30d98cdd5b1ff6659bc776761 Imported upstream version 0.09 --- diff --git a/Changes b/Changes index 8773682..c14ab35 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Perl extension URI::Template +0.09 Tue Aug 28 2007 + - minor doc update + 0.08_02 Tue Jul 31 2007 - switch to Module::Install - extract part of the test suite into a generic json-formatted structure diff --git a/META.yml b/META.yml index 76d099d..4a4c9cd 100644 --- a/META.yml +++ b/META.yml @@ -15,4 +15,4 @@ no_index: requires: Test::More: 0 URI: 0 -version: 0.08_02 +version: 0.09 diff --git a/README b/README index b07c19f..fd4982a 100644 --- a/README +++ b/README @@ -16,19 +16,10 @@ DESCRIPTION http://www.ietf.org/internet-drafts/draft-gregorio-uritemplate-01.txt INSTALLATION - To install this module via Module::Build: - - perl Build.PL - ./Build # or `perl Build` - ./Build test # or `perl Build test` - ./Build install # or `perl Build install` - - To install this module via ExtUtils::MakeMaker: - - perl Makefile.PL - make - make test - make install + perl Makefile.PL + make + make test + make install METHODS new( $template ) @@ -40,8 +31,8 @@ METHODS stringified. variables( ) - Returns an array of variable names found in the template. NB: they are - returned in random order. + Returns an array of unique variable names found in the template. NB: + they are returned in random order. all_variables( ) Returns an array of variable names found as they appear in template -- @@ -61,7 +52,7 @@ METHODS Returns a hash with the extracted values. AUTHOR - * Brian Cassidy + Brian Cassidy COPYRIGHT AND LICENSE Copyright 2007 by Brian Cassidy diff --git a/lib/URI/Template.pm b/lib/URI/Template.pm index a903cad..f31f973 100644 --- a/lib/URI/Template.pm +++ b/lib/URI/Template.pm @@ -3,7 +3,7 @@ package URI::Template; use strict; use warnings; -our $VERSION = '0.08_02'; +our $VERSION = '0.09'; use URI; use URI::Escape (); @@ -32,19 +32,10 @@ as described at http://www.ietf.org/internet-drafts/draft-gregorio-uritemplate-0 =head1 INSTALLATION -To install this module via Module::Build: - - perl Build.PL - ./Build # or `perl Build` - ./Build test # or `perl Build test` - ./Build install # or `perl Build install` - -To install this module via ExtUtils::MakeMaker: - - perl Makefile.PL - make - make test - make install + perl Makefile.PL + make + make test + make install =head1 METHODS @@ -76,8 +67,8 @@ sub as_string { =head2 variables( ) -Returns an array of variable names found in the template. NB: they -are returned in random order. +Returns an array of unique variable names found in the template. +NB: they are returned in random order. =cut diff --git a/t/12-suite.t b/t/12-suite.t index 19b0914..83f0e99 100644 --- a/t/12-suite.t +++ b/t/12-suite.t @@ -4,8 +4,8 @@ use warnings; use Test::More; BEGIN { - eval "use JSON ();"; - plan skip_all => "JSON required" if $@; + eval "use JSON ();"; + plan skip_all => "JSON required" if $@; plan( 'no_plan' ); use_ok( 'URI::Template' ); }