Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Rudimentary docs and license boiler plates for DBIC classes
  • Loading branch information
zoffixznet committed Nov 14, 2015
1 parent 7190eec commit dbd603c
Show file tree
Hide file tree
Showing 6 changed files with 119 additions and 1 deletion.
17 changes: 17 additions & 0 deletions mojo-app/lib/ModulesPerl6/Model/BuildStats/Schema.pm
Expand Up @@ -5,3 +5,20 @@ use base qw/DBIx::Class::Schema/;
__PACKAGE__->load_namespaces;

1;

__END__

=encoding utf8
=head1 NAME
ModulesPerl6::Model::BuildStats::Schema - schema for ModulesPerl6::Model::BuildStats
=head1 CONTACT INFORMATION
Original version of this module was written by Zoffix Znet
(L<https://github.com/zoffixznet/>, C<Zoffix> on irc.freenode.net).
=head1 LICENSE
You can use and distribute this module under the same terms as Perl itself.
Expand Up @@ -5,3 +5,25 @@ primary_column stat => { data_type => 'text' };
column value => { data_type => 'text' };

1;

__END__

=encoding utf8
=head1 NAME
ModulesPerl6::Model::BuildStats::Schema::Result::BuildStats - table storing various statistics on the database builds
=head2 DESCRIPTION
This table is populated when the build script is run, storing info like
date of last build of the database and the number of dists in the ecosystem.
=head1 CONTACT INFORMATION
Original version of this module was written by Zoffix Znet
(L<https://github.com/zoffixznet/>, C<Zoffix> on irc.freenode.net).
=head1 LICENSE
You can use and distribute this module under the same terms as Perl itself.
17 changes: 17 additions & 0 deletions mojo-app/lib/ModulesPerl6/Model/Dists/Schema.pm
Expand Up @@ -5,3 +5,20 @@ use base qw/DBIx::Class::Schema/;
__PACKAGE__->load_namespaces;

1;

__END__

=encoding utf8
=head1 NAME
ModulesPerl6::Model::Dists::Schema - schema for ModulesPerl6::Model::Dists
=head1 CONTACT INFORMATION
Original version of this module was written by Zoffix Znet
(L<https://github.com/zoffixznet/>, C<Zoffix> on irc.freenode.net).
=head1 LICENSE
You can use and distribute this module under the same terms as Perl itself.
21 changes: 21 additions & 0 deletions mojo-app/lib/ModulesPerl6/Model/Dists/Schema/Result/Author.pm
Expand Up @@ -8,3 +8,24 @@ has_many dists
=> 'ModulesPerl6::Model::Dists::Schema::Result::Dist' => 'author_id';

1;

__END__

=encoding utf8
=head1 NAME
ModulesPerl6::Model::Dists::Schema::Result::Author - Author info table
=head1 DESCRIPTION
This table stores distribution authors info.
=head1 CONTACT INFORMATION
Original version of this module was written by Zoffix Znet
(L<https://github.com/zoffixznet/>, C<Zoffix> on irc.freenode.net).
=head1 LICENSE
You can use and distribute this module under the same terms as Perl itself.
21 changes: 21 additions & 0 deletions mojo-app/lib/ModulesPerl6/Model/Dists/Schema/Result/Dist.pm
Expand Up @@ -22,3 +22,24 @@ belongs_to travis
=> { status => 'travis_status' };

1;

__END__

=encoding utf8
=head1 NAME
ModulesPerl6::Model::Dists::Schema::Result::Dist - Distribution info table
=head1 DESCRIPTION
This table stores distro information.
=head1 CONTACT INFORMATION
Original version of this module was written by Zoffix Znet
(L<https://github.com/zoffixznet/>, C<Zoffix> on irc.freenode.net).
=head1 LICENSE
You can use and distribute this module under the same terms as Perl itself.
Expand Up @@ -7,5 +7,25 @@ has_many dists
=> 'ModulesPerl6::Model::Dists::Schema::Result::Dist'
=> { 'foreign.travis_status' => 'self.status' };


1;

__END__

=encoding utf8
=head1 NAME
ModulesPerl6::Model::Dists::Schema::Result::TravisStatus - Travis-CI statuses
=head1 DESCRIPTION
This table stores L<https://travis-ci.org/> statuses for the dists.
=head1 CONTACT INFORMATION
Original version of this module was written by Zoffix Znet
(L<https://github.com/zoffixznet/>, C<Zoffix> on irc.freenode.net).
=head1 LICENSE
You can use and distribute this module under the same terms as Perl itself.

0 comments on commit dbd603c

Please sign in to comment.