Fix typos and add a few suggestions

This commit is contained in:
Fatos Morina 2017-11-28 19:27:43 +01:00
parent 076d1621bb
commit 37cf9b3466
13 changed files with 41 additions and 27 deletions

View File

@ -558,7 +558,7 @@ API documentation is at:
* http://api.rubyonrails.org
Bug reports can be filed for the Ruby on Rails project here:
Bug reports for the Ruby on Rails project can be filed here:
* https://github.com/rails/rails/issues

View File

@ -148,7 +148,7 @@ The latest version of Action Mailer can be installed with RubyGems:
$ gem install actionmailer
Source code can be downloaded as part of the Rails project on GitHub
Source code can be downloaded as part of the Rails project on GitHub:
* https://github.com/rails/rails/tree/master/actionmailer
@ -166,7 +166,7 @@ API documentation is at
* http://api.rubyonrails.org
Bug reports can be filed for the Ruby on Rails project here:
Bug reports for the Ruby on Rails project can be filed here:
* https://github.com/rails/rails/issues

View File

@ -30,7 +30,7 @@ The latest version of Action Pack can be installed with RubyGems:
$ gem install actionpack
Source code can be downloaded as part of the Rails project on GitHub
Source code can be downloaded as part of the Rails project on GitHub:
* https://github.com/rails/rails/tree/master/actionpack
@ -44,11 +44,11 @@ Action Pack is released under the MIT license:
== Support
API documentation is at
API documentation is at:
* http://api.rubyonrails.org
Bug reports can be filed for the Ruby on Rails project here:
Bug reports for the Ruby on Rails project can be filed here:
* https://github.com/rails/rails/issues

View File

@ -11,7 +11,7 @@ The latest version of Action View can be installed with RubyGems:
$ gem install actionview
Source code can be downloaded as part of the Rails project on GitHub
Source code can be downloaded as part of the Rails project on GitHub:
* https://github.com/rails/rails/tree/master/actionview
@ -29,7 +29,7 @@ API documentation is at
* http://api.rubyonrails.org
Bug reports can be filed for the Ruby on Rails project here:
Bug reports for the Ruby on Rails project can be filed here:
* https://github.com/rails/rails/issues

View File

@ -1,7 +1,8 @@
== Running UJS tests
Ensure that you can build the project and run tests.
Run rake ujs:server first, and then run the web tests by
visiting http://localhost:4567 in your browser.
Ensure that you can build the project by running:
rake ujs:server
rake ujs:server
Then run the web tests by visiting the following URL in your browser:
http://localhost:4567

View File

@ -2,13 +2,13 @@
The easiest way to run the unit tests is through Rake. The default task runs
the entire test suite for all classes. For more information, checkout the
full array of rake tasks with "rake -T"
full array of rake tasks with <tt>rake -T</tt>
Rake can be found at https://ruby.github.io/rake/.
== Running by hand
To run a single test suite
Run a single test suite:
rake test TEST=path/to/test.rb
@ -18,10 +18,9 @@ which can be further narrowed down to one test:
== Dependency on Active Record and database setup
Test cases in the test/activerecord/ directory depend on having
activerecord and sqlite3 installed. If Active Record is not in
actionview/../activerecord directory, or the sqlite3 rubygem is not installed,
these tests are skipped.
Test cases in the +test/activerecord/+ directory depend on having
activerecord+ and +sqlite3+ installed. If Active Record is not in
actionview/../activerecord+ directory, or the +sqlite3+ Ruby gem is not installed,
these tests are skipped.
Other tests are runnable from a fresh copy of actionview without any configuration.

View File

@ -100,7 +100,7 @@ The latest version of Active Job can be installed with RubyGems:
$ gem install activejob
```
Source code can be downloaded as part of the Rails project on GitHub
Source code can be downloaded as part of the Rails project on GitHub:
* https://github.com/rails/rails/tree/master/activejob
@ -117,7 +117,7 @@ API documentation is at:
* http://api.rubyonrails.org
Bug reports can be filed for the Ruby on Rails project here:
Bug reports for the Ruby on Rails project can be filed here:
* https://github.com/rails/rails/issues

View File

@ -251,11 +251,11 @@ Active Model is released under the MIT license:
== Support
API documentation is at
API documentation is at:
* http://api.rubyonrails.org
Bug reports can be filed for the Ruby on Rails project here:
Bug reports for the Ruby on Rails project can be filed here:
* https://github.com/rails/rails/issues

View File

@ -208,7 +208,7 @@ API documentation is at:
* http://api.rubyonrails.org
Bug reports can be filed for the Ruby on Rails project here:
Bug reports for the Ruby on Rails project can be filed here:
* https://github.com/rails/rails/issues

View File

@ -143,3 +143,17 @@ Active Storage, with its included JavaScript library, supports uploading directl
## License
Active Storage is released under the [MIT License](https://opensource.org/licenses/MIT).
## Support
API documentation is at:
* http://api.rubyonrails.org
Bug reports for the Ruby on Rails project can be filed here:
* https://github.com/rails/rails/issues
Feature requests should be discussed on the rails-core mailing list here:
* https://groups.google.com/forum/?fromgroups#!forum/rubyonrails-core

View File

@ -30,7 +30,7 @@ API documentation is at:
* http://api.rubyonrails.org
Bug reports can be filed for the Ruby on Rails project here:
Bug reports for the Ruby on Rails project can be filed here:
* https://github.com/rails/rails/issues

View File

@ -135,7 +135,7 @@ class Build
if activesupport? && !isolated?
# There is a known issue with the listen tests that causes files to be
# incorrectly GC'ed even when they are still in-use. The current solution
# is to only run them in isolation to avoid randomly failing our test suite.
# is to only run them in isolation to avoid random failures of our test suite.
{ "LISTEN" => "0" }
else
{}

View File

@ -75,7 +75,7 @@ HTML
#
# It is important that we do not eat more than one newline
# because formatting may be wrong otherwise. For example,
# if a bulleted list follows the first item is not rendered
# if a bulleted list follows, the first item is not rendered
# as a list item, but as a paragraph starting with a plain
# asterisk.
body.gsub(/^(TIP|IMPORTANT|CAUTION|WARNING|NOTE|INFO|TODO)[.:](.*?)(\n(?=\n)|\Z)/m) do