Skip Menu |

This queue is for tickets about the Shell-Amazon-S3 CPAN distribution.

Report information
The Basics
Id: 92454
Status: new
Priority: 0/
Queue: Shell-Amazon-S3

People
Owner: Nobody in particular
Requestors: cpan [...] zoffix.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [PATCH] Moose Class::MOP::load_class Deprecation Warnings
Hey, Attached patch fixes the warnings produced by the deprecation of Class::MOP::load_class. Below is a blurb the Moose guys have been distributing. --- We recently deprecated Class::MOP::load_class in Moose. It appears that your module is affected. You can read more about the change here: https://metacpan.org/pod/release/ETHER/Moose-2.1106-TRIAL/lib/Moose/Manual/Delta.pod#pod2.1200 We recommend that you take a look at your code to see if it indeed does need to be updated with respect to the latest Moose release, 2.1106-TRIAL. If you have any questions, then please ask either on Moose mailing list : http://lists.perl.org/list/moose.html or on #moose & #moose-dev on irc.perl.org. -- Cheers, ZZ [ https://metacpan.org/author/ZOFFIX ]
Subject: Shell-Amazon-S3-0.041.patch
diff -Naur Shell-Amazon-S3-0.041_orig/lib/Shell/Amazon/S3/CommandDispatcher.pm Shell-Amazon-S3-0.041/lib/Shell/Amazon/S3/CommandDispatcher.pm --- Shell-Amazon-S3-0.041_orig/lib/Shell/Amazon/S3/CommandDispatcher.pm 2014-01-24 22:31:37.686609124 -0500 +++ Shell-Amazon-S3-0.041/lib/Shell/Amazon/S3/CommandDispatcher.pm 2014-01-24 22:32:23.698609727 -0500 @@ -1,7 +1,7 @@ package Shell::Amazon::S3::CommandDispatcher; use Moose; use Module::Pluggable::Object; -use Class::MOP; +use Class::Load; use Shell::Amazon::S3::Utils; has 'dispatch_table' => ( @@ -12,7 +12,7 @@ my $finder = Module::Pluggable::Object->new( search_path => 'Shell::Amazon::S3::Command', ); my @commands = $finder->plugins; - Class::MOP::load_class($_) for @commands; + Class::Load::load_class($_) for @commands; my %table = map { Shell::Amazon::S3::Utils->classsuffix($_) => $_->new } @commands; diff -Naur Shell-Amazon-S3-0.041_orig/Makefile.PL Shell-Amazon-S3-0.041/Makefile.PL --- Shell-Amazon-S3-0.041_orig/Makefile.PL 2014-01-24 22:31:37.686609124 -0500 +++ Shell-Amazon-S3-0.041/Makefile.PL 2014-01-24 22:32:32.082609838 -0500 @@ -16,7 +16,7 @@ Term::ReadLine YAML namespace::clean - Class::MOP + Class::Load Moose Moose::Role MooseX::ClassAttribute diff -Naur Shell-Amazon-S3-0.041_orig/META.yml Shell-Amazon-S3-0.041/META.yml --- Shell-Amazon-S3-0.041_orig/META.yml 2014-01-24 22:31:37.686609124 -0500 +++ Shell-Amazon-S3-0.041/META.yml 2014-01-24 22:32:48.002610049 -0500 @@ -16,7 +16,7 @@ - inc - t requires: - Class::MOP: 0 + Class::Load: 0 File::HomeDir: 0 File::Slurp: 0 Module::Find: 0