bin/jspec in visionmedia-jspec-2.7.0 vs bin/jspec in visionmedia-jspec-2.7.1

- old
+ new

@@ -9,11 +9,11 @@ require 'fileutils' RHINO = 'java org.mozilla.javascript.tools.shell.Main' program :name, 'JSpec' -program :version, '2.7.0' +program :version, '2.7.1' program :description, 'JavaScript BDD Testing Framework' default_command :bind command :init do |c| c.syntax = 'jspec init [dest]' @@ -93,9 +93,11 @@ # Actions if options.rhino spec = args.shift || path_to('spec.rhino.js') action = lambda { rhino spec } + elsif options.server_only + start_server options, nil elsif options.server spec = args.shift || path_to('spec.server.html') action = lambda { start_server options, spec } else spec = args.shift || path_to('spec.dom.html')