BenjaminMedia/Heritage — pull request #4 by JeredOdegard (2011-12-02 18:41:13+00:00)
Title: Alias acts_as_heir_of and acts_as_predecessor

I attempted to alias the methods but was unsuccessful using alias_method :new :old, so I went ahead and just added a method to each module to pass to the existing. This will aid in backwards compatibility. If you know how to successfully alias the method in the module, that would be great and a lot cleaner. You can use the Rspec tests in the heritage_demo to verify your aliasing.

I added Rspec to the test group for the demo to verify the changes are working as intended.

I also modified the Gemfile in the demo to point to the relative location of the Heritage library and removed Test:Unit tests as they were not being utilized.