no need for OurPkgVersion with modern dzil
[catagits/Catalyst-Action-REST.git] / lib / Catalyst / Action / REST.pm
index 508d2ff..ac740db 100644 (file)
@@ -10,9 +10,6 @@ use Catalyst::Controller::REST;
 
 BEGIN { require 5.008001; }
 
-our $VERSION = '1.04';
-$VERSION = eval $VERSION;
-
 sub BUILDARGS {
     my $class  = shift;
     my $config = shift;
@@ -158,7 +155,7 @@ sub get_allowed_methods {
     };
     $methods->{'HEAD'} = 1 if $methods->{'GET'};
     delete $methods->{'not_implemented'};
-    return keys %$methods;
+    return sort keys %$methods;
 };
 
 sub _return_options {