Skip to content

Commit

Permalink
remove OurPkgVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Axel 'fREW' Schmidt committed Feb 8, 2014
1 parent bd1dc2f commit 2e9c39b
Show file tree
Hide file tree
Showing 47 changed files with 8 additions and 95 deletions.
2 changes: 1 addition & 1 deletion dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ issues = 1

[MetaJSON]
[PodWeaver]
[OurPkgVersion]
[PkgVersion]
[ReadmeFromPod]
[PodSyntaxTests]

Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/IgnoreWantarray.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package DBIx::Class::Helper::IgnoreWantarray;

use parent 'DBIx::Class::Helper::ResultSet::IgnoreWantarray';

# VERSION

use Carp::Clan;
carp 'This module is deprecated! Please use the namespaced version instead!' if $VERSION >= 3;
croak 'This module is deprecated! Please use the namespaced version instead!' if $VERSION >= 4;
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/JoinTable.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package DBIx::Class::Helper::JoinTable;

use parent 'DBIx::Class::Helper::Row::JoinTable';

# VERSION

use Carp::Clan;
carp 'This module is deprecated! Please use the namespaced version instead!' if $VERSION >= 3;
croak 'This module is deprecated! Please use the namespaced version instead!' if $VERSION >= 4;
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/Random.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package DBIx::Class::Helper::Random;

use parent 'DBIx::Class::Helper::ResultSet::Random';

# VERSION

