josevalim/active_model_serializers — pull request #120 by teeparham (2012-08-24 06:36:03+00:00)
Title: Move classes to their own files: OrderedSet, ArraySerializer, tests cleanup

Do-over of #119!

There was too much stuff in the serializer.rb file and in the serializer_test.rb file.

I moved OrderedSet & ArraySerializer into their own files. I moved all the fake classes in serializer_test to their own file. I created a new file for ArraySerializer tests.

I also removed the `require "set"` from serializer.rb, since it was not used. There is still a `require "set"` (which is needed) in active_model_serializers.rb.