Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
release 2.005000
  • Loading branch information
mickeyn committed Feb 13, 2017
1 parent f295d5b commit d8f0293
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
1 change: 1 addition & 0 deletions Changes
@@ -1,5 +1,6 @@
Revision history for MetaCPAN-Client (previously MetaCPAN-API)

2.005000 13.2.17
* Added the ascii_name and perlmongers fields to the Author object
(Dave Rolsky, GH #66)
* Fixed Author->dir to actually return something (Dave Rolsky, GH
Expand Down
20 changes: 11 additions & 9 deletions README.pod
Expand Up @@ -8,7 +8,7 @@ MetaCPAN::Client - A comprehensive, DWIM-featured client to the MetaCPAN API

=head1 VERSION

version 2.004000
version 2.005000

=head1 SYNOPSIS

Expand Down Expand Up @@ -72,7 +72,7 @@ Finds an author by either its PAUSE ID or by a search spec defined by a hash
reference. Since it is common to many other searches, it is explained below
under C<SEARCH SPEC>.

Return a L<MetaCPAN::Client::Author> object on a simple search (PAUSE ID), or
Returns a L<MetaCPAN::Client::Author> object on a simple search (PAUSE ID), or
a L<MetaCPAN::Client::ResultSet> object propagated with
L<MetaCPAN::Client::Author> objects on a complex (L<search spec based|/"SEARCH SPEC">) search.

Expand All @@ -85,7 +85,7 @@ Finds a module by either its module name or by a search spec defined by a hash
reference. Since it is common to many other searches, it is explained below
under C<SEARCH SPEC>.

Return a L<MetaCPAN::Client::Module> object on a simple search (module name), or
Returns a L<MetaCPAN::Client::Module> object on a simple search (module name), or
a L<MetaCPAN::Client::ResultSet> object propagated with
L<MetaCPAN::Client::Module> objects on a complex (L<search spec based|/"SEARCH SPEC">) search.

Expand All @@ -98,26 +98,28 @@ Finds a distribution by either its distribution name or by a search spec
defined by a hash reference. Since it is common to many other searches, it is
explained below under C<SEARCH SPEC>.

Return a L<MetaCPAN::Client::Distribution> object on a simple search
Returns a L<MetaCPAN::Client::Distribution> object on a simple search
(distribution name), or a L<MetaCPAN::Client::ResultSet> object propagated with
L<MetaCPAN::Client::Distribution> objects on a complex (L<search spec based|/"SEARCH SPEC">)
search.

=head2 file

Return a L<MetaCPAN::Client::File> object.
Returns a L<MetaCPAN::Client::File> object.

=head2 favorite

my $favorite = $mcpan->favorite({ distribution => 'Moose' });

Return a L<MetaCPAN::Client::Favorite> object.
Returns a L<MetaCPAN::Client::ResultSet> object containing
L<MetaCPAN::Client::Favorite> results.

=head2 rating

my $rating = $mcpan->rating({ distribution => 'Moose' });

Return a L<MetaCPAN::Client::Rating> object.
Returns a L<MetaCPAN::Client::ResultSet> object containing
L<MetaCPAN::Client::Rating> results.

=head2 release

Expand All @@ -128,7 +130,7 @@ Finds a release by either its distribution name or by a search spec defined by
a hash reference. Since it is common to many other searches, it is explained
below under C<SEARCH SPEC>.

Return a L<MetaCPAN::Client::Release> object on a simple search (release name),
Returns a L<MetaCPAN::Client::Release> object on a simple search (release name),
or a L<MetaCPAN::Client::ResultSet> object propagated with
L<MetaCPAN::Client::Release> objects on a complex (L<search spec based|/"SEARCH SPEC">) search.

Expand Down Expand Up @@ -228,7 +230,7 @@ can be passed as a csv list or an array ref.
=head1 SEARCH SPEC

The hash-based search spec is common to many searches. It is quite
feature-rich and allows to disambiguate different types of searches.
feature-rich and allows you to disambiguate different types of searches.

Basic search specs just contain a hash of keys and values:

Expand Down
2 changes: 1 addition & 1 deletion dist.ini
Expand Up @@ -5,7 +5,7 @@ license = Perl_5
copyright_holder = Sawyer X
copyright_year = 2016

version = 2.004000
version = 2.005000

[@Starter]
-remove = GatherDir
Expand Down

0 comments on commit d8f0293

Please sign in to comment.