[svn-upgrade] new version libhttp-browserdetect-perl (1.21)
Jonathan Yu
13 years ago
11 | 11 |
'FindBin' => '0',
|
12 | 12 |
'Module::Build' => '0.3601',
|
13 | 13 |
'Test::More' => '0',
|
14 | |
'YAML::Tiny' => '0'
|
|
14 |
'YAML' => '0'
|
15 | 15 |
},
|
16 | 16 |
'configure_requires' => {
|
17 | 17 |
'ExtUtils::MakeMaker' => '6.31',
|
|
24 | 24 |
'Olaf Alders <olaf@wundercounter.com> (current maintainer)'
|
25 | 25 |
],
|
26 | 26 |
'dist_name' => 'HTTP-BrowserDetect',
|
27 | |
'dist_version' => '1.20',
|
|
27 |
'dist_version' => '1.21',
|
28 | 28 |
'license' => 'perl',
|
29 | 29 |
'module_name' => 'HTTP::BrowserDetect',
|
30 | 30 |
'recommends' => {},
|
0 | 0 |
Revision history for Perl extension HTTP::BrowserDetect.
|
1 | 1 |
|
|
2 |
1.21 2010-12-23
|
|
3 |
- Test suite now uses YAML rather than YAML::Tiny as YAML::Tiny 1.46
|
|
4 |
refuses to load useragents.yaml
|
|
5 |
- Alphabetically re-ordered some of the documentation
|
|
6 |
|
2 | 7 |
1.20 2010-11-23
|
3 | 8 |
- Be a little more selective in marking ua as robot when contains search
|
4 | 9 |
or seek (Graham Barr)
|
12 | 12 |
t/01-detect.t
|
13 | 13 |
t/author-critic.t
|
14 | 14 |
t/release-pod-coverage.t
|
15 | |
t/release-pod-syntax.t
|
16 | 15 |
t/useragents.yaml
|
9 | 9 |
FindBin: 0
|
10 | 10 |
Module::Build: 0.3601
|
11 | 11 |
Test::More: 0
|
12 | |
YAML::Tiny: 0
|
|
12 |
YAML: 0
|
13 | 13 |
configure_requires:
|
14 | 14 |
ExtUtils::MakeMaker: 6.31
|
15 | 15 |
Module::Build: 0.3601
|
16 | 16 |
dynamic_config: 0
|
17 | |
generated_by: 'Dist::Zilla version 4.102342, CPAN::Meta::Converter version 2.102400'
|
|
17 |
generated_by: 'Dist::Zilla version 4.200000, CPAN::Meta::Converter version 2.102400'
|
18 | 18 |
license: perl
|
19 | 19 |
meta-spec:
|
20 | 20 |
url: http://module-build.sourceforge.net/META-spec-v1.4.html
|
|
24 | 24 |
Exporter: 0
|
25 | 25 |
vars: 0
|
26 | 26 |
resources:
|
27 | |
bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTTP-BrowserDetect
|
28 | |
repository: http://github.com/oalders/http-browserdetect
|
29 | |
version: 1.20
|
|
27 |
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=HTTP-BrowserDetect
|
|
28 |
homepage: http://github.com/oalders/http-browserdetect/tree
|
|
29 |
repository: git://github.com/oalders/http-browserdetect.git
|
|
30 |
version: 1.21
|
16 | 16 |
'FindBin' => '0',
|
17 | 17 |
'Module::Build' => '0.3601',
|
18 | 18 |
'Test::More' => '0',
|
19 | |
'YAML::Tiny' => '0'
|
|
19 |
'YAML' => '0'
|
20 | 20 |
},
|
21 | 21 |
'CONFIGURE_REQUIRES' => {
|
22 | 22 |
'ExtUtils::MakeMaker' => '6.31',
|
|
30 | 30 |
'Exporter' => '0',
|
31 | 31 |
'vars' => '0'
|
32 | 32 |
},
|
33 | |
'VERSION' => '1.20',
|
|
33 |
'VERSION' => '1.21',
|
34 | 34 |
'test' => {
|
35 | 35 |
'TESTS' => 't/*.t'
|
36 | 36 |
}
|
2 | 2 |
an HTTP user agent string
|
3 | 3 |
|
4 | 4 |
VERSION
|
5 | |
version 1.20
|
|
5 |
version 1.21
|
6 | 6 |
|
7 | 7 |
SYNOPSIS
|
8 | 8 |
use HTTP::BrowserDetect;
|
|
217 | 217 |
value. Some methods also test for the browser version, saving you from
|
218 | 218 |
checking the version separately.
|
219 | 219 |
|
|
220 |
aol aol3 aol4 aol5 aol6
|
|
221 |
chrome
|
|
222 |
curl
|
|
223 |
emacs
|
|
224 |
firefox
|
|
225 |
gecko
|
|
226 |
icab
|
|
227 |
ie ie3 ie4 ie4up ie5 ie55 ie6 ie7 ie8
|
|
228 |
java
|
|
229 |
konqueror
|
|
230 |
lotusnotes
|
|
231 |
lynx links elinks
|
|
232 |
mobile_safari
|
|
233 |
mosaic
|
|
234 |
mozilla
|
|
235 |
neoplanet neoplanet2
|
|
236 |
netfront
|
220 | 237 |
netscape nav2 nav3 nav4 nav4up nav45 nav45up navgold nav6 nav6up
|
221 | |
gecko
|
222 | |
mozilla
|
223 | |
firefox
|
|
238 |
opera opera3 opera4 opera5 opera6 opera7
|
|
239 |
realplayer
|
224 | 240 |
safari
|
225 | |
chrome
|
226 | |
ie ie3 ie4 ie4up ie5 ie55 ie6 ie7 ie8
|
227 | |
neoplanet neoplanet2
|
228 | |
mosaic
|
229 | |
aol aol3 aol4 aol5 aol6
|
|
241 |
staroffice
|
230 | 242 |
webtv
|
231 | |
opera opera3 opera4 opera5 opera6 opera7
|
232 | |
lynx links elinks
|
233 | |
emacs
|
234 | |
staroffice
|
235 | |
lotusnotes
|
236 | |
icab
|
237 | |
konqueror
|
238 | |
java
|
239 | |
curl
|
240 | |
realplayer
|
241 | |
netfront
|
242 | |
mobile_safari
|
243 | 243 |
Netscape 6, even though its called six, in the User-Agent string has
|
244 | 244 |
version number 5. The nav6 and nav6up methods correctly handle this
|
245 | 245 |
quirk. The Firefox test correctly detects the older-named versions of
|
|
289 | 289 |
false value. This is by no means a complete list of robots that exist on
|
290 | 290 |
the Web.
|
291 | 291 |
|
292 | |
wget
|
|
292 |
altavista
|
|
293 |
facebook
|
293 | 294 |
getright
|
294 | |
yahoo
|
295 | |
altavista
|
296 | |
lycos
|
297 | |
infoseek
|
298 | |
lwp
|
299 | |
webcrawler
|
300 | |
linkexchange
|
301 | |
slurp
|
302 | 295 |
google
|
303 | 296 |
googlemobile
|
|
297 |
infoseek
|
|
298 |
linkexchange
|
|
299 |
lwp
|
|
300 |
lycos
|
304 | 301 |
msn (same as bing)
|
305 | 302 |
puf
|
306 | |
facebook
|
|
303 |
slurp
|
|
304 |
webcrawler
|
|
305 |
wget
|
|
306 |
yahoo
|
307 | 307 |
CREDITS
|
308 | 308 |
Lee Semel, lee@semel.net (Original Author)
|
309 | 309 |
|
4 | 4 |
license = Perl_5
|
5 | 5 |
copyright_holder = Lee Semel
|
6 | 6 |
copyright_year = 2010
|
7 | |
version = 1.20
|
|
7 |
version = 1.21
|
8 | 8 |
main_module = lib/HTTP/BrowserDetect.pm
|
9 | 9 |
|
|
10 |
[GatherDir]
|
|
11 |
[PruneCruft]
|
|
12 |
[ManifestSkip]
|
|
13 |
[MetaYAML]
|
|
14 |
[License]
|
|
15 |
[PodCoverageTests]
|
|
16 |
[ExtraTests]
|
|
17 |
[ExecDir]
|
|
18 |
[ShareDir]
|
|
19 |
[PkgVersion]
|
|
20 |
|
|
21 |
[MakeMaker]
|
|
22 |
[Manifest]
|
|
23 |
|
|
24 |
[TestRelease]
|
|
25 |
[ConfirmRelease]
|
|
26 |
[UploadToCPAN]
|
|
27 |
|
10 | 28 |
[MetaResources]
|
11 | |
bugtracker.web = http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTTP-BrowserDetect
|
12 | |
repository.url = http://github.com/oalders/http-browserdetect
|
13 | |
repository.type = git
|
|
29 |
[Bugtracker]
|
|
30 |
[GithubMeta]
|
14 | 31 |
|
15 | |
[@Classic]
|
16 | 32 |
[AutoPrereqs]
|
|
33 |
|
17 | 34 |
[CriticTests]
|
18 | 35 |
[ReadmeFromPod]
|
19 | 36 |
[InstallGuide]
|
20 | 37 |
[ModuleBuild]
|
21 | 38 |
[PodWeaver]
|
|
39 |
[CopyReadmeFromBuild]
|
22 | 40 |
|
23 | |
[UploadToCPAN]
|
5 | 5 |
use Data::Dump qw( dump );
|
6 | 6 |
use FindBin;
|
7 | 7 |
use Test::More qw( no_plan );
|
8 | |
use YAML::Tiny qw( LoadFile );
|
|
8 |
use YAML qw( LoadFile );
|
9 | 9 |
require_ok( 'HTTP::BrowserDetect' );
|
10 | 10 |
|
11 | 11 |
my @tests = LoadFile( "$FindBin::Bin/useragents.yaml" );
|
0 | |
#!perl
|
1 | |
|
2 | |
BEGIN {
|
3 | |
unless ($ENV{RELEASE_TESTING}) {
|
4 | |
require Test::More;
|
5 | |
Test::More::plan(skip_all => 'these tests are for release candidate testing');
|
6 | |
}
|
7 | |
}
|
8 | |
|
9 | |
use Test::More;
|
10 | |
|
11 | |
eval "use Test::Pod 1.41";
|
12 | |
plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
|
13 | |
|
14 | |
all_pod_files_ok();
|