Skip to content

Commit

Permalink
Checking in changes prior to tagging of version 0.09.
Browse files Browse the repository at this point in the history
Changelog diff is:

diff --git Changes Changes
index d12e228..4d9ce58 100644
--- Changes
+++ Changes
@@ -2,6 +2,32 @@ Revision history for Perl extension Net::DNS::Paranoid
 
 {{$NEXT}}
 
+0.09 2024-02-06T05:59:30Z
+
+    commit 2d84b68
+    Author: Graham TerMarsch <graham@howlingfrog.com>
+    Date:   Mon Aug 30 13:14:00 2021 -0700
+
+        Switch to `nip.io`, from `xip.io` in this test.
+        
+        `xip.io` stopped working long ago, and `nip.io` provides a similar
+        service and should be working.  Update test accordingly.
+        
+        Resolves #4
+    ---
+    t/01_simple.t | 6 +++---
+    1 file changed, 3 insertions(+), 3 deletions(-)
+
+    commit d642ca1
+    Author: Anirvan Chatterjee <anirvan@users.noreply.github.com>
+    Date:   Fri Aug 24 11:53:18 2018 -0700
+
+        Fix typo in comment ("Uf" -> "If")
+    ---
+    lib/Net/DNS/Paranoid.pm | 2 +-
+    1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 0.08 2015-09-30T07:01:36Z
 
     - fixed test case
  • Loading branch information
tokuhirom committed Feb 6, 2024
1 parent 77a5566 commit bd2cfb5
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 66 deletions.
57 changes: 2 additions & 55 deletions Build.PL
Expand Up @@ -4,62 +4,9 @@
# =========================================================================

use 5.008_001;

use strict;
use warnings;
use utf8;

use Module::Build;
use File::Basename;
use File::Spec;

my %args = (
license => 'perl',
dynamic_config => 0,

configure_requires => {
'Module::Build' => 0.38,
},

name => 'Net-DNS-Paranoid',
module_name => 'Net::DNS::Paranoid',
allow_pureperl => 0,

script_files => [glob('script/*'), glob('bin/*')],
c_source => [qw()],
PL_files => {},

test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/',
recursive_test_files => 1,


);
if (-d 'share') {
$args{share_dir} = 'share';
}

my $builder = Module::Build->subclass(
class => 'MyBuilder',
code => q{
sub ACTION_distmeta {
die "Do not run distmeta. Install Minilla and `minil install` instead.\n";
}
sub ACTION_installdeps {
die "Do not run installdeps. Run `cpanm --installdeps .` instead.\n";
}
}
)->new(%args);
$builder->create_build_script();

use File::Copy;

print "cp META.json MYMETA.json\n";
copy("META.json","MYMETA.json") or die "Copy failed(META.json): $!";
use Module::Build::Tiny 0.035;

if (-f 'META.yml') {
print "cp META.yml MYMETA.yml\n";
copy("META.yml","MYMETA.yml") or die "Copy failed(META.yml): $!";
} else {
print "There is no META.yml... You may install this module from the repository...\n";
}
Build_PL();

26 changes: 26 additions & 0 deletions Changes
Expand Up @@ -2,6 +2,32 @@ Revision history for Perl extension Net::DNS::Paranoid

{{$NEXT}}

0.09 2024-02-06T05:59:30Z

commit 2d84b68bcdcf1325ba15d6d0252894d828a0d765
Author: Graham TerMarsch <graham@howlingfrog.com>
Date: Mon Aug 30 13:14:00 2021 -0700

Switch to `nip.io`, from `xip.io` in this test.

`xip.io` stopped working long ago, and `nip.io` provides a similar
service and should be working. Update test accordingly.

Resolves #4
---
t/01_simple.t | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

commit d642ca14c2bdeb7bf13f2c1bcd5b023bfeca893a
Author: Anirvan Chatterjee <anirvan@users.noreply.github.com>
Date: Fri Aug 24 11:53:18 2018 -0700

Fix typo in comment ("Uf" -> "If")
---
lib/Net/DNS/Paranoid.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


