なるようになるブログ

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

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

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

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


adds a few cops and sorts

.rubocop.ymlの修正です。

rubocop用の設定を追加しています。

以降、この設定した内容に合わせての修正のコミットが大量に行われています。


applies new string literal convention in activesupport/lib

Active Supporの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。

以降同様の修正が各コンポーネント及びテストに対して行われています。


applies new string literal convention in activesupport/test

Active Supportのテストの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in activerecord/lib

Active Recordの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in activerecord/test

Active Recordのテストの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in activemodel/lib

Active Modelの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in activemodel/test

Active Modelのテストの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in activejob/lib

Active Jobの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in activejob/test

Active Jobのテストの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in actionview/lib

Action Viewの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in actionview/test

Action Viewのテストの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in actionpack/lib

Action Packの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in actionpack/test

Action Packのテストの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in actionmailer/lib

Action Mailerの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in actionmailer/test

Action Mailerのテストの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in actioncable/lib

Action Cableの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in actioncable/test

Action Cableのテストの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in railties/lib

railtiesの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in railties/test

railtiesのテストの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in ci

ci/travis.rbの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in guides

guidesディレクトリ配下のファイル(Rails guideを生成する為のRakefileスクリプト、bug report template等)の修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in tasks

tasks/release.rbの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in tools

tools/consoletools/profiletools/test.rbの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in Gemfile

Gemfileの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention in the gemspecs

コンポーネントのgemspecの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


applies new string literal convention to the rest of the project

コンポーネントRakefile、テスト用のスクリプトの修正です。

Stringを作成するのにシングルクォートとダブルクォートが混在していたのを、ダブルクォートを使用するよう統一しています。


modernizes hash syntax in actioncable

actioncable/Rakefileの修正です。

Hashを定義するのに、Ruby 1.9以降の新記法を使用するよう修正しています。


modernizes hash syntax in actionpack

Action Packの修正です。

Hashを定義するのに、Ruby 1.9以降の新記法を使用するよう修正しています。


modernizes hash syntax in actionview

Action Viewの修正です。

Hashを定義するのに、Ruby 1.9以降の新記法を使用するよう修正しています。


modernizes hash syntax in activejob

Active Jobの修正です。

Hashを定義するのに、Ruby 1.9以降の新記法を使用するよう修正しています。


modernizes hash syntax in activemodel

Active Modelの修正です。

Hashを定義するのに、Ruby 1.9以降の新記法を使用するよう修正しています。


modernizes hash syntax in activerecord

Active Recordの修正です。

Hashを定義するのに、Ruby 1.9以降の新記法を使用するよう修正しています。


modernizes hash syntax in activesupport

Active Supportの修正です。

Hashを定義するのに、Ruby 1.9以降の新記法を使用するよう修正しています。


modernizes hash syntax in railties

railtiesの修正です。

Hashを定義するのに、Ruby 1.9以降の新記法を使用するよう修正しています。


modernizes hash syntax in guides

guidesディレクトリ配下のファイル(Rails guideを生成する為のRakefileスクリプト、bug report template等)の修正です。

Hashを定義するのに、Ruby 1.9以降の新記法を使用するよう修正しています。


modernizes hash syntax in the rest of the project

Rakefileci/travis.rbtasks/release.rbの修正です。

Hashを定義するのに、Ruby 1.9以降の新記法を使用するよう修正しています。


remove redundant curlies from hash arguments

コード全体から、Hashを定義するのに、不要な波括弧を使用している箇所があったのを、まとめて削除しています。


normalizes indentation and whitespace across the project

コード全体から、不要なインデント、ファイル末尾の空白等をまとめて削除しています。


applies remaining conventions across the project

コード全体から、不要なスペースや空行の削除、引数があるメソッドを定義する際に丸括弧が無かったのを追加、等フォーマットの修正をまとめて行っています。


Merge pull request #26060 from siong1987/minor/puma-config

railties/lib/rails/generators/rails/app/templates/config/puma.rbの修正です。

threads_count変数に値を設定する際に、Integerに変換した値を設定していたのを、Stringをそのまま渡すよう修正しています。

-threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }.to_i
+threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }

puma内部でthreadメソッドに渡された値をIntegerに変換するようになっており、`Stringのまま渡しても問題無い為、との事です。


Add Style/EmptyLines in .rubocop.yml and remove extra empty lines

.rubocop.ymlStyle/EmptyLinesを追加、及びコード全体から不要な空行の削除を行っています。


Fix a typo

.rubocop.ymlの修正です。

explicitlyexplictilyにタイポしていたのを修正しています。