sikachu / sprockets-redirect

A Rack middleware for Rails >= 3.1.0 with asset pipeline and asset digest enabled. This middleware is used to redirect any request to static asset without a digest to the version with digest in its filename by reading the assets manifest file generated after you run `rake assets:precompile`
http://rubygems.org/gems/sprockets-redirect
MIT License
72 stars 26 forks source link

added asset_host support #6

Closed ianyamey closed 9 years ago

ianyamey commented 10 years ago

I cherry-picked the commit that @dfguo made to support redirects to assets on CDN as part of #5 and the tests are passing.

freegenie commented 10 years ago

I was looking for exactly that. Any plan to merge this @sikachu ?

sikachu commented 9 years ago

Thank you for your patch. It has been a very long time, and I wasn't intended to ignore the patch. I'm going to merge this in.

sikachu commented 9 years ago

I merged this as e3d94402b8cc677b1ca915abcc4b78a382e0d90f, 0eaed9f35ea78ce3a0b4018450464546d24bc2bb, and be2a6a7e2ee40357fd127e330b92e8aa3c7f3cc9. Thanks!