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

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. None of that code was changed - it was a simple move.

I also removed the `require "set"` line from serializer.rb, since it was not used.