Skip to content

Commit

Permalink
Note RT#12714
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Sep 18, 2018
1 parent 1551135 commit 51f06c8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ WriteMakefile(
web => 'https://github.com/nigelhorne/Geo-Coder-Free',
},
bugtracker => {
web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Geo-Coder-Free',
# web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Geo-Coder-Free',
web => 'https://github.com/nigelhorne/Geo-Coder-Free/issues',
mailto => 'bug-Geo-Coder-Free@rt.cpan.org'
}
},
Expand Down
1 change: 1 addition & 0 deletions lib/Geo/Coder/Free/OpenAddresses.pm
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ sub geocode {
if($ap) {
if(my $error = $ap->parse($location)) {
# Carp::croak($ap->report());
# ::diag('Address parse failed: ', $ap->report());
} else {
my %c = $ap->components();
# ::diag(Data::Dumper->new([\%c])->Dump());
Expand Down
6 changes: 6 additions & 0 deletions t/openaddr.t
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,12 @@ OPENADDR: {
$location = $geo_coder->geocode(location => 'Whitley, Indiana, USA');
ok(defined($location));
ok(ref($location) eq 'HASH');

# RT#127140
# $location = $geo_coder->geocode({ location => '131 107th St, Manhattan, New York, New York, USA' });
# ok(defined($location));
# ok(ref($location) eq 'HASH');

} else {
diag('Author tests not required for installation');
skip('Author tests not required for installation', 97);
Expand Down

0 comments on commit 51f06c8

Please sign in to comment.