:cut: unnecessary variable assignment
:cut: unused test directories from gemspec
Simplify code with ternary operator