[Hooks] Remove references to Ruby podspecs and refactor tests.