r63080 - in /trunk/libhttp-browserdetect-perl: Build.PL Changes INSTALL MANIFEST META.yml Makefile.PL README debian/changelog debian/copyright 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:26:11 UTC 2010


Author: angelabad-guest
Date: Wed Sep 29 09:25:54 2010
New Revision: 63080

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=63080
Log:
* New upstream release
* debian/copyright: Update license information

Removed:
    trunk/libhttp-browserdetect-perl/t/create_config.pl
Modified:
    trunk/libhttp-browserdetect-perl/Build.PL
    trunk/libhttp-browserdetect-perl/Changes
    trunk/libhttp-browserdetect-perl/INSTALL
    trunk/libhttp-browserdetect-perl/MANIFEST
    trunk/libhttp-browserdetect-perl/META.yml
    trunk/libhttp-browserdetect-perl/Makefile.PL
    trunk/libhttp-browserdetect-perl/README
    trunk/libhttp-browserdetect-perl/debian/changelog
    trunk/libhttp-browserdetect-perl/debian/copyright
    trunk/libhttp-browserdetect-perl/dist.ini
    trunk/libhttp-browserdetect-perl/lib/HTTP/BrowserDetect.pm
    trunk/libhttp-browserdetect-perl/t/author-critic.t
    trunk/libhttp-browserdetect-perl/t/useragents.yaml

Modified: trunk/libhttp-browserdetect-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/Build.PL?rev=63080&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/Build.PL (original)
+++ trunk/libhttp-browserdetect-perl/Build.PL Wed Sep 29 09:25:54 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: trunk/libhttp-browserdetect-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/Changes?rev=63080&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/Changes (original)
+++ trunk/libhttp-browserdetect-perl/Changes Wed Sep 29 09:25:54 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: trunk/libhttp-browserdetect-perl/INSTALL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/INSTALL?rev=63080&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/INSTALL (original)
+++ trunk/libhttp-browserdetect-perl/INSTALL Wed Sep 29 09:25:54 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: trunk/libhttp-browserdetect-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/MANIFEST?rev=63080&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/MANIFEST (original)
+++ trunk/libhttp-browserdetect-perl/MANIFEST Wed Sep 29 09:25:54 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: trunk/libhttp-browserdetect-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/META.yml?rev=63080&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/META.yml (original)
+++ trunk/libhttp-browserdetect-perl/META.yml Wed Sep 29 09:25:54 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: trunk/libhttp-browserdetect-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/Makefile.PL?rev=63080&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/Makefile.PL (original)
+++ trunk/libhttp-browserdetect-perl/Makefile.PL Wed Sep 29 09:25:54 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: trunk/libhttp-browserdetect-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/README?rev=63080&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/README (original)
+++ trunk/libhttp-browserdetect-perl/README Wed Sep 29 09:25:54 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: trunk/libhttp-browserdetect-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/debian/changelog?rev=63080&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/debian/changelog (original)
+++ trunk/libhttp-browserdetect-perl/debian/changelog Wed Sep 29 09:25:54 2010
@@ -1,3 +1,10 @@
+libhttp-browserdetect-perl (1.19-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/copyright: Update license information
+
+ -- Angel Abad <angelabad at gmail.com>  Wed, 29 Sep 2010 11:25:24 +0200
+
 libhttp-browserdetect-perl (1.18-1) unstable; urgency=low
 
   * New upstream release.

Modified: trunk/libhttp-browserdetect-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/debian/copyright?rev=63080&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/debian/copyright (original)
+++ trunk/libhttp-browserdetect-perl/debian/copyright Wed Sep 29 09:25:54 2010
@@ -20,7 +20,7 @@
  This program is free software; you can redistribute it and/or modify
  it under the terms of the Artistic License, which comes with Perl.
  .
- On Debian systems, the complete text of the Artistic License
+ On Debian GNU/Linux systems, the complete text of the Artistic License
  can be found in `/usr/share/common-licenses/Artistic'.
 
 License: GPL-1+
@@ -29,5 +29,5 @@
  the Free Software Foundation; either version 1, or (at your option)
  any later version.
  .
- On Debian systems, the complete text of version 1 of the General
- Public License can be found in `/usr/share/common-licenses/GPL-1'.
+ On Debian GNU/Linux systems, the complete text of version 1 of the
+ General Public License can be found in `/usr/share/common-licenses/GPL-1'.

Modified: trunk/libhttp-browserdetect-perl/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/dist.ini?rev=63080&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/dist.ini (original)
+++ trunk/libhttp-browserdetect-perl/dist.ini Wed Sep 29 09:25:54 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: trunk/libhttp-browserdetect-perl/lib/HTTP/BrowserDetect.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/lib/HTTP/BrowserDetect.pm?rev=63080&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/lib/HTTP/BrowserDetect.pm (original)
+++ trunk/libhttp-browserdetect-perl/lib/HTTP/BrowserDetect.pm Wed Sep 29 09:25:54 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: trunk/libhttp-browserdetect-perl/t/author-critic.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/t/author-critic.t?rev=63080&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/t/author-critic.t (original)
+++ trunk/libhttp-browserdetect-perl/t/author-critic.t Wed Sep 29 09:25:54 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: trunk/libhttp-browserdetect-perl/t/useragents.yaml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-browserdetect-perl/t/useragents.yaml?rev=63080&op=diff
==============================================================================
--- trunk/libhttp-browserdetect-perl/t/useragents.yaml (original)
+++ trunk/libhttp-browserdetect-perl/t/useragents.yaml Wed Sep 29 09:25:54 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