Use 2-space indentation for all Ruby code

Our Ruby coding conventions specify to use 2 "soft" spaces for
indentation.

https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby

Change-Id: I7d57f3a66e7c9b138a27a9615fd2a89732c65e2a