| 1 | Patch borrowed from nixpkgs. Works around warning message produced by the |
| 2 | current version of Moose: |
| 3 | |
| 4 | "Passing a list of values to enum is deprecated. Enum values should be wrapped |
| 5 | in an arrayref." |
| 6 | |
| 7 | --- Net-Amazon-S3-0.60/lib/Net/Amazon/S3/Client/Object.pm 2015-04-15 16:18:47.226410022 -0500 |
| 8 | +++ Net-Amazon-S3-0.60/lib/Net/Amazon/S3/Client/Object.pm 2015-04-15 16:19:25.410408425 -0500 |
| 9 | @@ -19,7 +19,7 @@ |
| 10 | [ qw(private public-read public-read-write authenticated-read) ]; |
| 11 | |
| 12 | enum 'StorageClass' => |
| 13 | - qw(standard reduced_redundancy); |
| 14 | + [ qw(standard reduced_redundancy) ]; |
| 15 | |
| 16 | has 'client' => |
| 17 | ( is => 'ro', isa => 'Net::Amazon::S3::Client', required => 1 ); |