The Israeli military says it has carried out three air strikes on Gaza following rocket attacks by Palestinian militants .