aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-07-06 22:40:02 +0200
committerXavier Noria <fxn@hashref.com>2013-07-06 22:42:24 +0200
commit374fd6693a5aacccb3f5af33c4c1524cf109dd3b (patch)
tree7403f6ade209003854f14f5a631e47899f3e1ece /Rakefile
parent7948d7890548a3e70d04dfed26497b391920b058 (diff)
downloadrails-374fd6693a5aacccb3f5af33c4c1524cf109dd3b.tar.gz
rails-374fd6693a5aacccb3f5af33c4c1524cf109dd3b.tar.bz2
rails-374fd6693a5aacccb3f5af33c4c1524cf109dd3b.zip
fixes Rails version for the stable API [ci skip]
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 3ca801cc66..242bd9a930 100644
--- a/Rakefile
+++ b/Rakefile
@@ -47,7 +47,11 @@ task :install => :build do
end
desc "Generate documentation for the Rails framework"
-Rails::API::RepoTask.new('rdoc')
+if ENV['EDGE']
+ Rails::API::EdgeTask.new('rdoc')
+else
+ Rails::API::StableTask.new('rdoc')
+end
desc 'Bump all versions to match version.rb'
task :update_versions do