Skip to content

Commit

Permalink
Merge pull request #30 from ipinfo/usama/rm-extra-code
Browse files Browse the repository at this point in the history
Removing code that is no longer required
  • Loading branch information
abu-usama authored Nov 23, 2023
2 parents 11857b8 + 70a7265 commit 735e47c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd_cpan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Test and build
run: |
cd Geo-IPinfo
cpanm ExtUtils::MakeMaker LWP::UserAgent JSON File::ShareDir::Install Cache::LRU File::Share Net::CIDR Net::CIDR::Set
cpanm ExtUtils::MakeMaker LWP::UserAgent JSON Cache::LRU Net::CIDR Net::CIDR::Set
perl Makefile.PL && RELEASE_TESTING=TRUE make test && make distcheck && make dist
- name: Upload to CPAN
Expand Down
6 changes: 0 additions & 6 deletions Geo-IPinfo/Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ use 5.006;
use strict;
use warnings;
use ExtUtils::MakeMaker;
use File::ShareDir::Install;

install_share dist => 'share';

WriteMakefile(
NAME => 'Geo::IPinfo',
Expand All @@ -23,9 +20,7 @@ WriteMakefile(
PREREQ_PM => {
'LWP::UserAgent' => '0',
'JSON' => '0',
'File::ShareDir::Install' => '0',
'Cache::LRU' => '0',
'File::Share' => '0',
'Net::CIDR' => '0',
'Net::CIDR::Set' => '0',
},
Expand All @@ -34,4 +29,3 @@ WriteMakefile(
);

package MY;
use File::ShareDir::Install 'postamble';
1 change: 0 additions & 1 deletion Geo-IPinfo/lib/Geo/IPinfo.pm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use Cache::LRU;
use LWP::UserAgent;
use HTTP::Headers;
use JSON;
use File::Share ':all';
use Geo::Details;
use Net::CIDR;
use Net::CIDR::Set;
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ $loc = $details->loc; # 37.8342,-122.2900

#### Dependencies
* Cache::LRU
* File::Share
* File::ShareDir::Install
* JSON
* LWP::UserAgent
* HTTP::Headers
Expand Down

0 comments on commit 735e47c

Please sign in to comment.