Codebase list libhttp-browserdetect-perl / upstream/2.02
Imported Upstream version 2.02 Angel Abad 8 years ago
10 changed file(s) with 29 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
2020 "Olaf Alders <olaf\@wundercounter.com> (current maintainer)"
2121 ],
2222 "dist_name" => "HTTP-BrowserDetect",
23 "dist_version" => "2.01",
23 "dist_version" => "2.02",
2424 "license" => "perl",
2525 "module_name" => "HTTP::BrowserDetect",
2626 "recommends" => {},
77
88 * Andrew Moise
99 * Aran Deltac
10 * ben hengst
1011 * cho45
1112 * David Ihnen
1213 * Douglas Christopher Wilson
00 Revision history for Perl extension HTTP::BrowserDetect.
1
2 2.02 2015-06-17 18:18:17 America/Toronto
3 - Default to using an empty string if an undef UA is provided (ben hengst)
14
25 2.01 2015-04-24 23:05:13 America/Toronto
36 - Handle "CriOS" entries correctly (andrewmoise)
1515 t/01-detect.t
1616 t/03-language.t
1717 t/04-random-order.t
18 t/99_blank_ua.t
1819 t/add-field.pl
1920 t/make-more-useragents.pl
2021 t/more-useragents.json
55 "Olaf Alders <olaf@wundercounter.com> (current maintainer)"
66 ],
77 "dynamic_config" : 0,
8 "generated_by" : "Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.143240",
8 "generated_by" : "Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.150005",
99 "license" : [
1010 "perl_5"
1111 ],
6666 "web" : "https://github.com/oalders/http-browserdetect"
6767 }
6868 },
69 "version" : "2.01",
69 "version" : "2.02",
7070 "x_contributors" : [
7171 "Andrew Moise <andrew.moise@gmail.com>",
7272 "Aran Deltac <bluefeet@gmail.com>",
73 "ben hengst <notbenh@cpan.org>",
7374 "cho45 <cho45@lowreal.net>",
7475 "David Ihnen <davidihnen@gmail.com>",
7576 "Douglas Christopher Wilson <doug@somethingdoug.com>",
1616 ExtUtils::MakeMaker: '0'
1717 Module::Build: '0.28'
1818 dynamic_config: 0
19 generated_by: 'Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.143240'
19 generated_by: 'Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.150005'
2020 license: perl
2121 meta-spec:
2222 url: http://module-build.sourceforge.net/META-spec-v1.4.html
3131 bugtracker: http://github.com/oalders/HTTP-BrowserDetect/issues
3232 homepage: https://metacpan.org/release/HTTP-BrowserDetect
3333 repository: https://github.com/oalders/http-browserdetect.git
34 version: '2.01'
34 version: '2.02'
3535 x_contributors:
3636 - 'Andrew Moise <andrew.moise@gmail.com>'
3737 - 'Aran Deltac <bluefeet@gmail.com>'
38 - 'ben hengst <notbenh@cpan.org>'
3839 - 'cho45 <cho45@lowreal.net>'
3940 - 'David Ihnen <davidihnen@gmail.com>'
4041 - 'Douglas Christopher Wilson <doug@somethingdoug.com>'
3737 "Test::Most" => 0,
3838 "Test::NoWarnings" => 0
3939 },
40 "VERSION" => "2.01",
40 "VERSION" => "2.02",
4141 "test" => {
4242 "TESTS" => "t/*.t"
4343 }
44 license = Perl_5
55 copyright_holder = Lee Semel
66 copyright_year = 2015
7 version = 2.01
7 version = 2.02
88 main_module = lib/HTTP/BrowserDetect.pm
99
1010 [GatherDir]
33 use 5.006;
44
55 package HTTP::BrowserDetect;
6 $HTTP::BrowserDetect::VERSION = '2.01';
6 $HTTP::BrowserDetect::VERSION = '2.02';
77 use vars qw(@ALL_TESTS);
88
99 # Operating Systems
322322 $user_agent = $ENV{'HTTP_USER_AGENT'};
323323 }
324324
325 $self->{user_agent} = $user_agent;
325 $self->{user_agent} = $user_agent // '';
326326 $self->_init_core;
327327
328328 return $self;
23892389
23902390 =head1 VERSION
23912391
2392 version 2.01
2392 version 2.02
23932393
23942394 =head1 SYNOPSIS
23952395
0 #!/usr/bin/env perl
1
2 use strict;
3 use warnings;
4
5 use HTTP::BrowserDetect;
6 use Test::More;
7 use Test::FailWarnings;
8
9 ok( my $ua = HTTP::BrowserDetect->new(undef), q{undef produces no warnings} );
10
11 done_testing();