Locked RSpec to 3.x, fixed deprecations.
Added RuboCop.