muck-shares 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +3 -27
 - data/VERSION +1 -1
 - data/muck-shares.gemspec +5 -3
 - metadata +2 -3
 - data/test/rails_root/db/schema.rb +0 -186
 
    
        data/Rakefile
    CHANGED
    
    | 
         @@ -59,33 +59,9 @@ begin 
     | 
|
| 
       59 
59 
     | 
    
         
             
                gemspec.add_dependency "muck-activities"
         
     | 
| 
       60 
60 
     | 
    
         
             
                gemspec.add_dependency "muck-comments"
         
     | 
| 
       61 
61 
     | 
    
         
             
              end
         
     | 
| 
      
 62 
     | 
    
         
            +
              Jeweler::RubyforgeTasks.new do |rubyforge|
         
     | 
| 
      
 63 
     | 
    
         
            +
                rubyforge.doc_task = "rdoc"
         
     | 
| 
      
 64 
     | 
    
         
            +
              end
         
     | 
| 
       62 
65 
     | 
    
         
             
            rescue LoadError
         
     | 
| 
       63 
66 
     | 
    
         
             
              puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
         
     | 
| 
       64 
67 
     | 
    
         
             
            end
         
     | 
| 
       65 
     | 
    
         
            -
             
     | 
| 
       66 
     | 
    
         
            -
            # rubyforge tasks
         
     | 
| 
       67 
     | 
    
         
            -
            begin
         
     | 
| 
       68 
     | 
    
         
            -
              require 'rake/contrib/sshpublisher'
         
     | 
| 
       69 
     | 
    
         
            -
              namespace :rubyforge do
         
     | 
| 
       70 
     | 
    
         
            -
             
     | 
| 
       71 
     | 
    
         
            -
                desc "Release gem and RDoc documentation to RubyForge"
         
     | 
| 
       72 
     | 
    
         
            -
                task :release => ["rubyforge:release:gem", "rubyforge:release:docs"]
         
     | 
| 
       73 
     | 
    
         
            -
             
     | 
| 
       74 
     | 
    
         
            -
                namespace :release do
         
     | 
| 
       75 
     | 
    
         
            -
                  desc "Publish RDoc to RubyForge."
         
     | 
| 
       76 
     | 
    
         
            -
                  task :docs => [:rdoc] do
         
     | 
| 
       77 
     | 
    
         
            -
                    config = YAML.load(
         
     | 
| 
       78 
     | 
    
         
            -
                        File.read(File.expand_path('~/.rubyforge/user-config.yml'))
         
     | 
| 
       79 
     | 
    
         
            -
                    )
         
     | 
| 
       80 
     | 
    
         
            -
             
     | 
| 
       81 
     | 
    
         
            -
                    host = "#{config['username']}@rubyforge.org"
         
     | 
| 
       82 
     | 
    
         
            -
                    remote_dir = "/var/www/gforge-projects/muck-shares/"
         
     | 
| 
       83 
     | 
    
         
            -
                    local_dir = 'rdoc'
         
     | 
| 
       84 
     | 
    
         
            -
             
     | 
| 
       85 
     | 
    
         
            -
                    Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
         
     | 
| 
       86 
     | 
    
         
            -
                  end
         
     | 
| 
       87 
     | 
    
         
            -
                end
         
     | 
| 
       88 
     | 
    
         
            -
              end
         
     | 
| 
       89 
     | 
    
         
            -
            rescue LoadError
         
     | 
| 
       90 
     | 
    
         
            -
              puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
         
     | 
| 
       91 
     | 
    
         
            -
            end
         
     | 
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            0.1. 
     | 
| 
      
 1 
     | 
    
         
            +
            0.1.2
         
     | 
    
        data/muck-shares.gemspec
    CHANGED
    
    | 
         @@ -1,12 +1,15 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Generated by jeweler
         
     | 
| 
      
 2 
     | 
    
         
            +
            # DO NOT EDIT THIS FILE
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
         
     | 
| 
       1 
4 
     | 
    
         
             
            # -*- encoding: utf-8 -*-
         
     | 
| 
       2 
5 
     | 
    
         | 
| 
       3 
6 
     | 
    
         
             
            Gem::Specification.new do |s|
         
     | 
| 
       4 
7 
     | 
    
         
             
              s.name = %q{muck-shares}
         
     | 
| 
       5 
     | 
    
         
            -
              s.version = "0.1. 
     | 
| 
      
 8 
     | 
    
         
            +
              s.version = "0.1.2"
         
     | 
| 
       6 
9 
     | 
    
         | 
| 
       7 
10 
     | 
    
         
             
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         
     | 
| 
       8 
11 
     | 
    
         
             
              s.authors = ["Justin Ball"]
         
     | 
| 
       9 
     | 
    
         
            -
              s.date = %q{2009-08- 
     | 
| 
      
 12 
     | 
    
         
            +
              s.date = %q{2009-08-12}
         
     | 
| 
       10 
13 
     | 
    
         
             
              s.description = %q{The share engine for the muck system.}
         
     | 
| 
       11 
14 
     | 
    
         
             
              s.email = %q{justinball@gmail.com}
         
     | 
| 
       12 
15 
     | 
    
         
             
              s.extra_rdoc_files = [
         
     | 
| 
         @@ -331,7 +334,6 @@ Gem::Specification.new do |s| 
     | 
|
| 
       331 
334 
     | 
    
         
             
                 "test/rails_root/db/migrate/20090803185323_create_shares.rb",
         
     | 
| 
       332 
335 
     | 
    
         
             
                 "test/rails_root/db/migrate/20090804184247_add_comment_count_to_shares.rb",
         
     | 
| 
       333 
336 
     | 
    
         
             
                 "test/rails_root/db/migrate/20090804231857_add_shares_uri_index.rb",
         
     | 
| 
       334 
     | 
    
         
            -
                 "test/rails_root/db/schema.rb",
         
     | 
| 
       335 
337 
     | 
    
         
             
                 "test/rails_root/features/step_definitions/common_steps.rb",
         
     | 
| 
       336 
338 
     | 
    
         
             
                 "test/rails_root/features/step_definitions/share_steps.rb",
         
     | 
| 
       337 
339 
     | 
    
         
             
                 "test/rails_root/features/step_definitions/webrat_steps.rb",
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: muck-shares
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.1.2
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors: 
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Justin Ball
         
     | 
| 
         @@ -9,7 +9,7 @@ autorequire: 
     | 
|
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
     | 
    
         
            -
            date: 2009-08- 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2009-08-12 00:00:00 -06:00
         
     | 
| 
       13 
13 
     | 
    
         
             
            default_executable: 
         
     | 
| 
       14 
14 
     | 
    
         
             
            dependencies: 
         
     | 
| 
       15 
15 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
         @@ -397,7 +397,6 @@ test_files: 
     | 
|
| 
       397 
397 
     | 
    
         
             
            - test/rails_root/db/migrate/20090803185323_create_shares.rb
         
     | 
| 
       398 
398 
     | 
    
         
             
            - test/rails_root/db/migrate/20090804184247_add_comment_count_to_shares.rb
         
     | 
| 
       399 
399 
     | 
    
         
             
            - test/rails_root/db/migrate/20090804231857_add_shares_uri_index.rb
         
     | 
| 
       400 
     | 
    
         
            -
            - test/rails_root/db/schema.rb
         
     | 
| 
       401 
400 
     | 
    
         
             
            - test/rails_root/features/step_definitions/common_steps.rb
         
     | 
| 
       402 
401 
     | 
    
         
             
            - test/rails_root/features/step_definitions/share_steps.rb
         
     | 
| 
       403 
402 
     | 
    
         
             
            - test/rails_root/features/step_definitions/webrat_steps.rb
         
     | 
| 
         @@ -1,186 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            # This file is auto-generated from the current state of the database. Instead of editing this file, 
         
     | 
| 
       2 
     | 
    
         
            -
            # please use the migrations feature of Active Record to incrementally modify your database, and
         
     | 
| 
       3 
     | 
    
         
            -
            # then regenerate this schema definition.
         
     | 
| 
       4 
     | 
    
         
            -
            #
         
     | 
| 
       5 
     | 
    
         
            -
            # Note that this schema.rb definition is the authoritative source for your database schema. If you need
         
     | 
| 
       6 
     | 
    
         
            -
            # to create the application database on another system, you should be using db:schema:load, not running
         
     | 
| 
       7 
     | 
    
         
            -
            # all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
         
     | 
| 
       8 
     | 
    
         
            -
            # you'll amass, the slower it'll run and the greater likelihood for issues).
         
     | 
| 
       9 
     | 
    
         
            -
            #
         
     | 
| 
       10 
     | 
    
         
            -
            # It's strongly recommended to check this file into your version control system.
         
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
            ActiveRecord::Schema.define(:version => 20090804211240) do
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
              create_table "activities", :force => true do |t|
         
     | 
| 
       15 
     | 
    
         
            -
                t.integer  "item_id"
         
     | 
| 
       16 
     | 
    
         
            -
                t.string   "item_type"
         
     | 
| 
       17 
     | 
    
         
            -
                t.string   "template"
         
     | 
| 
       18 
     | 
    
         
            -
                t.integer  "source_id"
         
     | 
| 
       19 
     | 
    
         
            -
                t.string   "source_type"
         
     | 
| 
       20 
     | 
    
         
            -
                t.text     "content"
         
     | 
| 
       21 
     | 
    
         
            -
                t.string   "title"
         
     | 
| 
       22 
     | 
    
         
            -
                t.boolean  "is_status_update", :default => false
         
     | 
| 
       23 
     | 
    
         
            -
                t.boolean  "is_public",        :default => true
         
     | 
| 
       24 
     | 
    
         
            -
                t.datetime "created_at"
         
     | 
| 
       25 
     | 
    
         
            -
                t.datetime "updated_at"
         
     | 
| 
       26 
     | 
    
         
            -
              end
         
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
              add_index "activities", ["item_id", "item_type"], :name => "index_activities_on_item_id_and_item_type"
         
     | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
       30 
     | 
    
         
            -
              create_table "activity_feeds", :force => true do |t|
         
     | 
| 
       31 
     | 
    
         
            -
                t.integer "activity_id"
         
     | 
| 
       32 
     | 
    
         
            -
                t.integer "ownable_id"
         
     | 
| 
       33 
     | 
    
         
            -
                t.string  "ownable_type"
         
     | 
| 
       34 
     | 
    
         
            -
              end
         
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
              add_index "activity_feeds", ["activity_id"], :name => "index_activity_feeds_on_activity_id"
         
     | 
| 
       37 
     | 
    
         
            -
              add_index "activity_feeds", ["ownable_id", "ownable_type"], :name => "index_activity_feeds_on_ownable_id_and_ownable_type"
         
     | 
| 
       38 
     | 
    
         
            -
             
     | 
| 
       39 
     | 
    
         
            -
              create_table "comments", :force => true do |t|
         
     | 
| 
       40 
     | 
    
         
            -
                t.integer  "commentable_id",                 :default => 0
         
     | 
| 
       41 
     | 
    
         
            -
                t.string   "commentable_type", :limit => 15, :default => ""
         
     | 
| 
       42 
     | 
    
         
            -
                t.text     "body"
         
     | 
| 
       43 
     | 
    
         
            -
                t.integer  "user_id"
         
     | 
| 
       44 
     | 
    
         
            -
                t.integer  "parent_id"
         
     | 
| 
       45 
     | 
    
         
            -
                t.integer  "lft"
         
     | 
| 
       46 
     | 
    
         
            -
                t.integer  "rgt"
         
     | 
| 
       47 
     | 
    
         
            -
                t.integer  "is_denied",                      :default => 0,     :null => false
         
     | 
| 
       48 
     | 
    
         
            -
                t.boolean  "is_reviewed",                    :default => false
         
     | 
| 
       49 
     | 
    
         
            -
                t.datetime "created_at"
         
     | 
| 
       50 
     | 
    
         
            -
                t.datetime "updated_at"
         
     | 
| 
       51 
     | 
    
         
            -
              end
         
     | 
| 
       52 
     | 
    
         
            -
             
     | 
| 
       53 
     | 
    
         
            -
              add_index "comments", ["commentable_id", "commentable_type"], :name => "index_comments_on_commentable_id_and_commentable_type"
         
     | 
| 
       54 
     | 
    
         
            -
              add_index "comments", ["user_id"], :name => "index_comments_on_user_id"
         
     | 
| 
       55 
     | 
    
         
            -
             
     | 
| 
       56 
     | 
    
         
            -
              create_table "countries", :force => true do |t|
         
     | 
| 
       57 
     | 
    
         
            -
                t.string  "name",         :limit => 128, :default => "",   :null => false
         
     | 
| 
       58 
     | 
    
         
            -
                t.string  "abbreviation", :limit => 3,   :default => "",   :null => false
         
     | 
| 
       59 
     | 
    
         
            -
                t.integer "sort",                        :default => 1000, :null => false
         
     | 
| 
       60 
     | 
    
         
            -
              end
         
     | 
| 
       61 
     | 
    
         
            -
             
     | 
| 
       62 
     | 
    
         
            -
              add_index "countries", ["abbreviation"], :name => "index_countries_on_abbreviation"
         
     | 
| 
       63 
     | 
    
         
            -
              add_index "countries", ["name"], :name => "index_countries_on_name"
         
     | 
| 
       64 
     | 
    
         
            -
             
     | 
| 
       65 
     | 
    
         
            -
              create_table "friends", :force => true do |t|
         
     | 
| 
       66 
     | 
    
         
            -
                t.integer  "inviter_id"
         
     | 
| 
       67 
     | 
    
         
            -
                t.integer  "invited_id"
         
     | 
| 
       68 
     | 
    
         
            -
                t.integer  "status",     :default => 0
         
     | 
| 
       69 
     | 
    
         
            -
                t.datetime "created_at"
         
     | 
| 
       70 
     | 
    
         
            -
                t.datetime "updated_at"
         
     | 
| 
       71 
     | 
    
         
            -
              end
         
     | 
| 
       72 
     | 
    
         
            -
             
     | 
| 
       73 
     | 
    
         
            -
              add_index "friends", ["invited_id", "inviter_id"], :name => "index_friends_on_invited_id_and_inviter_id"
         
     | 
| 
       74 
     | 
    
         
            -
              add_index "friends", ["inviter_id", "invited_id"], :name => "index_friends_on_inviter_id_and_invited_id"
         
     | 
| 
       75 
     | 
    
         
            -
             
     | 
| 
       76 
     | 
    
         
            -
              create_table "languages", :force => true do |t|
         
     | 
| 
       77 
     | 
    
         
            -
                t.string  "name"
         
     | 
| 
       78 
     | 
    
         
            -
                t.string  "english_name"
         
     | 
| 
       79 
     | 
    
         
            -
                t.string  "locale"
         
     | 
| 
       80 
     | 
    
         
            -
                t.boolean "supported",    :default => true
         
     | 
| 
       81 
     | 
    
         
            -
                t.integer "is_default",   :default => 0
         
     | 
| 
       82 
     | 
    
         
            -
              end
         
     | 
| 
       83 
     | 
    
         
            -
             
     | 
| 
       84 
     | 
    
         
            -
              add_index "languages", ["locale"], :name => "index_languages_on_locale"
         
     | 
| 
       85 
     | 
    
         
            -
              add_index "languages", ["name"], :name => "index_languages_on_name"
         
     | 
| 
       86 
     | 
    
         
            -
             
     | 
| 
       87 
     | 
    
         
            -
              create_table "permissions", :force => true do |t|
         
     | 
| 
       88 
     | 
    
         
            -
                t.integer  "role_id",    :null => false
         
     | 
| 
       89 
     | 
    
         
            -
                t.integer  "user_id",    :null => false
         
     | 
| 
       90 
     | 
    
         
            -
                t.datetime "created_at"
         
     | 
| 
       91 
     | 
    
         
            -
                t.datetime "updated_at"
         
     | 
| 
       92 
     | 
    
         
            -
              end
         
     | 
| 
       93 
     | 
    
         
            -
             
     | 
| 
       94 
     | 
    
         
            -
              create_table "roles", :force => true do |t|
         
     | 
| 
       95 
     | 
    
         
            -
                t.string   "rolename"
         
     | 
| 
       96 
     | 
    
         
            -
                t.datetime "created_at"
         
     | 
| 
       97 
     | 
    
         
            -
                t.datetime "updated_at"
         
     | 
| 
       98 
     | 
    
         
            -
              end
         
     | 
| 
       99 
     | 
    
         
            -
             
     | 
| 
       100 
     | 
    
         
            -
              create_table "shares", :force => true do |t|
         
     | 
| 
       101 
     | 
    
         
            -
                t.string   "uri",           :limit => 2083, :default => "", :null => false
         
     | 
| 
       102 
     | 
    
         
            -
                t.string   "title"
         
     | 
| 
       103 
     | 
    
         
            -
                t.text     "message"
         
     | 
| 
       104 
     | 
    
         
            -
                t.integer  "shared_by_id",                                  :null => false
         
     | 
| 
       105 
     | 
    
         
            -
                t.integer  "shared_to_id"
         
     | 
| 
       106 
     | 
    
         
            -
                t.datetime "created_at"
         
     | 
| 
       107 
     | 
    
         
            -
                t.datetime "updated_at"
         
     | 
| 
       108 
     | 
    
         
            -
                t.integer  "comment_count",                 :default => 0
         
     | 
| 
       109 
     | 
    
         
            -
                t.integer  "resource_id"
         
     | 
| 
       110 
     | 
    
         
            -
              end
         
     | 
| 
       111 
     | 
    
         
            -
             
     | 
| 
       112 
     | 
    
         
            -
              add_index "shares", ["shared_by_id"], :name => "index_shares_on_shared_by_id"
         
     | 
| 
       113 
     | 
    
         
            -
              add_index "shares", ["shared_to_id"], :name => "index_shares_on_shared_to_id"
         
     | 
| 
       114 
     | 
    
         
            -
             
     | 
| 
       115 
     | 
    
         
            -
              create_table "slugs", :force => true do |t|
         
     | 
| 
       116 
     | 
    
         
            -
                t.string   "name"
         
     | 
| 
       117 
     | 
    
         
            -
                t.integer  "sluggable_id"
         
     | 
| 
       118 
     | 
    
         
            -
                t.integer  "sequence",                     :default => 1, :null => false
         
     | 
| 
       119 
     | 
    
         
            -
                t.string   "sluggable_type", :limit => 40
         
     | 
| 
       120 
     | 
    
         
            -
                t.string   "scope",          :limit => 40
         
     | 
| 
       121 
     | 
    
         
            -
                t.datetime "created_at"
         
     | 
| 
       122 
     | 
    
         
            -
              end
         
     | 
| 
       123 
     | 
    
         
            -
             
     | 
| 
       124 
     | 
    
         
            -
              add_index "slugs", ["name", "sluggable_type", "scope", "sequence"], :name => "index_slugs_on_name_and_sluggable_type_and_scope_and_sequence", :unique => true
         
     | 
| 
       125 
     | 
    
         
            -
              add_index "slugs", ["sluggable_id"], :name => "index_slugs_on_sluggable_id"
         
     | 
| 
       126 
     | 
    
         
            -
             
     | 
| 
       127 
     | 
    
         
            -
              create_table "states", :force => true do |t|
         
     | 
| 
       128 
     | 
    
         
            -
                t.string  "name",         :limit => 128, :default => "", :null => false
         
     | 
| 
       129 
     | 
    
         
            -
                t.string  "abbreviation", :limit => 3,   :default => "", :null => false
         
     | 
| 
       130 
     | 
    
         
            -
                t.integer "country_id",   :limit => 8,                   :null => false
         
     | 
| 
       131 
     | 
    
         
            -
              end
         
     | 
| 
       132 
     | 
    
         
            -
             
     | 
| 
       133 
     | 
    
         
            -
              add_index "states", ["abbreviation"], :name => "index_states_on_abbreviation"
         
     | 
| 
       134 
     | 
    
         
            -
              add_index "states", ["country_id"], :name => "index_states_on_country_id"
         
     | 
| 
       135 
     | 
    
         
            -
              add_index "states", ["name"], :name => "index_states_on_name"
         
     | 
| 
       136 
     | 
    
         
            -
             
     | 
| 
       137 
     | 
    
         
            -
              create_table "taggings", :force => true do |t|
         
     | 
| 
       138 
     | 
    
         
            -
                t.integer  "tag_id"
         
     | 
| 
       139 
     | 
    
         
            -
                t.integer  "taggable_id"
         
     | 
| 
       140 
     | 
    
         
            -
                t.integer  "tagger_id"
         
     | 
| 
       141 
     | 
    
         
            -
                t.string   "tagger_type"
         
     | 
| 
       142 
     | 
    
         
            -
                t.string   "taggable_type"
         
     | 
| 
       143 
     | 
    
         
            -
                t.string   "context"
         
     | 
| 
       144 
     | 
    
         
            -
                t.datetime "created_at"
         
     | 
| 
       145 
     | 
    
         
            -
              end
         
     | 
| 
       146 
     | 
    
         
            -
             
     | 
| 
       147 
     | 
    
         
            -
              add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id"
         
     | 
| 
       148 
     | 
    
         
            -
              add_index "taggings", ["taggable_id", "taggable_type", "context"], :name => "index_taggings_on_taggable_id_and_taggable_type_and_context"
         
     | 
| 
       149 
     | 
    
         
            -
             
     | 
| 
       150 
     | 
    
         
            -
              create_table "tags", :force => true do |t|
         
     | 
| 
       151 
     | 
    
         
            -
                t.string "name"
         
     | 
| 
       152 
     | 
    
         
            -
              end
         
     | 
| 
       153 
     | 
    
         
            -
             
     | 
| 
       154 
     | 
    
         
            -
              create_table "users", :force => true do |t|
         
     | 
| 
       155 
     | 
    
         
            -
                t.string   "login"
         
     | 
| 
       156 
     | 
    
         
            -
                t.string   "email"
         
     | 
| 
       157 
     | 
    
         
            -
                t.string   "first_name"
         
     | 
| 
       158 
     | 
    
         
            -
                t.string   "last_name"
         
     | 
| 
       159 
     | 
    
         
            -
                t.string   "crypted_password"
         
     | 
| 
       160 
     | 
    
         
            -
                t.string   "password_salt"
         
     | 
| 
       161 
     | 
    
         
            -
                t.string   "persistence_token"
         
     | 
| 
       162 
     | 
    
         
            -
                t.string   "single_access_token"
         
     | 
| 
       163 
     | 
    
         
            -
                t.string   "perishable_token"
         
     | 
| 
       164 
     | 
    
         
            -
                t.integer  "login_count",         :default => 0,     :null => false
         
     | 
| 
       165 
     | 
    
         
            -
                t.integer  "failed_login_count",  :default => 0,     :null => false
         
     | 
| 
       166 
     | 
    
         
            -
                t.datetime "last_request_at"
         
     | 
| 
       167 
     | 
    
         
            -
                t.datetime "last_login_at"
         
     | 
| 
       168 
     | 
    
         
            -
                t.datetime "current_login_at"
         
     | 
| 
       169 
     | 
    
         
            -
                t.string   "current_login_ip"
         
     | 
| 
       170 
     | 
    
         
            -
                t.string   "last_login_ip"
         
     | 
| 
       171 
     | 
    
         
            -
                t.boolean  "terms_of_service",    :default => false, :null => false
         
     | 
| 
       172 
     | 
    
         
            -
                t.string   "time_zone",           :default => "UTC"
         
     | 
| 
       173 
     | 
    
         
            -
                t.datetime "disabled_at"
         
     | 
| 
       174 
     | 
    
         
            -
                t.datetime "activated_at"
         
     | 
| 
       175 
     | 
    
         
            -
                t.datetime "created_at"
         
     | 
| 
       176 
     | 
    
         
            -
                t.datetime "updated_at"
         
     | 
| 
       177 
     | 
    
         
            -
              end
         
     | 
| 
       178 
     | 
    
         
            -
             
     | 
| 
       179 
     | 
    
         
            -
              add_index "users", ["email"], :name => "index_users_on_email"
         
     | 
| 
       180 
     | 
    
         
            -
              add_index "users", ["last_request_at"], :name => "index_users_on_last_request_at"
         
     | 
| 
       181 
     | 
    
         
            -
              add_index "users", ["login"], :name => "index_users_on_login"
         
     | 
| 
       182 
     | 
    
         
            -
              add_index "users", ["perishable_token"], :name => "index_users_on_perishable_token"
         
     | 
| 
       183 
     | 
    
         
            -
              add_index "users", ["persistence_token"], :name => "index_users_on_persistence_token"
         
     | 
| 
       184 
     | 
    
         
            -
              add_index "users", ["single_access_token"], :name => "index_users_on_single_access_token"
         
     | 
| 
       185 
     | 
    
         
            -
             
     | 
| 
       186 
     | 
    
         
            -
            end
         
     |