Skip to content

Commit

Permalink
Merge branch 'release/Net-Whois-RIPE-2.004001'
Browse files Browse the repository at this point in the history
  • Loading branch information
arhuman committed Jun 19, 2013
2 parents 37f16d0 + f11f11e commit 38761ec
Show file tree
Hide file tree
Showing 34 changed files with 20 additions and 45 deletions.
4 changes: 4 additions & 0 deletions Changes
@@ -1,5 +1,9 @@
Revision history for net-whois-ripe Revision history for net-whois-ripe


2.004001 2013-06-19
- Remove Test::Exception requirement
- Add one test

2.004000 2013-05-29 2.004000 2013-05-29
- Fix 'delete' mode on accessor - Fix 'delete' mode on accessor
- Add awhois.pl skeleton script - Add awhois.pl skeleton script
Expand Down
4 changes: 4 additions & 0 deletions MANIFEST
@@ -1,3 +1,4 @@
bin/awhois.pl
Changes Changes
lib/Net/Whois/Object.pm lib/Net/Whois/Object.pm
lib/Net/Whois/Object/AsBlock.pm lib/Net/Whois/Object/AsBlock.pm
Expand Down Expand Up @@ -30,6 +31,8 @@ MANIFEST
META.json Module JSON meta-data (added by MakeMaker) META.json Module JSON meta-data (added by MakeMaker)
META.yml Module meta-data (added by MakeMaker) META.yml Module meta-data (added by MakeMaker)
README README
README.md
t/00-changes.t
t/00-load.t t/00-load.t
t/01-instantiation.t t/01-instantiation.t
t/02-methods.t t/02-methods.t
Expand Down Expand Up @@ -59,6 +62,7 @@ t/200-Information.t
t/205-Irt.t t/205-Irt.t
t/210-FilterSet.t t/210-FilterSet.t
t/215-SyncUpdates.t t/215-SyncUpdates.t
t/216-SyncUpdates-Signed.t
t/boilerplate.t t/boilerplate.t
t/common.pl t/common.pl
t/pod-coverage.t t/pod-coverage.t
Expand Down
5 changes: 0 additions & 5 deletions META.json
Expand Up @@ -20,11 +20,6 @@
] ]
}, },
"prereqs" : { "prereqs" : {
"build" : {
"requires" : {
"Test::Exception" : "0"
}
},
"configure" : { "configure" : {
"requires" : { "requires" : {
"ExtUtils::MakeMaker" : "0" "ExtUtils::MakeMaker" : "0"
Expand Down
2 changes: 0 additions & 2 deletions META.yml
Expand Up @@ -2,8 +2,6 @@
abstract: 'a pure-Perl implementation of the RIPE Database client.' abstract: 'a pure-Perl implementation of the RIPE Database client.'
author: author:
- 'Luis Motta Campos <lmc@cpan.org>' - 'Luis Motta Campos <lmc@cpan.org>'
build_requires:
Test::Exception: 0
configure_requires: configure_requires:
ExtUtils::MakeMaker: 0 ExtUtils::MakeMaker: 0
dynamic_config: 1 dynamic_config: 1
Expand Down
2 changes: 1 addition & 1 deletion Makefile.PL
Expand Up @@ -22,7 +22,7 @@ WriteMakefile(
bugtracker => 'https://github.com/arhuman/Net-Whois-RIPE/issues' bugtracker => 'https://github.com/arhuman/Net-Whois-RIPE/issues'
}, },
}, },
BUILD_REQUIRES => { 'Test::Exception' => 0, }, BUILD_REQUIRES => { },
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Net-Whois-RIPE-*' }, clean => { FILES => 'Net-Whois-RIPE-*' },
); );
4 changes: 2 additions & 2 deletions lib/Net/Whois/RIPE.pm
Expand Up @@ -28,11 +28,11 @@ Net::Whois::RIPE - a pure-Perl implementation of the RIPE Database client.
=head1 VERSION =head1 VERSION
Version 2.004000 Version 2.004001
=cut =cut


our $VERSION = 2.004000; our $VERSION = 2.004001;


=head1 SYNOPSIS =head1 SYNOPSIS
Expand Down
17 changes: 9 additions & 8 deletions t/02-methods.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down Expand Up @@ -97,7 +96,8 @@ SKIP: {
ok $c->is_connected, 'The client is connected.'; ok $c->is_connected, 'The client is connected.';


# reconnect() # reconnect()
lives_ok { $c->reconnect } 'The client re-connected without dying.'; eval {$c->reconnect };
ok !$@,'The client re-connected without dying.';
ok $c->is_connected, 'The client is connected (once more).'; ok $c->is_connected, 'The client is connected (once more).';


# ios() # ios()
Expand All @@ -111,27 +111,28 @@ SKIP: {
# query() # query()
{ {
my $iter; my $iter;
lives_ok { $iter = $c->query('LMC-RIPE') } eval { $iter = $c->query('LMC-RIPE') };
q{Client performs queries without dying}; ok !$@, q{Client performs queries without dying};
isa_ok $iter, 'Iterator'; isa_ok $iter, 'Iterator';
last unless $iter;
ok $iter->isnt_exhausted, q{Iterator contains at least one result}; ok $iter->isnt_exhausted, q{Iterator contains at least one result};
} }


# object_types() # object_types()
{ {
my @types; my @types;
lives_ok { @types = $c->object_types } eval { @types = $c->object_types };
q{Client can retrieve available object types without dying.}; ok !$@ , q{Client can retrieve available object types without dying.};
is $#types, 20, is $#types, 20,
q{There are 21 known object types in the RIPE Database}; q{There are 21 known object types in the RIPE Database};
} }


# send() # send()


# disconnect() # disconnect()
lives_ok { $c->disconnect } 'The client disconnected without dying.'; eval { $c->disconnect };
ok !$@ , 'The client disconnected without dying.';
ok !$c->is_connected, 'The client is not connected (anymore).'; ok !$c->is_connected, 'The client is not connected (anymore).';


# DESTROY() # DESTROY()
} }

1 change: 0 additions & 1 deletion t/03-objects.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/105-AsBlock.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
# use IO::Handle; # use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/110-AutNum.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;
use Net::Whois::Object; use Net::Whois::Object;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
Expand Down
1 change: 0 additions & 1 deletion t/115-Person.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/120-Role.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/125-AsSet.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/130-Domain.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/135-InetNum.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/140-Inet6Num.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/145-InetRtr.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/150-RtrSet.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/155-Mntner.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/160-KeyCert.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/165-Route.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/167-Route6.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/170-RouteSet.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/175-PeeringSet.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/180-Limerick.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/185-Poem.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/187-PoeticForm.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/190-Organisation.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/195-Response.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/200-Information.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/205-Irt.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/210-FilterSet.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More qw( no_plan ); use Test::More qw( no_plan );
use Test::Exception;


# synchronizes the {error,standard} output of this test. # synchronizes the {error,standard} output of this test.
use IO::Handle; use IO::Handle;
Expand Down
1 change: 0 additions & 1 deletion t/215-SyncUpdates.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More; use Test::More;
use Test::Exception;
use Net::Whois::RIPE; use Net::Whois::RIPE;
use Net::Whois::Object; use Net::Whois::Object;


Expand Down
1 change: 0 additions & 1 deletion t/216-SyncUpdates-Signed.t
@@ -1,7 +1,6 @@
use strict; use strict;
use warnings; use warnings;
use Test::More; use Test::More;
use Test::Exception;
use Net::Whois::RIPE; use Net::Whois::RIPE;
use Net::Whois::Object; use Net::Whois::Object;


Expand Down

0 comments on commit 38761ec

Please sign in to comment.