HTTP-BrowserDetect

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

         "recommends" : {
            "CPAN::Meta" : "2.120900"
         },
         "requires" : {
            "ExtUtils::MakeMaker" : "0",
            "File::Spec" : "0",
            "FindBin" : "0",
            "JSON::PP" : "4.04",
            "List::Util" : "1.49",
            "Path::Tiny" : "0",
            "Test::Differences" : "0",
            "Test::More" : "0.96",
            "Test::NoWarnings" : "0",
            "Test::Warnings" : "0"
         }
      }
   },
   "release_status" : "stable",
   "resources" : {
      "bugtracker" : {
         "web" : "https://github.com/oalders/http-browserdetect/issues"

META.yml  view on Meta::CPAN

  - 'Lee Semel <lee@semel.net>'
  - 'Peter Walsham'
  - 'Olaf Alders <olaf@wundercounter.com> (current maintainer)'
build_requires:
  ExtUtils::MakeMaker: '0'
  File::Spec: '0'
  FindBin: '0'
  JSON::PP: '4.04'
  List::Util: '1.49'
  Path::Tiny: '0'
  Test::Differences: '0'
  Test::More: '0.96'
  Test::NoWarnings: '0'
  Test::Warnings: '0'
configure_requires:
  ExtUtils::MakeMaker: '0'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.032, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html

Makefile.PL  view on Meta::CPAN

    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "ExtUtils::MakeMaker" => 0,
    "File::Spec" => 0,
    "FindBin" => 0,
    "JSON::PP" => "4.04",
    "List::Util" => "1.49",
    "Path::Tiny" => 0,
    "Test::Differences" => 0,
    "Test::More" => "0.96",
    "Test::NoWarnings" => 0,
    "Test::Warnings" => 0
  },
  "VERSION" => "3.41",
  "test" => {
    "TESTS" => "t/*.t"
  }
);


my %FallbackPrereqs = (
  "ExtUtils::MakeMaker" => 0,
  "File::Spec" => 0,
  "FindBin" => 0,
  "JSON::PP" => "4.04",
  "List::Util" => "1.49",
  "Path::Tiny" => 0,
  "Test::Differences" => 0,
  "Test::More" => "0.96",
  "Test::NoWarnings" => 0,
  "Test::Warnings" => 0,
  "strict" => 0,
  "warnings" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};

cpanfile  view on Meta::CPAN

requires "strict" => "0";
requires "warnings" => "0";

on 'test' => sub {
  requires "ExtUtils::MakeMaker" => "0";
  requires "File::Spec" => "0";
  requires "FindBin" => "0";
  requires "JSON::PP" => "4.04";
  requires "List::Util" => "1.49";
  requires "Path::Tiny" => "0";
  requires "Test::Differences" => "0";
  requires "Test::More" => "0.96";
  requires "Test::NoWarnings" => "0";
  requires "Test::Warnings" => "0";
};

on 'test' => sub {
  recommends "CPAN::Meta" => "2.120900";
};

on 'configure' => sub {

t/00-report-prereqs.dd  view on Meta::CPAN

                   'recommends' => {
                                     'CPAN::Meta' => '2.120900'
                                   },
                   'requires' => {
                                   'ExtUtils::MakeMaker' => '0',
                                   'File::Spec' => '0',
                                   'FindBin' => '0',
                                   'JSON::PP' => '4.04',
                                   'List::Util' => '1.49',
                                   'Path::Tiny' => '0',
                                   'Test::Differences' => '0',
                                   'Test::More' => '0.96',
                                   'Test::NoWarnings' => '0',
                                   'Test::Warnings' => '0'
                                 }
                 }
     };
  $x;
 }

t/01-detect.t  view on Meta::CPAN

#!/usr/bin/perl

use strict;
use warnings;

use FindBin           ();
use JSON::PP          ();
use List::Util 1.49   qw( uniq );
use Path::Tiny        qw( path );
use Test::Differences qw( eq_or_diff );
use Test::Warnings;
use Test::More import =>
    [qw( cmp_ok diag done_testing is is_deeply ok subtest )];

# test that the module loads without errors
my $w;
{
    local $SIG{__WARN__} = sub { $w = shift };
    require HTTP::BrowserDetect;
}



( run in 0.680 second using v1.01-cache-2.11-cpan-131fc08a04b )