tcocca/acts_as_follower — pull request #23 by ryandrake08 (2012-06-10 05:46:49+00:00)
Title: Remove ability to block oneself

Hi,

Great gem, saved me a lot of code! I've forked and made two bug fixes and one improvement suggestion. Please review, and feel free to pull one or more of them:

1. Latest factory_girl version is not compatible with ruby 1.8, so I locked the gem to a version that works with 1.8 and 1.9.

2. Latest shoulda has deprecated & removed should_change, which your tests use. Locked the gem to an older version that still has this method.

3. Since an object cannot follow oneself, it makes no sense to be able to block oneself. I removed the ability and added a test to verify a followable cannot block oneself.

Regards, Ryan