Refactor files

Update [this commit](https://github.com/spree/spree/commit/108bd3d988c7cf80710922486979895443e0a36e) to 1.9 hash syntax.

related PR https://github.com/spree/spree/pull/5286