Improve detection whether it's a ruby file, using ruby_file? method
Clean up syntax according to rubocop warnings
Bump version to 0.2.1