sauce-connect 3.2.0 → 3.3.0

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTIwOGNhNTkzOGNhMWUyZDFiNDU1YTBmMjRkODkzMWFiMTZkMTI4MQ==
4
+ M2YxMTk3ZjhiYmUyMTlhNDcwMmQ5MDNhMDdmYWMyNjkxOTZhYWVlZQ==
5
5
  data.tar.gz: !binary |-
6
- YWVlN2EzZTYwZDliNjNjODZmYzlmMjE3N2ZlZmQxODgwNTY1Njc0Yw==
7
- !binary "U0hBNTEy":
6
+ ZTdhOGNmNjg3ZDQxYTU2M2E2OGQ0NjU2MzVkNDM3Y2E1MzFjMGEyMQ==
7
+ SHA512:
8
8
  metadata.gz: !binary |-
9
- Nzk3ZGY0ZmM2Mzk4M2MwY2JkNjRlYjA0NGI5OWUzZjlhMWEyYmM4NzkyYWZm
10
- MjZiMzhlNTI5MzkwNzU5ZjI2NzIwZGIxOTU1MDYxNjc3ZmIyZDRlODZiZTVh
11
- ZjY4Njk4ODE5MmY1YmFjZDAxZTg5ZTdiY2Y2ZDlhZmE1YTFlMTU=
9
+ ZjcxNWI5NTEwYmRmNGNiZmFlNmEyOTljZTI0MTExMGVmMmE5ZWFmODFiMjg2
10
+ OTc5ZTQ0ODM1M2I0MGNjNzZkZDFkNzA2NjYwYTI1YmUxNzBiNjljYzFhMjhk
11
+ ZTY4ZTVhMjNmMGE3NzEyZjE2YWVjOGEyYzNhNDczNWYzNzU0MTE=
12
12
  data.tar.gz: !binary |-
13
- NGIxMTUxYzU2MWZiOGZhZWY2NDBjMDZkNzBjMDQ2MGZjOGEzNzkxMmEzNWI1
14
- MzI5NWEyMTFlMzNiZTE4M2MyZTk0Y2RjZjcyZTcwMTFmMWM1MDhjMDkyMWU1
15
- YjQ4YjVlMTViYjFiNjBiNWYxNmRhOWU0ZWY1ZTcyYzBlZjcyMDk=
13
+ NDc3OTAxMjk5MzQxY2VjZjdmZjdiMWIzMDViNjI1NTU1ZTRkOTY5NGI2YTQz
14
+ MTI2ZGMyNjZhN2VmODUxM2M3ZWI2OGE1ZDEzZWFkOTAyODU0ZDE5Y2FjNTY1
15
+ MGVlNTVlNmNlM2VmZTY2YTFkNTc5OGY0Zjg5NTFiYzRhZTIwZmE=
data/lib/sauce/connect.rb CHANGED
@@ -11,6 +11,7 @@ module Sauce
11
11
  @status = "uninitialized"
12
12
  @error = nil
13
13
  @quiet = options[:quiet]
14
+ @timeout = options.fetch(:timeout) { TIMEOUT }
14
15
  @config = Sauce::Config.new(options)
15
16
 
16
17
  if @config.username.nil?
@@ -70,7 +71,7 @@ module Sauce
70
71
 
71
72
  def wait_until_ready
72
73
  start = Time.now
73
- while !@ready and (Time.now-start) < TIMEOUT and @error != "Missing requirements"
74
+ while !@ready and (Time.now-start) < @timeout and @error != "Missing requirements"
74
75
  sleep 0.5
75
76
  end
76
77
 
@@ -79,7 +80,7 @@ module Sauce
79
80
  end
80
81
 
81
82
  if !@ready
82
- raise "Sauce Connect failed to connect after #{TIMEOUT} seconds"
83
+ raise "Sauce Connect failed to connect after #{@timeout} seconds"
83
84
  end
84
85
  end
85
86
 
Binary file
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sauce-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: !binary |-
5
+ My4zLjA=
5
6
  platform: ruby
6
7
  authors:
7
8
  - R. Tyler Croy
@@ -11,7 +12,7 @@ authors:
11
12
  autorequire:
12
13
  bindir: bin
13
14
  cert_chain: []
14
- date: 2013-09-25 00:00:00.000000000 Z
15
+ date: 2014-02-05 00:00:00.000000000 Z
15
16
  dependencies:
16
17
  - !ruby/object:Gem::Dependency
17
18
  name: sauce
@@ -19,14 +20,16 @@ dependencies:
19
20
  requirements:
20
21
  - - ~>
21
22
  - !ruby/object:Gem::Version
22
- version: '3.2'
23
+ version: !binary |-
24
+ My4z
23
25
  type: :runtime
24
26
  prerelease: false
25
27
  version_requirements: !ruby/object:Gem::Requirement
26
28
  requirements:
27
29
  - - ~>
28
30
  - !ruby/object:Gem::Version
29
- version: '3.2'
31
+ version: !binary |-
32
+ My4z
30
33
  description: ''
31
34
  email:
32
35
  - tyler@monkeypox.org
@@ -37,7 +40,8 @@ files:
37
40
  - lib/sauce/connect.rb
38
41
  - support/Sauce-Connect.jar
39
42
  homepage: ''
40
- licenses: []
43
+ licenses:
44
+ - Apache 2.0
41
45
  metadata: {}
42
46
  post_install_message:
43
47
  rdoc_options: []
@@ -55,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
59
  version: '0'
56
60
  requirements: []
57
61
  rubyforge_project:
58
- rubygems_version: 2.0.3
62
+ rubygems_version: 2.2.1
59
63
  signing_key:
60
64
  specification_version: 4
61
65
  summary: ''