sauce-connect 3.5.2 → 3.5.3
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 +4 -4
- data/lib/sauce/connect.rb +8 -6
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7e6f85db52f14d80e95c3aa2d517afef5dead4c
|
|
4
|
+
data.tar.gz: 3dccc6b9b194df819b31069bbddf8b6a445ccfd1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cb2449e09c1b007ccb47ae1d235590f7bb09484c157ad31c989065320dab4932b7827b13a3c2590ba890909c15bf31d1a653935f6662df0f9b8561da7692fa12
|
|
7
|
+
data.tar.gz: d68cf386f77e5afe569cf925e6a5aad61f406d1dd60ba7c881edb215d0c0c5f2ba11285748b19118820c492beffcf31b7ed8606e4b5e33456ace71df5441a8de
|
data/lib/sauce/connect.rb
CHANGED
|
@@ -43,7 +43,7 @@ module Sauce
|
|
|
43
43
|
|
|
44
44
|
unless response.kind_of? Net::HTTPOK
|
|
45
45
|
$stderr.puts Sauce::Connect.cant_access_rest_api_message
|
|
46
|
-
raise TunnelNotPossibleException "Couldn't access REST API"
|
|
46
|
+
raise TunnelNotPossibleException, "Couldn't access REST API"
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
begin
|
|
@@ -63,7 +63,7 @@ module Sauce
|
|
|
63
63
|
end
|
|
64
64
|
|
|
65
65
|
if java_is_present?
|
|
66
|
-
puts "[
|
|
66
|
+
puts "[Sauce Connect is connecting to Sauce Labs...]"
|
|
67
67
|
|
|
68
68
|
formatted_cli_options = array_of_formatted_cli_options_from_hash(cli_options)
|
|
69
69
|
|
|
@@ -138,7 +138,9 @@ module Sauce
|
|
|
138
138
|
end
|
|
139
139
|
|
|
140
140
|
if !@ready
|
|
141
|
-
|
|
141
|
+
error_message = "Sauce Connect failed to connect after #{@timeout} seconds"
|
|
142
|
+
error_message << "\n(Using Sauce Connect at #{@sc4_executable}" if @sc4_executable
|
|
143
|
+
raise error_message
|
|
142
144
|
end
|
|
143
145
|
end
|
|
144
146
|
|
|
@@ -182,10 +184,10 @@ module Sauce
|
|
|
182
184
|
if File.executable? absolute_path
|
|
183
185
|
true
|
|
184
186
|
else
|
|
185
|
-
raise TunnelNotPossibleException "#{absolute_path} is not executable by #{Process.euid}"
|
|
187
|
+
raise TunnelNotPossibleException, "#{absolute_path} is not executable by #{Process.euid}"
|
|
186
188
|
end
|
|
187
189
|
else
|
|
188
|
-
raise TunnelNotPossibleException "#{absolute_path} does not exist"
|
|
190
|
+
raise TunnelNotPossibleException, "#{absolute_path} does not exist"
|
|
189
191
|
end
|
|
190
192
|
end
|
|
191
193
|
|
|
@@ -260,4 +262,4 @@ module Sauce
|
|
|
260
262
|
ENDLINE
|
|
261
263
|
end
|
|
262
264
|
end
|
|
263
|
-
end
|
|
265
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sauce-connect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.5.
|
|
4
|
+
version: 3.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- R. Tyler Croy
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2015-
|
|
14
|
+
date: 2015-04-07 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: sauce
|