[Jifty-commit] r2622 - in Jifty-DBI/branches/od: . t
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Fri Jan 26 22:32:29 EST 2007
Author: audreyt
Date: Fri Jan 26 22:32:29 2007
New Revision: 2622
Modified:
Jifty-DBI/branches/od/META.yml
Jifty-DBI/branches/od/lib/Jifty/DBI/Column.pm
Jifty-DBI/branches/od/lib/Jifty/DBI/Schema.pm
Jifty-DBI/branches/od/t/01records.t
Log:
* Remove the "until '123'" support that was never working anyway. It's now
spelled as "till '123'".
Modified: Jifty-DBI/branches/od/META.yml
==============================================================================
--- Jifty-DBI/branches/od/META.yml (original)
+++ Jifty-DBI/branches/od/META.yml Fri Jan 26 22:32:29 2007
@@ -29,7 +29,7 @@
Encode: 2.1
Exporter::Lite: 0
Lingua::EN::Inflect: 0
- Object::Declare: 0.21
+ Object::Declare: 0.22
UNIVERSAL::require: 0
perl: 5.8.3
-version: 0.39_999
+version: 0.39_9999
Modified: Jifty-DBI/branches/od/lib/Jifty/DBI/Column.pm
==============================================================================
--- Jifty-DBI/branches/od/lib/Jifty/DBI/Column.pm (original)
+++ Jifty-DBI/branches/od/lib/Jifty/DBI/Column.pm Fri Jan 26 22:32:29 2007
@@ -20,7 +20,7 @@
refers_to by
alias_for_column
aliased_as
- since until
+ since till
label hints render_as
valid_values
Modified: Jifty-DBI/branches/od/lib/Jifty/DBI/Schema.pm
==============================================================================
--- Jifty-DBI/branches/od/lib/Jifty/DBI/Schema.pm (original)
+++ Jifty-DBI/branches/od/lib/Jifty/DBI/Schema.pm Fri Jan 26 22:32:29 2007
@@ -72,20 +72,15 @@
refers_to => sub { refers_to => @_ },
refers => sub { refers_to => @_ },
},
- helpers => {
- render_as => sub ($) { render as @_ },
- since => sub ($) { since is @_ },
- 'until' => sub ($) { is->until(@_) },
- },
);
use Class::Data::Inheritable;
-our @EXPORT = qw( defer lazy column schema by render_as since until );
+our @EXPORT = qw( defer lazy column schema by render_as since till );
-sub by { @_ }
+sub by ($) { @_ }
sub render_as ($) { render as @_ }
-sub since ($) { since is @_ }
-sub until ($) { is->until(@_) }
+sub since ($) { since is @_ }
+sub till ($) { till is @_ }
our $SCHEMA;
our $SORT_ORDERS = {};
Modified: Jifty-DBI/branches/od/t/01records.t
==============================================================================
--- Jifty-DBI/branches/od/t/01records.t (original)
+++ Jifty-DBI/branches/od/t/01records.t Fri Jan 26 22:32:29 2007
@@ -278,6 +278,7 @@
use Jifty::DBI::Record schema {
column name =>
+ till 999,
type is 'varchar(14)';
column phone =>
More information about the Jifty-commit
mailing list