Backport slim support to 1.x
seuros opened this issue · 10 comments
Right now, if we want to use tilt and sprocket in the same application, we can use only 1.x version due to sprocket's dependencies.
sprockets (2.12.0)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
unfortunately the 1.x versions don't support Slim.
Option :escape_html is not supported by Slim::Engine
Option :escape_attrs is not supported by Slim::Engine
It is possible to backport Slim support to 1.5 version ?
That would be amazing - we need tilt+slim for Cells 4.0 which requires Rails which requires sprockets 😒
The latest Sprockets (in master) no longer has a dependency on Tilt. Maybe you can get them to release a new version?
Thanks @judofyr that's an interesting alternative and good to know ! 😁 We want Cells to be usable till Rails 3.2, which still has the dependency, that's why we're asking for this here.
The latest version is sprocket 3
sprocket-rails depend on "sprockets", "~> 2.8".
I don't quite remember if Slim uses Tilt 2 because it's the latest version or if it actually depends on Tilt 2-only features. @minad?
Slim uses Tilt?
It works with all tilt versions: https://travis-ci.org/slim-template/slim
Closing this since @minad says Slim works with all Tilt versions.
Please comment or re-open if this is still an issue.
if travis says so :)