--
You received this message because you are subscribed to the Google Groups "Jasmine" group.
To post to this group, send email to jasmi...@googlegroups.com.
To unsubscribe from this group, send email to jasmine-js+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jasmine-js?hl=en.
I am really sorry for the late reply.
On Thu, May 19, 2011 at 6:30 PM, Rajan Agaskar <ra...@pivotallabs.com> wrote:
> I don't fully understand what this would let you do -- this lets you run
> jasmine tests directly against your jammit-compiled assets?
Yes
>
> As far as permitting users to add arbitrary rack apps/paths, absolutely,
> this is something I would like to see -- I think people would find this very
> useful.
>
> Do you have a fork with your changes to the jasmine-gem? I've been looking
> for examples of how people are extending jasmine as we think about how to
> offer a plugin architecture for extending jasmine.
Here it is
https://github.com/prateekdayal/jasmine-gem/commit/05f4f877ddc5b4e20eac126ab41570782b91567c
As you can see, I have made two changes. I added a lib_files function
to include js files that are passed in lib_files directive in
configuration. These files are included even if they are not present
on the disk (unlike src_files)
Also, I mount the rack middleware for Jammit in server.rb. I am using
the middleware from
https://github.com/railsjedi/jammit/tree/rack_middleware
Hope this explains what i am trying to achieve
Prateek
--
Prateek Dayal
Founder & CEO SupportBee
www.supportbee.com