Skip Menu |

This queue is for tickets about the Catalyst-View-HTML-Zoom CPAN distribution.

Report information
The Basics
Id: 92465
Status: open
Priority: 0/
Queue: Catalyst-View-HTML-Zoom

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
Hey, Attached patch fixes the Class::MOP::load_class deprecation. Here's a blurb the Moose folks were 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: Catalyst-View-HTML-Zoom-0.003.patch
diff -Naur Catalyst-View-HTML-Zoom-0.003_orig/dist.ini Catalyst-View-HTML-Zoom-0.003/dist.ini --- Catalyst-View-HTML-Zoom-0.003_orig/dist.ini 2014-01-25 12:46:32.744165315 -0500 +++ Catalyst-View-HTML-Zoom-0.003/dist.ini 2014-01-25 12:46:50.140251572 -0500 @@ -10,7 +10,7 @@ Moose = 1.21 namespace::autoclean = 0.09 HTML::Zoom = 0.009 -Class::MOP = 1.12 +Class::Load = 0.20 Path::Class = 0.23 [Prereqs / TestRequires] diff -Naur Catalyst-View-HTML-Zoom-0.003_orig/lib/Catalyst/View/HTML/Zoom.pm Catalyst-View-HTML-Zoom-0.003/lib/Catalyst/View/HTML/Zoom.pm --- Catalyst-View-HTML-Zoom-0.003_orig/lib/Catalyst/View/HTML/Zoom.pm 2014-01-25 12:46:32.744165315 -0500 +++ Catalyst-View-HTML-Zoom-0.003/lib/Catalyst/View/HTML/Zoom.pm 2014-01-25 12:47:04.668323618 -0500 @@ -5,7 +5,7 @@ # ABSTRACT: Catalyst view to HTML::Zoom use Moose; -use Class::MOP; +use Class::Load; use HTML::Zoom; use Path::Class (); use namespace::autoclean; @@ -135,7 +135,7 @@ $zoomer_class = ref($self) . $zoomer_class if $zoomer_class=~m/^::/; $self->_debug_log("Using View Class: $zoomer_class"); - Class::MOP::load_class($zoomer_class); + Class::Load::load_class($zoomer_class); return $zoomer_class; } diff -Naur Catalyst-View-HTML-Zoom-0.003_orig/Makefile.PL Catalyst-View-HTML-Zoom-0.003/Makefile.PL --- Catalyst-View-HTML-Zoom-0.003_orig/Makefile.PL 2014-01-25 12:46:32.744165315 -0500 +++ Catalyst-View-HTML-Zoom-0.003/Makefile.PL 2014-01-25 12:47:18.700393192 -0500 @@ -24,7 +24,7 @@ 'LICENSE' => 'perl', 'NAME' => 'Catalyst::View::HTML::Zoom', 'PREREQ_PM' => { - 'Class::MOP' => '1.12', + 'Class::Load' => '0.20', 'HTML::Zoom' => '0.009', 'Moose' => '1.21', 'Path::Class' => '0.23', diff -Naur Catalyst-View-HTML-Zoom-0.003_orig/META.yml Catalyst-View-HTML-Zoom-0.003/META.yml --- Catalyst-View-HTML-Zoom-0.003_orig/META.yml 2014-01-25 12:46:32.744165315 -0500 +++ Catalyst-View-HTML-Zoom-0.003/META.yml 2014-01-25 12:47:28.524441915 -0500 @@ -16,7 +16,7 @@ version: 1.4 name: Catalyst-View-HTML-Zoom requires: - Class::MOP: 1.12 + Class::Load: 0.20 HTML::Zoom: 0.009 Moose: 1.21 Path::Class: 0.23