[libnet-twitter-lite-perl] 01/01: Imported Upstream version 0.120024
dom at earth.li
dom at earth.li
Sun Sep 8 13:38:22 UTC 2013
This is an automated email from the git hooks/post-receive script.
dom pushed a commit to annotated tag upstream/0.120024
in repository libnet-twitter-lite-perl.
commit 16539e6a7d812dfd7ef5d4e4a3b110c137112ba9
Author: Dominic Hargreaves <dom at earth.li>
Date: Sun Sep 8 14:26:34 2013 +0100
Imported Upstream version 0.120024
---
Build.PL | 2 +-
Changes | 6 ++++++
META.yml | 2 +-
lib/Net/Twitter/Lite.pm | 4 ++--
lib/Net/Twitter/Lite.pod | 2 +-
lib/Net/Twitter/Lite/API/V1.pm | 4 ++--
lib/Net/Twitter/Lite/API/V1_1.pm | 26 +++++++++++++++++-------
lib/Net/Twitter/Lite/Error.pm | 4 ++--
lib/Net/Twitter/Lite/WithAPIv1_1.pm | 4 ++--
lib/Net/Twitter/Lite/WithAPIv1_1.pod | 37 ++++++++++++++++++++++++++--------
10 files changed, 65 insertions(+), 26 deletions(-)
diff --git a/Build.PL b/Build.PL
index 6a05ff2..175767d 100644
--- a/Build.PL
+++ b/Build.PL
@@ -22,7 +22,7 @@ my %module_build_args = (
"Marc Mims <mmims\@cpan.org>"
],
"dist_name" => "Net-Twitter-Lite",
- "dist_version" => "0.12002",
+ "dist_version" => "0.12004",
"license" => "perl",
"module_name" => "Net::Twitter::Lite",
"recommends" => {
diff --git a/Changes b/Changes
index 9d0ecb0..dc57223 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,9 @@
+0.12004 2013-05-03
+ - restore list_subscriptions
+
+0.12003 2013-04-25
+ - Added list_ownerships
+
0.12002 2013-03-11
- 30 second delay in OAuth requests fixed with Net::HTTP 6.06
diff --git a/META.yml b/META.yml
index d630537..cb91d20 100644
--- a/META.yml
+++ b/META.yml
@@ -45,4 +45,4 @@ resources:
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Net-Twitter-Lite
homepage: https://github.com/semifor/net-twitter-lite
repository: https://github.com/semifor/net-twitter-lite.git
-version: 0.12002
+version: 0.12004
diff --git a/lib/Net/Twitter/Lite.pm b/lib/Net/Twitter/Lite.pm
index 27f470d..bb09e54 100644
--- a/lib/Net/Twitter/Lite.pm
+++ b/lib/Net/Twitter/Lite.pm
@@ -9,11 +9,11 @@ Net::Twitter::Lite - A perl library for Twitter's API v1
=head1 VERSION
-version 0.12002
+version 0.12004
=cut
-our $VERSION = '0.12002';
+our $VERSION = '0.12004';
use Carp;
use URI::Escape;
diff --git a/lib/Net/Twitter/Lite.pod b/lib/Net/Twitter/Lite.pod
index 7608cba..47cd567 100644
--- a/lib/Net/Twitter/Lite.pod
+++ b/lib/Net/Twitter/Lite.pod
@@ -4,7 +4,7 @@ Net::Twitter::Lite - A perl interface to the Twitter API
=head1 VERSION
-version 0.12002
+version 0.12004
=head1 STOP!
diff --git a/lib/Net/Twitter/Lite/API/V1.pm b/lib/Net/Twitter/Lite/API/V1.pm
index 32eb0a1..cdc2742 100644
--- a/lib/Net/Twitter/Lite/API/V1.pm
+++ b/lib/Net/Twitter/Lite/API/V1.pm
@@ -1,6 +1,6 @@
package Net::Twitter::Lite::API::V1;
{
- $Net::Twitter::Lite::API::V1::VERSION = '0.12002';
+ $Net::Twitter::Lite::API::V1::VERSION = '0.12004';
}
use warnings;
use strict;
@@ -11,7 +11,7 @@ Net::Twitter::Lite::API::V1 - Method definitions for Twitter's deprecated API v1
=head1 VERSION
-version 0.12002
+version 0.12004
=cut
diff --git a/lib/Net/Twitter/Lite/API/V1_1.pm b/lib/Net/Twitter/Lite/API/V1_1.pm
index b6b0aa9..b1b0b08 100644
--- a/lib/Net/Twitter/Lite/API/V1_1.pm
+++ b/lib/Net/Twitter/Lite/API/V1_1.pm
@@ -1,6 +1,6 @@
package Net::Twitter::Lite::API::V1_1;
{
- $Net::Twitter::Lite::API::V1_1::VERSION = '0.12002';
+ $Net::Twitter::Lite::API::V1_1::VERSION = '0.12004';
}
use warnings;
use strict;
@@ -11,7 +11,7 @@ Net::Twitter::Lite::API::V1_1 - Twitter API v1.1 method definitions
=head1 VERSION
-version 0.12002
+version 0.12004
=cut
@@ -693,11 +693,11 @@ sub api_def () { +[
} ],
# Lists
- [ 'all_subscriptions', {
- aliases => [ qw/all_lists list_subscriptions/ ],
+ [ 'get_lists', {
+ aliases => [ qw/list_lists all_subscriptions/ ],
path => 'lists/list',
method => 'GET',
- params => [ qw/user_id screen_name/ ],
+ params => [ qw/user_id screen_name reverse/ ],
required => [ qw// ],
add_source => 0,
deprecated => 0,
@@ -885,8 +885,8 @@ sub api_def () { +[
booleans => [ qw// ],
base_url_method => 'apiurl',
} ],
- [ 'subscriptions', {
- aliases => [ qw// ],
+ [ 'list_subscriptions', {
+ aliases => [ qw/subscriptions/ ],
path => 'lists/subscriptions',
method => 'GET',
params => [ qw/user_id screen_name count cursor/ ],
@@ -909,6 +909,18 @@ sub api_def () { +[
booleans => [ qw// ],
base_url_method => 'apiurl',
} ],
+ [ 'list_ownerships', {
+ aliases => [],
+ path => 'lists/ownerships',
+ method => 'GET',
+ params => [ qw/user_id screen_name count cursor/ ],
+ required => [ qw// ],
+ add_source => 0,
+ deprecated => 0,
+ authenticate => 1,
+ booleans => [ qw// ],
+ base_url_method => 'apiurl',
+ } ],
# Saved Searches
[ 'saved_searches', {
diff --git a/lib/Net/Twitter/Lite/Error.pm b/lib/Net/Twitter/Lite/Error.pm
index 6f19002..14c108f 100644
--- a/lib/Net/Twitter/Lite/Error.pm
+++ b/lib/Net/Twitter/Lite/Error.pm
@@ -1,6 +1,6 @@
package Net::Twitter::Lite::Error;
{
- $Net::Twitter::Lite::Error::VERSION = '0.12002';
+ $Net::Twitter::Lite::Error::VERSION = '0.12004';
}
use warnings;
use strict;
@@ -20,7 +20,7 @@ Net::Twitter::Lite::Error - Encapsulates errors thrown by Net::Twitter::Lite
=head1 VERSION
-version 0.12002
+version 0.12004
=head1 SYNOPSIS
diff --git a/lib/Net/Twitter/Lite/WithAPIv1_1.pm b/lib/Net/Twitter/Lite/WithAPIv1_1.pm
index 66b62e4..25f097e 100644
--- a/lib/Net/Twitter/Lite/WithAPIv1_1.pm
+++ b/lib/Net/Twitter/Lite/WithAPIv1_1.pm
@@ -1,6 +1,6 @@
package Net::Twitter::Lite::WithAPIv1_1;
{
- $Net::Twitter::Lite::WithAPIv1_1::VERSION = '0.12002';
+ $Net::Twitter::Lite::WithAPIv1_1::VERSION = '0.12004';
}
use warnings;
use strict;
@@ -12,7 +12,7 @@ Net::Twitter::Lite::WithAPIv1_1 - A perl API library for Twitter's API v1.1
=head1 VERSION
-version 0.12002
+version 0.12004
=cut
diff --git a/lib/Net/Twitter/Lite/WithAPIv1_1.pod b/lib/Net/Twitter/Lite/WithAPIv1_1.pod
index 2dce74b..e5c6fdc 100644
--- a/lib/Net/Twitter/Lite/WithAPIv1_1.pod
+++ b/lib/Net/Twitter/Lite/WithAPIv1_1.pod
@@ -6,7 +6,7 @@ Net::Twitter::Lite::WithAPIv1_1 - A perl interface to the Twitter API
=head1 VERSION
-version 0.12002
+version 0.12004
=head1 SYNOPSIS
@@ -972,26 +972,32 @@ Returns: List
=item B<get_lists>
-
-=item alias: list_lists
-
=item alias: all_subscriptions
+=item alias: list_lists all_subscriptions
+
=over 4
-=item Parameters: user_id, screen_name
+=item Parameters: user_id, screen_name reverse
=item Required: I<none>
=back
Returns all lists the authenticating or specified user subscribes to, including
-their own. The user is specified using the C<user_id> or C<screen_name> parameters.
+their own. The user is specified using the user_id or screen_name parameters.
If no user is given, the authenticating user is used.
+A maximum of 100 results will be returned by this call. Subscribed lists are
+returned first, followed by owned lists. This means that if a user subscribes
+to 90 lists and owns 20 lists, this method returns 90 subscriptions and 10
+owned lists. The reverse method returns owned lists first, so with C<reverse =>
+1>, 20 owned lists and 80 subscriptions would be returned. If your goal is to
+obtain every list a user owns or subscribes to, use <list_ownerships> and/or
+C<list_subscriptions> instead.
-Returns: Hashref
+Returns: ArrayRef[Lists]
=item B<get_privacy_policy>
@@ -1771,7 +1777,7 @@ Subscribes the authenticated user to the specified list.
Returns: List
-=item B<subscriptions>
+=item B<list_subscriptions>
@@ -1781,6 +1787,8 @@ Returns: List
=item Required: I<none>
+=item Aliases: subscriptions
+
=back
Obtain a collection of the lists the specified user is subscribed to, 20 lists
@@ -1789,6 +1797,19 @@ per page by default. Does not include the user's own lists.
Returns: ArrayRef[List]
+=item B<list_ownerships>
+
+=over 4
+
+=item Parameters: user_id screen_name count cursor
+
+=back
+
+Obtain a collection of the lists owned by the specified Twitter user. Private
+lists will only be shown if the authenticated user is also the owner of the lists.
+
+Returns: Hashref
+
=item B<suggestion_categories>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-twitter-lite-perl.git
More information about the Pkg-perl-cvs-commits
mailing list