sauce 0.18.0 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/sauce/config.rb +1 -0
- data/sauce.gemspec +2 -2
- data/test/test_config.rb +8 -0
- metadata +4 -4
data/lib/sauce/config.rb
CHANGED
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.
|
|
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-
|
|
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:
|
|
4
|
+
hash: 85
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 18
|
|
9
|
-
-
|
|
10
|
-
version: 0.18.
|
|
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-
|
|
20
|
+
date: 2011-03-23 00:00:00 -07:00
|
|
21
21
|
default_executable: sauce
|
|
22
22
|
dependencies:
|
|
23
23
|
- !ruby/object:Gem::Dependency
|