Changeset 202 for lang/perl/WebService-YouTube
- Timestamp:
- 09/18/07 17:33:05 (6 years ago)
- Location:
- lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2
- Files:
-
- 22 modified
-
Build.PL (modified) (1 diff)
-
Changes (modified) (1 diff)
-
META.yml (modified) (1 diff)
-
Makefile.PL (modified) (2 diffs)
-
examples/recently_added.pl (modified) (1 diff)
-
lib/WebService/YouTube.pm (modified) (4 diffs)
-
lib/WebService/YouTube/Feeds.pm (modified) (4 diffs)
-
lib/WebService/YouTube/User.pm (modified) (3 diffs)
-
lib/WebService/YouTube/Util.pm (modified) (2 diffs)
-
lib/WebService/YouTube/Video.pm (modified) (3 diffs)
-
lib/WebService/YouTube/Videos.pm (modified) (5 diffs)
-
t/00load.t (modified) (1 diff)
-
t/01perlcritic.t (modified) (1 diff)
-
t/02pod.t (modified) (1 diff)
-
t/03pod-coverage.t (modified) (1 diff)
-
t/04kwalitee.t (modified) (1 diff)
-
t/WebService-YouTube-Feeds.t (modified) (1 diff)
-
t/WebService-YouTube-User.t (modified) (1 diff)
-
t/WebService-YouTube-Util.t (modified) (2 diffs)
-
t/WebService-YouTube-Video.t (modified) (1 diff)
-
t/WebService-YouTube-Videos.t (modified) (1 diff)
-
t/WebService-YouTube.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/Build.PL
r176 r202 4 4 use strict; 5 5 use warnings; 6 our $VERSION = eval { require version; version::qv('1.0. 2') };6 our $VERSION = eval { require version; version::qv('1.0.1') }; 7 7 8 8 do 'Makefile.PL'; -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/Changes
r176 r202 2 2 Revision history for WebService-YouTube 3 3 ======================================= 4 5 1.0.2 2007-09-156 - Fixed W::Y::Util#get_video_uri.7 4 8 5 1.0.1 2007-04-09 -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/META.yml
r176 r202 1 --- 1 --- 2 abstract: Perl interfece to YouTube 3 author: Hironori Yoshida <yoshida@cpan.org> 4 distribution_type: module 5 generated_by: Module::Install version 0.65 6 license: perl 7 meta-spec: 8 url: http://module-build.sourceforge.net/META-spec-v1.3.html 9 version: 1.3 2 10 name: WebService-YouTube 3 version: 1.0.2 4 author: 5 - 'Hironori Yoshida <yoshida@cpan.org>' 6 abstract: Perl interfece to YouTube 7 license: perl 8 resources: 9 license: http://dev.perl.org/licenses/ 10 requires: 11 no_index: 12 directory: 13 - inc 14 - t 15 requires: 11 16 Class::Accessor::Fast: 0 12 Encode: 013 17 HTTP::Date: 0 14 18 LWP::UserAgent: 0 15 19 URI::Escape: 0 16 20 XML::Simple: 0 21 perl: 5.6.0 17 22 version: 0 18 provides: 19 WebService::YouTube: 20 file: lib/WebService/YouTube.pm 21 version: 1.0.2 22 WebService::YouTube::Feeds: 23 file: lib/WebService/YouTube/Feeds.pm 24 version: 1.0.2 25 WebService::YouTube::User: 26 file: lib/WebService/YouTube/User.pm 27 version: 1.0.2 28 WebService::YouTube::Util: 29 file: lib/WebService/YouTube/Util.pm 30 version: 1.0.2 31 WebService::YouTube::Video: 32 file: lib/WebService/YouTube/Video.pm 33 version: 1.0.2 34 WebService::YouTube::Videos: 35 file: lib/WebService/YouTube/Videos.pm 36 version: 1.0.2 37 generated_by: Module::Build version 0.2808 38 meta-spec: 39 url: http://module-build.sourceforge.net/META-spec-v1.2.html 40 version: 1.2 23 version: 1.0.1 -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/Makefile.PL
r176 r202 4 4 use strict; 5 5 use warnings; 6 our $VERSION = eval { require version; version::qv('1.0. 2') };6 our $VERSION = eval { require version; version::qv('1.0.1') }; 7 7 8 8 use inc::Module::Install; … … 19 19 requires 'version'; 20 20 requires 'Class::Accessor::Fast'; 21 requires 'Encode';22 21 requires 'HTTP::Date'; 23 22 requires 'LWP::UserAgent'; -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/examples/recently_added.pl
r177 r202 6 6 use strict; 7 7 use warnings; 8 use version; our $VERSION = qv('1.0. 2');8 use version; our $VERSION = qv('1.0.1'); 9 9 10 10 use blib; -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/lib/WebService/YouTube.pm
r177 r202 5 5 use strict; 6 6 use warnings; 7 use version; our $VERSION = qv('1.0. 2');7 use version; our $VERSION = qv('1.0.1'); 8 8 9 9 use base qw(Class::Accessor::Fast); … … 39 39 =head1 VERSION 40 40 41 This document describes WebService::YouTube version 1.0. 241 This document describes WebService::YouTube version 1.0.1 42 42 43 43 =head1 SYNOPSIS … … 57 57 This is a Perl interface to YouTube API and RSS. 58 58 See Developers Page L<http://youtube.com/dev> and About RSS L<http://www.youtube.com/rssls> for details. 59 60 B<I<This module support only Legacy API, does not support YouTube Data API based on Google data protocol.>>61 See YouTube Data API Overview L<http://code.google.com/apis/youtube/overview.html> for details.62 59 63 60 =head1 SUBROUTINES/METHODS … … 118 115 =head1 LICENSE AND COPYRIGHT 119 116 117 Copyright (c) 2006, Hironori Yoshida <yoshida@cpan.org>. All rights reserved. 118 120 119 This module is free software; you can redistribute it and/or 121 120 modify it under the same terms as Perl itself. See L<perlartistic>. -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/lib/WebService/YouTube/Feeds.pm
r177 r202 5 5 use strict; 6 6 use warnings; 7 use version; our $VERSION = qv('1.0. 2');7 use version; our $VERSION = qv('1.0.1'); 8 8 9 9 use Carp; … … 44 44 45 45 sub new { 46 my ( $class, @args ) = @_;47 48 my $self = $class->SUPER::new(@ args);46 my $class = shift; 47 48 my $self = $class->SUPER::new(@_); 49 49 if ( !$self->ua ) { 50 50 $self->ua( LWP::UserAgent->new ); … … 177 177 =head1 VERSION 178 178 179 This document describes WebService::YouTube::Feeds version 1.0. 2179 This document describes WebService::YouTube::Feeds version 1.0.1 180 180 181 181 =head1 SYNOPSIS … … 333 333 =head1 LICENSE AND COPYRIGHT 334 334 335 This module is free software; you can redistribute it and/or 336 modify it under the same terms as Perl itself. See L<perlartistic>. 335 Copyright 2006, Hironori Yoshida <yoshida@cpan.org>. All rights reserved. 336 337 This program is free software; you can redistribute it and/or modify it 338 under the same terms as Perl itself. See L<perlartistic>. 337 339 338 340 =cut -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/lib/WebService/YouTube/User.pm
r177 r202 5 5 use strict; 6 6 use warnings; 7 use version; our $VERSION = qv('1.0. 2');7 use version; our $VERSION = qv('1.0.1'); 8 8 9 9 use base qw(Class::Accessor::Fast); … … 48 48 =head1 VERSION 49 49 50 This document describes WebService::YouTube::User version 1.0. 250 This document describes WebService::YouTube::User version 1.0.1 51 51 52 52 =head1 SYNOPSIS … … 152 152 =head1 LICENSE AND COPYRIGHT 153 153 154 This module is free software; you can redistribute it and/or 155 modify it under the same terms as Perl itself. See L<perlartistic>. 154 Copyright 2006, Hironori Yoshida <yoshida@cpan.org>. All rights reserved. 155 156 This program is free software; you can redistribute it and/or modify it 157 under the same terms as Perl itself. See L<perlartistic>. 156 158 157 159 =cut -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/lib/WebService/YouTube/Util.pm
r177 r202 5 5 use strict; 6 6 use warnings; 7 use version; our $VERSION = qv('1.0. 2');7 use version; our $VERSION = qv('1.0.1'); 8 8 9 9 use Carp; … … 123 123 =head1 VERSION 124 124 125 This document describes WebService::YouTube::Util version 1.0. 2125 This document describes WebService::YouTube::Util version 1.0.1 126 126 127 127 =head1 SYNOPSIS -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/lib/WebService/YouTube/Video.pm
r177 r202 5 5 use strict; 6 6 use warnings; 7 use version; our $VERSION = qv('1.0. 2');7 use version; our $VERSION = qv('1.0.1'); 8 8 9 9 use base qw(Class::Accessor::Fast); … … 43 43 =head1 VERSION 44 44 45 This document describes WebService::YouTube::Video version 1.0. 245 This document describes WebService::YouTube::Video version 1.0.1 46 46 47 47 =head1 SYNOPSIS … … 125 125 =head1 LICENSE AND COPYRIGHT 126 126 127 This module is free software; you can redistribute it and/or 128 modify it under the same terms as Perl itself. See L<perlartistic>. 127 Copyright 2006, Hironori Yoshida <yoshida@cpan.org>. All rights reserved. 128 129 This program is free software; you can redistribute it and/or modify it 130 under the same terms as Perl itself. See L<perlartistic>. 129 131 130 132 =cut -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/lib/WebService/YouTube/Videos.pm
r177 r202 5 5 use strict; 6 6 use warnings; 7 use version; our $VERSION = qv('1.0. 2');7 use version; our $VERSION = qv('1.0.1'); 8 8 9 9 use Carp; … … 18 18 19 19 sub new { 20 my ( $class, @args ) = @_;21 22 my $self = $class->SUPER::new(@ args);20 my $class = shift; 21 22 my $self = $class->SUPER::new(@_); 23 23 if ( !$self->dev_id ) { 24 24 croak 'dev_id is required'; … … 140 140 my $self = shift; 141 141 142 my $uri = WebService::YouTube::Util->rest_uri( $self->dev_id, 142 my $uri = 143 WebService::YouTube::Util->rest_uri( $self->dev_id, 143 144 'youtube.videos.list_featured' ); 144 145 my $res = $self->ua->get($uri); … … 160 161 =head1 VERSION 161 162 162 This document describes WebService::YouTube::Videos version 1.0. 2163 This document describes WebService::YouTube::Videos version 1.0.1 163 164 164 165 =head1 SYNOPSIS … … 299 300 =head1 LICENSE AND COPYRIGHT 300 301 301 This module is free software; you can redistribute it and/or 302 modify it under the same terms as Perl itself. See L<perlartistic>. 302 Copyright 2006, Hironori Yoshida <yoshida@cpan.org>. All rights reserved. 303 304 This program is free software; you can redistribute it and/or modify it 305 under the same terms as Perl itself. See L<perlartistic>. 303 306 304 307 =cut -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/t/00load.t
r177 r202 5 5 use strict; 6 6 use warnings; 7 use version; our $VERSION = qv('1.0. 2');7 use version; our $VERSION = qv('1.0.1'); 8 8 9 9 use blib; -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/t/01perlcritic.t
r177 r202 5 5 use strict; 6 6 use warnings; 7 use version; our $VERSION = qv('1.0. 2');7 use version; our $VERSION = qv('1.0.1'); 8 8 9 9 use English qw(-no_match_vars); -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/t/02pod.t
r177 r202 5 5 use strict; 6 6 use warnings; 7 use version; our $VERSION = qv('1.0. 2');7 use version; our $VERSION = qv('1.0.1'); 8 8 9 9 use English qw(-no_match_vars); -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/t/03pod-coverage.t
r177 r202 5 5 use strict; 6 6 use warnings; 7 use version; our $VERSION = qv('1.0. 2');7 use version; our $VERSION = qv('1.0.1'); 8 8 9 9 use blib; -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/t/04kwalitee.t
r177 r202 5 5 use strict; 6 6 use warnings; 7 use version; our $VERSION = qv('1.0. 2');7 use version; our $VERSION = qv('1.0.1'); 8 8 9 9 use English qw(-no_match_vars); -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/t/WebService-YouTube-Feeds.t
r177 r202 5 5 use strict; 6 6 use warnings; 7 use version; our $VERSION = qv('1.0. 2');7 use version; our $VERSION = qv('1.0.1'); 8 8 9 9 use blib; -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/t/WebService-YouTube-User.t
r177 r202 5 5 use strict; 6 6 use warnings; 7 use version; our $VERSION = qv('1.0. 2');7 use version; our $VERSION = qv('1.0.1'); 8 8 9 9 use blib; -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/t/WebService-YouTube-Util.t
r177 r202 5 5 use strict; 6 6 use warnings; 7 use version; our $VERSION = qv('1.0. 2');7 use version; our $VERSION = qv('1.0.1'); 8 8 9 9 use blib; … … 35 35 SKIP: { 36 36 if ( !$ENV{TEST_YOUTUBE} ) { 37 skip 'set TEST_YOUTUBE for testing WebService::YouTube:: Util', 1;37 skip 'set TEST_YOUTUBE for testing WebService::YouTube::Videos', 1; 38 38 } 39 39 ok( WebService::YouTube::Util->get_video_uri('rdwz7QiG0lk'), -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/t/WebService-YouTube-Video.t
r177 r202 5 5 use strict; 6 6 use warnings; 7 use version; our $VERSION = qv('1.0. 2');7 use version; our $VERSION = qv('1.0.1'); 8 8 9 9 use blib; -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/t/WebService-YouTube-Videos.t
r177 r202 5 5 use strict; 6 6 use warnings; 7 use version; our $VERSION = qv('1.0. 2');7 use version; our $VERSION = qv('1.0.1'); 8 8 9 9 use blib; -
lang/perl/WebService-YouTube/tags/WebService-YouTube-1.0.2/t/WebService-YouTube.t
r177 r202 5 5 use strict; 6 6 use warnings; 7 use version; our $VERSION = qv('1.0. 2');7 use version; our $VERSION = qv('1.0.1'); 8 8 9 9 use blib;
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)