diff --git a/dist.ini b/dist.ini index 78895427..89dddcd0 100644 --- a/dist.ini +++ b/dist.ini @@ -43,8 +43,9 @@ File::Temp = 0.22 [ShareDir] [MakeMaker] [Manifest] -; [TestRelease] -; [ConfirmRelease] +[TestRelease] +[ConfirmRelease] +[UploadToDuckPAN] [MetaJSON] [MetaYAML] diff --git a/t/00-load.t b/t/00-load.t index 08d37813..6ca2fed5 100644 --- a/t/00-load.t +++ b/t/00-load.t @@ -11,18 +11,20 @@ BEGIN { use_ok('DDG::Block'); use_ok('DDG::Block::Hash'); use_ok('DDG::Block::Regexp'); - use_ok('DDG::Dir::Static'); - use_ok('DDG::File::Static'); use_ok('DDG::Plugin'); use_ok('DDG::Plugin::Sample::Hash'); use_ok('DDG::Plugin::Sample::Regexp'); use_ok('DDG::Plugin::Sample::Regexp::Matches'); use_ok('DDG::Plugin::ZeroClickInfo'); use_ok('DDG::Query'); - use_ok('DDG::Site'); - use_ok('DDG::Site::DuckDuckGo'); use_ok('DDG::Util::Translate'); use_ok('DDG::ZeroClickInfo'); + + # use_ok('DDG::Dir::Static'); + # use_ok('DDG::File::Static'); + # use_ok('DDG::Site'); + # use_ok('DDG::Site::DuckDuckGo'); + } done_testing; diff --git a/t/30-generate-testsite.t b/t/30-generate-testsite.t index 03f4ab97..314afc87 100644 --- a/t/30-generate-testsite.t +++ b/t/30-generate-testsite.t @@ -4,6 +4,8 @@ use strict; use warnings; use Test::More; +plan( skip_all => 'still in the pipe' ); + use FindBin qw($Bin); use lib "$Bin/lib"; @@ -15,7 +17,7 @@ isa_ok($site,'DDGTestSite'); my %files = $site->files; my $stash = { - 'test.en_US.html' => ' + 'test.en_US.html' => ' @@ -25,7 +27,7 @@ my $stash = { :c:c ', - 'test.de_DE.html' => ' + 'test.de_DE.html' => ' @@ -35,7 +37,7 @@ my $stash = { :c:c ', - 'index.de_DE.html' => ' + 'index.de_DE.html' => ' @@ -45,7 +47,7 @@ my $stash = { b::b ', - 'index.en_US.html' => ' + 'index.en_US.html' => ' diff --git a/t/35-block.t b/t/35-block.t index b6915a85..e1b29288 100644 --- a/t/35-block.t +++ b/t/35-block.t @@ -17,6 +17,8 @@ BEGIN { )], }); + isa_ok($re_block,'DDG::Block::Regexp'); + my $are_block = DDG::Block::Regexp->new({ plugins => [qw( Sample::Regexp