Fix failing specs
Upgrade gem dependencies
Fix rubocop offences