Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
Checking in changes prior to tagging of version 3.10.
Browse files Browse the repository at this point in the history
Changelog diff is:

diff --git a/Changes b/Changes
index 48a61b7..75ac207 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,15 @@ Revision history for Perl extension ObjectDB

 {{$NEXT}}

+3.10 2014-04-28T09:59:37Z
+
+    [FEATURES]
+    - do not merge rows for now
+
+    [FIXES]
+    - fix finding via many to many
+    - fix undefined warning
+
 3.09 2014-02-19T13:37:27Z

     [FEATURES]
  • Loading branch information
vti committed Apr 28, 2014
1 parent e3051ec commit 1bad749
Show file tree
Hide file tree
Showing 25 changed files with 40 additions and 28 deletions.
1 change: 1 addition & 0 deletions Build.PL
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ my %args = (

test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/',
recursive_test_files => 1,


);
if (-d 'share') {
Expand Down
9 changes: 9 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ Revision history for Perl extension ObjectDB

{{$NEXT}}

3.10 2014-04-28T09:59:37Z

[FEATURES]
- do not merge rows for now

[FIXES]
- fix finding via many to many
- fix undefined warning

3.09 2014-02-19T13:37:27Z

[FEATURES]
Expand Down
7 changes: 4 additions & 3 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Viacheslav Tykhanovskyi"
],
"dynamic_config" : 0,
"generated_by" : "Minilla/v0.7.5, CPAN::Meta::Converter version 2.130880",
"generated_by" : "Minilla/v0.14.1, CPAN::Meta::Converter version 2.120921",
"license" : [
"perl_5"
],
Expand Down Expand Up @@ -36,7 +36,8 @@
"develop" : {
"requires" : {
"Test::CPAN::Meta" : "0",
"Test::MinimumVersion" : "0.10108",
"Test::MinimumVersion::Fast" : "0.04",
"Test::PAUSE::Permissions" : "0.04",
"Test::Pod" : "1.41",
"Test::Spellunker" : "v0.2.7"
}
Expand Down Expand Up @@ -71,7 +72,7 @@
"web" : "https://github.com/vti/object-db"
}
},
"version" : "3.09",
"version" : "3.10",
"x_contributors" : [
"vti <viacheslav.t@gmail.com>"
]
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ ObjectDB - usable ORM
# DESCRIPTION

