add a $VERSION to every module
Dave Rolsky [Sun, 17 Jan 2010 22:27:42 +0000 (16:27 -0600)]
18 files changed:
lib/Catalyst/Action/Deserialize.pm
lib/Catalyst/Action/Deserialize/Data/Serializer.pm
lib/Catalyst/Action/Deserialize/JSON.pm
lib/Catalyst/Action/Deserialize/View.pm
lib/Catalyst/Action/Deserialize/XML/Simple.pm
lib/Catalyst/Action/Serialize.pm
lib/Catalyst/Action/Serialize/Data/Serializer.pm
lib/Catalyst/Action/Serialize/JSON.pm
lib/Catalyst/Action/Serialize/JSON/XS.pm
lib/Catalyst/Action/Serialize/JSONP.pm
lib/Catalyst/Action/Serialize/XML/Simple.pm
lib/Catalyst/Action/Serialize/YAML.pm
lib/Catalyst/Action/Serialize/YAML/HTML.pm
lib/Catalyst/Action/SerializeBase.pm
lib/Catalyst/Request/REST.pm
lib/Catalyst/Request/REST/ForBrowsers.pm
lib/Catalyst/TraitFor/Request/REST.pm
lib/Catalyst/TraitFor/Request/REST/ForBrowsers.pm

index 3c90466..5170f25 100644 (file)
@@ -7,6 +7,9 @@ extends 'Catalyst::Action::SerializeBase';
 use Module::Pluggable::Object;
 use MRO::Compat;
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 __PACKAGE__->mk_accessors(qw(plugins));
 
 sub execute {
index 1aea6c4..bd87c2e 100644 (file)
@@ -6,6 +6,9 @@ use namespace::autoclean;
 extends 'Catalyst::Action';
 use Data::Serializer;
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 sub execute {
     my $self = shift;
     my ( $controller, $c, $serializer ) = @_;
index 0c68fdd..a37729f 100644 (file)
@@ -6,6 +6,9 @@ use namespace::autoclean;
 extends 'Catalyst::Action';
 use JSON qw( decode_json );
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 sub execute {
     my $self = shift;
     my ( $controller, $c, $test ) = @_;
index 90cfb54..1fba5c6 100644 (file)
@@ -5,6 +5,9 @@ use namespace::autoclean;
 
 extends 'Catalyst::Action';
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 sub execute {
     return 1;
 }
index 19cd501..246aa99 100644 (file)
@@ -5,6 +5,9 @@ use namespace::autoclean;
 
 extends 'Catalyst::Action';
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 sub execute {
     my $self = shift;
     my ( $controller, $c, $test ) = @_;
index 2c23151..0ce4558 100644 (file)
@@ -7,6 +7,9 @@ extends 'Catalyst::Action::SerializeBase';
 use Module::Pluggable::Object;
 use MRO::Compat;
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 sub execute {
     my $self = shift;
     my ( $controller, $c ) = @_;
index c58d192..5c21134 100644 (file)
@@ -6,6 +6,9 @@ use namespace::autoclean;
 extends 'Catalyst::Action';
 use Data::Serializer;
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 sub execute {
     my $self = shift;
     my ( $controller, $c, $serializer ) = @_;
index c462e58..efd45c9 100644 (file)
@@ -6,6 +6,9 @@ use namespace::autoclean;
 extends 'Catalyst::Action';
 use JSON qw(encode_json);
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 sub execute {
     my $self = shift;
     my ( $controller, $c ) = @_;
index a69b32e..4e7ab1c 100644 (file)
@@ -6,6 +6,9 @@ use namespace::autoclean;
 extends 'Catalyst::Action::Serialize::JSON';
 use JSON::XS qw(encode_json);
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 sub serialize {
     my $self = shift;
     encode_json( shift );
index c37c06c..a75f84f 100644 (file)
@@ -4,6 +4,9 @@ use namespace::autoclean;
 
 extends 'Catalyst::Action::Serialize::JSON';
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 after 'execute' => sub {
   my $self = shift;
   my ($controller, $c) = @_;
index a367596..ec58cf1 100644 (file)
@@ -5,6 +5,9 @@ use namespace::autoclean;
 
 extends 'Catalyst::Action';
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 sub execute {
     my $self = shift;
     my ( $controller, $c ) = @_;
index c3f9003..8c110b5 100644 (file)
@@ -6,6 +6,9 @@ use namespace::autoclean;
 extends 'Catalyst::Action';
 use YAML::Syck;
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 sub execute {
     my $self = shift;
     my ( $controller, $c ) = @_;
index 7004b0b..6d2129a 100644 (file)
@@ -7,6 +7,9 @@ extends 'Catalyst::Action';
 use YAML::Syck;
 use URI::Find;
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 sub execute {
     my $self = shift;
     my ( $controller, $c ) = @_;
index 2ff0f01..7892ea4 100644 (file)
@@ -8,6 +8,9 @@ use Module::Pluggable::Object;
 use Catalyst::Request::REST;
 use Catalyst::Utils ();
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 sub new {
   my $class  = shift;
   my $config = shift;
index 0228eda..3a899e5 100644 (file)
@@ -7,6 +7,9 @@ use namespace::autoclean;
 extends 'Catalyst::Request';
 with 'Catalyst::TraitFor::Request::REST';
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 # Please don't take this as a recommended way to do things.
 # The code below is grotty, badly factored and mostly here for back
 # compat..
index 36c671e..465a7ab 100644 (file)
@@ -3,7 +3,7 @@ use Moose;
 
 use namespace::autoclean;
 
-our $VERSION = '0.80';
+our $VERSION = '0.81';
 $VERSION = eval $VERSION;
 
 extends 'Catalyst::Request::REST';
index e210226..d835410 100644 (file)
@@ -3,6 +3,9 @@ use Moose::Role;
 use HTTP::Headers::Util qw(split_header_words);
 use namespace::autoclean;
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 has [qw/ data accept_only /] => ( is => 'rw' );
 
 has accepted_content_types => (
index ef98c19..c74cde6 100644 (file)
@@ -4,6 +4,9 @@ use namespace::autoclean;
 
 with 'Catalyst::TraitFor::Request::REST';
 
+our $VERSION = '0.81';
+$VERSION = eval $VERSION;
+
 has _determined_real_method => (
     is  => 'rw',
     isa => 'Bool',