Change gist apply order

At first apply patch, then overwrite files.
Fix rubocop errors
Version 0.0.5