Sha256: 52dc6a4a2cf61161aa1e6ed569b354e8cf819ff4c84716ce7a504b6051fb45df

Contents?: true

Size: 1.04 KB

Versions: 14

Compression:

Stored size: 1.04 KB

Contents

require "rubygems"
gem "thin", ">=1.2.1"
gem "erector", ">=0.6.6"
gem "selenium-client"

dir = File.dirname(__FILE__)
$LOAD_PATH.unshift File.expand_path("#{dir}/../vendor/lucky-luciano/lib")
require "lucky_luciano"

require "fileutils"
require "tmpdir"
require "timeout"
require "cgi"
require "net/http"
require "selenium/client"
require "optparse"
require "erector"

require "#{dir}/js_test_core/configuration"

require "#{dir}/js_test_core/extensions"
require "#{dir}/js_test_core/models"
require "#{dir}/js_test_core/resources"
require "#{dir}/js_test_core/representations"

require "#{dir}/js_test_core/client"
require "#{dir}/js_test_core/selenium_server_configuration"

require "#{dir}/js_test_core/app"

module JsTestCore
  DEFAULT_HOST = "0.0.0.0"
  DEFAULT_PORT = 8080

  class << self
    Configuration.instance = Configuration.new

    def method_missing(method_name, *args, &block)
      if Configuration.instance.respond_to?(method_name)
        Configuration.instance.send(method_name, *args, &block)
      else
        super
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 4 rubygems

Version Path
pivotal-screw-unit-0.5.0 vendor/js-test-core/lib/js_test_core.rb
pivotal-screw-unit-0.5.1 vendor/js-test-core/lib/js_test_core.rb
pivotal-screw-unit-0.5.2 vendor/js-test-core/lib/js_test_core.rb
pivotal-screw-unit-0.5.3 vendor/js-test-core/lib/js_test_core.rb
pivotal-screw-unit-server-0.5.3 vendor/js-test-core/lib/js_test_core.rb
pivotal-screw-unit-server-0.5.4 vendor/js-test-core/lib/js_test_core.rb
pivotal-screw-unit-server-0.5.5 vendor/js-test-core/lib/js_test_core.rb
pivotal-screw-unit-server-0.5.6 vendor/js-test-core/lib/js_test_core.rb
pivotal-screw-unit-server-0.5.7 vendor/js-test-core/lib/js_test_core.rb
pivotal-screw-unit-server-0.5.8 vendor/js-test-core/lib/js_test_core.rb
pivotal-screw-unit-server-0.5.9 vendor/js-test-core/lib/js_test_core.rb
screw-unit-0.5.1 vendor/js-test-core/lib/js_test_core.rb
screw-unit-0.5.2 vendor/js-test-core/lib/js_test_core.rb
screw-unit-server-0.5.3 vendor/js-test-core/lib/js_test_core.rb