sauce 3.0.5 → 3.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/sauce/config.rb +13 -7
- data/lib/sauce/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzZiODQxZGRmYzBlM2RhN2YwZDc5NGI3OTc0NjliYWM2NGUyMjE4Mw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OGZjOTMxOTJiN2U0MjM2YjIyNjUxNTI5MDEyNjJkOGUzZTY5YjcxNg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NGM4M2QwYWYzNTZiZGUyNzA1OTc3MmU2YWEyNjg2MDAwNWJmYzNmNTAwZGJm
|
10
|
+
MTRiZWNiMzgwYzQ2YzliYWE4NjNkZjM4ODAzMjNhYzBiZWU5MDUzNjcxNmQ5
|
11
|
+
MTM4ODE3MzBhYTU3YzdmMmJkNWQ2NmU2MzM3MmQ2MDVlMTU0ZWE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YmZlNGNmNWViNTVhN2NlZTUwZDZkNTUxODM2MTUyMzI5MDhkZDI5NWE3OThk
|
14
|
+
MGU4MjMzNDc3YTZlMGRkYmE5MmMyZDFiNDQ0Nzg3MmZjOThjMDkzOTIzNDRm
|
15
|
+
ODRkNWFiNGM4OGEyNzA2NGMyZDUxOWVkOTI4NmZkM2JmMTU5MDM=
|
data/lib/sauce/config.rb
CHANGED
@@ -56,7 +56,9 @@ module Sauce
|
|
56
56
|
|
57
57
|
SAUCE_OPTIONS = %w{record-video record-screenshots capture-html tags
|
58
58
|
sauce-advisor single-window user-extensions-url firefox-profile-url
|
59
|
-
max-duration idle-timeout build custom-data
|
59
|
+
max-duration idle-timeout build custom-data tunnel-identifier
|
60
|
+
selenium-version command-timeout prerun prerun-args screen-resolution
|
61
|
+
disable-popup-handler avoid-proxy public}
|
60
62
|
|
61
63
|
def initialize(opts={})
|
62
64
|
@opts = {}
|
@@ -123,17 +125,21 @@ module Sauce
|
|
123
125
|
end
|
124
126
|
|
125
127
|
def to_desired_capabilities
|
126
|
-
{
|
128
|
+
desired_capabilities = {
|
127
129
|
:browserName => BROWSERS[browser] || browser,
|
128
130
|
:version => browser_version,
|
129
131
|
:platform => PLATFORMS[os] || os,
|
130
132
|
:name => @opts[:job_name],
|
131
133
|
:client_version => client_version
|
132
|
-
}
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
134
|
+
}
|
135
|
+
|
136
|
+
SAUCE_OPTIONS.each do |opt|
|
137
|
+
[opt, opt.gsub("-", "_")].map(&:to_sym).each do |sym|
|
138
|
+
desired_capabilities[opt.to_sym] = @opts[sym] if @opts.include? sym
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
desired_capabilities
|
137
143
|
end
|
138
144
|
|
139
145
|
def browsers
|
data/lib/sauce/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sauce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dylan Lacey
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2013-07-
|
16
|
+
date: 2013-07-17 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: capybara
|