Commit Graph

102 Commits

Author SHA1 Message Date
Abdelkader Boudih 0c232779ec Remove activejob integration tests 2014-08-12 10:07:21 +00:00
Rafael Mendonça França 470108b6e9 Fix task comment to match which file should be changed
[ci skip]
2014-03-25 15:37:18 -03:00
Rafael Mendonça França ce0df82057 Fix the update_versions release task 2014-03-25 15:35:06 -03:00
Prem Sichanugrist 2dd2fcf896
Introduce `Rails.gem_version`
This method return `Gem::Version.new(Rails.version)`, suggesting a more
reliable way to perform version comparison.

Example:

    Rails.version #=> "4.1.2"
    Rails.gem_version #=> #<Gem::Version "4.1.2">

    Rails.version > "4.1.10" #=> false
    Rails.gem_version > Gem::Version.new("4.1.10") #=> true
    Gem::Requirement.new("~> 4.1.2") =~ Rails.gem_version #=> true

This was originally introduced as `.version` by @charliesome in #8501
but got reverted in #10002 since it was not backward compatible.

Also, updating template for `rake update_versions`.
2014-03-05 12:37:38 -05:00
Xavier Noria c93c558aa8 releasing Rails no longer needs triggering docs generation by hand [ci skip]
GitHub is now able to notify tag creation, I have configured the webhook
for the docs server to receive that event. Therefore, we no longer need
to trigger docs generation manually when releasing.
2014-02-20 23:34:31 +01:00
Rafael Mendonça França 2fd0c7ac30 Fix the install task 2013-10-23 19:42:36 -02:00
Arun Agrawal 0d534b8aae Fixed broken rake task for update_version [ci skip]
Also added actionview to update version rake task
2013-07-09 00:10:15 +02:00
Xavier Noria 374fd6693a fixes Rails version for the stable API [ci skip] 2013-07-06 22:42:24 +02:00
Arun Agrawal 7857f863b6 Adding actionview in Rakefile to run test
and create versions
2013-07-02 23:01:22 +02:00
Arun Agrawal 67f668845e Saying gemcutter => rubygems [ci skip] 2013-06-21 11:04:52 +02:00
Prathamesh Sonpatki 730dd1a96b Github -> GitHub [ci skip] 2013-05-05 17:56:24 +05:30
Rafael Mendonça França 227768cbfe Merge pull request #10465 from raphweiner/rake_install_depend_on_build
Make rake install task depend on build instead of gem
2013-05-04 19:45:53 -03:00
Xavier Noria 84c0ac3b56 unifies API generation 2013-03-30 00:10:52 +01:00
Xavier Noria 7a5aa720c4 encapsulates API generation in Rails::API::Task 2013-03-30 00:10:52 +01:00
Xavier Noria ab6cdf7e74 changes the RDoc title of the API
Nowadays the documentation of Ruby on Rails is more than the API.
2013-03-30 00:10:52 +01:00
Xavier Noria 8db99d3be8 removes activerecord/examples/associations.png
This seems to be a legacy file, I cannot find any place where it is used.
2013-03-29 12:01:30 +01:00
Charlie Somerville f0e6ab59f6 remove references to *::VERSION, replace with *.version 2013-03-21 19:56:07 +11:00
Utkarsh Kukreti 86c21e4fb9 Pass in `--local` when doing `gem install` for local gems. 2013-01-03 15:23:47 +05:30
Vinny Diehl c195aede73 Organize README
* Organized code status badges into a "Code Status" section.
* Moved the OSI MIT License link inline (bullets are for unordered
  lists).
* Removed all EOL whitespace.

[ci skip]
2012-10-26 18:50:35 -04:00
Francesco Rodriguez f7c6da2322 fix rdoc task for Action Mailer documentation 2012-09-17 15:25:33 -05:00
Roman V. Babenko 84feca4aaa Rakefile executable attributes and shebang lines has been removed 2012-05-02 13:38:13 +03:00
Prem Sichanugrist f1637bf2bb Remove Active Resource source files from the repository
Dear Active Resource,

It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository.

I will miss you,

@sikachu.
2012-03-13 14:55:44 -04:00
kennyj 2ddfbbc3b6 Use -e option instead of -c option (rake rdoc task). 2012-01-04 00:54:41 +09:00
Vijay Dev c81bb97753 minor text change 2011-12-09 01:02:27 +05:30
Steve Richert 255c485d63 Add dependency status (a la build status) to the README 2011-12-08 12:17:28 -05:00
Xavier Noria c2aadf8935 updates the host and port of publish_docs, and changes the release instructions to use the task rather than curl (thanks to Vijay Dev for spotting this one) 2011-12-08 14:03:42 +01:00
Rahul Chaudhari 8e5686658e Updated Rakefile as CHANGELOG has been renamed to CHANGELOG.md 2011-11-08 23:20:38 +05:30
Vijay Dev 82de8ad9c1 Use Travis https build status image in order to prevent GitHub from
caching the http version.

The syntax for including an https image url in RDoc taken from
http://about.travis-ci.org/docs/user/status-images. Having this in a
line of its own now to make regex replacement for the API simpler!
2011-09-08 01:27:24 +05:30
Xavier Noria 5aa86f793f let SDoc add a link to the source code in GitHub for each method 2011-08-29 15:47:56 -07:00
Xavier Noria 827a0fee07 use sdoc to generate the API 2011-08-27 03:55:01 -07:00
Anand 71232f5d5d Travis status image added to GitHub README, excluding API pages. 2011-08-22 22:28:02 +05:30
Vijay Dev c3bd6bb75f Fixes readme links better - earlier links broke when the current page is anything other than github.com/rails/rails/. Even github.com/rails/rails (without the trailing slash) broke the readme links. Also change the rakefile that generates the rdoc readme accordingly 2011-08-13 22:14:18 +05:30
Xavier Noria ed4be0a3a4 explains why links are gsub'ed, and changes the regexp delimiters 2011-06-19 11:45:36 +02:00
Vijay Dev 96c57d4bd0 To solve the problem of links being broken in GitHub for the sake of api site, have them replaced at runtime during rdoc generation 2011-06-18 23:45:59 +05:30
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 b921679d0d
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