Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Import of KARMAN/SWISH-Prog-0.59 from CPAN.
gitpan-cpan-distribution: SWISH-Prog
gitpan-cpan-version:      0.59
gitpan-cpan-path:         KARMAN/SWISH-Prog-0.59.tar.gz
gitpan-cpan-author:       KARMAN
gitpan-cpan-maturity:     released
  • Loading branch information
Peter Karman authored and Gitpan committed Oct 23, 2014
1 parent 9076123 commit 54f29d0
Show file tree
Hide file tree
Showing 28 changed files with 31 additions and 27 deletions.
3 changes: 3 additions & 0 deletions Changes
Expand Up @@ -256,3 +256,6 @@ Revision history for Perl extension Prog.
0.58 26 June 2012
* fix Config class for FuzzyIndexingMode conversion to XML (ver3)

0.59 26 July 2012
* add FollowXInclude support for Swish3

2 changes: 1 addition & 1 deletion META.yml
Expand Up @@ -53,4 +53,4 @@ resources:
homepage: http://dev.swish-e.org/wiki/perl
license: http://dev.perl.org/licenses/
repository: http://svn.swish-e.org/perl/SWISH-Prog/
version: 0.58
version: 0.59
2 changes: 1 addition & 1 deletion lib/SWISH/Prog.pm
Expand Up @@ -10,7 +10,7 @@ use SWISH::Prog::Config;
use SWISH::Prog::InvIndex;
use SWISH::Prog::ReplaceRules;

our $VERSION = '0.58';
our $VERSION = '0.59';

__PACKAGE__->mk_accessors(qw( aggregator test_mode ));

Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Aggregator.pm
Expand Up @@ -9,7 +9,7 @@ use SWISH::Prog::Doc;
use Scalar::Util qw( blessed );
use Data::Dump qw( dump );

our $VERSION = '0.58';
our $VERSION = '0.59';

