[Bps-public-commit] jifty-plugin-authentication-twitter branch, master, updated. 7ad7839d148583454f9d2abc2c811dddf41cd23a

Shawn Moore sartak at bestpractical.com
Thu Jun 3 02:56:30 EDT 2010


The branch, master has been updated
       via  7ad7839d148583454f9d2abc2c811dddf41cd23a (commit)
      from  766ae85c7146568d226109ecbcd23bbfd5d77ace (commit)

Summary of changes:
 .../Authentication/Twitter/Mixin/Model/User.pm     |   21 ++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 lib/Jifty/Plugin/Authentication/Twitter/Mixin/Model/User.pm

- Log -----------------------------------------------------------------
commit 7ad7839d148583454f9d2abc2c811dddf41cd23a
Author: Shawn M Moore <sartak at gmail.com>
Date:   Thu Jun 3 02:57:14 2010 -0400

    Add Twitter user model mixin

diff --git a/lib/Jifty/Plugin/Authentication/Twitter/Mixin/Model/User.pm b/lib/Jifty/Plugin/Authentication/Twitter/Mixin/Model/User.pm
new file mode 100644
index 0000000..09caf3c
--- /dev/null
+++ b/lib/Jifty/Plugin/Authentication/Twitter/Mixin/Model/User.pm
@@ -0,0 +1,21 @@
+use strict;
+use warnings;
+
+package Jifty::Plugin::Authentication::Twitter::Mixin::Model::User;
+use Jifty::DBI::Schema;
+use base 'Jifty::DBI::Record::Plugin';
+
+=head1 NAME
+
+Jifty::Plugin::Authentication::Twitter::Mixin::Model::User - mix twitter into a user model
+
+=cut
+
+use Jifty::Plugin::Authentication::Twitter::Record schema {
+    column twitter_name =>
+        type is 'text',
+        is distinct;
+};
+
+1;
+

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list