Change hashes to ruby 1.9.3 hash syntax in eruby snippets

Signed-off-by: babybeasimple <babybeasimple@gmail.com>
patch apply conflicts: Change hashes to ruby 1.9.3 hash syntax in ruby snippets
new style hashes for validates