Just got some failing specs from our 1.8.6 test runner, when using OrderedHash#first, so we fix that…
# add {}.first if its not there (1.8.6)
unless {}.respond_to?(:first)
class Hash
def first
return if keys.empty?
[keys.first, self[keys.first]]
end
end
end