gem updates and mock additions needed to get tests running on edge rails

There are currently 10 failing tests (all in string_input_spec) under rails edge -- I will update this PR as soon as I've fixed those