なるようになるブログ

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

rails commit log流し読み(2018/10/19)

2018/10/19分のコミットです。

CHANGELOGにのったコミットは以下の通りです。

activesupport/CHANGELOG.md


Deprecate Unicode's #pack_graphemes and #unpack_graphemes methods

activesupport/lib/active_support/multibyte/unicode.rbの修正です。

ActiveSupport::Multibyte::Unicode#pack_graphemesActiveSuppport::Multibyte::Unicode#unpack_graphemesがdeprecateになりました。

今後は、Ruby標準の処理(array.flatten.pack("U*")、及び、string.scan(/\X/).map(&:codepoints))を使う必要があります。


Merge pull request #34249 from anthonygharvey/fix_testing_guide_typo

rails guideのTesting Rails Applicationsの修正です。

The Basic Test Caseの項のタイポを修正しています。


Merge pull request #34256 from y-yagi/make_aj_integration_tests_work_on_ci_2

Active Jobのテスト、及び、.travis.ymlの修正です。

幾つかのActive JobのintegrationテストがCI上で動作しなくなっていたのを修正しています。


Avoid running bundler on tests that don't need it

railties/test/generators/app_generator_test.rbの修正です。

AppGeneratordevオプションを指定した場合のテストで、不要な場合はbundle installを実行しないよう修正しています。bundle installは実行に時間が掛かる為。