r77412 - in /branches/upstream/libhttp-browserdetect-perl/current: Build.PL Changes META.json Makefile.PL README dist.ini lib/HTTP/BrowserDetect.pm t/01-detect.t t/useragents.json
angelabad-guest at users.alioth.debian.org
angelabad-guest at users.alioth.debian.org
Tue Jul 12 21:43:46 UTC 2011
Author: angelabad-guest
Date: Tue Jul 12 21:43:44 2011
New Revision: 77412
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=77412
Log:
[svn-upgrade] new version libhttp-browserdetect-perl (1.26)
Modified:
branches/upstream/libhttp-browserdetect-perl/current/Build.PL
branches/upstream/libhttp-browserdetect-perl/current/Changes
branches/upstream/libhttp-browserdetect-perl/current/META.json
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/01-detect.t
branches/upstream/libhttp-browserdetect-perl/current/t/useragents.json
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=77412&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/Build.PL (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/Build.PL Tue Jul 12 21:43:44 2011
@@ -26,7 +26,7 @@
'Olaf Alders <olaf at wundercounter.com> (current maintainer)'
],
'dist_name' => 'HTTP-BrowserDetect',
- 'dist_version' => '1.24',
+ 'dist_version' => '1.26',
'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=77412&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/Changes (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/Changes Tue Jul 12 21:43:44 2011
@@ -1,4 +1,11 @@
Revision history for Perl extension HTTP::BrowserDetect.
+
+1.26 2011-07-12
+ - Fixes Pod typo
+
+1.25 2011-07-12
+ - Fix warnings about iceweasel test being defined twice (Paul Findlay)
+ - Adds Opera Tablet to mobile devices (Jacob Rask)
1.24 2011-05-13
- Removes dependency on Modern::Perl, which was accidentally introduced
Modified: branches/upstream/libhttp-browserdetect-perl/current/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/META.json?rev=77412&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/META.json (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/META.json Tue Jul 12 21:43:44 2011
@@ -6,7 +6,7 @@
"Olaf Alders <olaf at wundercounter.com> (current maintainer)"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.200006, CPAN::Meta::Converter version 2.110930",
+ "generated_by" : "Dist::Zilla version 4.200008, CPAN::Meta::Converter version 2.110440",
"license" : [
"perl_5"
],
@@ -56,6 +56,6 @@
"web" : "http://github.com/oalders/http-browserdetect"
}
},
- "version" : "1.24"
+ "version" : "1.26"
}
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=77412&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/Makefile.PL (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/Makefile.PL Tue Jul 12 21:43:44 2011
@@ -32,7 +32,7 @@
'Exporter' => '0',
'vars' => '0'
},
- 'VERSION' => '1.24',
+ 'VERSION' => '1.26',
'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=77412&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/README (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/README Tue Jul 12 21:43:44 2011
@@ -3,7 +3,7 @@
an HTTP user agent string
VERSION
- version 1.24
+ version 1.26
SYNOPSIS
use HTTP::BrowserDetect;
@@ -39,7 +39,7 @@
This module is based upon the JavaScript browser detection code
available at
- http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html.
+ <http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html>.
INSTALLATION
In most cases, you can just issue the following commands:
@@ -373,6 +373,8 @@
Yoshiki Kurihara
+ Paul Findlay
+
TO DO
The _engine() method currently only handles Gecko. It needs to be
expanded to handle other rendering engines.
@@ -381,19 +383,20 @@
SEE ALSO
"The Ultimate JavaScript Client Sniffer, Version 3.0",
- http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
+ <http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html>
"Browser ID (User-Agent) Strings",
- http://www.zytrax.com/tech/web/browser_ids.htm
+ <http://www.zytrax.com/tech/web/browser_ids.htm>
Safari "Historical User Agent strings",
- http://developer.apple.com/internet/safari/uamatrix.html (now gone,
+ <http://developer.apple.com/internet/safari/uamatrix.html> (now gone,
retrieved 2007-06-20)
"Safari Agent Strings",
- http://homepage.mac.com/jprince/designSandbox/web/safari-agents/
+ <http://homepage.mac.com/jprince/designSandbox/web/safari-agents/>
perl(1), HTTP::Headers, HTTP::Headers::UserAgent.
+
SUPPORT
You can find documentation for this module with the perldoc command.
@@ -406,9 +409,9 @@
<http://github.com/oalders/http-browserdetect>
- * RT: CPAN's request tracker
-
- <http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTTP-BrowserDetect>
+ * Reporting Issues
+
+ <https://github.com/oalders/http-browserdetect/issues>
* AnnoCPAN: Annotated CPAN documentation
@@ -420,7 +423,7 @@
* Search CPAN
- <http://search.cpan.org/dist/HTTP-BrowserDetect/>
+ <http://beta.metacpan.org/module/HTTP::BrowserDetect>
BUGS AND LIMITATIONS
The biggest limitation at this point is the test suite, which really
@@ -430,13 +433,18 @@
Patches are certainly welcome, with many thanks for the excellent
contributions which have already been received. The preferred method of
patching would be to fork the GitHub repo and then send me a pull
- requests, but plain old patch files are also welcome.
+ request, but plain old patch files are also welcome.
If you're able to add test cases, this will speed up the time to release
your changes. Just edit t/useragents.json so that the test coverage
includes any changes you have made. Please contact me if you have any
questions.
+ This distribution uses Dist::Zilla. If you're not familiar with this
+ module, please see
+ <https://github.com/oalders/http-browserdetect/issues/5> for some
+ helpful tips to get you started.
+
AUTHORS
* Lee Semel <lee at semel.net>
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=77412&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/dist.ini (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/dist.ini Tue Jul 12 21:43:44 2011
@@ -5,7 +5,7 @@
license = Perl_5
copyright_holder = Lee Semel
copyright_year = 2011
-version = 1.24
+version = 1.26
main_module = lib/HTTP/BrowserDetect.pm
[GatherDir]
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=77412&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/lib/HTTP/BrowserDetect.pm (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/lib/HTTP/BrowserDetect.pm Tue Jul 12 21:43:44 2011
@@ -1,7 +1,7 @@
use strict;
package HTTP::BrowserDetect;
BEGIN {
- $HTTP::BrowserDetect::VERSION = '1.24';
+ $HTTP::BrowserDetect::VERSION = '1.26';
}
use vars qw(@ISA @EXPORT @EXPORT_OK @ALL_TESTS);
@@ -58,8 +58,7 @@
aol5 aol6 neoplanet
neoplanet2 avantgo emacs
mozilla gecko r1
- iceweasel netfront mobile_safari
- elinks
+ elinks netfront mobile_safari
);
# Firefox variants
@@ -526,6 +525,7 @@
|| index( $ua, "symbos" ) != -1
|| index( $ua, "opera mobi" ) != -1
|| index( $ua, "fennec" ) != -1
+ || index( $ua, "opera tablet" ) != -1
|| $tests->{PSP}
);
@@ -1109,7 +1109,7 @@
=head1 VERSION
-version 1.24
+version 1.26
=head1 SYNOPSIS
@@ -1145,7 +1145,7 @@
string. The results of these tests are available via methods of the object.
This module is based upon the JavaScript browser detection code available at
-B<http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html>.
+L<http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html>.
=head1 INSTALLATION
@@ -1560,6 +1560,8 @@
Yoshiki Kurihara
+Paul Findlay
+
=head1 TO DO
The _engine() method currently only handles Gecko. It needs to be expanded to
@@ -1569,16 +1571,18 @@
=head1 SEE ALSO
-"The Ultimate JavaScript Client Sniffer, Version 3.0", B<http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html>
-
-"Browser ID (User-Agent) Strings", B<http://www.zytrax.com/tech/web/browser_ids.htm>
-
-Safari "Historical User Agent strings", B<http://developer.apple.com/internet/safari/uamatrix.html> (now gone, retrieved 2007-06-20)
-
-"Safari Agent Strings", B<http://homepage.mac.com/jprince/designSandbox/web/safari-agents/>
+"The Ultimate JavaScript Client Sniffer, Version 3.0", L<http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html>
+
+"Browser ID (User-Agent) Strings", L<http://www.zytrax.com/tech/web/browser_ids.htm>
+
+Safari "Historical User Agent strings", L<http://developer.apple.com/internet/safari/uamatrix.html> (now gone, retrieved 2007-06-20)
+
+"Safari Agent Strings", L<http://homepage.mac.com/jprince/designSandbox/web/safari-agents/>
perl(1), L<HTTP::Headers>, L<HTTP::Headers::UserAgent>.
+=head1
+
=head1 SUPPORT
You can find documentation for this module with the perldoc command.
@@ -1593,9 +1597,9 @@
L<http://github.com/oalders/http-browserdetect>
-=item * RT: CPAN's request tracker
-
-L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTTP-BrowserDetect>
+=item * Reporting Issues
+
+L<https://github.com/oalders/http-browserdetect/issues>
=item * AnnoCPAN: Annotated CPAN documentation
@@ -1607,7 +1611,7 @@
=item * Search CPAN
-L<http://search.cpan.org/dist/HTTP-BrowserDetect/>
+L<http://beta.metacpan.org/module/HTTP::BrowserDetect>
=back
@@ -1620,12 +1624,16 @@
Patches are certainly welcome, with many thanks for the excellent
contributions which have already been received. The preferred method of
-patching would be to fork the GitHub repo and then send me a pull requests,
+patching would be to fork the GitHub repo and then send me a pull request,
but plain old patch files are also welcome.
If you're able to add test cases, this will speed up the time to release your
changes. Just edit t/useragents.json so that the test coverage includes any
-changes you have made. Please contact me if you have any questions.
+changes you have made. Please contact me if you have any questions.
+
+This distribution uses L<Dist::Zilla>. If you're not familiar with this
+module, please see L<https://github.com/oalders/http-browserdetect/issues/5>
+for some helpful tips to get you started.
=head1 AUTHORS
Modified: branches/upstream/libhttp-browserdetect-perl/current/t/01-detect.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/t/01-detect.t?rev=77412&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/t/01-detect.t (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/t/01-detect.t Tue Jul 12 21:43:44 2011
@@ -8,7 +8,15 @@
use FindBin;
use JSON::PP;
use Test::More qw( no_plan );
-require_ok( 'HTTP::BrowserDetect' );
+
+# test that the module loads without errors
+my $w;
+{
+ local $SIG{__WARN__} = sub { $w = shift };
+ require_ok( 'HTTP::BrowserDetect' );
+}
+ok !$w;
+
my $json = read_file( "$FindBin::Bin/useragents.json" );
Modified: branches/upstream/libhttp-browserdetect-perl/current/t/useragents.json
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libhttp-browserdetect-perl/current/t/useragents.json?rev=77412&op=diff
==============================================================================
--- branches/upstream/libhttp-browserdetect-perl/current/t/useragents.json (original)
+++ branches/upstream/libhttp-browserdetect-perl/current/t/useragents.json Tue Jul 12 21:43:44 2011
@@ -2611,6 +2611,29 @@
"public_minor" : ".6",
"public_version" : "1.6",
"version" : "1.6"
+ },
+ //
+ "Opera/9.80 (Windows NT 6.1; Opera Tablet/11648; U; en) Presto/2.7.81 Version/11.00" : {
+ "browser_string" : null,
+ "country" : null,
+ "language" : "EN",
+ "major" : "11",
+ "match" : [
+ "mobile",
+ "win32",
+ "windows",
+ "win7",
+ "opera",
+ "winnt"
+ ],
+ "minor" : ".0",
+ "no_match" : null,
+ "os" : "WinNT",
+ "other" : null,
+ "public_major" : "11.0",
+ "public_minor" : ".0",
+ "public_version" : "11.0",
+ "version" : "11.0"
}
}
More information about the Pkg-perl-cvs-commits
mailing list