use Carp::Clan;
carp 'This module is deprecated! Please use the namespaced version instead!' if $VERSION >= 3;
croak 'This module is deprecated! Please use the namespaced version instead!' if $VERSION >= 4;
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet.pm
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ use parent qw{

# ABSTRACT: All the ResultSet Helpers in one place

# VERSION

1;

=pod
Expand Down
5 changes: 3 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/AutoRemoveColumns.pm
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package DBIx::Class::Helper::ResultSet::AutoRemoveColumns;

# ABSTRACT: Automatically remove columns from a ResultSet
use strict;
use warnings;

# VERSION
# ABSTRACT: Automatically remove columns from a ResultSet

use parent 'DBIx::Class::Helper::ResultSet::RemoveColumns', 'DBIx::Class';

Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/CorrelateRelationship.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use warnings;

# ABSTRACT: Easily correlate your ResultSets

# VERSION

sub correlate {
my ($self, $rel) = @_;

Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/IgnoreWantarray.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use warnings;

# ABSTRACT: Get rid of search context issues

# VERSION

sub search {
shift->search_rs(@_);
}
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/Me.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use warnings;

# ABSTRACT: Define predefined searches more nicely

# VERSION

sub me { join('.', shift->current_source_alias, shift || q{}) }

1;
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/NoColumns.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ package DBIx::Class::Helper::ResultSet::NoColumns;
use strict;
use warnings;

# VERSION

sub no_columns { $_[0]->search(undef, { columns => [] }) }

1;
Expand Down
3 changes: 1 addition & 2 deletions lib/DBIx/Class/Helper/ResultSet/Random.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ package DBIx::Class::Helper::ResultSet::Random;

use strict;
use warnings;

use Module::Runtime 'use_module';
use Try::Tiny;

# ABSTRACT: Get random rows from a ResultSet

# VERSION

sub _introspector {
my $d = use_module('DBIx::Introspector')
->new(drivers => '2013-12.01');
Expand Down
5 changes: 3 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/RemoveColumns.pm
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package DBIx::Class::Helper::ResultSet::RemoveColumns;

# ABSTRACT: Remove columns from a ResultSet
use strict;
use warnings;

# VERSION
# ABSTRACT: Remove columns from a ResultSet

sub _resolved_attrs {
my $self = $_[0];
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/ResultClassDWIM.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package DBIx::Class::Helper::ResultSet::ResultClassDWIM;

# ABSTRACT: result_class => '::HRI' == WIN

# VERSION

use strict;
use warnings;

Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/SearchOr.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ package DBIx::Class::Helper::ResultSet::SearchOr;
use strict;
use warnings;

# VERSION

use List::Util 'first';
use Carp::Clan;
use namespace::clean;
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/SetOperations.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use warnings;

# ABSTRACT: Do set operations with DBIx::Class

# VERSION

# cribbed from perlfaq4
sub _compare_arrays {
my ($self, $first, $second) = @_;
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/Shortcut.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ package DBIx::Class::Helper::ResultSet::Shortcut;
use strict;
use warnings;

# VERSION

use base (qw(
DBIx::Class::Helper::ResultSet::Shortcut::AddColumns
DBIx::Class::Helper::ResultSet::Shortcut::Columns
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/Shortcut/AddColumns.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package DBIx::Class::Helper::ResultSet::Shortcut::AddColumns;
use strict;
use warnings;

# VERSION

sub add_columns { shift->search(undef, { '+columns' => shift }) }

1;
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/Shortcut/Columns.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package DBIx::Class::Helper::ResultSet::Shortcut::Columns;
use strict;
use warnings;

# VERSION

sub columns { shift->search(undef, { columns => shift }) }

1;
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/Shortcut/Distinct.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package DBIx::Class::Helper::ResultSet::Shortcut::Distinct;
use strict;
use warnings;

# VERSION

sub distinct { $_[0]->search(undef, { distinct => defined $_[1] ? $_[1] : 1 }) }

1;
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/Shortcut/GroupBy.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package DBIx::Class::Helper::ResultSet::Shortcut::GroupBy;
use strict;
use warnings;

# VERSION

sub group_by { shift->search(undef, { group_by => shift }) }

1;
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/Shortcut/HRI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package DBIx::Class::Helper::ResultSet::Shortcut::HRI;
use strict;
use warnings;

# VERSION

sub hri {
shift->search(undef, {
result_class => 'DBIx::Class::ResultClass::HashRefInflator' })
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/Shortcut/HasRows.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use warnings;

use base 'DBIx::Class::Helper::ResultSet::Shortcut::Rows';

# VERSION

sub has_rows { !! shift->rows(1)->next }

1;
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/Shortcut/Limit.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use warnings;

use base 'DBIx::Class::Helper::ResultSet::Shortcut::Rows';

# VERSION

sub limit { return shift->rows(@_) }

1;
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/Shortcut/OrderBy.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package DBIx::Class::Helper::ResultSet::Shortcut::OrderBy;
use strict;
use warnings;

# VERSION

sub order_by { shift->search(undef, { order_by => shift }) }

1;
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/Shortcut/OrderByMagic.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package DBIx::Class::Helper::ResultSet::Shortcut::OrderByMagic;
use strict;
use warnings;

# VERSION

use base 'DBIx::Class::Helper::ResultSet::Shortcut::OrderBy';

sub order_by {
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/Shortcut/Rows.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package DBIx::Class::Helper::ResultSet::Shortcut::Rows;
use strict;
use warnings;

# VERSION

sub rows { shift->search(undef, { rows => shift }) }

1;
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/Union.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package DBIx::Class::Helper::ResultSet::Union;

use parent 'DBIx::Class::Helper::ResultSet::SetOperations';

# VERSION

use Carp::Clan;
carp 'This module is deprecated! Please use the namespaced version instead!' if $VERSION >= 3;
croak 'This module is deprecated! Please use the namespaced version instead!' if $VERSION >= 4;
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/ResultSet/VirtualView.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use warnings;

# ABSTRACT: Clean up your SQL namespace (DEPRECATED)

# VERSION

sub as_virtual_view {
my $self = shift;

Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/Row/CleanResultSet.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use warnings;

# ABSTRACT: Shortcut for C<< ->resultset >>

# VERSION

sub clean_rs { return shift->result_source->resultset }

1;
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/Row/JoinTable.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use warnings;

# ABSTRACT: Easily set up join tables with DBIx::Class

# VERSION

use DBIx::Class::Helpers::Util 'get_namespace_parts';
use Lingua::EN::Inflect ();
use String::CamelCase ();
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/Row/NumifyGet.pm
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ use Try::Tiny;

# ABSTRACT: Force numeric "context" on numeric columns

# VERSION

sub get_column {
my ($self, $col) = @_;

Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/Row/OnColumnChange.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use warnings;

# ABSTRACT: Do things when the values of a column change

# VERSION

use parent 'DBIx::Class::Helper::Row::StorageValues';
use List::Util 'first';
use DBIx::Class::Candy::Exports;
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/Row/ProxyResultSetMethod.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use warnings;

# ABSTRACT: Efficiently reuse ResultSet methods from results with fallback

# VERSION

use base 'DBIx::Class::Helper::Row::SelfResultSet', 'Class::Accessor::Grouped';
use Sub::Name ();

Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/Row/ProxyResultSetUpdate.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ package DBIx::Class::Helper::Row::ProxyResultSetUpdate;

# ABSTRACT: Efficiently reuse ResultSet updates from results

# VERSION

use base 'DBIx::Class::Helper::Row::SelfResultSet';

sub update {
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/Row/RelationshipDWIM.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use warnings;

# ABSTRACT: Type less for your relationships!

# VERSION

sub default_result_namespace {
die 'you forgot to set your default_result_namespace'
}
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/Row/SelfResultSet.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use warnings;

# ABSTRACT: Easily use ResultSet methods for the current row

# VERSION

sub self_rs {
my ($self) = @_;

Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/Row/StorageValues.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use warnings;

# ABSTRACT: Keep track of stored vs in-memory row values

# VERSION

use parent 'DBIx::Class';

__PACKAGE__->mk_group_accessors(inherited => '_storage_value_columns');
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/Row/SubClass.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ use warnings;

# ABSTRACT: Convenient subclassing with DBIx::Class

# VERSION

use DBIx::Class::Helpers::Util qw{get_namespace_parts assert_similar_namespaces};
use DBIx::Class::Candy::Exports;

Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/Row/ToJSON.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package DBIx::Class::Helper::Row::ToJSON;
use strict;
use warnings;

# VERSION

use parent 'DBIx::Class';

# ABSTRACT: Remove the boilerplate from your TO_JSON functions
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/Schema/DateTime.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ package DBIx::Class::Helper::Schema::DateTime;
use strict;
use warnings;

# VERSION

sub datetime_parser { return shift->storage->datetime_parser }

sub parse_datetime { return shift->datetime_parser->parse_datetime(@_) }
Expand Down
2 changes: 0 additions & 2 deletions lib/DBIx/Class/Helper/Schema/GenerateSource.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ package DBIx::Class::Helper::Schema::GenerateSource;
use strict;
use warnings;

# VERSION

use Scalar::Util 'blessed';

sub _schema_class { blessed($_[0]) || $_[0] }
Expand Down
4 changes: 0 additions & 4 deletions lib/DBIx/Class/Helper/Schema/LintContents.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ use warnings;

use Scalar::Util 'blessed';

# ABSTRACT: Check the data in your database match your constraints

# VERSION

sub null_check_source {
my ($self, $source_name, $non_nullable_columns) = @_;

Expand Down
Loading

0 comments on commit 2e9c39b

Please sign in to comment.