From: Tomas Doran (t0m) Date: Mon, 17 Aug 2009 12:50:18 +0000 (+0100) Subject: Bump versions, use eval trick with version numbers to support dev releases etc X-Git-Tag: 0.75~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Action-REST.git;a=commitdiff_plain;h=a66af307b80b09a3ebc4dce79181eab581ca1fe5 Bump versions, use eval trick with version numbers to support dev releases etc --- diff --git a/README b/README index fcab6bd..4011e1d 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME Catalyst::Controller::REST - A RESTful controller VERSION - 0.73 + 0.75 SYNOPSIS package Foo::Controller::Bar; diff --git a/lib/Catalyst/Action/REST.pm b/lib/Catalyst/Action/REST.pm index 6a5ac82..dc34289 100644 --- a/lib/Catalyst/Action/REST.pm +++ b/lib/Catalyst/Action/REST.pm @@ -17,7 +17,8 @@ use Catalyst::Controller::REST; BEGIN { require 5.008001; } -our $VERSION = '0.74'; +our $VERSION = '0.75'; +$VERSION = eval $VERSION; sub new { my $class = shift; diff --git a/lib/Catalyst/Controller/REST.pm b/lib/Catalyst/Controller/REST.pm index 6016c65..f4edc32 100644 --- a/lib/Catalyst/Controller/REST.pm +++ b/lib/Catalyst/Controller/REST.pm @@ -1,6 +1,9 @@ package Catalyst::Controller::REST; +use strict; +use warnings; -our $VERSION = '0.74'; +our $VERSION = '0.75'; +$VERSION = eval $VERSION; =head1 NAME @@ -209,8 +212,6 @@ such require you pass the current context ($c) as the first argument. =cut -use strict; -use warnings; use base 'Catalyst::Controller'; use Params::Validate qw(SCALAR OBJECT);