Long Pulse by Short Central Engine: Prompt emission from expanding dissipation rings in the jet front of gamma-ray bursts