Remove coverage from Travis
[catagits/Catalyst-Action-REST.git] / lib / Catalyst / Action / REST.pm
index 9c5c86a..24cd089 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;
@@ -157,7 +154,8 @@ sub get_allowed_methods {
         @{ Class::Inspector->methods($class) }
     };
     $methods->{'HEAD'} = 1 if $methods->{'GET'};
-    return keys %$methods;
+    delete $methods->{'not_implemented'};
+    return sort keys %$methods;
 };
 
 sub _return_options {
@@ -253,9 +251,11 @@ Colin Newell <colin@opusvl.com>
 
 Wallace Reis E<lt>wreis@cpan.orgE<gt>
 
+AndrĂ© Walker (andrewalker) <andre@cpan.org>
+
 =head1 COPYRIGHT
 
-Copyright (c) 2006-2012 the above named AUTHOR and CONTRIBUTORS
+Copyright (c) 2006-2015 the above named AUTHOR and CONTRIBUTORS
 
 =head1 LICENSE