sauce 0.18.0 → 0.18.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/sauce/config.rb CHANGED
@@ -32,6 +32,7 @@ module Sauce
32
32
 
33
33
  PLATFORMS = {
34
34
  "Windows 2003" => "WINDOWS",
35
+ "Windows 2008" => "VISTA",
35
36
  "Linux" => "LINUX"
36
37
  }
37
38
 
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.18.0"
5
+ s.version = "0.18.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Eric Allen", "Sean Grove", "Steven Hazel"]
9
- s.date = %q{2011-03-22}
9
+ s.date = %q{2011-03-23}
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
@@ -87,4 +87,12 @@ class TestConfig < Test::Unit::TestCase
87
87
  Sauce.config {|c|}
88
88
  assert_equal [["Windows 2003", "firefox", "3.6."]], Sauce::Config.new.browsers
89
89
  end
90
+
91
+ def test_platforms
92
+ config = Sauce::Config.new(:os => "Windows 2003")
93
+ assert_equal "WINDOWS", config.to_desired_capabilities[:platform]
94
+
95
+ config = Sauce::Config.new(:os => "Windows 2008")
96
+ assert_equal "VISTA", config.to_desired_capabilities[:platform]
97
+ end
90
98
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sauce
3
3
  version: !ruby/object:Gem::Version
4
- hash: 87
4
+ hash: 85
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 18
9
- - 0
10
- version: 0.18.0
9
+ - 1
10
+ version: 0.18.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Eric Allen
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-03-22 00:00:00 -07:00
20
+ date: 2011-03-23 00:00:00 -07:00
21
21
  default_executable: sauce
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency