Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adjust key names in META.yml according to the discussion at http://pr…

  • Loading branch information...
commit 5e9a7093277220dfe2465fdfc30ef3d017f87b17 1 parent 17ee717
@kentaro authored
Showing with 10 additions and 3 deletions.
  1. +4 −0 Changes
  2. +6 −3 lib/Module/Install/PrePAN.pm
View
4 Changes
@@ -1,5 +1,9 @@
Revision history for Perl extension Module::Install::PrePAN
+0.05 2012-08-31
+
+ - adjust key names according to the discussion at http://prepan.org/module/429En4oFdp
+
0.04 2011-11-23
[TESTING ISSUE]
View
9 lib/Module/Install/PrePAN.pm
@@ -17,7 +17,10 @@ sub prepan {
my ($self, %args) = @_;
my @invalid_keys = grep { !$SCHEMA{$_} } keys %args;
Carp::croak "invalid keys: " . join ', ', @invalid_keys if @invalid_keys;
- $self->resources(X_prepan => \%args);
+ $self->resources(
+ X_prepan_author => $args{author_url},
+ X_prepan_module => $args{module_url},
+ );
}
!!1;
@@ -48,7 +51,7 @@ some resources at PrePAN, social reviewing site for Perl modules
=head2 prepan ( I<%args> )
Adds resources at PrePAN passed in as C<%args> under
-$meta.resources.X_prepan.
+$meta.resources.X_prepan_{author,module}.
CPAN META Spec version 1.4 specifies that unofficial keys under
$meta.resource must include at least one upper-case letter but version
@@ -56,7 +59,7 @@ $meta.resource must include at least one upper-case letter but version
official spec use "x_" or "X_". See L<CPAN::Meta::Spec> and
L<CPAN::Meta::History> for details.
-This module uses the key "X_prepan" because of that.
+This module uses the key "X_prepan_*" because of that.
=head1 AUTHOR
Please sign in to comment.
Something went wrong with that request. Please try again.