Update shift.rb

fixing wrong calculation of current shift