mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Moved to new server
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -73,12 +73,12 @@ end
|
||||
|
||||
desc "Publish the API documentation"
|
||||
task :pgem => [:package] do
|
||||
Rake::SshFilePublisher.new("davidhh@comox.textdrive.com", "public_html/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
|
||||
Rake::SshFilePublisher.new("davidhh@wrath.rubyonrails.com", "public_html/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
|
||||
end
|
||||
|
||||
desc "Publish the API documentation"
|
||||
task :pdoc => [:rdoc] do
|
||||
Rake::SshDirPublisher.new("davidhh@comox.textdrive.com", "public_html/am", "doc").upload
|
||||
Rake::SshDirPublisher.new("davidhh@wrath.rubyonrails.com", "public_html/am", "doc").upload
|
||||
end
|
||||
|
||||
desc "Publish the release files to RubyForge."
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
*SVN*
|
||||
|
||||
* Fixed autolinking to work better in more cases #1013 [Jamis Buck]
|
||||
|
||||
* Added the possible of using symbols in form helpers that relate to instance variables like text_field :account, :name in addition to text_field "account", "name"'
|
||||
|
||||
* Fixed javascript_include_tag to output type instead of language and conform to XHTML #1018 [Rick Olson]
|
||||
|
||||
* Added NumberHelper for common string representations like phone number, currency, and percentage #1015 [DeLynn]
|
||||
|
||||
@@ -85,13 +85,13 @@ end
|
||||
|
||||
desc "Publish the API documentation"
|
||||
task :pgem => [:package] do
|
||||
Rake::SshFilePublisher.new("davidhh@comox.textdrive.com", "public_html/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
|
||||
`ssh davidhh@comox.textdrive.com './gemupdate.sh'`
|
||||
Rake::SshFilePublisher.new("davidhh@wrath.rubyonrails.com", "public_html/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
|
||||
`ssh davidhh@wrath.rubyonrails.com './gemupdate.sh'`
|
||||
end
|
||||
|
||||
desc "Publish the API documentation"
|
||||
task :pdoc => [:rdoc] do
|
||||
Rake::SshDirPublisher.new("davidhh@comox.textdrive.com", "public_html/ap", "doc").upload
|
||||
Rake::SshDirPublisher.new("davidhh@wrath.rubyonrails.com", "public_html/ap", "doc").upload
|
||||
end
|
||||
|
||||
desc "Publish the release files to RubyForge."
|
||||
|
||||
@@ -86,14 +86,14 @@ end
|
||||
# Publish beta gem
|
||||
desc "Publish the API documentation"
|
||||
task :pgem => [:package] do
|
||||
Rake::SshFilePublisher.new("davidhh@comox.textdrive.com", "public_html/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
|
||||
`ssh davidhh@comox.textdrive.com './gemupdate.sh'`
|
||||
Rake::SshFilePublisher.new("davidhh@wrath.rubyonrails.com", "public_html/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
|
||||
`ssh davidhh@wrath.rubyonrails.com './gemupdate.sh'`
|
||||
end
|
||||
|
||||
# Publish documentation
|
||||
desc "Publish the API documentation"
|
||||
task :pdoc => [:rdoc] do
|
||||
Rake::SshDirPublisher.new("davidhh@comox.textdrive.com", "public_html/aws", "doc").upload
|
||||
Rake::SshDirPublisher.new("davidhh@wrath.rubyonrails.com", "public_html/aws", "doc").upload
|
||||
end
|
||||
|
||||
|
||||
|
||||
@@ -15,4 +15,7 @@ DROP TABLE mixins;
|
||||
DROP TABLE people;
|
||||
DROP TABLE binaries;
|
||||
DROP TABLE computers;
|
||||
DROP TABLE posts;
|
||||
DROP TABLE comments;
|
||||
DROP TABLE authors;
|
||||
|
||||
|
||||
@@ -129,3 +129,21 @@ CREATE TABLE `computers` (
|
||||
`developer` INTEGER NOT NULL
|
||||
) TYPE=InnoDB;
|
||||
|
||||
CREATE TABLE `posts` (
|
||||
`id` INTEGER NOT NULL PRIMARY KEY,
|
||||
`author_id` INTEGER NOT NULL,
|
||||
`title` VARCHAR(255) NOT NULL,
|
||||
`body` TEXT NOT NULL
|
||||
) TYPE=InnoDB;
|
||||
|
||||
CREATE TABLE `comments` (
|
||||
`id` INTEGER NOT NULL PRIMARY KEY,
|
||||
`post_id` INTEGER NOT NULL,
|
||||
`body` TEXT NOT NULL
|
||||
) TYPE=InnoDB;
|
||||
|
||||
CREATE TABLE `authors` (
|
||||
`id` INTEGER NOT NULL PRIMARY KEY,
|
||||
`name` VARCHAR(255) NOT NULL
|
||||
) TYPE=InnoDB;
|
||||
|
||||
|
||||
@@ -268,8 +268,8 @@ end
|
||||
# Publishing -------------------------------------------------------
|
||||
desc "Publish the API documentation"
|
||||
task :pgem => [:gem] do
|
||||
Rake::SshFilePublisher.new("davidhh@comox.textdrive.com", "public_html/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
|
||||
`ssh davidhh@comox.textdrive.com './gemupdate.sh'`
|
||||
Rake::SshFilePublisher.new("davidhh@wrath.rubyonrails.com", "public_html/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
|
||||
`ssh davidhh@wrath.rubyonrails.com './gemupdate.sh'`
|
||||
end
|
||||
|
||||
desc "Publish the release files to RubyForge."
|
||||
|
||||
Reference in New Issue
Block a user