lib/stripe/util.rb in stripe-1.30.0 vs lib/stripe/util.rb in stripe-1.30.1

- old
+ new

@@ -125,14 +125,10 @@ else result << [calculated_key, value] end end - # The #sort_by call here is mostly so that we can get some stability in - # our 1.8.7 test suite where Hash key order is not preserved. - # - # https://www.igvita.com/2009/02/04/ruby-19-internals-ordered-hash/ - result.sort_by { |(k, _)| k } + result end def self.flatten_params_array(value, calculated_key) result = [] value.each do |elem|