PostPublisher generate() switched to each()

PostPublisher had no reason to use each_with_index over each, code was updated
to use each instead.