r35868 - in /branches/upstream/libnet-amazon-s3-perl/current: CHANGES META.yml Makefile.PL lib/Net/Amazon/S3.pm lib/Net/Amazon/S3/Client.pm lib/Net/Amazon/S3/Client/Bucket.pm lib/Net/Amazon/S3/Client/Object.pm
ryan52-guest at users.alioth.debian.org
ryan52-guest at users.alioth.debian.org
Tue May 19 15:24:26 UTC 2009
Author: ryan52-guest
Date: Tue May 19 15:24:17 2009
New Revision: 35868
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=35868
Log:
[svn-upgrade] Integrating new upstream version, libnet-amazon-s3-perl (0.51)
Modified:
branches/upstream/libnet-amazon-s3-perl/current/CHANGES
branches/upstream/libnet-amazon-s3-perl/current/META.yml
branches/upstream/libnet-amazon-s3-perl/current/Makefile.PL
branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3.pm
branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3/Client.pm
branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3/Client/Bucket.pm
branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3/Client/Object.pm
Modified: branches/upstream/libnet-amazon-s3-perl/current/CHANGES
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-amazon-s3-perl/current/CHANGES?rev=35868&op=diff
==============================================================================
--- branches/upstream/libnet-amazon-s3-perl/current/CHANGES (original)
+++ branches/upstream/libnet-amazon-s3-perl/current/CHANGES Tue May 19 15:24:17 2009
@@ -1,4 +1,8 @@
Revision history for Perl module Net::Amazon::S3:
+
+0.51 Tue May 19 08:31:59 BST 2009
+ - use MooseX::Types::DateTimeX so that we work with latest Moose
+ (noticed by Ted Zlatanov)
0.50 Wed Jan 21 10:42:00 GMT 2009
- add support for an expires header when putting an object to
Modified: branches/upstream/libnet-amazon-s3-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-amazon-s3-perl/current/META.yml?rev=35868&op=diff
==============================================================================
--- branches/upstream/libnet-amazon-s3-perl/current/META.yml (original)
+++ branches/upstream/libnet-amazon-s3-perl/current/META.yml Tue May 19 15:24:17 2009
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: Net-Amazon-S3
-version: 0.50
+version: 0.51
abstract: Use the Amazon S3 - Simple Storage Service
license: perl
author:
@@ -23,6 +23,7 @@
MIME::Base64: 0
Moose: 0
MooseX::StrictConstructor: 0
+ MooseX::Types::DateTimeX: 0
Regexp::Common: 0
Test::More: 0.01
URI::Escape: 0
Modified: branches/upstream/libnet-amazon-s3-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-amazon-s3-perl/current/Makefile.PL?rev=35868&op=diff
==============================================================================
--- branches/upstream/libnet-amazon-s3-perl/current/Makefile.PL (original)
+++ branches/upstream/libnet-amazon-s3-perl/current/Makefile.PL Tue May 19 15:24:17 2009
@@ -24,6 +24,7 @@
'MIME::Base64' => '0',
'Moose' => '0',
'MooseX::StrictConstructor' => '0',
+ 'MooseX::Types::DateTimeX' => '0',
'Test::More' => '0.01',
'Regexp::Common' => '0',
'XML::LibXML' => '0',
Modified: branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3.pm?rev=35868&op=diff
==============================================================================
--- branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3.pm (original)
+++ branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3.pm Tue May 19 15:24:17 2009
@@ -142,7 +142,7 @@
__PACKAGE__->meta->make_immutable;
-our $VERSION = '0.50';
+our $VERSION = '0.51';
my $KEEP_ALIVE_CACHESIZE = 10;
Modified: branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3/Client.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3/Client.pm?rev=35868&op=diff
==============================================================================
--- branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3/Client.pm (original)
+++ branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3/Client.pm Tue May 19 15:24:17 2009
@@ -1,13 +1,8 @@
package Net::Amazon::S3::Client;
use Moose;
-use DateTime::Format::ISO8601;
use HTTP::Status qw(is_error status_message);
use MooseX::StrictConstructor;
use Moose::Util::TypeConstraints;
-
-type 'DateTime' => where { $_->isa('DateTime') };
-coerce 'DateTime' => from 'Str' =>
- via { DateTime::Format::ISO8601->parse_datetime($_) };
type 'Etag' => where { $_ =~ /^[a-z0-9]{32}$/ };
Modified: branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3/Client/Bucket.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3/Client/Bucket.pm?rev=35868&op=diff
==============================================================================
--- branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3/Client/Bucket.pm (original)
+++ branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3/Client/Bucket.pm Tue May 19 15:24:17 2009
@@ -2,12 +2,13 @@
use Moose;
use MooseX::StrictConstructor;
use Data::Stream::Bulk::Callback;
+use MooseX::Types::DateTimeX qw( DateTime );
has 'client' =>
( is => 'ro', isa => 'Net::Amazon::S3::Client', required => 1 );
has 'name' => ( is => 'ro', isa => 'Str', required => 1 );
has 'creation_date' =>
- ( is => 'ro', isa => 'DateTime', coerce => 1, required => 0 );
+ ( is => 'ro', isa => DateTime, coerce => 1, required => 0 );
has 'owner_id' => ( is => 'ro', isa => 'OwnerId', required => 0 );
has 'owner_display_name' => ( is => 'ro', isa => 'Str', required => 0 );
Modified: branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3/Client/Object.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3/Client/Object.pm?rev=35868&op=diff
==============================================================================
--- branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3/Client/Object.pm (original)
+++ branches/upstream/libnet-amazon-s3-perl/current/lib/Net/Amazon/S3/Client/Object.pm Tue May 19 15:24:17 2009
@@ -2,12 +2,12 @@
use Moose;
use MooseX::StrictConstructor;
use DateTime::Format::HTTP;
-use DateTime::Format::ISO8601;
use Digest::MD5 qw(md5 md5_hex);
use Digest::MD5::File qw(file_md5 file_md5_hex);
use File::stat;
use MIME::Base64;
use Moose::Util::TypeConstraints;
+use MooseX::Types::DateTimeX qw( DateTime );
enum 'AclShort' =>
qw(private public-read public-read-write authenticated-read);
@@ -20,9 +20,8 @@
has 'etag' => ( is => 'ro', isa => 'Etag', required => 0 );
has 'size' => ( is => 'ro', isa => 'Int', required => 0 );
has 'last_modified' =>
- ( is => 'ro', isa => 'DateTime', coerce => 1, required => 0 );
-has 'expires' =>
- ( is => 'rw', isa => 'DateTime', coerce => 1, required => 0 );
+ ( is => 'ro', isa => DateTime, coerce => 1, required => 0 );
+has 'expires' => ( is => 'rw', isa => DateTime, coerce => 1, required => 0 );
has 'acl_short' =>
( is => 'ro', isa => 'AclShort', required => 0, default => 'private' );
has 'content_type' => (
More information about the Pkg-perl-cvs-commits
mailing list