Codebase list libhttp-browserdetect-perl / 7ea66a9
Imported Upstream version 1.61 gregor herrmann 10 years ago
8 changed file(s) with 18 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
1919 "Olaf Alders <olaf\@wundercounter.com> (current maintainer)"
2020 ],
2121 "dist_name" => "HTTP-BrowserDetect",
22 "dist_version" => "1.60",
22 "dist_version" => "1.61",
2323 "license" => "perl",
2424 "module_name" => "HTTP::BrowserDetect",
2525 "recommends" => {},
00 Revision history for Perl extension HTTP::BrowserDetect.
1
2 1.61 2013-09-06 15:47:57 America/Toronto
3 - Reverts a commit that was causing a test to fail when a warning about
4 File::Slurp was detected
15
26 1.60 2013-08-29 23:02:13 America/Toronto
37 - Fixes bug where "Linux" rather than "Android" was returned as os_string
6262 "web" : "https://github.com/oalders/http-browserdetect"
6363 }
6464 },
65 "version" : "1.60",
65 "version" : "1.61",
6666 "x_contributors" : [
6767 "Aran Deltac <bluefeet@gmail.com>",
6868 "Douglas Christopher Wilson <doug@somethingdoug.com>",
3535 "Test::Most" => 0,
3636 "Test::NoWarnings" => 0
3737 },
38 "VERSION" => "1.60",
38 "VERSION" => "1.61",
3939 "test" => {
4040 "TESTS" => "t/*.t"
4141 }
22 an HTTP user agent string
33
44 VERSION
5 version 1.60
5 version 1.61
66
77 SYNOPSIS
88 use HTTP::BrowserDetect;
44 license = Perl_5
55 copyright_holder = Lee Semel
66 copyright_year = 2013
7 version = 1.60
7 version = 1.61
88 main_module = lib/HTTP/BrowserDetect.pm
99
1010 [GatherDir]
22
33 package HTTP::BrowserDetect;
44 {
5 $HTTP::BrowserDetect::VERSION = '1.60';
5 $HTTP::BrowserDetect::VERSION = '1.61';
66 }
77
88 use vars qw(@ALL_TESTS);
14521452
14531453 =head1 VERSION
14541454
1455 version 1.60
1455 version 1.61
14561456
14571457 =head1 SYNOPSIS
14581458
77
88 use File::Slurp;
99 use FindBin;
10 use HTTP::BrowserDetect;
1110 use JSON::PP;
1211
13 bail_on_fail();
12 # test that the module loads without errors
13 my $w;
14 {
15 local $SIG{__WARN__} = sub { $w = shift };
16 require_ok( 'HTTP::BrowserDetect' );
17 }
18 ok !$w;
1419
1520 my $json = read_file( "$FindBin::Bin/useragents.json" );
1621