eproxus/meck — pull request #65 by brb (2012-05-17 13:31:06+00:00)
Title: Add original module attributes to meck'd module 

meck omits original module attributes, for example:

1> proplists:get_value(attributes, supervisor:module_info()).
[{vsn,[114474700268360949500192371998556367091]},
{behaviour,[gen_server]}]
2> meck:new(supervisor, [unstick]).
ok
3> proplists:get_value(attributes, supervisor:module_info()).
[{vsn,[118933215264849542400101025310352563009]}]

Given patch resolves the issue.