Updated ruby 1.9 hash syntax

All files old ruby syntax changed.