Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

blead fix #6

Open
wants to merge 3 commits into from

3 participants

@doy

No description provided.

@karenetheridge

I've seen a few dists pushing updates to cope with the Carp change... it might be better to bonk Zefram and get that change undone.

It's only been a handful of dists, and I think the change is a good one overall. It's not like this is a complicated change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 6, 2011
  1. @doy
Commits on Sep 12, 2011
  1. @ilmari

    Version 0.37

    ilmari authored
Commits on Feb 9, 2012
  1. @doy
This page is out of date. Refresh to see the latest.
View
3  Changes
@@ -1,5 +1,8 @@
Version history for MooseX::Method::Signatures
+0.37 Mon, 12 Sep 2011 10:35:29 +0100
+ * Don't look in the stash for traits or types that contain :: (Jesse Luehrs).
+
0.36 Tue, 31 Aug 2010 23:36:19 +0200
* Avoid deprecation warnings from new Moose version by depending on
MooseX::LazyRequire 0.06 (Jeremy Carman).
View
2  dist.ini
@@ -1,5 +1,5 @@
name = MooseX-Method-Signatures
-version = 0.36
+version = 0.37
author = Florian Ragwitz <rafl@debian.org>
author = Ash Berlin <ash@cpan.org>
author = Cory Watson <gphat@cpan.org>
View
1  lib/MooseX/Method/Signatures.pm
@@ -158,6 +158,7 @@ sub strip_traits {
# Let's check to make sure these traits aren't aliased locally
for my $t (@traits) {
+ next if $t->[0] =~ /::/;
my $class = $ctx->get_curstash_name;
my $meta = Class::MOP::class_of($class) || Moose::Meta::Class->initialize($class);
my $func = $meta->get_package_symbol('&' . $t->[0]);
View
2  lib/MooseX/Method/Signatures/Meta/Method.pm
@@ -3,7 +3,7 @@ package MooseX::Method::Signatures::Meta::Method;
use Moose;
use Carp qw/cluck/;
use Context::Preserve;
-use Parse::Method::Signatures 1.003011;
+use Parse::Method::Signatures 1.003014;
use Parse::Method::Signatures::TypeConstraint;
use Scalar::Util qw/weaken/;
use Moose::Util qw/does_role/;
View
2  t/errors.t
@@ -19,7 +19,7 @@ like($@,
eval "use Redefined;";
is($@, '', "No error");
- like($warnings, qr/^Method meth1 redefined on package main at .*?\bRedefined.pm line 9$/,
+ like($warnings, qr/^Method meth1 redefined on package main at .*?\bRedefined.pm line 9\b/,
"Redefined method warning");
}
Something went wrong with that request. Please try again.