Imported Upstream version 1.61
gregor herrmann
10 years ago
19 | 19 |
"Olaf Alders <olaf\@wundercounter.com> (current maintainer)"
|
20 | 20 |
],
|
21 | 21 |
"dist_name" => "HTTP-BrowserDetect",
|
22 | |
"dist_version" => "1.60",
|
|
22 |
"dist_version" => "1.61",
|
23 | 23 |
"license" => "perl",
|
24 | 24 |
"module_name" => "HTTP::BrowserDetect",
|
25 | 25 |
"recommends" => {},
|
0 | 0 |
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
|
1 | 5 |
|
2 | 6 |
1.60 2013-08-29 23:02:13 America/Toronto
|
3 | 7 |
- Fixes bug where "Linux" rather than "Android" was returned as os_string
|
62 | 62 |
"web" : "https://github.com/oalders/http-browserdetect"
|
63 | 63 |
}
|
64 | 64 |
},
|
65 | |
"version" : "1.60",
|
|
65 |
"version" : "1.61",
|
66 | 66 |
"x_contributors" : [
|
67 | 67 |
"Aran Deltac <bluefeet@gmail.com>",
|
68 | 68 |
"Douglas Christopher Wilson <doug@somethingdoug.com>",
|
35 | 35 |
"Test::Most" => 0,
|
36 | 36 |
"Test::NoWarnings" => 0
|
37 | 37 |
},
|
38 | |
"VERSION" => "1.60",
|
|
38 |
"VERSION" => "1.61",
|
39 | 39 |
"test" => {
|
40 | 40 |
"TESTS" => "t/*.t"
|
41 | 41 |
}
|
2 | 2 |
an HTTP user agent string
|
3 | 3 |
|
4 | 4 |
VERSION
|
5 | |
version 1.60
|
|
5 |
version 1.61
|
6 | 6 |
|
7 | 7 |
SYNOPSIS
|
8 | 8 |
use HTTP::BrowserDetect;
|
4 | 4 |
license = Perl_5
|
5 | 5 |
copyright_holder = Lee Semel
|
6 | 6 |
copyright_year = 2013
|
7 | |
version = 1.60
|
|
7 |
version = 1.61
|
8 | 8 |
main_module = lib/HTTP/BrowserDetect.pm
|
9 | 9 |
|
10 | 10 |
[GatherDir]
|
7 | 7 |
|
8 | 8 |
use File::Slurp;
|
9 | 9 |
use FindBin;
|
10 | |
use HTTP::BrowserDetect;
|
11 | 10 |
use JSON::PP;
|
12 | 11 |
|
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;
|
14 | 19 |
|
15 | 20 |
my $json = read_file( "$FindBin::Bin/useragents.json" );
|
16 | 21 |
|