extract calculation logic into concern
update rspec-core