__PACKAGE__->mk_accessors(
qw(
Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Aggregator/DBI.pm
Expand Up @@ -10,7 +10,7 @@ use SWISH::Prog::Utils;

__PACKAGE__->mk_accessors(qw( db alias_columns schema ));

our $VERSION = '0.58';
our $VERSION = '0.59';

my $XMLer = Search::Tools::XML->new(); # included in Utils

Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Aggregator/FS.pm
Expand Up @@ -9,7 +9,7 @@ use File::Find;
use File::Rules;
use Data::Dump qw( dump );

our $VERSION = '0.58';
our $VERSION = '0.59';

# we rely on file extensions to determine content type
# and thus parser type. If a file has no extension,
Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Aggregator/Mail.pm
Expand Up @@ -8,7 +8,7 @@ use Search::Tools::XML;
use Mail::Box::Manager;
use base qw( SWISH::Prog::Aggregator );

our $VERSION = '0.58';
our $VERSION = '0.59';

my $XMLer = Search::Tools::XML->new();

Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Aggregator/MailFS.pm
Expand Up @@ -7,7 +7,7 @@ use SWISH::Prog::Aggregator::Mail; # delegate doc creation
use Carp;
use Data::Dump qw( dump );

our $VERSION = '0.58';
our $VERSION = '0.59';

=pod
Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Aggregator/Object.pm
Expand Up @@ -13,7 +13,7 @@ use Scalar::Util qw( blessed );
__PACKAGE__->mk_accessors(
qw( methods class title url modtime serial_format ));

our $VERSION = '0.58';
our $VERSION = '0.59';

my $XMLer = Search::Tools::XML->new(); # included in Utils

Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Aggregator/Spider.pm
Expand Up @@ -15,7 +15,7 @@ __PACKAGE__->mk_accessors(

#use LWP::Debug qw(+);

our $VERSION = '0.58';
our $VERSION = '0.59';

# TODO make these configurable
my %parser_types = %SWISH::Prog::Utils::ParserTypes;
Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Cache.pm
Expand Up @@ -5,7 +5,7 @@ use base qw( SWISH::Prog::Class );
__PACKAGE__->mk_accessors(qw( cache ));
use Carp;

our $VERSION = '0.58';
our $VERSION = '0.59';

=pod
Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Class.pm
Expand Up @@ -7,7 +7,7 @@ use Data::Dump qw( dump );
use SWISH::Prog::Config;
use Scalar::Util qw( blessed );

our $VERSION = '0.58';
our $VERSION = '0.59';

__PACKAGE__->mk_accessors(qw( debug verbose warnings ));

Expand Down
3 changes: 2 additions & 1 deletion lib/SWISH/Prog/Config.pm
Expand Up @@ -16,7 +16,7 @@ use overload(
fallback => 1,
);

our $VERSION = '0.58';
our $VERSION = '0.59';

my $XML = Search::Tools::XML->new;

Expand Down Expand Up @@ -55,6 +55,7 @@ my @Opts = qw(
FileMatch
FileRules
FollowSymLinks
FollowXInclude
FuzzyIndexingMode
HTMLLinksMetaName
IgnoreFirstChar
Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Doc.pm
Expand Up @@ -12,7 +12,7 @@ use overload(

use SWISH::Prog::Headers;

our $VERSION = '0.58';
our $VERSION = '0.59';

__PACKAGE__->mk_accessors(
qw( url modtime type parser content action size charset data version ));
Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Headers.pm
Expand Up @@ -8,7 +8,7 @@ use Carp;
__PACKAGE__->mk_accessors(qw( version ));
use bytes; # so length() measures bytes

our $VERSION = '0.58';
our $VERSION = '0.59';
our $AutoURL = time();
our %Headers = (
2 => {
Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Indexer.pm
Expand Up @@ -7,7 +7,7 @@ use Carp;
use Data::Dump qw( dump );
use SWISH::Prog::Config;

our $VERSION = '0.58';
our $VERSION = '0.59';

__PACKAGE__->mk_accessors(
qw( invindex config count clobber flush started test_mode ));
Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/InvIndex.pm
Expand Up @@ -13,7 +13,7 @@ use overload(
fallback => 1,
);

our $VERSION = '0.58';
our $VERSION = '0.59';

__PACKAGE__->mk_accessors(qw( path clobber ));

Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/InvIndex/Meta.pm
Expand Up @@ -5,7 +5,7 @@ use base qw( SWISH::Prog::Class );
use Carp;
use XML::Simple;

our $VERSION = '0.58';
our $VERSION = '0.59';

__PACKAGE__->mk_accessors(qw( invindex ));
__PACKAGE__->mk_ro_accessors(qw( file ));
Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Native/Indexer.pm
Expand Up @@ -9,7 +9,7 @@ use SWISH::Prog::Config;
use Scalar::Util qw( blessed );
use File::Copy ();

our $VERSION = '0.58';
our $VERSION = '0.59';

my $invindex_class = 'SWISH::Prog::Native::InvIndex';

Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Native/InvIndex.pm
Expand Up @@ -5,7 +5,7 @@ use Carp;
use base qw( SWISH::Prog::InvIndex );
__PACKAGE__->mk_accessors(qw( file ));

our $VERSION = '0.58';
our $VERSION = '0.59';

=head1 NAME
Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Native/Result.pm
Expand Up @@ -20,7 +20,7 @@ __PACKAGE__->mk_accessors(
)
);

our $VERSION = '0.58';
our $VERSION = '0.59';

=head1 NAME
Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Native/Searcher.pm
Expand Up @@ -10,7 +10,7 @@ use Search::Query;

__PACKAGE__->mk_accessors(qw( swish sao_opts result_class ));

our $VERSION = '0.58';
our $VERSION = '0.59';

=head1 NAME
Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Queue.pm
Expand Up @@ -4,7 +4,7 @@ use warnings;
use base qw( SWISH::Prog::Class );
use Carp;

our $VERSION = '0.58';
our $VERSION = '0.59';

=pod
Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/ReplaceRules.pm
Expand Up @@ -7,7 +7,7 @@ use Carp;
use Data::Dump qw( dump );
use Text::ParseWords;

our $VERSION = '0.58';
our $VERSION = '0.59';

__PACKAGE__->mk_accessors(qw( rules ));

Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Result.pm
Expand Up @@ -4,7 +4,7 @@ use warnings;
use base qw( SWISH::Prog::Class );
use Carp;

our $VERSION = '0.58';
our $VERSION = '0.59';

__PACKAGE__->mk_accessors(qw( doc score ));

Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Results.pm
Expand Up @@ -4,7 +4,7 @@ use warnings;
use base qw( SWISH::Prog::Class );
use Carp;

our $VERSION = '0.58';
our $VERSION = '0.59';

__PACKAGE__->mk_accessors(
qw(
Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Searcher.pm
Expand Up @@ -5,7 +5,7 @@ use base qw( SWISH::Prog::Class );
use Carp;
use Scalar::Util qw( blessed );

our $VERSION = '0.58';
our $VERSION = '0.59';

__PACKAGE__->mk_accessors(
qw(
Expand Down
2 changes: 1 addition & 1 deletion lib/SWISH/Prog/Utils.pm
Expand Up @@ -6,7 +6,7 @@ use Data::Dump qw( dump );
use File::Basename;
use Search::Tools::XML;

our $VERSION = '0.58';
our $VERSION = '0.59';

=pod
Expand Down

0 comments on commit 54f29d0

Please sign in to comment.