Remove $VERBOSE = nil from tasks.rb

Permanently setting $VERBOSE to nil causes unwanted side effects (warnings generated by app code are
silenced when triggered by a rake task but visible otherwise). silence_warnings {} would be safer to
use here since it resets $VERBOSE back to what it was when the block finishes.
Refactor `ArrayParser`

* Constantize parse token
* Remove extra param passed to `parse_data`
Update of 'The Asset Pipeline' guide for Rails 4. [ci skip]
Add ability to specify how a class is converted to Arel predicate

This adds the ability for rails apps or gems to have granular control
over how a domain object is converted to sql. One simple use case would
be to add support for Regexp. Another simple case would be something
like the following:

    class DateRange < Struct.new(:start, :end)
      def include?(date)
        (start..end).cover?(date)
      end
    end

    class DateRangePredicate
      def call(attribute, range)
        attribute.in(range.start..range.end)
      end
    end

    ActiveRecord::PredicateBuilder.register_handler(DateRange,
      DateRangePredicate.new)

More complex cases might include taking a currency object and converting
it from EUR to USD before performing the query.

By moving the existing handlers to this format, we were also able to
nicely refactor a rather nasty method in PredicateBuilder.
Merge pull request #11358 from Alamoz/asset_pipeline

Update of 'The Asset Pipeline' guide for Rails 4.
only calculate the klass once
Revert change on ActiveRecord::Relation#order method that prepends new
order on the old ones

The previous behavior added a major backward incompatibility since it
impossible to have a upgrade path without major changes on the
application code.

We are taking the most conservative path to be consistent with the idea
of having a smoother upgrade on Rails 4.

We are reverting the behavior for what was in Rails 3.x and,
if needed, we will implement a new API to prepend the order clauses in
Rails 4.1.
Merge pull request #10673 from sgrif/master

Add ability to specify how a class is converted to Arel predicate when passed to where
Merge branch 'revert-order-prepending'

Conflicts:
	activerecord/CHANGELOG.md
Don't have a cow, man!

Remove cow => kine from default inflections but leave the test case
in place to prevent regression of the [old Trac ticket 4929][1].

[1]: http://web.archive.org/web/20090314050915/http://dev.rubyonrails.org/ticket/4929
assert_no_queries should allow to ignore some queries
Add CHANGELOG entry for inflection removal
Don't mutate the original inflections instance in the tests
AV::Digestor thread safety fixes.

This fixes potential thread safety issues introduced in 09f6fe1. The problem
with the original code was that the "recursion-stopping" `nil` values could
be seen by other threads.
Merge pull request #11664 from thedarkone/digestor-thread-safety

AV::Digestor thread safety fixes
assert_no_queries should ignore certain sqls

postgresql test if randomly executed then executes "SHOW max_identifier_length". Hence
the need to ignore certain predefined sqls that deal with system calls.
Rails.logger should have level specified by config.log_level. 

Fix bug when log level of Rails.logger (which was set via config.logger) does not match the    config.log_level.
fix tests
Add retry to `gem install bundler` for Travis

This adds the retry behaviour used for other commands to the bundler installation.
Merge pull request #11672 from henrikhodne/patch-1

Add retry to `gem install bundler` for Travis