Commit Graph

118 Commits

Author SHA1 Message Date
Xavier Noria
caadef9dd4 backslash insertion for RDoc main page ignores code blocks, also adds comments to explain what's this hack about 2011-06-12 15:03:28 +02:00
Xavier Noria
de757af8b0 revises the pattern that excludes generator templates in API generation
With the previous pattern RDoc processed

    railties/lib/rails/generators/rails/plugin_new/templates/test/%name%_test.rb

and that resulted in a spurious "<" class.
2011-06-12 12:09:08 +02:00
Akira Matsuda
05adf524c6 Ensure RDoc::Task exists even if 'rdoc/task' was not required 2011-05-26 01:37:34 +09:00
Akira Matsuda
24b28a2a0c require 'rake/rdoctask' if failed to require 'rdoc/task'
fixes a regression introduced by b921679d0dd3d5ca16f0362c2b34e7703cfe15e5
require 'rdoc/task' fails if the system RDoc version is below 2.4.2 (e.g. CRuby 1.8.7)
2011-05-26 00:15:23 +09:00
Xavier Noria
e68b7a001d (temporary hack) generate a main file for RDoc escaping "Rails"
RDoc autolinks the word "Rails" to the doc page for the Rails module.
But README.rdoc is displayed in the home page at GitHub and the slashes
are visible there, which is weird. We leave by now the slashes off in
the file, and generate a second file for the API with them.
2011-05-01 13:15:15 +02:00
Diego Carrion
f65023cbda expose ActionMailer::MailHelper in the RDoc 2011-03-09 14:56:44 -03:00
Xavier Noria
37bd45f893 upgrades to RDoc ~> 3.4 and removes the gem call in root Rakefile (use bundle exec if needed) 2011-01-12 20:59:31 +01:00
Xavier Noria
55f2e9f898 removes binary? hack for RDoc, API requires RDoc 3 and horo 1.0.3 2010-12-23 00:05:38 +01:00
raggi
cb1570936d Rakefiles are executables, and rake loads rake, not rakefile code 2010-11-25 06:49:55 +08:00
Santiago Pastorino
08eee5ce20 Fix stupid error 2010-11-17 20:06:19 -02:00
Santiago Pastorino
884e3506d2 Bump builder to 3.0.0 2010-11-17 19:35:58 -02:00
Santiago Pastorino
646e5202e0 Typo fixed 2010-11-17 10:27:44 -02:00
Carl Lerche
c3dd1238c5 Small cleanup of the release task 2010-11-16 17:19:47 -08:00
Carl Lerche
4ff8c59fb7 Update the main Rakefile to use the new release tasks 2010-11-16 17:19:47 -08:00
Carl Lerche
7e4f9dbd67 Remove the old gem release task 2010-11-16 17:19:46 -08:00
Xavier Noria
dff0dfb7f8 adds a publish_docs task to force stable docs generation and publishing after a new stable tag has been pushed 2010-11-16 14:07:55 +01:00
Jeremy Kemper
b861942691 Update CHANGELOGs for 3.0 release and upcoming 3.1 2010-08-29 22:06:48 -07:00
Xavier Noria
f6222ead47 the pdoc task is no longer needed 2010-08-20 13:14:57 +02:00
Santiago Pastorino
cad8bef5ea Bump up rdoc to 2.5.10 2010-08-18 11:44:12 -03:00
Xavier Noria
997021eb29 undoes one of the modifications to RDoc::Parser.binary? 2010-08-07 20:10:01 +02:00
Xavier Noria
0953c04cf5 quick hack: hijacks the predicate RDoc::Parser.binary? so that it does not consider a handful of ordinary Ruby files in the Rails tree as binary (and thus excluded from the API) 2010-08-07 15:18:22 +02:00
Xavier Noria
aed698a7c8 adds Abstract Controller to the API 2010-08-07 01:42:09 +02:00
Xavier Noria
dcb7832ed5 APIs for individual components are no longer published 2010-07-26 00:05:14 +02:00
Xavier Noria
728ba209e7 include the root README.rdoc as main page 2010-07-24 00:35:22 +02:00
Aaron Patterson
b50635a59f update Rakefiles for RDoc 2.5 2010-07-23 21:11:29 +02:00
Xavier Noria
2944a79452 bump required RDoc to >= 2.5.9, and replace the 2.2 horo.rb with Aaron's gem 2010-07-22 23:19:01 +02:00
José Valim
508fba9e07 Add .rdoc extension to README files. 2010-07-21 12:51:14 +02:00
Xavier Noria
2aa4e5f3fa pdoc tasks publishe APIs in api.rubyonrails.org 2010-06-16 22:39:13 +02:00
Xavier Noria
07c6b7a6ad migrates the Jamis template to RDoc 2.x, the root Rakefile requires RDoc 2.2
To understand the changes in horo.rb check rdoc/template.rb in a RDoc 2.x
2010-06-16 04:06:20 +02:00
Xavier Noria
e3549a8054 get railties/README back to the home page of the API 2010-05-25 17:26:01 +02:00
Andrew White
d39ec81955 Make Railties RDoc task work again [#4291 state:resolved]
Signed-off-by: wycats <wycats@gmail.com>
2010-03-28 22:45:03 -07:00
Andrew White
26bc5c542e Add ActionDispatch to RDoc task [#4287 state:resolved]
Signed-off-by: wycats <wycats@gmail.com>
2010-03-28 17:09:37 -07:00
José Valim
46b7704b74 Do not need to load ActionPack::VERSION 2010-03-27 12:38:55 +01:00
wycats
c428fbdb1d Use the new RAILS_VERSION in rake install (ht: ZhangJinzhu) [#4116 state:resolved] 2010-03-27 04:10:40 -07:00
José Valim
bbc4de75d3 Require AP::VERSION in order to install gems. 2010-03-10 14:32:02 +01:00
Bryan Helmkamp
deb00bcb8c Read Rails version from a file instead of modifying the load path and doing requires
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-03-04 21:25:52 -08:00
Bryan Helmkamp
f221a6f19f Leverage VERSION constants from gemspecs to avoid tedious updates when releasing 2010-03-02 00:32:53 -05:00
Bryan Helmkamp
b1769fe0bd Add rake update_versions task at root for quickly updating all components 2010-03-02 00:32:41 -05:00
Bryan Helmkamp
11db694e0b Remove cruft in the gem packaging and release code 2010-03-01 19:00:19 -08:00
José Valim
87a011df6f Make install appear on rake -T. 2010-02-21 14:18:40 +01:00
Xavier Noria
9fd9e5d4f7 fixes doc generation
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-02-10 14:37:56 -08:00
Jeremy Kemper
459ecaf95d Submarine the rake-gemcutter dep in Rakefiles 2010-02-05 00:03:03 -08:00
Jeremy Kemper
7b81f5981f Fix task defines 2010-02-04 18:44:32 -08:00
David Heinemeier Hansson
657ffed3f5 Need gemcutter here too 2010-02-04 18:39:19 -08:00
Jeremy Kemper
c1785f3282 Release using gemcutter gem:push tasks 2010-02-04 18:28:45 -08:00
David Heinemeier Hansson
79817aa9e7 Move to 3.0.0.beta 2010-02-03 17:29:51 -08:00
Jeremy Kemper
9bd0422dd7 Bump arel dependency to 0.2.0 from 0.2.pre 2010-01-31 18:42:41 -08:00
Jeremy Kemper
a76af2309a rake smoke: toplevel task to quickly smoke-test all projects 2009-12-28 12:29:03 -08:00
Carlhuda
8ff310aef4 Break up rails and railties:
* rails is now a metagem (gem install rails works as it does now)
* railties includes the glue layer, so you can easily declare dependencies
  on railties, actionpack, and actionmailer and not get ActiveRecord's rake
  tasks, initializers, etc.
2009-12-02 11:35:47 -08:00
Jeremy Kemper
bbb3e5a858 Unify test:isolated across components and run by default at toplevel 2009-11-10 16:50:15 -08:00
Yehuda Katz
67f5d611f5 Add rake gemspec and gemspecs to the repo 2009-08-31 17:20:44 -07:00
Yehuda Katz
353157ccd9 Make rake install work 2009-08-28 18:05:02 -05:00
Yehuda Katz
f3ed0de340 Create an install task that successfully installs all Rails gems 2009-08-27 05:00:57 -05:00
José Valim
5021dc69a4 Vendorized Thor. 2009-07-13 23:13:48 +02:00
Kerry Buckley
49afe81a13 Report errors in 'all project' rake tasks [#2224 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-05-18 11:13:51 +02:00
Jeremy Kemper
e8550ee032 Cherry-pick core extensions 2009-05-13 12:00:15 -07:00
Jeremy Kemper
4c963972fd Defer rake/contrib requires so we can use the stdlib rake instead of the full gem 2009-05-13 11:43:03 -07:00
Jeremy Kemper
ca49299434 Get Active Model in the mix 2009-04-22 01:02:54 -07:00
Jeremy Kemper
a02d672cd7 Horo rdoc template 2008-06-22 10:38:25 -07:00
Jeremy Kemper
81025b5808 fix toplevel pdoc task 2008-06-18 23:17:02 -07:00
Jeremy Kemper
7e9a7c0f35 Require ssh publisher in toplevel Rakefile 2008-06-18 20:51:26 -07:00
Jeremy Kemper
4c720b7fbf Add toplevel rdoc and pdoc tasks 2008-06-18 20:51:16 -07:00
Jeremy Kemper
9b3394f789 Add pdoc task to toplevel Rakefile 2008-06-18 19:58:33 -07:00
Jeremy Kemper
2bdac92dcf Toplevel test task uses the same rake it was invoked with
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8432 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-12-18 21:12:45 +00:00
David Heinemeier Hansson
dcc1549512 Fix rdoc task name (closes #10392) [murphy]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-12-17 00:16:15 +00:00
Jeremy Kemper
03d2b6ce82 Forgot railties
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-10-15 00:11:50 +00:00
Jeremy Kemper
2ba4cc2261 Reorder project list so AR tests run last
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7891 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-10-15 00:11:03 +00:00
Jeremy Kemper
8922c5dcde Add toplevel Rakefile to run tests, generate docs, etc en masse
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7890 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-10-15 00:10:39 +00:00