Pending home sales rise for second straight month