add diffy gem requirement
add output class
fix warning
reduce lines
remove temp variable
increase version to 0.5.0