Add rubocop configuration to silence remaining warnings
Fix specs for ruby 2.0