simeonwillbanks/mygists — pull request #35 by simeonwillbanks (2013-01-23 20:45:56+00:00)
Title: Refactoring

* Refactor MyGists::Search by using Active Support to delegate to expose WillPaginate methods on scope
* bundle update
* Upgrade Draper Decorators
* Use source to reference undecorated model instance
* Draper no longer requires decorates macro
* Inherit from Draper::Decorator
* Remove generated comments within decorators
* Refactor decorator specs to use source attribute in order to send messages to undelegated model methods
* Add ApplicationDecorator and PaginationDecorate to globally delegate WillPaginate methods
* Delegate GistDecorator#profile
* Delegate ProfileDecorator#user_id for Ability
* Link profile gravatar to users github profile