Israel shuts Gaza crossings after rocket attack