diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2014-08-29 12:36:45 +0200 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2014-08-29 12:37:14 +0200 |
commit | 38d6c722b23bae2eeb82a63fc1e78c0937bed17a (patch) | |
tree | 5db1c55da5013dc480280b10f97ff38d3b9ef116 | |
parent | 7447e0b9943bcd7ba99921c014c32927c2858343 (diff) | |
download | rails-38d6c722b23bae2eeb82a63fc1e78c0937bed17a.tar.gz rails-38d6c722b23bae2eeb82a63fc1e78c0937bed17a.tar.bz2 rails-38d6c722b23bae2eeb82a63fc1e78c0937bed17a.zip |
Some documentation fixes [ci skip]
-rw-r--r-- | activejob/lib/active_job/callbacks.rb | 4 | ||||
-rw-r--r-- | activejob/lib/active_job/gem_version.rb | 2 | ||||
-rw-r--r-- | guides/source/4_2_release_notes.md | 14 |
3 files changed, 10 insertions, 10 deletions
diff --git a/activejob/lib/active_job/callbacks.rb b/activejob/lib/active_job/callbacks.rb index 8901fa77f2..cafa3438c0 100644 --- a/activejob/lib/active_job/callbacks.rb +++ b/activejob/lib/active_job/callbacks.rb @@ -3,8 +3,8 @@ require 'active_support/callbacks' module ActiveJob # = Active Job Callbacks # - # Active Job provides hooks during the lifecycle of a job. Callbacks allow you to trigger - # logic during the lifecycle of a job. Available callbacks: + # Active Job provides hooks during the lifecycle of a job. Callbacks allow you + # to trigger logic during the lifecycle of a job. Available callbacks are: # # * <tt>before_enqueue</tt> # * <tt>around_enqueue</tt> diff --git a/activejob/lib/active_job/gem_version.rb b/activejob/lib/active_job/gem_version.rb index 2545e09845..c166020b28 100644 --- a/activejob/lib/active_job/gem_version.rb +++ b/activejob/lib/active_job/gem_version.rb @@ -1,5 +1,5 @@ module ActiveJob - # Returns the version of the currently loaded Active Job as a <tt>Gem::Version</tt> + # Returns the version of the currently loaded ActiveJob as a <tt>Gem::Version</tt> def self.gem_version Gem::Version.new VERSION::STRING end diff --git a/guides/source/4_2_release_notes.md b/guides/source/4_2_release_notes.md index ff73960858..4736818712 100644 --- a/guides/source/4_2_release_notes.md +++ b/guides/source/4_2_release_notes.md @@ -289,15 +289,15 @@ Please refer to the [Changelog][action-pack] for detailed changes. * The way `assert_select` works has changed; specifically a different library is used to interpret css selectors, build the transient DOM that the - selectors are applied against, and to extract the data from that DOM. These - changes should only affect edge cases. Examples: + selectors are applied against, and to extract the data from that DOM. These + changes should only affect edge cases. Examples: * Values in attribute selectors may need to be quoted if they contain - non-alphanumeric characters - * DOMs built from HTML source containing invalid HTML containing improperly - nested elements may differ + non-alphanumeric characters. + * DOMs built from HTML source containing invalid HTML with improperly + nested elements may differ. * If the data selected contains entities, the value selected for comparison - used to be raw (example: `AT&T`), and now is evaluated - (example: `AT&T`) + used to be raw (e.g. `AT&T`), and now is evaluated + (e.g. `AT&T`). Action View |