[Jifty-commit] jifty branch, master, updated. jifty-1.01209-4-g3feb9ee
Jifty commits
jifty-commit at lists.jifty.org
Wed Jan 5 16:06:08 EST 2011
The branch, master has been updated
via 3feb9ee9731ed1fbe5328058557709b61bbcf1d4 (commit)
from ea6e6e2df8b1cdc18d6d8eadccdc8d257181352b (commit)
Summary of changes:
lib/Jifty/Response.pm | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 3feb9ee9731ed1fbe5328058557709b61bbcf1d4
Author: Thomas Sibley <trs at bestpractical.com>
Date: Wed Jan 5 16:01:41 2011 -0500
Monkeypatch Mouse to silence misleading warnings
See rt.cpan.org #63675.
diff --git a/lib/Jifty/Response.pm b/lib/Jifty/Response.pm
index c895ebc..a0b9dc2 100644
--- a/lib/Jifty/Response.pm
+++ b/lib/Jifty/Response.pm
@@ -16,6 +16,13 @@ L<Jifty::Result> objects of each L<Jifty::Action> that ran.
=cut
use Any::Moose;
+
+# Monkeypatch Mouse to silence misleading warnings. See rt.cpan.org #63675.
+{
+ no warnings 'redefine';
+ *Mouse::Meta::Class::inherit_from_foreign_class = sub { return };
+}
+
extends 'Plack::Response';
has 'error' => (is => 'rw');
-----------------------------------------------------------------------
More information about the Jifty-commit
mailing list