0.08 2015-09-30T07:01:36Z

- fixed test case
Expand Down
17 changes: 10 additions & 7 deletions META.json
Expand Up @@ -4,13 +4,13 @@
"Tokuhiro Matsuno < tokuhirom @A gmail DOT. com>"
],
"dynamic_config" : 0,
"generated_by" : "Minilla/v2.5.0, CPAN::Meta::Converter version 2.150005",
"generated_by" : "Minilla/v3.1.23, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : "2"
"version" : 2
},
"name" : "Net-DNS-Paranoid",
"no_index" : {
Expand All @@ -33,14 +33,14 @@
},
"configure" : {
"requires" : {
"Module::Build" : "0.38"
"Module::Build::Tiny" : "0.035"
}
},
"develop" : {
"requires" : {
"Test::CPAN::Meta" : "0",
"Test::MinimumVersion::Fast" : "0.04",
"Test::PAUSE::Permissions" : "0.04",
"Test::PAUSE::Permissions" : "0.07",
"Test::Pod" : "1.41",
"Test::Spellunker" : "v0.2.7"
}
Expand All @@ -62,13 +62,16 @@
"homepage" : "https://github.com/tokuhirom/Net-DNS-Paranoid",
"repository" : {
"type" : "git",
"url" : "git://github.com/tokuhirom/Net-DNS-Paranoid.git",
"url" : "https://github.com/tokuhirom/Net-DNS-Paranoid.git",
"web" : "https://github.com/tokuhirom/Net-DNS-Paranoid"
}
},
"version" : "0.08",
"version" : "0.09",
"x_contributors" : [
"Anirvan Chatterjee <anirvan@users.noreply.github.com>",
"Graham TerMarsch <graham@howlingfrog.com>",
"Tokuhiro Matsuno <tokuhirom@gmail.com>"
],
"x_serialization_backend" : "JSON::PP version 2.27300"
"x_serialization_backend" : "JSON::PP version 4.16",
"x_static_install" : 1
}
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -60,7 +60,7 @@ This module detects IP address / host names for internal servers.

# USE WITH Furl

You can use [Net::DNS::Paranoid](https://metacpan.org/pod/Net::DNS::Paranoid) with Furl!
You can use [Net::DNS::Paranoid](https://metacpan.org/pod/Net%3A%3ADNS%3A%3AParanoid) with Furl!

use Furl::HTTP;
use Net::DNS::Paranoid;
Expand All @@ -76,12 +76,12 @@ You can use [Net::DNS::Paranoid](https://metacpan.org/pod/Net::DNS::Paranoid) wi

# USE WITH LWP

I shipped [LWPx::ParanoidHandler](https://metacpan.org/pod/LWPx::ParanoidHandler) to wrap this module.
I shipped [LWPx::ParanoidHandler](https://metacpan.org/pod/LWPx%3A%3AParanoidHandler) to wrap this module.
Please use it.

# THANKS TO

Most of code was taken from [LWPx::ParanoidAgent](https://metacpan.org/pod/LWPx::ParanoidAgent).
Most of code was taken from [LWPx::ParanoidAgent](https://metacpan.org/pod/LWPx%3A%3AParanoidAgent).

# AUTHOR

Expand Down
2 changes: 1 addition & 1 deletion lib/Net/DNS/Paranoid.pm
Expand Up @@ -2,7 +2,7 @@ package Net::DNS::Paranoid;
use strict;
use warnings;
use 5.008008;
our $VERSION = '0.08';
our $VERSION = '0.09';

use Class::Accessor::Lite (
rw => [qw(timeout blocked_hosts whitelisted_hosts resolver)]
Expand Down
1 change: 1 addition & 0 deletions t/01_simple.t
Expand Up @@ -2,6 +2,7 @@ use strict;
use warnings;
use utf8;
use Test::More;
use lib '.';
use lib 'lib';
use Net::DNS::Paranoid;
use t::MockResolver;
Expand Down

0 comments on commit bd2cfb5

Please sign in to comment.