Commit Graph

118 Commits

Author SHA1 Message Date
Samuel Williams
59f1e17831
Add support for fast smoke tests. 2024-06-12 16:51:26 +09:00
zzak
5e613284f8
Fix Rake :preview_docs tarball
The previous version created a circular reference, I believe, which caused:

```
tar: .: file changed as we read it
```
2024-04-26 16:13:01 +09:00
zzak
6be0b7f7f3
Create preview tarball from directory
Move the artifacts instead of copying to reduce waste
2024-04-24 10:02:56 +09:00
zzak
d850686939
Add preview_docs rake task for generating API and Guides static site 2024-02-13 13:05:49 +09:00
Koichi ITO
d17264d93f Use frozen string literal in root files 2017-08-13 22:14:24 +09:00
Kasper Timm Hansen
1e7acf844b
Add task to verify a release.
Basically revises the release flow to:

* Update the version in RAILS_VERSION + rake changelog:header
* Run rake all:verify (click around in the booted app)
* If that checks out, run rake release.
2017-07-22 21:17:25 +02:00
Matthew Draper
87b3e226d6 Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing
changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
2017-07-02 02:15:17 +09:30
Kir Shatrov
cfade1ec7e Enforce frozen string in Rubocop 2017-07-01 02:11:03 +03:00
bogdanvlviv
40bdbce191
Define path with __dir__
".. with __dir__ we can restore order in the Universe." - by @fxn

Related to 5b8738c2df003a96f0e490c43559747618d10f5f
2017-05-23 00:53:51 +03:00
Matthew Draper
d44177d45e Remove Faye mode
No deprecation, because it was never documented.
2016-10-01 15:35:59 +09:30
Xavier Noria
60b67d76dc modernizes hash syntax in the rest of the project 2016-08-06 19:40:54 +02:00
Xavier Noria
e6ab70c439 applies new string literal convention to the rest of the project
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 19:28:46 +02:00
Jeremy Daer
8076d7e191 Cable: add isolated tests and FAYE=1 test runs 2016-03-20 17:00:46 -07:00
Rafael Mendonça França
7c4080aac4 Add task to test the release preparation 2015-12-18 14:56:26 -02:00
Arun Agrawal
cbed6163f1 Use FRAMEWORKS constant from tasks/release to avoid duplication 2015-12-17 16:31:43 +01:00
Arun Agrawal
f65c891f38 Remove required sdoc from Rakefile
This is required inside `api/task`
2015-10-26 11:51:05 +01:00
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