r57574 - in /branches/upstream/libhttp-browserdetect-perl/current: Changes META.yml Makefile.PL lib/HTTP/BrowserDetect.pm t/useragents.yaml
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Thu May 6 14:36:53 UTC 2010
Author: jawnsy-guest
Date: Thu May 6 14:36:46 2010
New Revision: 57574
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=57574
Log:
[svn-upgrade] Integrating new upstream version, libhttp-browserdetect-perl (1.10)
Modified:
branches/upstream/libhttp-browserdetect-perl/current/Changes
branches/upstream/libhttp-browserdetect-perl/current/META.yml
branches/upstream/libhttp-browserdetect-perl/current/Makefile.PL
branches/upstream/libhttp-browserdetect-perl/current/lib/HTTP/BrowserDetect.pm
branches/upstream/libhttp-browserdetect-perl/current/t/useragents.yaml
Modified: branches/upstream/libhttp-browserdetect-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/Changes?rev=57574&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/Changes (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/Changes Thu May 6 14:36:46 2010
@@ -1,26 +1,30 @@
Revision history for Perl extension HTTP::BrowserDetect.
+1.10 2010-04-05
+ - Google toolbar no longer triggers false positive for Googlebot (Jay
+ Rifkin)
+
1.09 2010-04-04
- - Better language detection (commit 68025ca1a58afa1db9b4eeffe8c246d129825cc0)
- (Maroš Kollár)
+ - Better language detection (commit
+ 68025ca1a58afa1db9b4eeffe8c246d129825cc0) (Maroš Kollár)
1.08 2010-03-19
- Added ipad(), device() and device_name() methods
1.07 2010-02-10
- Added realplayer() and _realplayer_version() methods RT #52355 (Marc
- Sebastian Pelzer)
+ Sebastian Pelzer)
- Added engine_string(), engine_version(), engine_major(), engine_minor()
- methods
- - Added Windows 7 detection (commit 73795d8189faded8b07717e55488f128eaa00752)
- (Alexey Surikov)
+ methods
+ - Added Windows 7 detection (commit
+ 73795d8189faded8b07717e55488f128eaa00752) (Alexey Surikov)
- Added public_version(), public_major() and public_minor() methods
1.06 2009-11-24
- Added missing file t/useragents.yaml to MANIFEST
1.05 2009-11-23
- - Fixed RT #31847 (Mike Clarke) SCO/Unix false positives
+ - Fixed RT #31847 (Mike Clarke) SCO/Unix false positives
1.04 2009-11-23
- Moved test config to a YAML file
@@ -48,7 +52,8 @@
methods
- Manually added patch for Iceweasel from RT #41263 (merlynkline)
- Added test for RT #41541 and RT #41263 (merlynkline)
- - curl added back to list of supported browsers RT #27878 (RT #Toni Cebrián)
+ - curl added back to list of supported browsers RT #27878 (RT #Toni
+ Cebrián)
- Added test for RT #8547 (Steve Purkis)
- Added test for RT #30705 (david.hilton.p)
- Applied patch and added test for RT #7443
@@ -76,7 +81,7 @@
- added Windows ME detection
- updated url to javascript browser sniffer page
-0.95 Sat Aug 4 09:08:00 2000
+0.95 Sat Aug 4 09:08:00 2000
- added additional browsers
0.94 Sun Mar 19 18:51:00 2000
@@ -85,10 +90,10 @@
- added Windows 2000 detection
- eliminated AUTOLOAD subroutine
-0.92 Mon Feb 7 12:34:56 2000
- - fixed version numbering problem, would return '.' instead of
- undef if useragent's version couldn't be found
+0.92 Mon Feb 7 12:34:56 2000
+ - fixed version numbering problem, would return '.' instead of undef if
+ useragent's version couldn't be found
- added more detection for AOL
-0.9 Wed Feb 17 23:45:52 1999
+0.9 Wed Feb 17 23:45:52 1999
- original version; created by h2xs 1.18
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=57574&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/META.yml (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/META.yml Thu May 6 14:36:46 2010
@@ -1,12 +1,7 @@
---
-name: HTTP-BrowserDetect
-version: 1.09
+abstract: 'Determine Web browser, version, and platform from an HTTP user agent string'
author:
- 'Olaf Alders <olaf at wundercounter.com>'
-abstract: 'Determine Web browser, version, and platform from an HTTP user agent string'
-license: perl
-resources:
- license: http://dev.perl.org/licenses/
build_requires:
Data::Dump: 0
Exporter: 0
@@ -14,12 +9,17 @@
Test::More: 0
YAML::Tiny: 0
configure_requires:
- Module::Build: 0.35
+ Module::Build: 0.36
+generated_by: 'Module::Build version 0.3603'
+license: perl
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: HTTP-BrowserDetect
provides:
HTTP::BrowserDetect:
file: lib/HTTP/BrowserDetect.pm
- version: 1.09
-generated_by: Module::Build version 0.35
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: 1.10
+resources:
+ license: http://dev.perl.org/licenses/
+version: 1.10
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=57574&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/Makefile.PL (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/Makefile.PL Thu May 6 14:36:46 2010
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.35
+# Note: this file was auto-generated by Module::Build::Compat version 0.3603
use ExtUtils::MakeMaker;
WriteMakefile
(
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=57574&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/lib/HTTP/BrowserDetect.pm (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/lib/HTTP/BrowserDetect.pm Thu May 6 14:36:46 2010
@@ -7,7 +7,7 @@
@ISA = qw(Exporter);
@EXPORT = qw();
@EXPORT_OK = qw();
-$VERSION = '1.09';
+$VERSION = '1.10';
# Operating Systems
push @ALL_TESTS, qw(
@@ -197,7 +197,7 @@
|| ( index( $ua, "applewebkit" ) != -1 ) )
&& ( index( $ua, "chrome" ) == -1 );
- # Chome Version
+ # Chrome Version
if ( $tests->{CHROME} ) {
( $major, $minor ) = (
$ua =~ m{
@@ -346,7 +346,7 @@
$tests->{LWP}
= ( index( $ua, "libwww-perl" ) != -1 || index( $ua, "lwp-" ) != -1 );
$tests->{YAHOO} = ( index( $ua, "yahoo" ) != -1 );
- $tests->{GOOGLE} = ( index( $ua, "google" ) != -1 );
+ $tests->{GOOGLE} = ( index( $ua, "googlebot" ) != -1 );
$tests->{JAVA}
= ( index( $ua, "java" ) != -1 || index( $ua, "jdk" ) != -1 );
$tests->{ALTAVISTA} = ( index( $ua, "altavista" ) != -1 );
@@ -973,7 +973,7 @@
=head1 VERSION
-Version 1.09
+Version 1.10
=head1 SYNOPSIS
@@ -984,7 +984,7 @@
# Detect operating system
if ($browser->windows) {
if ($browser->winnt) ...
- if ($brorwser->win95) ...
+ if ($browser->win95) ...
}
print $browser->mac;
@@ -1223,7 +1223,7 @@
=head3 safari
-=head3 crhome
+=head3 chrome
=head3 ie ie3 ie4 ie4up ie5 ie55 ie6 ie7 ie8
@@ -1383,6 +1383,8 @@
Maros Kollar
+Jay Rifkin
+
=head1 TO DO
The _engine() method currently only handles Gecko. It needs to be expanded to
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=57574&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/t/useragents.yaml (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/t/useragents.yaml Thu May 6 14:36:46 2010
@@ -1354,4 +1354,15 @@
engine: 4.6
engine_string: Gecko
language: DE
-
+---
+useragent: 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GoogleT5; .NET CLR 1.1.4322; .NET CLR 2.0.50727)'
+match:
+ - ie
+no_match:
+ - robot
+public_version: 8.0
+public_major: 8
+public_minor: 0
+version: 8.0
+major: 8
+minor: 0
More information about the Pkg-perl-cvs-commits
mailing list