提交 dfb01727 编写于 作者: R Rafael Mendonça França

Merge pull request #11371 from arunagw/actionview-changes

Actionview changes
...@@ -58,13 +58,14 @@ task :update_versions do ...@@ -58,13 +58,14 @@ task :update_versions do
require File.dirname(__FILE__) + "/version" require File.dirname(__FILE__) + "/version"
File.open("RAILS_VERSION", "w") do |f| File.open("RAILS_VERSION", "w") do |f|
f.puts Rails.version f.puts Rails::VERSION::STRING
end end
constants = { constants = {
"activesupport" => "ActiveSupport", "activesupport" => "ActiveSupport",
"activemodel" => "ActiveModel", "activemodel" => "ActiveModel",
"actionpack" => "ActionPack", "actionpack" => "ActionPack",
"actionview" => "ActionView",
"actionmailer" => "ActionMailer", "actionmailer" => "ActionMailer",
"activerecord" => "ActiveRecord", "activerecord" => "ActiveRecord",
"railties" => "Rails" "railties" => "Rails"
......
require 'rake/testtask' require 'rake/testtask'
require 'rake/packagetask'
require 'rubygems/package_task' require 'rubygems/package_task'
desc "Default Task" desc "Default Task"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
exit(64) exit(64)
end end
%w( activesupport activemodel activerecord actionpack actionmailer railties ).each do |framework| %w( activesupport activemodel activerecord actionpack actionview actionmailer railties ).each do |framework|
puts "Installing #{framework}..." puts "Installing #{framework}..."
`cd #{framework} && gem build #{framework}.gemspec && gem install #{framework}-#{version}.gem --no-ri --no-rdoc && rm #{framework}-#{version}.gem` `cd #{framework} && gem build #{framework}.gemspec && gem install #{framework}-#{version}.gem --no-ri --no-rdoc && rm #{framework}-#{version}.gem`
end end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册