I don't know the details, so I can't be 100% sure.
From your description, he handed your spec to another employee, and now that employee is trying to implement the spec YOU WROTE FOR FREE.