Done with `rubocop --auto-correct --only DeprecatedHashMethods`
Signed-off-by: Ohad Levy <ohadlevy@gmail.com>