sauce 3.1.0 → 3.1.1
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 +5 -1
- data/lib/sauce/version.rb +1 -1
- data/spec/sauce/config/config_spec.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZmQ0M2MyYTcxZmQ5MjZhZDcxMTM5ZWNhMDc0YWE5ZDJhYzE1ZDk5ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTAxN2EzZDk5NzMwMTczYWQ1ZWU1ZTE4ZWIxMThiYTFmZTBhY2FmZQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
M2U5NmI1N2FmNWQ4NDQ3ZGE5M2EwMzA0YWQ0OWZkM2Y3MmQwNzRlOTczNjg0
|
10
|
+
NGNjMzZlNWNmYmI3YmYwNTQwNGJlMTM1MDFlZWEwZjMyMmNhNzM5ZGFkNzli
|
11
|
+
NzM2MDAzZTkyOGY3ZjFjY2UwZmQ4NjU2NDUzZGJlZDQzNmFkMWY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzAxZTlhMTE1ZDQ4M2RjNmRlYzg1OGNiYjNhOGIzM2FjNmQ3YjdiMjdjNmNk
|
14
|
+
Njk3MmRiY2U0MThlNDljM2Q0NzI4YmZlNzUwNmQ5MWM5YzcwOWU2OWZmNTlj
|
15
|
+
NGY3MmI3N2U1NDllZDYzZmIzYzZhNWM0MDhhZjIxM2M2ZjI2ODA=
|
data/lib/sauce/config.rb
CHANGED
@@ -149,7 +149,11 @@ module Sauce
|
|
149
149
|
|
150
150
|
SAUCE_OPTIONS.each do |opt|
|
151
151
|
[opt, opt.gsub("-", "_")].map(&:to_sym).each do |sym|
|
152
|
-
|
152
|
+
if @opts.include? sym
|
153
|
+
desired_capabilities[opt.to_sym] = @opts[sym]
|
154
|
+
elsif @opts.include? sym.to_s
|
155
|
+
desired_capabilities[opt.to_sym] = @opts[sym.to_s]
|
156
|
+
end
|
153
157
|
end
|
154
158
|
end
|
155
159
|
|
data/lib/sauce/version.rb
CHANGED
@@ -193,6 +193,14 @@ describe Sauce::Config do
|
|
193
193
|
|
194
194
|
it { should have_key :'max-duration' }
|
195
195
|
end
|
196
|
+
|
197
|
+
context "prerun" do
|
198
|
+
subject do
|
199
|
+
Sauce::Config.new('prerun' => "Something Prerun").to_desired_capabilities
|
200
|
+
end
|
201
|
+
|
202
|
+
it { should have_key :'prerun'}
|
203
|
+
end
|
196
204
|
end
|
197
205
|
|
198
206
|
context 'platforms' do
|
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.1.
|
4
|
+
version: 3.1.1
|
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-
|
16
|
+
date: 2013-08-02 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: capybara
|