ObjectDB is a lightweight and flexible object-relational mapper. While being
light it stays usable. ObjectDB borrows many things from [Rose::DB::Object](http://search.cpan.org/perldoc?Rose::DB::Object),
light it stays usable. ObjectDB borrows many things from [Rose::DB::Object](https://metacpan.org/pod/Rose::DB::Object),
but unlike in the last one columns are not objects, everything is pretty much
straightforward and flat.

Expand All @@ -81,6 +81,7 @@ Supported servers: SQLite, MySQL, PostgreSQL
- `get_column`

my $title = $book->get_column('title');

- `column`

A shortcut for `set_column`/`get_column`.
Expand All @@ -92,7 +93,7 @@ Supported servers: SQLite, MySQL, PostgreSQL

Main ObjectDB instance represents a row object. All actions performed on this
instance are performed on one row. For performing actions on several rows see
[ObjectDB::Table](http://search.cpan.org/perldoc?ObjectDB::Table).
[ObjectDB::Table](https://metacpan.org/pod/ObjectDB::Table).

### Methods

Expand Down Expand Up @@ -137,8 +138,8 @@ instance are performed on one row. For performing actions on several rows see

## Actions on tables

In order to perform an action on table a [ObjectDB::Table](http://search.cpan.org/perldoc?ObjectDB::Table) object must be
obtained via `table` method (see [ObjectDB::Table](http://search.cpan.org/perldoc?ObjectDB::Table) for all available actions).
In order to perform an action on table a [ObjectDB::Table](https://metacpan.org/pod/ObjectDB::Table) object must be
obtained via `table` method (see [ObjectDB::Table](https://metacpan.org/pod/ObjectDB::Table) for all available actions).
The only exception is `find`, it is available in a row object for convenience.

MyBook->table->delete; # deletes ALL records from MyBook
Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB.pm
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use ObjectDB::Table;
use ObjectDB::With;
use ObjectDB::Util qw(execute merge_rows filter_columns);

our $VERSION = '3.09';
our $VERSION = '3.10';

$Carp::Internal{(__PACKAGE__)}++;
$Carp::Internal{"ObjectDB::$_"}++ for qw/
Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/DBHPool.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ObjectDB::DBHPool;
use strict;
use warnings;

our $VERSION = '3.09';
our $VERSION = '3.10';

require Carp;
use ObjectDB::DBHPool::Connection;
Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/DBHPool/Connection.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ObjectDB::DBHPool::Connection;
use strict;
use warnings;

our $VERSION = '3.09';
our $VERSION = '3.10';

require Carp;
use DBI;
Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/Factory.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ObjectDB::Factory;
use strict;
use warnings;

our $VERSION = '3.09';
our $VERSION = '3.10';

require Carp;
use ObjectDB::Util qw(load_class);
Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/Meta.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use strict;
use warnings;
use mro;

our $VERSION = '3.09';
our $VERSION = '3.10';

require Storable;
require Carp;
Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/Meta/Relationship.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ObjectDB::Meta::Relationship;
use strict;
use warnings;

our $VERSION = '3.09';
our $VERSION = '3.10';

require Carp;
use ObjectDB::Util qw(load_class);
Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/Meta/Relationship/ManyToMany.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use base 'ObjectDB::Meta::Relationship';

our $VERSION = '3.09';
our $VERSION = '3.10';

use ObjectDB::Util qw(load_class);

Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/Meta/Relationship/ManyToOne.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use base 'ObjectDB::Meta::Relationship';

our $VERSION = '3.09';
our $VERSION = '3.10';

sub type { 'many to one' }
sub is_multi { 0 }
Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/Meta/Relationship/OneToMany.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use base 'ObjectDB::Meta::Relationship';

our $VERSION = '3.09';
our $VERSION = '3.10';

require Carp;

Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/Meta/Relationship/OneToOne.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ObjectDB::Meta::Relationship::OneToOne;
use strict;
use warnings;

our $VERSION = '3.09';
our $VERSION = '3.10';

use base 'ObjectDB::Meta::Relationship::ManyToOne';

Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/Meta/RelationshipFactory.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use base 'ObjectDB::Factory';

our $VERSION = '3.09';
our $VERSION = '3.10';

sub namespace { 'ObjectDB::Meta::Relationship::' }

Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/Quoter.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ObjectDB::Quoter;
use strict;
use warnings;

our $VERSION = '3.09';
our $VERSION = '3.10';

use base 'SQL::Composer::Quoter';

Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/Related.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ObjectDB::Related;
use strict;
use warnings;

our $VERSION = '3.09';
our $VERSION = '3.10';

require Carp;

Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/Related/ManyToMany.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use base 'ObjectDB::Related';

our $VERSION = '3.09';
our $VERSION = '3.10';

use ObjectDB::Util qw(merge);

Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/Related/ManyToOne.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use base 'ObjectDB::Related';

our $VERSION = '3.09';
our $VERSION = '3.10';

use ObjectDB::Util qw(merge);

Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/Related/OneToMany.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use base 'ObjectDB::Related';

our $VERSION = '3.09';
our $VERSION = '3.10';

use Scalar::Util ();
use ObjectDB::Util qw(merge);
Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/Related/OneToOne.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use base 'ObjectDB::Related::ManyToOne';

our $VERSION = '3.09';
our $VERSION = '3.10';

use Scalar::Util ();
use ObjectDB::Util qw(merge);
Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/RelatedFactory.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ObjectDB::RelatedFactory;
use strict;
use warnings;

our $VERSION = '3.09';
our $VERSION = '3.10';

use base 'ObjectDB::Factory';

Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/Table.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ObjectDB::Table;
use strict;
use warnings;

our $VERSION = '3.09';
our $VERSION = '3.10';

use constant DEFAULT_PAGE_SIZE => 10;

Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/Util.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use warnings;

use base 'Exporter';

our $VERSION = '3.09';
our $VERSION = '3.10';
our @EXPORT_OK = qw(load_class execute merge merge_rows filter_columns);

require Carp;
Expand Down
2 changes: 1 addition & 1 deletion lib/ObjectDB/With.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ObjectDB::With;
use strict;
use warnings;

our $VERSION = '3.09';
our $VERSION = '3.10';

sub new {
my $class = shift;
Expand Down

0 comments on commit 1bad749

Please sign in to comment.