Closed rafaelfranca closed 9 years ago
Thank you for bringing this to my attention!
mailers
, views
and assets
directories in the Rails apps are symlinks to their shared
counterparts. Please use them for your new embedded app too.Rails 4.0 (precompiled)
a special case in the bottom of integration_spec.rb
. With this new Sprockets integration where you always have digests, this needs to be folded into the rest of the tests.
digests
option to the RailsApp
declarations.Rails 4.0.x (precompiled)
at the top.Rails 4.0.x (precompiled)
block at the bottom; everything in there is already covered in the generic examples.Changelog.md
(merge latest master
first) and sign it with your GH user and name (if you want). There are examples in older versions. Also tag the line with this issue number.I can do this myself if you don't feel like it, but please let me know in that case. I'd love to have this in the 1.1 release.
Done
Great one! Thank you very much.
Thanks!
In a few days I'm going to release sprockets-rails 3. This means that Rails 4 applications will use it by default. sprockets-rails 3 is a major version that aims to support sprockets 3 and sprockets 4 and because of that some things have changed. One thing is that now you don't have
Rails.application.assets
in initialize time so theapp.assets
check will fail.To fix that I'm using the
Rails.application.config.assets.configure
block, that is also present in sprockets-rails 2.There is still two tests failing but I don't know what do with those tests. They are expecting the background image to not have digest (see failures below) but since sprockets-rails 2 we don't generate undigested assets so that would never work out of box.
Here are the failures:
Let me know how can I proceed with this broken tests.