christospappas / streama

Streama is a simple activity stream gem for use with the Mongoid ODM framework.
MIT License
132 stars 30 forks source link

split activity_stream in to incoming and outgoing activity #5

Closed pehrlich closed 12 years ago

pehrlich commented 12 years ago

It seems to me that there are naturally two views that could involve a user:

https://twitter.com/christospappas (aka outgoing) and https://twitter.com/#!/christospappas/following/tweets (aka incoming)

There wasn't an evident way to do this, and the implementation seemed trivial, so I added the method. It does however change the api, but I think with an increase of clarity.

Thoughts?

christospappas commented 12 years ago

Finally got around to adding this. I didn't want to change the api so added a new method "Actor#published_activities".

Thanks for sending this through.