ryanb/private_pub — pull request #25 by BinaryMuse (2011-11-23 00:35:26+00:00)
Title: Add support for the Rails 3.1 asset pipeline

Howdy,

This pull request is to add support for the Rails 3.1 asset pipeline. Two primary changes went into this:

1. The install generator now checks the Rails version and only copies the `private_pub.js` file if the version is below 3.1.
2. The Railtie has been changed to an Engine to get Rails to pick up the `vendor/assets` directory, to which `private_pub.js` has been moved.

Thanks again, looking forward to your feedback.