<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>app/models/consumer_token.rb</filename>
    </added>
    <added>
      <filename>app/views/oauth_consumers/index.html.haml</filename>
    </added>
    <added>
      <filename>app/views/oauth_consumers/show.html.haml</filename>
    </added>
    <added>
      <filename>config/initializers/oauth_consumers.rb</filename>
    </added>
    <added>
      <filename>db/migrate/20091001010106_create_oauth_consumer_tokens.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,8 @@
 class User &lt; ActiveRecord::Base
   acts_as_authentic
-  
+
+  has_one :meetup,  :class_name =&gt; &quot;MeetupToken&quot;,   :dependent =&gt; :destroy
+  has_one :twitter, :class_name =&gt; &quot;TwitterToken&quot;,  :dependent =&gt; :destroy
+
   validates_presence_of :name
 end</diff>
      <filename>app/models/user.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 # Be sure to restart your server when you modify this file
 
 # Specifies gem version of Rails to use when vendor/rails is not present
-RAILS_GEM_VERSION = '2.3.3' unless defined? RAILS_GEM_VERSION
+RAILS_GEM_VERSION = '2.3.4' unless defined? RAILS_GEM_VERSION
 
 # Bootstrap the Rails environment, frameworks, and default configuration
 require File.join(File.dirname(__FILE__), 'boot')
@@ -20,13 +20,10 @@ Rails::Initializer.run do |config|
   config.gem &quot;haml&quot;
   config.gem &quot;binarylogic-authlogic&quot;, :lib =&gt; 'authlogic', :source =&gt; 'http://gems.github.com'
   config.gem &quot;bluecloth&quot;
-  
-  # Test related gems
-  config.gem &quot;thoughtbot-shoulda&quot;, :lib =&gt; &quot;shoulda&quot;, :source =&gt; &quot;http://gems.github.com&quot;
-  config.gem &quot;thoughtbot-factory_girl&quot;, :lib =&gt; &quot;factory_girl&quot;, :source =&gt; &quot;http://gems.github.com&quot;
-  config.gem &quot;mocha&quot;
-  config.gem &quot;chrisk-fakeweb&quot;, :lib =&gt; &quot;fake_web&quot;, :source =&gt; &quot;http://gems.github.com&quot;
-  
+  config.gem &quot;oauth&quot;, :source =&gt; 'http://gems.github.com' #:version =&gt; &quot;0.3.6&quot;
+  config.gem &quot;oauth-plugin&quot;, :source =&gt; 'http://gems.github.com' #:version =&gt; &quot;0.3.12&quot;
+  config.gem 'twitter'
+
   # Deploy Related Gems
   # config.gem &quot;vlad&quot;
   # config.gem &quot;vlad-git&quot;, :lib =&gt; false</diff>
      <filename>config/environment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -25,4 +25,10 @@ config.action_mailer.delivery_method = :test
 # Use SQL instead of Active Record's schema dumper when creating the test database.
 # This is necessary if your schema can't be completely dumped by the schema dumper,
 # like if you have constraints or database-specific column types
-# config.active_record.schema_format = :sql
\ No newline at end of file
+# config.active_record.schema_format = :sql
+
+# Test related gems
+config.gem &quot;thoughtbot-shoulda&quot;, :lib =&gt; &quot;shoulda&quot;, :source =&gt; &quot;http://gems.github.com&quot;
+config.gem &quot;thoughtbot-factory_girl&quot;, :lib =&gt; &quot;factory_girl&quot;, :source =&gt; &quot;http://gems.github.com&quot;
+config.gem &quot;mocha&quot;
+config.gem &quot;chrisk-fakeweb&quot;, :lib =&gt; &quot;fake_web&quot;, :source =&gt; &quot;http://gems.github.com&quot;</diff>
      <filename>config/environments/test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,6 @@
 ActionController::Routing::Routes.draw do |map|
+  map.resources :oauth_consumers,:member=&gt;{:callback=&gt;:get}
+
   map.resources :pages
 
   map.resources :users</diff>
      <filename>config/routes.rb</filename>
    </modified>
    <modified>
      <diff>@@ -9,7 +9,18 @@
 #
 # It's strongly recommended to check this file into your version control system.
 
-ActiveRecord::Schema.define(:version =&gt; 20090909233823) do
+ActiveRecord::Schema.define(:version =&gt; 20091001010106) do
+
+  create_table &quot;consumer_tokens&quot;, :force =&gt; true do |t|
+    t.integer  &quot;user_id&quot;
+    t.string   &quot;type&quot;,       :limit =&gt; 30
+    t.string   &quot;token&quot;,      :limit =&gt; 512
+    t.string   &quot;secret&quot;
+    t.datetime &quot;created_at&quot;
+    t.datetime &quot;updated_at&quot;
+  end
+
+  add_index &quot;consumer_tokens&quot;, [&quot;token&quot;], :name =&gt; &quot;index_consumer_tokens_on_token&quot;, :unique =&gt; true
 
   create_table &quot;pages&quot;, :force =&gt; true do |t|
     t.string   &quot;title&quot;
@@ -32,16 +43,18 @@ ActiveRecord::Schema.define(:version =&gt; 20090909233823) do
     t.datetime &quot;updated_at&quot;
   end
 
+  add_index &quot;sites&quot;, [&quot;url&quot;], :name =&gt; &quot;index_sites_on_url&quot;
+
   create_table &quot;users&quot;, :force =&gt; true do |t|
     t.string   &quot;name&quot;
-    t.string   &quot;email&quot;,                              :null =&gt; false
-    t.string   &quot;crypted_password&quot;,                   :null =&gt; false
-    t.string   &quot;password_salt&quot;,                      :null =&gt; false
-    t.string   &quot;persistence_token&quot;,                  :null =&gt; false
-    t.string   &quot;single_access_token&quot;,                :null =&gt; false
-    t.string   &quot;perishable_token&quot;,                   :null =&gt; false
-    t.integer  &quot;login_count&quot;,         :default =&gt; 0, :null =&gt; false
-    t.integer  &quot;failed_login_count&quot;,  :default =&gt; 0, :null =&gt; false
+    t.string   &quot;email&quot;,                                  :null =&gt; false
+    t.string   &quot;crypted_password&quot;,                       :null =&gt; false
+    t.string   &quot;password_salt&quot;,                          :null =&gt; false
+    t.string   &quot;persistence_token&quot;,                      :null =&gt; false
+    t.string   &quot;single_access_token&quot;,                    :null =&gt; false
+    t.string   &quot;perishable_token&quot;,                       :null =&gt; false
+    t.integer  &quot;login_count&quot;,         :default =&gt; 0,     :null =&gt; false
+    t.integer  &quot;failed_login_count&quot;,  :default =&gt; 0,     :null =&gt; false
     t.datetime &quot;last_request_at&quot;
     t.datetime &quot;current_login_at&quot;
     t.datetime &quot;last_login_at&quot;
@@ -49,7 +62,12 @@ ActiveRecord::Schema.define(:version =&gt; 20090909233823) do
     t.string   &quot;last_login_ip&quot;
     t.datetime &quot;created_at&quot;
     t.datetime &quot;updated_at&quot;
-    t.boolean  &quot;admin&quot;
+    t.boolean  &quot;admin&quot;,               :default =&gt; false
   end
 
+  add_index &quot;users&quot;, [&quot;email&quot;], :name =&gt; &quot;index_users_on_email&quot;
+  add_index &quot;users&quot;, [&quot;perishable_token&quot;], :name =&gt; &quot;index_users_on_perishable_token&quot;
+  add_index &quot;users&quot;, [&quot;persistence_token&quot;], :name =&gt; &quot;index_users_on_persistence_token&quot;
+  add_index &quot;users&quot;, [&quot;single_access_token&quot;], :name =&gt; &quot;index_users_on_single_access_token&quot;
+
 end</diff>
      <filename>db/schema.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>658f191bc82feebca1f40d738e0d8a679a702a8f</id>
    </parent>
    <parent>
      <id>4ebbd6de51a7aca3fc409d31cf4917bbeb12a8eb</id>
    </parent>
  </parents>
  <author>
    <name>jdpace</name>
    <email>jared@codewordstudios.com</email>
  </author>
  <url>http://github.com/jdpace/hubbub/commit/37980d064c9ba6b5ad35c9cde0fc0eefc0125c54</url>
  <id>37980d064c9ba6b5ad35c9cde0fc0eefc0125c54</id>
  <committed-date>2009-10-08T04:45:28-07:00</committed-date>
  <authored-date>2009-10-08T04:45:28-07:00</authored-date>
  <message>Merge in Invalidusrname's change</message>
  <tree>dba02e9b96be0d363a6666af926f7684bed3f323</tree>
  <committer>
    <name>jdpace</name>
    <email>jared@codewordstudios.com</email>
  </committer>
</commit>
