r76437 - in /trunk/libnet-dropbox-api-perl: Changes META.yml debian/changelog lib/Net/Dropbox/API.pm
carnil at users.alioth.debian.org
carnil at users.alioth.debian.org
Fri Jun 24 06:08:12 UTC 2011
Author: carnil
Date: Fri Jun 24 06:08:10 2011
New Revision: 76437
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=76437
Log:
releasing version 1.6.1-1
Modified:
trunk/libnet-dropbox-api-perl/Changes
trunk/libnet-dropbox-api-perl/META.yml
trunk/libnet-dropbox-api-perl/debian/changelog
trunk/libnet-dropbox-api-perl/lib/Net/Dropbox/API.pm
Modified: trunk/libnet-dropbox-api-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-dropbox-api-perl/Changes?rev=76437&op=diff
==============================================================================
--- trunk/libnet-dropbox-api-perl/Changes (original)
+++ trunk/libnet-dropbox-api-perl/Changes Fri Jun 24 06:08:10 2011
@@ -1,4 +1,7 @@
Revision history for Net-Dropbox
+
+1.6.1 2011-06-16T13:16:50
+ fixes #16
1.6 2011-05-16T17:44:07
bugfix release with patches from mschilli and s-aska
Modified: trunk/libnet-dropbox-api-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-dropbox-api-perl/META.yml?rev=76437&op=diff
==============================================================================
--- trunk/libnet-dropbox-api-perl/META.yml (original)
+++ trunk/libnet-dropbox-api-perl/META.yml Fri Jun 24 06:08:10 2011
@@ -31,4 +31,4 @@
resources:
license: http://dev.perl.org/licenses/
repository: https://github.com/norbu09/Net--Dropbox
-version: 1.6
+version: 1.6.1
Modified: trunk/libnet-dropbox-api-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-dropbox-api-perl/debian/changelog?rev=76437&op=diff
==============================================================================
--- trunk/libnet-dropbox-api-perl/debian/changelog (original)
+++ trunk/libnet-dropbox-api-perl/debian/changelog Fri Jun 24 06:08:10 2011
@@ -1,3 +1,9 @@
+libnet-dropbox-api-perl (1.6.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Salvatore Bonaccorso <carnil at debian.org> Fri, 24 Jun 2011 08:07:59 +0200
+
libnet-dropbox-api-perl (1.6-1) unstable; urgency=low
* Initial Release (Closes: #629996).
Modified: trunk/libnet-dropbox-api-perl/lib/Net/Dropbox/API.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-dropbox-api-perl/lib/Net/Dropbox/API.pm?rev=76437&op=diff
==============================================================================
--- trunk/libnet-dropbox-api-perl/lib/Net/Dropbox/API.pm (original)
+++ trunk/libnet-dropbox-api-perl/lib/Net/Dropbox/API.pm Fri Jun 24 06:08:10 2011
@@ -7,7 +7,6 @@
use Net::OAuth;
use LWP::UserAgent;
use URI;
-use HTTP::Status qw(:constants);
use HTTP::Request::Common;
use Data::Random qw(rand_chars);
use Encode;
@@ -18,11 +17,11 @@
=head1 VERSION
-Version 1.6.5.4.3
-
-=cut
-
-our $VERSION = '1.6';
+Version 1.6.1.6.5.4.3
+
+=cut
+
+our $VERSION = '1.6.1';
=head1 SYNOPSIS
@@ -210,9 +209,10 @@
error_handler => sub {
my $obj = shift;
my $resp = shift;
- if( $resp->code == HTTP_NOT_MODIFIED ) {
- return to_json({ http_response_code =>
- HTTP_NOT_MODIFIED });
+ # HTTP::Status is nice but old RHEL5 has issues with it
+ # so we use plain codes
+ if( $resp->code == 304 ) {
+ return to_json({ http_response_code => 304 });
} else {
return $self->_talk_default_error_handler($resp);
}
More information about the Pkg-perl-cvs-commits
mailing list