Update RuboCop settings and apply automatic corrections by aeroastro · Pull Request #332 · rubyzip/rubyzip

RuboCop was introduced by #226 2 years ago, but there are some missing settings.
In this PR, I would like to change the followings so that we can check code easily and correctly.

If we are not satisfied with default rubocop style, we can modify the rules at .rubocop.yml afterward.