なるようになるブログ

読書感想文かrailsについてかrubyについてか

rails commit log流し読み(2017/10/20)

2017/10/20分のコミットです。

CHANGELOGへの追加はありませんでした。


Merge pull request #30930 from rails/replace-phantomjs-with-chrome

CIでrails-ujsのテストを実行するのにphantomjsを使用していたのを、Selenium + Chrome headlessを使用するよう修正しています。

Chrome headlessの登場により phantomjsはプロジェクトが終了する為。

参考:Please add notice that PhantomJS is abandoned


Keep :api: plugin methods in the doc [ci skip]

actionpack/lib/abstract_controller/rendering.rbactionpack/lib/action_controller/metal/instrumentation.rbのdocの修正です。

Remove :api: tag that has leaked on the doc directly [ci skip]でpublicじゃないメソッドをAPI docに表示しないようにしたのですが、実際は幾つかのメソッドはpublicだった(responders gemで使用していた)為、:doc:を指定してAPI docにメソッドが表示されるよう修正しています。


Remove obsolete documentation [ci skip]

activesupport/lib/active_support/core_ext/string/output_safety.rbのdocの修正です。

html_escapeメソッドのdocにアンセーフなコンテンツを表示する場合hメソッドでescapeする必要がある旨説明が記載されていたのを削除しています。今は自動でescape処理が行われ、明示的に行う必要は無い為。


Return correct exit status of ujs test

actionview/Rakefileの修正です。

rails-ujsのテスト実行用タスクで正しいexit statusを返していなかったのを修正しています。


Convert ignored_columns to a list of string

activerecord/lib/active_record/model_schema.rbの修正です。

ignored_columnsにStringのリストしか指定出来なかったのを、Symbolのリストも指定出来るよう修正しています。


bundle lock --add-platform java

Gemfile.lockの修正です。

Gemfile.lockjava platformの情報を追加(bundle lock --add-platform javaを実行)しています。