diff options
author | franck cuny <franck@lumberjaph.net> | 2011-02-13 17:29:39 +0100 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2011-02-13 17:29:39 +0100 |
commit | 7e7c0819104cbd20f9c8f97a0b05e5dc9e835150 (patch) | |
tree | 1f0ae814fd244f768ebbca8327838706d69828e9 | |
parent | Merge branch 'devel' (diff) | |
download | jitterbug-7e7c0819104cbd20f9c8f97a0b05e5dc9e835150.tar.gz |
use YAML instead of YAML::Syck
Diffstat (limited to '')
-rw-r--r-- | eg/post_hook.t | 2 | ||||
-rwxr-xr-x | scripts/upgrade_db.pl | 17 |
2 files changed, 2 insertions, 17 deletions
diff --git a/eg/post_hook.t b/eg/post_hook.t index f0d766e..3715abc 100644 --- a/eg/post_hook.t +++ b/eg/post_hook.t @@ -3,7 +3,7 @@ use warnings; use 5.010; use LWP::UserAgent; use HTTP::Request::Common; -use YAML::Syck; +use YAML qw/LoadFile/; use JSON; my $content = LoadFile('t/data/test.yaml'); diff --git a/scripts/upgrade_db.pl b/scripts/upgrade_db.pl index 00f6306..629ef25 100755 --- a/scripts/upgrade_db.pl +++ b/scripts/upgrade_db.pl @@ -4,7 +4,7 @@ use warnings; use lib 'lib'; -use YAML::Syck; +use YAML qw/LoadFile/; use DBIx::Class::DeploymentHandler; use SQL::Translator; @@ -52,19 +52,4 @@ if ( $version > 1 ) { ); } -# print "generating graph\n"; - -# my $trans = SQL::Translator->new( -# parser => 'SQL::Translator::Parser::DBIx::Class', -# parser_args => { package => $schema }, -# producer_args => { -# show_constraints => 1, -# show_datatypes => 1, -# show_sizes => 1, -# show_fk_only => 0, -# } -# ); - -# $trans->translate; - print "done\n"; |