Gaza militants fired two projectiles which struck an area close to the ranch where former Israeli prime minister Ariel Sharon was laid to rest on Monday, a military spokeswoman said.