Skip to content

Commit

Permalink
ready to release
Browse files Browse the repository at this point in the history
  • Loading branch information
jjn1056 committed Mar 5, 2015
1 parent 4330067 commit f7aac2f
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
10 changes: 10 additions & 0 deletions Changes
@@ -1,5 +1,15 @@
Revision history for DBIx-Class-Migration.

0.051 2015-02-05
- Removed postgresqlsandbox shutdown hack (I think this issue is long fixed
in DBIC:DH and I can't honestly recall the exact problem...
- Fixed bad test case that was not properly scoping $schema, leading to
trouble.
- More explicit disconnect of schema when the migration object goes out of
scope. This should reduce or eliminate "Cleanup" warnings when trying to
shutdown Postgresql and the $schema is still connected.
- Added some docs on the Postgresql sandbox helpers I added yesterday.

0.050 2015-02-04
- New script helpers for Postgresql sandboxs
- Corrected some dates in the changelog
Expand Down
2 changes: 1 addition & 1 deletion dist.ini
Expand Up @@ -5,7 +5,7 @@ copyright_holder = John Napiorkowski
copyright_year = 2015
abstract = Tools to make migrating your DBIx::Class databases easier
main_module = lib/DBIx/Class/Migration.pm
version = 0.050
version = 0.051

[@Basic]

Expand Down
4 changes: 2 additions & 2 deletions lib/DBIx/Class/Migration.pm
@@ -1,6 +1,6 @@
package DBIx::Class::Migration;

our $VERSION = "0.050";
our $VERSION = "0.051";
$VERSION = eval $VERSION;

use Moose;
Expand Down Expand Up @@ -1180,7 +1180,7 @@ L<Test::mysqld>, L<Test::PostgreSQL>.
=head1 COPYRIGHT & LICENSE
Copyright 2013, John Napiorkowski L<email:jjnapiork@cpan.org>
Copyright 2013-2015, John Napiorkowski L<email:jjnapiork@cpan.org>
This library is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
Expand Down
8 changes: 6 additions & 2 deletions lib/DBIx/Class/Migration/PostgresqlSandbox.pm
Expand Up @@ -230,9 +230,11 @@ above permanent.
NOTE: You might find installing L<DBD::Pg> to be easier if you edit the
C<$PATH> before trying to install it.
In addition to the Postgresql sandbox, we create three helper scripts C<start>,
In addition to the Postgresql sandbox, we create several helper scripts C<start>,
C<stop> and C<use> which can be used to start, stop and open shell level access
to you mysql sandbox.
to you mysql sandbox. C<dump> lets you easily access pg_dump and C<config> is
a Perl library that returns a hashref of the connection info, which is suitable
to use in L<DBIx::Class> Schema connect.
These helper scripts will be located in a child directory of your C<target_dir>
(which defaults to C<share> under your project root directory). For example:
Expand All @@ -252,6 +254,8 @@ If your schema class is C<MyApp::Schema> you should see helper scripts like
/fixtures
/myapp-schema
/bin
config
dump
start
stop
use
Expand Down

0 comments on commit f7aac2f

Please sign in to comment.