Skip to content

Commit

Permalink
moving to Dist::Zilla
Browse files Browse the repository at this point in the history
  • Loading branch information
xsawyerx committed Sep 11, 2010
1 parent 789a1f8 commit 739dccb
Show file tree
Hide file tree
Showing 35 changed files with 169 additions and 441 deletions.
8 changes: 8 additions & 0 deletions Changes
@@ -1,3 +1,11 @@
0.06 11.09.10
- Whoops, missed a debug output

0.05 11.09.10
- Adding a bit more docs
- Moved to Dist::Zilla
- Fixing SIGNATURE file (sorry sorry sorry)

0.04 04.03.10
- Safer attribute extraction
- Multiplex extraction now works
Expand Down
39 changes: 0 additions & 39 deletions MANIFEST

This file was deleted.

44 changes: 0 additions & 44 deletions MANIFEST.SKIP

This file was deleted.

26 changes: 0 additions & 26 deletions Makefile.PL

This file was deleted.

61 changes: 0 additions & 61 deletions SIGNATURE

This file was deleted.

18 changes: 18 additions & 0 deletions dist.ini
@@ -0,0 +1,18 @@
name = Search-GIN
author = Yuval Kogman <nothingmuch@cpan.org>
license = Perl_5
copyright_holder = Yuval Kogman, Infinity Interactive
copyright_year = 2010

version = 0.06

[@Basic]
[PodSyntaxTests]
[PodWeaver]
[ReadmeFromPod]
[CheckChangeLog]
[PkgVersion]
[CompileTests]
[AutoPrereq]
skip = ^(Bar|Base|MyTagQuery)$
[Signature]
24 changes: 3 additions & 21 deletions lib/Search/GIN.pm
@@ -1,22 +1,12 @@
#!/usr/bin/perl

package Search::GIN;

use strict;
use warnings;
package Search::GIN;
# ABSTRACT: Generalized Inverted Indexing

our $VERSION = "0.04";

__PACKAGE__
1;

__END__
=pod
=head1 NAME
Search::GIN - Generalized Inverted Indexing
=head1 DESCRIPTION
Inverted Indexing is an indexing method that maps from content to location in
Expand All @@ -39,11 +29,3 @@ Inverted_index>
=back
=head1 COPYRIGHT
Copyright (c) 2008 - 2010 Yuval Kogman, Infinity Interactive. All
rights reserved This program is free software; you can redistribute
it and/or modify it under the same terms as Perl itself.
=cut
16 changes: 5 additions & 11 deletions lib/Search/GIN/Callbacks.pm
@@ -1,6 +1,8 @@
#!/usr/bin/perl

use strict;
use warnings;
package Search::GIN::Callbacks;
# ABSTRACT: Provide callbacks

use Moose::Role;

with qw(Search::GIN::Core);
Expand All @@ -15,19 +17,11 @@ foreach my $cb qw(objects_to_ids extract_values extract_query compare_values con
eval "sub $cb { \$self->${cb}_callback->(@_) }";
}

__PACKAGE__
1;

__END__
=pod
=head1 NAME
Search::GIN::Callbacks - Provide callbacks
=head1 DESCRIPTION
This role provides a few callbacks for L<Search::GIN>.
=cut
8 changes: 5 additions & 3 deletions lib/Search/GIN/Core.pm
@@ -1,6 +1,8 @@
#!/usr/bin/perl

use strict;
use warnings;
package Search::GIN::Core;
# ABSTRACT: Core of Search::GIN

use Moose::Role;

use Data::Stream::Bulk::Util qw(bulk unique);
Expand Down Expand Up @@ -63,6 +65,6 @@ sub insert {
}
}

__PACKAGE__
1;

__END__
17 changes: 5 additions & 12 deletions lib/Search/GIN/DelegateToIndexed.pm
@@ -1,6 +1,8 @@
#!/usr/bin/perl

use strict;
use warnings;
package Search::GIN::DelegateToIndexed;
# ABSTRACT:

use Moose::Role;

use namespace::clean -except => 'meta';
Expand All @@ -24,22 +26,13 @@ sub objects_to_ids {
map { $_->gin_id } @objs;
}

__PACKAGE__
1;

__END__
=pod
=head1 NAME
Search::GIN::DelegateToIndexed -
=head1 SYNOPSIS
use Search::GIN::DelegateToIndexed;
=head1 DESCRIPTION
=cut
17 changes: 5 additions & 12 deletions lib/Search/GIN/Driver.pm
@@ -1,6 +1,8 @@
#!/usr/bin/perl

use strict;
use warnings;
package Search::GIN::Driver;
# ABSTRACT:

use Moose::Role;

use Data::Stream::Bulk::Util qw(bulk nil cat unique);
Expand Down Expand Up @@ -76,22 +78,13 @@ sub fetch_entries_all {
return bulk( grep { $seen{$_} == $n } $last->all );
}

__PACKAGE__
1;

__END__
=pod
=head1 NAME
Search::GIN::Driver -
=head1 SYNOPSIS
use Search::GIN::Driver;
=head1 DESCRIPTION
=cut
8 changes: 5 additions & 3 deletions lib/Search/GIN/Driver/Hash.pm
@@ -1,6 +1,8 @@
#!/usr/bin/perl

use strict;
use warnings;
package Search::GIN::Driver::Hash;
# ABSTRACT:

use Moose::Role;

use Set::Object;
Expand Down Expand Up @@ -78,6 +80,6 @@ sub insert_entry {
}
}

__PACKAGE__
1;

__END__

0 comments on commit 739dccb

Please sign in to comment.