lib/js_spec.rb in js_spec-0.1.0 vs lib/js_spec.rb in js_spec-0.2.0
- old
+ new
@@ -1,22 +1,34 @@
require "rubygems"
-require "rack"
-require "mongrel"
+require "thin"
require "fileutils"
require "tmpdir"
require "timeout"
require "uuid"
+require "cgi"
+require "net/http"
+require "selenium"
+require "optparse"
dir = File.dirname(__FILE__)
+require "#{dir}/js_spec/thin/js_spec_connection"
+require "#{dir}/js_spec/thin/backends/js_spec_server"
+require "#{dir}/js_spec/rack/response"
require "#{dir}/js_spec/resources/runners"
require "#{dir}/js_spec/resources/runners/firefox_runner"
+require "#{dir}/js_spec/client"
require "#{dir}/js_spec/server"
require "#{dir}/js_spec/rails_server"
require "#{dir}/js_spec/resources/spec_runner"
require "#{dir}/js_spec/resources/spec_file_runner"
require "#{dir}/js_spec/resources/spec_dir_runner"
require "#{dir}/js_spec/resources/file"
require "#{dir}/js_spec/resources/dir"
require "#{dir}/js_spec/resources/web_root"
require "#{dir}/js_spec/resources/suite"
require "#{dir}/js_spec/resources/suite_finish"
+
+module JsSpec
+ DEFAULT_HOST = "127.0.0.1"
+ DEFAULT_PORT = 8080
+end