r63078 - in /branches/upstream/libhttp-browserdetect-perl/current: Build.PL Changes INSTALL MANIFEST META.yml Makefile.PL README dist.ini lib/HTTP/BrowserDetect.pm t/author-critic.t t/create_config.pl t/useragents.yaml
angelabad-guest at users.alioth.debian.org
angelabad-guest at users.alioth.debian.org
Wed Sep 29 09:16:59 UTC 2010
Author: angelabad-guest
Date: Wed Sep 29 09:15:05 2010
New Revision: 63078
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=63078
Log:
[svn-upgrade] new version libhttp-browserdetect-perl (1.19)
Removed:
branches/upstream/libhttp-browserdetect-perl/current/t/create_config.pl
Modified:
branches/upstream/libhttp-browserdetect-perl/current/Build.PL
branches/upstream/libhttp-browserdetect-perl/current/Changes
branches/upstream/libhttp-browserdetect-perl/current/INSTALL
branches/upstream/libhttp-browserdetect-perl/current/MANIFEST
branches/upstream/libhttp-browserdetect-perl/current/META.yml
branches/upstream/libhttp-browserdetect-perl/current/Makefile.PL
branches/upstream/libhttp-browserdetect-perl/current/README
branches/upstream/libhttp-browserdetect-perl/current/dist.ini
branches/upstream/libhttp-browserdetect-perl/current/lib/HTTP/BrowserDetect.pm
branches/upstream/libhttp-browserdetect-perl/current/t/author-critic.t
branches/upstream/libhttp-browserdetect-perl/current/t/useragents.yaml
Modified: branches/upstream/libhttp-browserdetect-perl/current/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/Build.PL?rev=63078&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/Build.PL (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/Build.PL Wed Sep 29 09:15:05 2010
@@ -20,10 +20,12 @@
},
'dist_abstract' => 'Determine Web browser, version, and platform from an HTTP user agent string',
'dist_author' => [
+ 'Lee Semel <lee at semel.net>',
+ 'Peter Walsham',
'Olaf Alders <olaf at wundercounter.com> (current maintainer)'
],
'dist_name' => 'HTTP-BrowserDetect',
- 'dist_version' => '1.18',
+ 'dist_version' => '1.19',
'license' => 'perl',
'module_name' => 'HTTP::BrowserDetect',
'recommends' => {},
Modified: branches/upstream/libhttp-browserdetect-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/Changes?rev=63078&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/Changes (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/Changes Wed Sep 29 09:15:05 2010
@@ -1,4 +1,7 @@
Revision history for Perl extension HTTP::BrowserDetect.
+
+1.19 2010-09-24
+ - Added support for WebOS (Jesse Thompson) RT #61437
1.18 2010-09-06
- Added support for Netfront and Safari on Kindle
Modified: branches/upstream/libhttp-browserdetect-perl/current/INSTALL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/INSTALL?rev=63078&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/INSTALL (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/INSTALL Wed Sep 29 09:15:05 2010
@@ -1,14 +1,29 @@
This is the Perl distribution HTTP-BrowserDetect.
-## Installation
+Installing HTTP-BrowserDetect is straightforward.
-HTTP-BrowserDetect installation is straightforward.
-If your CPAN shell is set up, you should just be able to do
+## Installation with cpanm
+
+If you have cpanm, you only need one line:
+
+ % cpanm HTTP::BrowserDetect
+
+If you are installing into a system-wide directory, you may need to pass the
+"-S" flag to cpanm, which uses sudo to install the module:
+
+ % cpanm -S HTTP::BrowserDetect
+
+## Installing with the CPAN shell
+
+Alternatively, if your CPAN shell is set up, you should just be able to do:
% cpan HTTP::BrowserDetect
-Download it, unpack it, then build it as per the usual:
+## Manual installation
+
+As a last resort, you can manually install it. Download the tarball, untar it,
+then build it:
% perl Makefile.PL
% make && make test
@@ -17,11 +32,13 @@
% make install
+If you are installing into a system-wide directory, you may need to run:
+
+ % sudo make install
+
## Documentation
-HTTP-BrowserDetect documentation is available as in POD.
-So you can do:
+HTTP-BrowserDetect documentation is available as POD.
+You can run perldoc from a shell to read the documentation:
% perldoc HTTP::BrowserDetect
-
-to read the documentation with your favorite pager.
Modified: branches/upstream/libhttp-browserdetect-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/MANIFEST?rev=63078&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/MANIFEST (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/MANIFEST Wed Sep 29 09:15:05 2010
@@ -11,7 +11,6 @@
lib/HTTP/BrowserDetect.pm
t/01-detect.t
t/author-critic.t
-t/create_config.pl
t/release-pod-coverage.t
t/release-pod-syntax.t
t/useragents.yaml
Modified: branches/upstream/libhttp-browserdetect-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/META.yml?rev=63078&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/META.yml (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/META.yml Wed Sep 29 09:15:05 2010
@@ -1,6 +1,8 @@
---
abstract: 'Determine Web browser, version, and platform from an HTTP user agent string'
author:
+ - 'Lee Semel <lee at semel.net>'
+ - 'Peter Walsham'
- 'Olaf Alders <olaf at wundercounter.com> (current maintainer)'
build_requires:
Data::Dump: 0
@@ -13,7 +15,7 @@
ExtUtils::MakeMaker: 6.31
Module::Build: 0.3601
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.102221, CPAN::Meta::Converter version 2.102160'
+generated_by: 'Dist::Zilla version 4.101900, CPAN::Meta::Converter version 2.101670'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,4 +27,4 @@
resources:
bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTTP-BrowserDetect
repository: http://github.com/oalders/http-browserdetect
-version: 1.18
+version: 1.19
Modified: branches/upstream/libhttp-browserdetect-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/Makefile.PL?rev=63078&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/Makefile.PL (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/Makefile.PL Wed Sep 29 09:15:05 2010
@@ -10,7 +10,7 @@
my %WriteMakefileArgs = (
'ABSTRACT' => 'Determine Web browser, version, and platform from an HTTP user agent string',
- 'AUTHOR' => 'Olaf Alders <olaf at wundercounter.com> (current maintainer)',
+ 'AUTHOR' => 'Lee Semel <lee at semel.net>, Peter Walsham, Olaf Alders <olaf at wundercounter.com> (current maintainer)',
'BUILD_REQUIRES' => {
'Data::Dump' => '0',
'English' => '0',
@@ -31,7 +31,7 @@
'Exporter' => '0',
'vars' => '0'
},
- 'VERSION' => '1.18',
+ 'VERSION' => '1.19',
'test' => {
'TESTS' => 't/*.t'
}
Modified: branches/upstream/libhttp-browserdetect-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/README?rev=63078&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/README (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/README Wed Sep 29 09:15:05 2010
@@ -3,7 +3,7 @@
an HTTP user agent string
VERSION
- version 1.18
+ version 1.19
SYNOPSIS
use HTTP::BrowserDetect;
@@ -85,8 +85,8 @@
device()
Returns the method name of the actual hardware, if it can be detected.
- Currently returns one of: blackberry, iphone, ipod or ipad Returns UNDEF
- if no hardware can be detected
+ Currently returns one of: blackberry, webos, iphone, ipod or ipad
+ Returns UNDEF if no hardware can be detected
device_name()
Returns a human formatted version of the hardware device name. These
@@ -275,6 +275,7 @@
ipad
kindle
palm
+ webos
wap
psp
ps3
@@ -419,8 +420,12 @@
includes any changes you have made. Please contact me if you have any
questions.
-AUTHOR
- Olaf Alders <olaf at wundercounter.com> (current maintainer)
+AUTHORS
+ * Lee Semel <lee at semel.net>
+
+ * Peter Walsham
+
+ * Olaf Alders <olaf at wundercounter.com> (current maintainer)
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Lee Semel.
Modified: branches/upstream/libhttp-browserdetect-perl/current/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/dist.ini?rev=63078&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/dist.ini (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/dist.ini Wed Sep 29 09:15:05 2010
@@ -1,9 +1,11 @@
name = HTTP-BrowserDetect
+author = Lee Semel <lee at semel.net>
+author = Peter Walsham
author = Olaf Alders <olaf at wundercounter.com> (current maintainer)
license = Perl_5
copyright_holder = Lee Semel
copyright_year = 2010
-version = 1.18
+version = 1.19
main_module = lib/HTTP/BrowserDetect.pm
[MetaResources]
Modified: branches/upstream/libhttp-browserdetect-perl/current/lib/HTTP/BrowserDetect.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/lib/HTTP/BrowserDetect.pm?rev=63078&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/lib/HTTP/BrowserDetect.pm (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/lib/HTTP/BrowserDetect.pm Wed Sep 29 09:15:05 2010
@@ -1,7 +1,7 @@
use strict;
package HTTP::BrowserDetect;
BEGIN {
- $HTTP::BrowserDetect::VERSION = '1.18';
+ $HTTP::BrowserDetect::VERSION = '1.19';
}
use vars qw(@ISA @EXPORT @EXPORT_OK @ALL_TESTS);
@@ -37,7 +37,7 @@
palm audrey iopener
wap blackberry iphone
ipod ipad ps3
- psp kindle
+ psp kindle webos
);
# Browsers
@@ -451,6 +451,7 @@
$tests->{BLACKBERRY} = ( index( $ua, "blackberry" ) != -1 );
$tests->{IPHONE} = ( index( $ua, "iphone" ) != -1 );
+ $tests->{WEBOS} = ( index( $ua, "webos" ) != -1 );
$tests->{IPOD} = ( index( $ua, "ipod" ) != -1 );
$tests->{IPAD} = ( index( $ua, "ipad" ) != -1 );
$tests->{KINDLE} = ( index( $ua, "kindle" ) != -1 );
@@ -992,7 +993,7 @@
my ( $self, $check ) = _self_or_default( @_ );
my @devices = qw(
- blackberry iphone ipod ipad ps3 psp
+ blackberry iphone ipod ipad ps3 psp webos
);
foreach my $device ( @devices ) {
@@ -1013,6 +1014,7 @@
ipad => 'iPad',
psp => 'Sony PlayStation Portable',
ps3 => 'Sony PlayStation 3',
+ webos => 'webOS',
);
my $device = $self->device;
@@ -1078,7 +1080,7 @@
=head1 VERSION
-version 1.18
+version 1.19
=head1 SYNOPSIS
@@ -1164,7 +1166,7 @@
=head2 device()
Returns the method name of the actual hardware, if it can be detected.
-Currently returns one of: blackberry, iphone, ipod or ipad Returns UNDEF if
+Currently returns one of: blackberry, webos, iphone, ipod or ipad Returns UNDEF if
no hardware can be detected
=head2 device_name()
@@ -1408,6 +1410,8 @@
=head3 palm
+=head3 webos
+
=head3 wap
=head3 psp
@@ -1575,9 +1579,23 @@
changes. Just edit t/useragents.yaml so that the test coverage includes any
changes you have made. Please contact me if you have any questions.
-=head1 AUTHOR
+=head1 AUTHORS
+
+=over 4
+
+=item *
+
+Lee Semel <lee at semel.net>
+
+=item *
+
+Peter Walsham
+
+=item *
Olaf Alders <olaf at wundercounter.com> (current maintainer)
+
+=back
=head1 COPYRIGHT AND LICENSE
Modified: branches/upstream/libhttp-browserdetect-perl/current/t/author-critic.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/t/author-critic.t?rev=63078&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/t/author-critic.t (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/t/author-critic.t Wed Sep 29 09:15:05 2010
@@ -16,5 +16,4 @@
eval "use Test::Perl::Critic";
plan skip_all => 'Test::Perl::Critic required to criticise code' if $@;
-Test::Perl::Critic->import( -profile => "perlcritic.rc" ) if -e "perlcritic.rc";
all_critic_ok();
Modified: branches/upstream/libhttp-browserdetect-perl/current/t/useragents.yaml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/t/useragents.yaml?rev=63078&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/t/useragents.yaml (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/t/useragents.yaml Wed Sep 29 09:15:05 2010
@@ -2148,4 +2148,15 @@
public_version: 4.0
public_major: 4
public_minor: 0
+---
+useragent: 'Mozilla/5.0 (webOS/1.0; U; en-US) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/1.0 Safari/525.27.1 Pre/1.0'
+language: EN
+country: US
+match:
+ - safari
+ - mobile
+ - webos
+engine_string: KHTML
+device: webos
+device_name: webOS
More information about the Pkg-perl-cvs-commits
mailing list