Skip to content

Commit

Permalink
deprecate
Browse files Browse the repository at this point in the history
  • Loading branch information
vti committed Feb 6, 2015
1 parent fbe5e86 commit 25668fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Makefile.PL
Expand Up @@ -12,14 +12,15 @@ my $mm = $ExtUtils::MakeMaker::VERSION;
WriteMakefile(
NAME => 'Mojo::JSON::Any',
VERSION_FROM => 'lib/Mojo/JSON/Any.pm',
ABSTRACT => "Use JSON::XS when it's available",
ABSTRACT => "Use JSON::XS when it's available (DEPRECATED)",
AUTHOR => 'Yuriy Syrota <ysyrota@cpan.org>',

($mm < 6.3002 ? () : ('LICENSE' => 'artistic_2')),

( $mm < 6.46
? ()
: ( META_MERGE => {
x_deprecated => 1,
requires => {perl => '5.008001'},
resources =>
{repository => 'http://github.com/vti/mojo-json-any'},
Expand Down
6 changes: 4 additions & 2 deletions lib/Mojo/JSON/Any.pm
Expand Up @@ -18,7 +18,7 @@ __END__
=head1 NAME
Mojo::JSON::Any - Use JSON::XS when it's available
Mojo::JSON::Any - Use JSON::XS when it's available (DEPRECATED)
=head1 SYNOPSIS
Expand All @@ -30,6 +30,8 @@ Mojo::JSON::Any - Use JSON::XS when it's available
=head1 DESCRIPTION
This modules is DEPRECATED. See L<MojoX::JSON::XS>
L<Mojo::JSON::Any> is a wrapper over L<Mojo::JSON> and L<JSON::XS>. When the last
is available it is used.
Expand All @@ -48,7 +50,7 @@ See L<Mojo::JSON>.
=head1 SEE ALSO
L<MOJO::JSON>, L<JSON::XS>.
L<Mojo::JSON>, L<JSON::XS>.
=head1 DEVELOPMENT
Expand Down

0 comments on commit 25668fb

Please sign in to comment.