From 41cc50c808755cd31b9077a936d6688567f2bdb9 Mon Sep 17 00:00:00 2001 From: Flavio Poletti Date: Tue, 2 Sep 2008 10:07:04 +0200 Subject: [PATCH] Added git reference, other changes for package release. --- Build.PL | 1 + MANIFEST | 1 + README | 6 ++++++ lib/Net/Amazon/S3/Policy.pm | 2 +- 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Build.PL b/Build.PL index b2232b9..286aaec 100644 --- a/Build.PL +++ b/Build.PL @@ -11,6 +11,7 @@ my $builder = Module::Build->new( 'Test::More' => 0, 'version' => 0, 'JSON' => 0, + 'perl' => '5.8.0', }, add_to_cleanup => ['Net-Amazon-S3-Policy-*'], ); diff --git a/MANIFEST b/MANIFEST index 05b6e40..6a0cf28 100644 --- a/MANIFEST +++ b/MANIFEST @@ -8,3 +8,4 @@ t/00.load.t t/01.test.t t/pod-coverage.t t/pod.t +META.yml diff --git a/README b/README index f6b0799..6286cf4 100644 --- a/README +++ b/README @@ -32,6 +32,12 @@ In addition to policy synthesis, the module is also capable of parsing some policy (base64-encoded or not, but in JSON format). This shouldn’t be a need in general... possibly for debug reasons. +AVAILABILITY + +You can either grab the module from CPAN, or see what's going on at +http://repo.or.cz/w/Net-Amazon-S3-Policy.git + + INSTALLATION To install this module, run the following commands: diff --git a/lib/Net/Amazon/S3/Policy.pm b/lib/Net/Amazon/S3/Policy.pm index e360cf1..3cffc92 100644 --- a/lib/Net/Amazon/S3/Policy.pm +++ b/lib/Net/Amazon/S3/Policy.pm @@ -44,7 +44,7 @@ sub expiration { $time = sprintf "%04d-%02d-%02dT%02d:%02d:%02d.000Z", $year + 1900, $mon + 1, $mday, $hour, $min, $sec; } - $time ? ($self->{expiration} = $time) ? delete $self->{expiration}; + $time ? ($self->{expiration} = $time) : delete $self->{expiration}; } return $previous; } -- 2.11.4.GIT