[Fix #1104] Fix EachWithObject with modifier if
Merge pull request #1105 from geniou/each_with_object_fix

Fix EachWithObject with modifier if
Add optional require directive to .rubocop.yml
Merge pull request #1102 from geniou/config_require

Add optional require directive to .rubocop.yml