fixing gem file and specs/factories