dreamhost/pecan — pull request #151 by markmcclain (2012-12-07 05:13:16+00:00)
Title: wraps methods before applying security in SecurceController

Resolves issue #131

Patchset updates the metaclass to wrap unbound methods before adding
security. Wrapping ensures that base controllers can safely be mixed in
both secure and unsecure contexts. Wrapping resolves the issue since
method attributes are shared by all classes with the same bases. The
original _pecan attributes of the method are shallow copied prior to adding the
security attributes.