rubocop: use %w{} format for word arrays
rubocop: no spaces before comma in args
rubocop: space after colon in hash
rubocop: fix Style/SingleSpaceBeforeFirstArg check
rubocop: fix Style/NilComparison check