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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NGVlZTUyYjMyZDk4MzQ3N2RjMzVkYWM2MmJkYzE5OTRlZjI5YTkxYQ==
4
+ ZmQ0M2MyYTcxZmQ5MjZhZDcxMTM5ZWNhMDc0YWE5ZDJhYzE1ZDk5ZA==
5
5
  data.tar.gz: !binary |-
6
- YjkzOTE0Mjk5YjgzOGM4ODY3YTc2M2U5ZmY4Zjg4NGMwODkwMzg4OA==
6
+ OTAxN2EzZDk5NzMwMTczYWQ1ZWU1ZTE4ZWIxMThiYTFmZTBhY2FmZQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YzBkNjgwODU5NDJiMTI1OWMwMjUyYjE1N2M1ZjVjODI5N2JjMDExY2FmMDQy
10
- ZTljMjJiNWYwZDk5NTVhNjdlYzliN2IyYjU2OGRjODE1YWQwZDNmMTA0MDc2
11
- NWQ4MzM2MjgzMDk5OGQ5YmY0M2Y2ZjI5ZmJmNzUxNThiMWQxNzI=
9
+ M2U5NmI1N2FmNWQ4NDQ3ZGE5M2EwMzA0YWQ0OWZkM2Y3MmQwNzRlOTczNjg0
10
+ NGNjMzZlNWNmYmI3YmYwNTQwNGJlMTM1MDFlZWEwZjMyMmNhNzM5ZGFkNzli
11
+ NzM2MDAzZTkyOGY3ZjFjY2UwZmQ4NjU2NDUzZGJlZDQzNmFkMWY=
12
12
  data.tar.gz: !binary |-
13
- NzBjM2I0MDMxN2RkMzk1ZmZkNThkYTg3ODc1ZGE0YjU0ODBkYmNlOGRmOTA3
14
- M2QwZWNjOWU2YjdiYzIwYTgwY2Q1NDgxOTlmNDk3OWY5NTFiOWY1MDcwZTU4
15
- ODMzMzVkM2I1NDY1OTk4YmRlOWJhZTQxYjM4YTY3N2UzMjlkODg=
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
- desired_capabilities[opt.to_sym] = @opts[sym] if @opts.include? sym
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
@@ -1,6 +1,6 @@
1
1
  module Sauce
2
2
  MAJOR_VERSION = '3.1'
3
- PATCH_VERSION = '0'
3
+ PATCH_VERSION = '1'
4
4
 
5
5
  def version
6
6
  "#{MAJOR_VERSION}.#{PATCH_VERSION}"
@@ -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.0
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-07-24 00:00:00.000000000 Z
16
+ date: 2013-08-02 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: capybara