sauce 0.17.7 → 0.17.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ require "selenium/client"
2
2
  require "selenium/webdriver"
3
3
 
4
4
  module Sauce
5
- class Selenium < Selenium::Client::Driver
5
+ class Selenium < ::Selenium::Client::Driver
6
6
  def initialize(opts={})
7
7
  @config = Sauce::Config.new(opts)
8
8
  super(opts.merge({:host => @config.host, :port => @config.port,
@@ -13,7 +13,7 @@ module Sauce
13
13
  class Selenium2
14
14
  def initialize(opts={})
15
15
  @config = Sauce::Config.new(opts)
16
- http_client = Selenium::WebDriver::Remote::Http::Default.new
16
+ http_client = ::Selenium::WebDriver::Remote::Http::Default.new
17
17
  http_client.timeout = 300 # Browser launch can take a while
18
18
  @driver = ::Selenium::WebDriver.for(:remote, :url => "http://#{@config.username}:#{@config.access_key}@#{@config.host}:#{@config.port}/wd/hub", :desired_capabilities => @config.to_desired_capabilities, :http_client => http_client)
19
19
  http_client.timeout = 90 # Once the browser is up, commands should time out reasonably
data/sauce.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{sauce}
5
- s.version = "0.17.7"
5
+ s.version = "0.17.8"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Sean Grove", "Eric Allen", "Steven Hazel"]
9
- s.date = %q{2011-03-10}
8
+ s.authors = ["Eric Allen", "Sean Grove", "Steven Hazel"]
9
+ s.date = %q{2011-03-21}
10
10
  s.default_executable = %q{sauce}
11
11
  s.description = %q{A Ruby interface to Sauce Labs' services. Start/stop tunnels, retrieve Selenium logs, access video replays, etc.}
12
12
  s.email = %q{help@saucelabs.com}
data/test/test_config.rb CHANGED
@@ -31,7 +31,7 @@ class TestConfig < Test::Unit::TestCase
31
31
 
32
32
  def test_convenience_accessors
33
33
  config = Sauce::Config.new
34
- assert_equal "saucelabs.com", config.host
34
+ assert_equal "ondemand.saucelabs.com", config.host
35
35
  end
36
36
 
37
37
  def test_gracefully_degrades_browsers_field
metadata CHANGED
@@ -1,23 +1,23 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sauce
3
3
  version: !ruby/object:Gem::Version
4
- hash: 85
4
+ hash: 75
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 17
9
- - 7
10
- version: 0.17.7
9
+ - 8
10
+ version: 0.17.8
11
11
  platform: ruby
12
12
  authors:
13
- - Sean Grove
14
13
  - Eric Allen
14
+ - Sean Grove
15
15
  - Steven Hazel
16
16
  autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-03-10 00:00:00 -08:00
20
+ date: 2011-03-21 00:00:00 -07:00
21
21
  default_executable: sauce
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency