Changeset 112

Show
Ignore:
Timestamp:
06/13/08 22:55:12 (5 months ago)
Author:
jweiss
Message:

Rails 2.1 updates

Location:
trunk
Files:
1 added
5 modified

Legend:

Unmodified
Added
Removed
  • trunk/config/boot.rb

    r72 r112  
    2525    end 
    2626 
    27     # FIXME : Ruby 1.9 
    2827    def preinitialize 
    29       load(preinitializer_path) if File.exists?(preinitializer_path) 
     28      load(preinitializer_path) if File.exist?(preinitializer_path) 
    3029    end 
    3130 
     
    4544    def load_initializer 
    4645      require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer" 
     46      Rails::Initializer.run(:install_gem_spec_stubs) 
    4747    end 
    4848  end 
  • trunk/db/schema.rb

    r89 r112  
    11# This file is auto-generated from the current state of the database. Instead of editing this file,  
    2 # please use the migrations feature of ActiveRecord to incrementally modify your database, and 
     2# please use the migrations feature of Active Record to incrementally modify your database, and 
    33# then regenerate this schema definition. 
    44# 
     
    1515    t.string   "name" 
    1616    t.string   "value" 
    17     t.integer  "project_id" 
    18     t.integer  "stage_id" 
     17    t.integer  "project_id",       :limit => 11 
     18    t.integer  "stage_id",         :limit => 11 
    1919    t.string   "type" 
    2020    t.datetime "created_at" 
    2121    t.datetime "updated_at" 
    22     t.integer  "prompt_on_deploy", :default => 0 
     22    t.integer  "prompt_on_deploy", :limit => 11, :default => 0 
    2323  end 
    2424 
     
    2626    t.string   "task" 
    2727    t.text     "log" 
    28     t.integer  "success",           :default => 0 
    29     t.integer  "stage_id" 
     28    t.integer  "success",           :limit => 11, :default => 0 
     29    t.integer  "stage_id",          :limit => 11 
    3030    t.datetime "created_at" 
    3131    t.datetime "updated_at" 
    3232    t.datetime "completed_at" 
    3333    t.text     "description" 
    34     t.integer  "user_id" 
     34    t.integer  "user_id",           :limit => 11 
    3535    t.string   "excluded_host_ids" 
    3636  end 
    3737 
    3838  create_table "deployments_roles", :id => false, :force => true do |t| 
    39     t.integer "deployment_id" 
    40     t.integer "role_id" 
     39    t.integer "deployment_id", :limit => 11 
     40    t.integer "role_id",       :limit => 11 
    4141  end 
    4242 
     
    6767 
    6868  create_table "recipes_stages", :id => false, :force => true do |t| 
    69     t.integer "recipe_id" 
    70     t.integer "stage_id" 
     69    t.integer "recipe_id", :limit => 11 
     70    t.integer "stage_id",  :limit => 11 
    7171  end 
    7272 
    7373  create_table "roles", :force => true do |t| 
    7474    t.string   "name" 
    75     t.integer  "stage_id" 
    76     t.integer  "host_id" 
    77     t.integer  "primary",    :default => 0 
     75    t.integer  "stage_id",   :limit => 11 
     76    t.integer  "host_id",    :limit => 11 
     77    t.integer  "primary",    :limit => 11, :default => 0 
    7878    t.datetime "created_at" 
    7979    t.datetime "updated_at" 
    80     t.integer  "no_release", :default => 0 
    81     t.integer  "ssh_port" 
    82     t.integer  "no_symlink", :default => 0 
     80    t.integer  "no_release", :limit => 11, :default => 0 
     81    t.integer  "ssh_port",   :limit => 11 
     82    t.integer  "no_symlink", :limit => 11, :default => 0 
    8383  end 
    8484 
     
    8888  create_table "stages", :force => true do |t| 
    8989    t.string   "name" 
    90     t.integer  "project_id" 
     90    t.integer  "project_id",   :limit => 11 
    9191    t.datetime "created_at" 
    9292    t.datetime "updated_at" 
     
    103103    t.string   "remember_token" 
    104104    t.datetime "remember_token_expires_at" 
    105     t.integer  "admin",                                   :default => 0 
     105    t.integer  "admin",                     :limit => 11, :default => 0 
    106106    t.string   "time_zone",                               :default => "UTC" 
    107107  end 
  • trunk/public/javascripts/controls.js

    r67 r112  
    1 // Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) 
     1// Copyright (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) 
    22//           (c) 2005-2007 Ivan Krstic (http://blogs.law.harvard.edu/ivan) 
    33//           (c) 2005-2007 Jon Tirsen (http://www.tirsen.com) 
  • trunk/public/javascripts/dragdrop.js

    r67 r112  
    1 // Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) 
     1// Copyright (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) 
    22//           (c) 2005-2007 Sammi Williams (http://www.oriontransfer.co.nz, sammi@oriontransfer.co.nz) 
    33//  
  • trunk/public/javascripts/effects.js

    r67 r112  
    1 // Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) 
     1// Copyright (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) 
    22// Contributors: 
    33//  Justin Palmer (http://encytemedia.com/)