なるようになるブログ

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

rails commit log流し読み(2016/07/01)

2016/07/01分のコミットです。

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


Update upgrade guides

rails guideのA Guide for Upgrading Ruby on Railsの修正です。

config.action_controller.per_form_csrf_tokensconfig.action_controller.forgery_protection_origin_checkについての説明を追加しています。


Add a note about autoloading being disabled in production env in upgrade guide [ci skip]

rails guideのA Guide for Upgrading Ruby on Railsの修正です。

production envでのautoloadingの挙動が変わったことについての説明を追加しています。が、内容にちょっと誤りがあり、後で修正が入っています。


Merge pull request #25587 from vipulnsward/publish-release-notes

guides/source/documents.yaml

Ruby on Rails 5.0 Release NotesからWIPを外しています。


Partially revert #25192

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

We default to using aes-256-cbc as our verification/signing cipher. It can accept key lengths of 128, 192 or 256-bit, whereas currently we were providing twice the acceptable value.を一部reverして、 ActiveSupport::KeyGenerator#generate_keyActiveSupport::CachingKeyGenerator#generate_keyメソッドのデフォルトのkey sizeを64に戻しています。

デフォルトのkey sizeが変わると、まったく同じ処理を行っても当然生成されるkeyが変わる可能性があり、既存の処理に影響が出てしまう可能性がある為、元の数字に戻したとのことです。


expands a bit a section of the upgrade guide [ci skip]

rails guideのA Guide for Upgrading Ruby on Railsの修正です。

production environmentでboot後にはautoloadingが行われなくなった事についての説明を追加しています。 boot後にもautoloadingを行いたい場合は、Rails.application.config.enable_dependency_loadingにtrueを設定する必要があります。


fixes config value [ci skip]

rails guideのA Guide for Upgrading Ruby on Railsの修正です。

Rails.application.config.enable_dependency_loadingに指定する値を誤っていたのを修正しています。


Change wording & punctuation in Guides - Upgrading

rails guideのA Guide for Upgrading Ruby on Railsの修正です。

全体的にグラマーの修正を行っています。


Fix styles of headings to follow guide rules

rails guideのA Guide for Upgrading Ruby on Railsの修正です。

各見出しのスタイルを調整しています。


Update to Turbolinks 5.0.0 final

Gemfilerailties/lib/rails/generators/app_base.rbの修正です。

Turbolinks 5.0.0を使用するようGemfileを修正しています。


Point to released coffee-rails

Gemfilerailties/lib/rails/generators/app_base.rbの修正です。

リリース済みのcoffee-railsを使用するよう、githubの指定を削除しています。


Add an upgrade note related to ActionController::Live becoming a Concern

rails guideのA Guide for Upgrading Ruby on Railsの修正です。

ActionController::Liveがconernになったので、 ActionController::Liveをincludeして使用していた場合、ActiveSupport::Concernをextendする必要がある旨説明を追加しています。


Add a Rails 5 release note for ActionController::Live becoming a Concern

rails guideのRuby on Rails 5.0 Release Notesの修正です。

ActionController::LiveがConcernになった対応についてエントリーを追加しています。


Do not allow rack pre releases

Gemfile.lockactionpack/actionpack.gemspecの修正です。

rack 2.0を使用するよう依存関係を修正しています。


[ci skip] Fix Typos and Punctuation in Guides - Upgrading

rails guideのA Guide for Upgrading Ruby on Railsの修正です。

タイポ、グラマーの修正をまとめて行っています。


Mark Testing Guide as pubished and reword the title[ci skip]

guides/source/documents.yamlの修正です。

Testing Rails Applicationsガイドの説明の修正、及びWIPを外しています。


Use sass-rails in our test suite

Gemfilerailties/test/application/assets_test.rbの修正です。

Rails本体のテストでsass-railsを使用するよう修正しています。というか、今まで使用するようになってなかったんですねえ。


Merge pull request #25431 from prathamesh-sonpatki/add-note-about-upgrade-guide-at-the-end-of-update

railties/lib/rails/generators/rails/app/app_generator.rbrailties/lib/rails/tasks/framework.rakeの修正です。

rails app:updateタスク実行完了後に、A Guide for Upgrading Ruby on Rails — Ruby on Rails Guidesへのリンクを表示するよう修正しています。


Merge pull request #25553 from vipulnsward/25543-docs-follow-up

actionview/lib/action_view/helpers/tag_helper.rbのdocの修正です。

ActionView::Helpers::TagHelper#tagメソッドのdocのグラマー、フォーマットの修正を行っています。


Merge pull request #25582 from alexcameron89/action_controller_base

actionpack/lib/action_controller/base.rbのdocの修正です。

ActionController::Baseのdoc内のparams等幅フォントで表示されるよう、ttタグで囲むよう修正しています。


Deprecation passing of start value was removed [ci skip]

rails guideのRuby on Rails 5.0 Release Notesの修正です。

#find_in_batches#find_eachstartオプションがdeprecateになった対応のエントリーを削除しています。後から(Changed options for find_each and variants to have options start/finish)deprecateではなくなった為。


Fix release task now that NPM is part of the build

tasks/release.rbの修正です。

元々別のタスクで行っていたnpmのバージョンを設定する処理とpush処理を、同じタスク内で行うよう修正しています。Rails 5.0のリリースの際にトラブった為修正したとのことです。