Codebase list libnet-irr-perl / 245d06b
Update upstream source from tag 'upstream/0.09' Update to upstream version '0.09' with Debian dir 8aecefa1683a750e0e577eba1db49358ff4be63e gregor herrmann 1 year, 4 months ago
5 changed file(s) with 72 addition(s) and 27 deletion(s). Raw diff Collapse all Expand all
44 MANIFEST.SKIP
55 t/01_methods.t
66 META.yml Module meta-data (added by MakeMaker)
7 META.json Module JSON meta-data (added by MakeMaker)
0 {
1 "abstract" : "Perl interface to the Internet Route Registry daemon",
2 "author" : [
3 "Todd Caine <todd.caine@gmail.com>"
4 ],
5 "dynamic_config" : 1,
6 "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010",
7 "license" : [
8 "unknown"
9 ],
10 "meta-spec" : {
11 "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
12 "version" : 2
13 },
14 "name" : "Net-IRR",
15 "no_index" : {
16 "directory" : [
17 "t",
18 "inc"
19 ]
20 },
21 "prereqs" : {
22 "build" : {
23 "requires" : {
24 "ExtUtils::MakeMaker" : "0"
25 }
26 },
27 "configure" : {
28 "requires" : {
29 "ExtUtils::MakeMaker" : "0"
30 }
31 },
32 "runtime" : {
33 "requires" : {
34 "IO::Socket::INET" : "0",
35 "Test::More" : "0"
36 }
37 }
38 },
39 "release_status" : "stable",
40 "version" : "0.09",
41 "x_serialization_backend" : "JSON::PP version 4.02"
42 }
0 --- #YAML:1.0
1 name: Net-IRR
2 version: 0.08
3 abstract: Perl interface to the Internet Route Registry daemon
0 ---
1 abstract: 'Perl interface to the Internet Route Registry daemon'
42 author:
5 - Todd Caine <todd.caine@gmail.com>
6 license: unknown
7 distribution_type: module
3 - 'Todd Caine <todd.caine@gmail.com>'
4 build_requires:
5 ExtUtils::MakeMaker: '0'
86 configure_requires:
9 ExtUtils::MakeMaker: 0
10 build_requires:
11 ExtUtils::MakeMaker: 0
7 ExtUtils::MakeMaker: '0'
8 dynamic_config: 1
9 generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010'
10 license: unknown
11 meta-spec:
12 url: http://module-build.sourceforge.net/META-spec-v1.4.html
13 version: '1.4'
14 name: Net-IRR
15 no_index:
16 directory:
17 - t
18 - inc
1219 requires:
13 IO::Socket::INET: 0
14 Test::More: 0
15 no_index:
16 directory:
17 - t
18 - inc
19 generated_by: ExtUtils::MakeMaker version 6.55_02
20 meta-spec:
21 url: http://module-build.sourceforge.net/META-spec-v1.4.html
22 version: 1.4
20 IO::Socket::INET: '0'
21 Test::More: '0'
22 version: '0.09'
23 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
77
88 use vars qw/ @ISA %EXPORT_TAGS @EXPORT_OK $VERSION /;
99
10 $VERSION = '0.08';
10 $VERSION = '0.09';
1111
1212 # used for route searches
1313 use constant EXACT_MATCH => 'o';
1818 can_ok($i, "get_ipv6_routes_by_origin");
1919
2020 can_ok($i, "get_as_set");
21 if (my @ases = $i->get_as_set("AS-ELI", 1)) {
21 if (my @ases = $i->get_as_set("AS-FRONTIER", 1)) {
2222 my $found = scalar @ases;
23 ok ($found, "found $found ASNs in the AS-ELI AS set. (1)");
23 ok ($found, "found $found ASNs in the AS-FRONTIER AS set. (1)");
2424 }
2525 else {
26 fail('no ASNs found in the AS-ELI AS set (1)');
26 fail('no ASNs found in the AS-FRONTIER AS set (1)');
2727 }
2828
2929 can_ok($i, "get_route_set");
30 if (my @ases = $i->get_route_set("AS-ELI", 1)) {
30 if (my @ases = $i->get_route_set("AS-FRONTIER", 1)) {
3131 my $found = scalar @ases;
32 ok ($found, "found $found ASNs in the AS-ELI AS set (2).");
32 ok ($found, "found $found ASNs in the AS-FRONTIER AS set (2).");
3333 }
3434 else {
35 fail('no ASNs found in the AS-ELI AS set (2)');
35 fail('no ASNs found in the AS-FRONTIER AS set (2)');
3636 }
3737
3838 can_ok($i, "match");