Skip to content

Commit

Permalink
Bumping version to 1.65
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbiveesh committed Jan 15, 2024
1 parent 9054ffb commit cf5729d
Show file tree
Hide file tree
Showing 71 changed files with 76 additions and 71 deletions.
7 changes: 6 additions & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
Changes for SQL::Translator

FEATURES

FIXES
* support for older perls

1.64 - 2023-12-22

FEATURES
* support EXCLUDE constraints in Postgres (thansk @KES777)
* Improve enums in the PostgrSQL family (thanks @nrdvana)
* Add index length options for MySQL (thanks @abeverley)
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package SQL::Translator;
use Moo;
our ($DEFAULT_SUB, $DEBUG, $ERROR);

our $VERSION = '1.64';
our $VERSION = '1.65';
$VERSION =~ tr/_//d;
$DEBUG = 0 unless defined $DEBUG;
$ERROR = "";
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Filter/DefaultExtra.pm
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ objects.

use strict;
use warnings;
our $VERSION = '1.64';
our $VERSION = '1.65';

sub filter {
my $schema = shift;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Filter/Globals.pm
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ SQL::Translator::Filter::Globals - Add global fields and indices to all tables.

use strict;
use warnings;
our $VERSION = '1.64';
our $VERSION = '1.65';

sub filter {
my $schema = shift;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Filter/Names.pm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ SQL::Translator::Filter::Names - Tweak the names of schema objects.

use strict;
use warnings;
our $VERSION = '1.64';
our $VERSION = '1.65';

sub filter {
my $schema = shift;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package SQL::Translator::Parser;

use strict;
use warnings;
our $VERSION = '1.64';
our $VERSION = '1.65';

sub parse {""}

Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/Access.pm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ something similar to the output of mdbtools (http://mdbtools.sourceforge.net/).
use strict;
use warnings;

our $VERSION = '1.64';
our $VERSION = '1.65';

our $DEBUG;
$DEBUG = 0 unless defined $DEBUG;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/DBI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ use strict;
use warnings;
use DBI;
our @EXPORT;
our $VERSION = '1.64';
our $VERSION = '1.65';

use constant DRIVERS => {
mysql => 'MySQL',
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/DBI/DB2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use SQL::Translator::Schema::Constants;

our ($DEBUG, $VERSION, @EXPORT_OK);

# $VERSION = '1.64';
# $VERSION = '1.65';
$DEBUG = 0 unless defined $DEBUG;

sub parse {
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/DBI/MySQL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use SQL::Translator::Schema::Constants;
use SQL::Translator::Parser::MySQL;

our ($DEBUG, @EXPORT_OK);
our $VERSION = '1.64';
our $VERSION = '1.65';
$DEBUG = 0 unless defined $DEBUG;

sub parse {
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/DBI/Oracle.pm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use SQL::Translator::Schema::Table;
use SQL::Translator::Schema::Field;
use SQL::Translator::Schema::Constraint;

our $VERSION = '1.64';
our $VERSION = '1.65';

sub parse {
my ($tr, $dbh) = @_;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/DBI/PostgreSQL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ use Data::Dumper;
use SQL::Translator::Schema::Constants;

our ($DEBUG, @EXPORT_OK);
our $VERSION = '1.64';
our $VERSION = '1.65';
$DEBUG = 0 unless defined $DEBUG;

my $actions = {
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/DBI/SQLServer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use SQL::Translator::Schema;
use Data::Dumper;

our ($DEBUG, @EXPORT_OK);
our $VERSION = '1.64';
our $VERSION = '1.65';
$DEBUG = 0 unless defined $DEBUG;

no strict 'refs';
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/DBI/SQLite.pm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use SQL::Translator::Parser::SQLite;
use Data::Dumper;

our ($DEBUG, @EXPORT_OK);
our $VERSION = '1.64';
our $VERSION = '1.65';
$DEBUG = 0 unless defined $DEBUG;

sub parse {
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/DBI/Sybase.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use SQL::Translator::Schema;
use Data::Dumper;

our ($DEBUG, @EXPORT_OK);
our $VERSION = '1.64';
our $VERSION = '1.65';
$DEBUG = 0 unless defined $DEBUG;

no strict 'refs';
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/Excel.pm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use strict;
use warnings;
our ($DEBUG, @EXPORT_OK);
$DEBUG = 0 unless defined $DEBUG;
our $VERSION = '1.64';
our $VERSION = '1.65';

use Spreadsheet::ParseExcel;
use Exporter;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/JSON.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package SQL::Translator::Parser::JSON;

use strict;
use warnings;
our $VERSION = '1.64';
our $VERSION = '1.65';

use SQL::Translator::Schema;
use SQL::Translator::Utils qw(header_comment);
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/MySQL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ More information about the MySQL comment-syntax: L<http://dev.mysql.com/doc/refm
use strict;
use warnings;

our $VERSION = '1.64';
our $VERSION = '1.65';

our $DEBUG;
$DEBUG = 0 unless defined $DEBUG;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/Oracle.pm
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ was altered to better handle the syntax created by DDL::Oracle.
use strict;
use warnings;

our $VERSION = '1.64';
our $VERSION = '1.65';

our $DEBUG;
$DEBUG = 0 unless defined $DEBUG;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/PostgreSQL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ View :
use strict;
use warnings;

our $VERSION = '1.64';
our $VERSION = '1.65';

our $DEBUG;
$DEBUG = 0 unless defined $DEBUG;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/SQLServer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ should probably be considered a work in progress.
use strict;
use warnings;

our $VERSION = '1.64';
our $VERSION = '1.65';

our $DEBUG;
$DEBUG = 0 unless defined $DEBUG;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/SQLite.pm
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ like-op::=
use strict;
use warnings;

our $VERSION = '1.64';
our $VERSION = '1.65';

our $DEBUG;
$DEBUG = 0 unless defined $DEBUG;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/Storable.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ the data into a database tables or graphs.

use strict;
use warnings;
our $VERSION = '1.64';
our $VERSION = '1.65';

our $DEBUG;
$DEBUG = 0 unless defined $DEBUG;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/Sybase.pm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ DBI-Sybase parser included with SQL::Translator.
use strict;
use warnings;

our $VERSION = '1.64';
our $VERSION = '1.65';

our $DEBUG;
$DEBUG = 0 unless defined $DEBUG;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/XML.pm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Ken Y. Clark E<lt>[email protected]<gt>.
use strict;
use warnings;
our $DEBUG;
our $VERSION = '1.64';
our $VERSION = '1.65';
$DEBUG = 1 unless defined $DEBUG;

use SQL::Translator::Parser::XML::SQLFairy;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/XML/SQLFairy.pm
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ use strict;
use warnings;

our ($DEBUG, @EXPORT_OK);
our $VERSION = '1.64';
our $VERSION = '1.65';
$DEBUG = 0 unless defined $DEBUG;

use Data::Dumper;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/YAML.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package SQL::Translator::Parser::YAML;

use strict;
use warnings;
our $VERSION = '1.64';
our $VERSION = '1.65';

use SQL::Translator::Schema;
use SQL::Translator::Utils qw(header_comment);
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Parser/xSV.pm
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ C<SQL::Translator::Utils::normalize_name>.
use strict;
use warnings;
our @EXPORT;
our $VERSION = '1.64';
our $VERSION = '1.65';

use Exporter;
use Text::ParseWords qw(quotewords);
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Producer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package SQL::Translator::Producer;
use strict;
use warnings;
use Scalar::Util ();
our $VERSION = '1.64';
our $VERSION = '1.65';

sub produce {""}

Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Producer/ClassDBI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package SQL::Translator::Producer::ClassDBI;
use strict;
use warnings;
our $DEBUG;
our $VERSION = '1.64';
our $VERSION = '1.65';
$DEBUG = 1 unless defined $DEBUG;

use SQL::Translator::Schema::Constants;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Producer/DB2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use warnings;
use strict;
use warnings;
our ($DEBUG, $WARN);
our $VERSION = '1.64';
our $VERSION = '1.65';
$DEBUG = 0 unless defined $DEBUG;

use SQL::Translator::Schema::Constants;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Producer/DiaUml.pm
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ use strict;
use warnings;

our ($DEBUG, @EXPORT_OK);
our $VERSION = '1.64';
our $VERSION = '1.65';
$DEBUG = 0 unless defined $DEBUG;

use File::ShareDir qw/dist_dir/;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Producer/Diagram.pm
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ use SQL::Translator::Schema::Constants;
use SQL::Translator::Utils qw(debug);

our $DEBUG;
our $VERSION = '1.64';
our $VERSION = '1.65';
$DEBUG = 0 unless defined $DEBUG;

use constant VALID_FONT_SIZE => {
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Producer/Dumper.pm
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ use Template;

use Data::Dumper;

our $VERSION = '1.64';
our $VERSION = '1.65';

sub produce {
my $t = shift;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Producer/GraphViz.pm
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ use SQL::Translator::Utils qw(debug);
use Scalar::Util qw/openhandle/;

our $DEBUG;
our $VERSION = '1.64';
our $VERSION = '1.65';
$DEBUG = 0 unless defined $DEBUG;

sub produce {
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Producer/HTML.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use strict;
use warnings;
use Data::Dumper;

our $VERSION = '1.64';
our $VERSION = '1.65';
our $NAME = __PACKAGE__;
our $NOWRAP = 0 unless defined $NOWRAP;
our $NOLINKTABLE = 0 unless defined $NOLINKTABLE;
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Producer/JSON.pm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This module serializes a schema to a JSON string.

use strict;
use warnings;
our $VERSION = '1.64';
our $VERSION = '1.65';

use JSON::MaybeXS 'to_json';

Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Producer/Latex.pm
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ use strict;
use warnings;

our @EXPORT_OK;
our $VERSION = '1.64';
our $VERSION = '1.65';

use SQL::Translator::Utils 'debug';

Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Producer/MySQL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Set the fields character set and collation order.
use strict;
use warnings;
our ($DEBUG, %used_names);
our $VERSION = '1.64';
our $VERSION = '1.65';
$DEBUG = 0 unless defined $DEBUG;

# Maximum length for most identifiers is 64, according to:
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Producer/Oracle.pm
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ context the slash will be still there to ensure compatibility with SQLPlus.
use strict;
use warnings;
our ($DEBUG, $WARN);
our $VERSION = '1.64';
our $VERSION = '1.65';
$DEBUG = 0 unless defined $DEBUG;

use base 'SQL::Translator::Producer';
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Producer/POD.pm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interesting formats using Pod::POM or Template::Toolkit's POD plugin.

use strict;
use warnings;
our $VERSION = '1.64';
our $VERSION = '1.65';

use SQL::Translator::Schema::Constants;
use SQL::Translator::Utils qw(header_comment);
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Producer/PostgreSQL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Fields for use with PostGIS types.
use strict;
use warnings;
our ($DEBUG, $WARN);
our $VERSION = '1.64';
our $VERSION = '1.65';
$DEBUG = 0 unless defined $DEBUG;

use base qw(SQL::Translator::Producer);
Expand Down
2 changes: 1 addition & 1 deletion lib/SQL/Translator/Producer/SQLServer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package SQL::Translator::Producer::SQLServer;
use strict;
use warnings;
our ($DEBUG, $WARN);
our $VERSION = '1.64';
our $VERSION = '1.65';
$DEBUG = 1 unless defined $DEBUG;

use SQL::Translator::Schema::Constants;
Expand Down
Loading

0 comments on commit cf5729d

Please sign in to comment.