ryanb / private_pub

Handle pub/sub messaging through private channels in Rails using Faye.
MIT License
864 stars 228 forks source link

Add support for the Rails 3.1 asset pipeline #25

Closed BinaryMuse closed 12 years ago

BinaryMuse commented 12 years ago

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.

BinaryMuse commented 12 years ago

I totally failed to realize (until now) that there is already an open pull request for this. >.< My apologies!