2014/08/08分のコミットです。
CHANGELOGへの追加はありませんでした。
actionpack/test/controller/test_case_test.rb
の修正です。
sting
をstring
に修正しています。
activerecord/lib/active_record/connection_adapters/schema_cache.rb
の修正です。
テーブルのチェック処理を行う際のメソッドをempty?
からblank?
に修正しています。nilの可能性があるからですかね。
use the uri parser so that newer version of Ruby work
activerecord/lib/active_record/connection_adapters/connection_specification.rb
の修正です。
URIのパース処理でuri_parse
メソッドを使用するよう修正してます。
uri_parse
メソッドの中身は以下のような内容です。
def uri_parser @uri_parser ||= URI::Parser.new end
newer version of Ruby work
の意味がよく解らなかったです…。何かRuby側で変更が入ったのかなあ…。
activesupport/lib/active_support/file_watcher.rb
の修正です。
使われていないFileWatcher
クラスを削除しています。
defer running after_config hooks until after the object is allocated
railties/lib/rails/application.rb
の修正です。
各オブジェクトの生成処理が終わるまで、after_config
フックを実行しないよう対応した、だと思います。ちょっと怪しい…。
add a new constructor that runs load hooks
railties/lib/rails/application.rb
の修正です。
appのインスタンス生成用のメソッドとしてcreate
メソッドを追加しています。
create
メソッドでは、new
メソッドとrun_load_hooks!
を呼び出していす。
railties/test/engine_test.rb
の修正です。
initialize
メソッド内でsuper
を行うよう修正しています。
Stop using padding in the generated Gemfile -- it looks shit
railties/lib/rails/generators/app_base.rb
、railties/lib/rails/generators/rails/app/templates/Gemfile
の修正です。
Gemfileを生成する際、一番長いgemの名前に合わせて、パティングを行うよう対応が行われていたのですが、その処理を削除しています。
"it looks shit"とは、大分気に入らなかったんですかね…。
railties/lib/rails/generators/app_base.rb
、
railties/lib/rails/generators/rails/app/templates/Gemfile
の修正です。
gemfile_entries
からspring
を削除して、代わりにGemfileのtemplateに追加しています。spring
は別枠だろう、とう事での対応のようです。
因みに、合わせてGemfileのtemplateにweb-console
が追加されています。
Merge pull request #16384 from tomkadwill/improved_create_documentation
activerecord/lib/active_record/persistence.rb
のdocの修正です。
create!
メソッドのdocの改善を行っています。
Rephrase how we explain RecordInvalid exception in the context of
activerecord/lib/active_record/persistence.rb
のdocの修正です。
先のdocのコミットを再度修正しています。
[ci skip] Changed 'first argument' to '+name+ argument'
activerecord/lib/active_record/associations.rb
のdocの修正です。
first argument
を+name+ argument
に修正しています。
rails guideのThe Basics of Creating Rails Plugins
の修正です。
pluginのexampleの所に、new
が足りてなかったのを修正しています。
Fix the #const_regexp's documentation [ci skip]
activesupport/lib/active_support/inflector/methods.rb
のdocの修正です。
exampleの戻り値の型がRegexpになっていたのですが、本来はStringなので、Stringに修正しています。
Merge pull request #16426 from tgxworld/fix_false_positive
actionpack/test/controller/test_case_test.rb
の修正です。