2017/08/01分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Set Ruby version in Gemfile and .ruby-version by default
railtiesの修正です。
rails new
で新規にアプリを作成する際、.ruby-version
ファイルを作成、及び、Gemfile
にRubyバージョン(e.g. ruby '2.4.1'
)を指定するよう修正しています。
fix typo in assert_changes error message
activesupport/lib/active_support/testing/assertions.rb
の修正です。
assert_changes
のエラーメッセージにタイポがあったのを修正しています。
Add backticks around method [ci skip]
activerecord/CHANGELOG.md
の修正です。
CHANGELOGのエントリー内のメソッド名をバッククォートで囲むよう修正しています。
Talk about bytes not characters
activemodel/lib/active_model/secure_password.rb
のdocの修正です。
ActiveModel::SecurePassword
module内の各docで、パスワード最大長が72文字である旨説明がされていたのですが、実際は72バイトの為、その旨docを修正しています。
Fix rubocop style issues in yarn and spring.rb templates"
railties/lib/rails/generators/rails/app/templates/bin/yarn
、
railties/lib/rails/generators/rails/app/templates/config/spring.rb
の修正です。
Stringを生成するのにダブルクォートを使用していたのをシングルクォートを使用するよう修正、及び、Arrayを使用するのに%w()
を使用していたのを%w[]
を使用するよう修正しています。デフォルトのRubocopのルールに従うようにする為、との事なのですが、rails自体に設定されているcopはまた違ったりしているので、うーん。
Merge pull request #30024 from kamipo/remove_redundant_unless_branch
activerecord/test/cases/comment_test.rb
の修正です。
current_adapter?(:OracleAdapter)
による分岐処理が2つ続いていたので、1つにマージしています。
[ci skip] Fix rails_command comments
railties/lib/rails/generators/actions.rb
のdocの修正です。
rails_command
メソッドのdoc内のexampleコードで、使用するメソッド名に誤りがあったのを修正しています。