Ruby runner updates may break current ruby runner users.

3 views
Skip to first unread message

Rajan Agaskar

unread,
Nov 1, 2009, 1:20:08 AM11/1/09
to jasmine...@googlegroups.com, jasmi...@googlegroups.com
I've just made a commit that updates the jasmine runner interface. If you are not using the ruby runner, you're probably fine to update. If you are currently using the ruby runner, you may need to make changes to your Jasmine::SimpleServer calls. Previously, Jasmine::SimpleServer took a port, an array of specs, dir mappings, and some other positional arguments. All the arguments following the dir mapping have been rolled up into an options hash. The options in question are: :spec_helpers (takes an array of paths to load in the runner before specs are loaded) and :stylesheets (takes an array of paths to load as stylesheets). If you weren't using any of these parameters previously, you shouldn't have to make any changes. If you were, you will probably need to update the calls to Jasmine::SimpleServer in your Rakefile and in your jasmine meta spec runner (jasmine_spec.rb in the example) to use the new interface if you want to be on HEAD.

Please let me know if you have any questions or issues.
Thanks!

Rajan
Reply all
Reply to author
Forward
0 new messages