Bump versions, changelog
[catagits/Catalyst-Authentication-Credential-OAuth.git] / lib / Catalyst / Authentication / Credential / OAuth.pm
index b5c15b1..e0e9375 100644 (file)
@@ -10,6 +10,8 @@ use String::Random qw/ random_string /;
 use Catalyst::Exception ();
 use namespace::autoclean;
 
+our $VERSION = '0.02';
+
 has debug => ( is => 'ro', isa => Bool );
 has providers => ( is => 'ro', isa => HashRef, required => 1 );
 has ua => ( is => 'ro', lazy_build => 1, init_arg => undef, isa => 'LWP::UserAgent' );
@@ -27,8 +29,8 @@ sub BUILD {
 
 sub _build_ua {
     my $self = shift;
-    
-    LWP::UserAgent->new;    
+
+    LWP::UserAgent->new;
 }
 
 sub authenticate {
@@ -79,7 +81,7 @@ sub authenticate {
 
                $response = Net::OAuth->response( 'access token' )->from_post_body( $ua_response->content );
 
-               my $user = +{ 
+               my $user = +{
                        token => $response->token,
                        token_secret => $response->token_secret,
                        extra_params => $response->extra_params
@@ -130,7 +132,7 @@ Catalyst::Authentication::Credential::OAuth - OAuth credential for Catalyst::Plu
 
 =head1 VERSION
 
-0.01
+0.02
 
 =head1 SYNOPSIS
 
@@ -197,9 +199,18 @@ Cosmin Budrica E<lt>cosmin@sinapticode.comE<gt>
 
 Bogdan Lucaciu E<lt>bogdan@sinapticode.comE<gt>
 
+With contributions from:
+
+  Tomas Doran E<lt>bobtfish@bobtfish.netE</gt>
+
+
+=head1 BUGS
+
+Only tested with twitter
+
 =head1 COPYRIGHT
 
-Copyright (c) 2009 Sinapticode. All rights reserved 
+Copyright (c) 2009 Sinapticode. All rights reserved
 
 This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.