2014/12/29分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Update example test documentation
actionpack/lib/action_controller/metal/http_authentication.rb
の修正です。
http_basic_authenticate_with
を使用している場合のテストの仕方について説明している箇所に記載されているexampleに誤りがあったのを修正しています。
docs, cleanup Active Record CHANGELOG. [ci skip]
activerecord/CHANGELOG.md
の修正です。
フォーマットの整理を行っています。
Merge pull request #18213 from agrobbin/moar-concerns
railties/lib/rails/engine/configuration.rb
の修正です。
app/*/concerns
ディレクトリをすべてautoload対象とするよう修正しています。
元々は、app/controllers/concerns
、app/models/concerns
のみが対象で、それ以外のディレクトリ配下のconcerns
はautoloadの対象となっていませんでした。
Merge pull request #18209 from claudiob/bump-to-2-2
各コンポーネントのgemspecの修正です。required_ruby_versionを2.2.0以上に修正しています。
Minor documentation edits [ci skip]
actionpack/lib/action_controller/metal/http_authentication.rb
、
activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
のdoc、及び各rails guideの修正です。
グラマー、タイポの修正等を行っています。
activejob/test/cases/adapter_test.rb
の修正です。
assert_equal
メソッドの引数の順番を間違えていたのを修正しています。expected、actualの順ですね。
adjust args of Bundler.require in guides [ci skip]
rails guideのA Guide for Upgrading Ruby on Rails
の修正です。
application.rb
について説明している箇所で、記載されているコードと実際のコードが異なってしまっていた為、記載内容を修正しています。
activesupport/lib/active_support/core_ext/string/output_safety.rb
の修正です。
Ruby 2.2でActiveSupport::SafeBuffer
を使用している時に、値を正しく返さずエラーになってしまうケースがあったのを修正しています。
テストより。
x = 'Hello'.html_safe x[/a/, 1] # => RuntimeError: can't modify frozen NilClass
ActiveSupport::SafeBuffer
の中でインスタンス変数にhtml_safe
を設定しているのですが、
Ruby 2.2からNilがfrozen済みになったのでエラーになってしまったようです。