Imported upstream version 0.09 upstream/0.09
authorIan Beckwith <ianb@erislabs.net>
Sat, 1 Mar 2008 00:36:31 +0000 (00:36 +0000)
committerIan Beckwith <ianb@erislabs.net>
Sat, 1 Mar 2008 00:36:31 +0000 (00:36 +0000)
Changes
META.yml
README
lib/URI/Template.pm
t/12-suite.t

diff --git a/Changes b/Changes
index 8773682..c14ab35 100644 (file)
--- 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
index 76d099d..4a4c9cd 100644 (file)
--- 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 (file)
--- 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 <bricas@cpan.org>
+    Brian Cassidy <bricas@cpan.org>
 
 COPYRIGHT AND LICENSE
     Copyright 2007 by Brian Cassidy
index a903cad..f31f973 100644 (file)
@@ -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
 
index 19b0914..83f0e99 100644 (file)
@@ -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' );
 }