sauce 0.12.7 → 0.12.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/sauce/connect.rb +3 -1
- metadata +13 -14
- data/.gitignore +0 -21
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.12.
|
1
|
+
0.12.8
|
data/lib/sauce/connect.rb
CHANGED
@@ -8,10 +8,12 @@ module Sauce
|
|
8
8
|
@error = nil
|
9
9
|
host = options[:host] || '127.0.0.1'
|
10
10
|
port = options[:port] || '3000'
|
11
|
+
port = options[:tunnel_port] || '80'
|
11
12
|
options.delete(:host)
|
12
13
|
options.delete(:port)
|
14
|
+
options.delete(:tunnel_port)
|
13
15
|
config = Sauce::Config.new(options)
|
14
|
-
args = ['-u', config.username, '-k', config.access_key, '-s', host, '-p', port, '-d', config.domain, '-t',
|
16
|
+
args = ['-u', config.username, '-k', config.access_key, '-s', host, '-p', port, '-d', config.domain, '-t', tunnel_port]
|
15
17
|
@pipe = IO.popen(([Sauce::Connect.find_sauce_connect] + args).join(' '))
|
16
18
|
at_exit do
|
17
19
|
Process.kill("INT", @pipe.pid)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sauce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 63
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 12
|
9
|
-
-
|
10
|
-
version: 0.12.
|
9
|
+
- 8
|
10
|
+
version: 0.12.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sean Grove
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2011-01-
|
20
|
+
date: 2011-01-20 00:00:00 -03:00
|
21
21
|
default_executable: sauce
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
@@ -151,7 +151,6 @@ extra_rdoc_files:
|
|
151
151
|
- README.markdown
|
152
152
|
files:
|
153
153
|
- .document
|
154
|
-
- .gitignore
|
155
154
|
- LICENSE
|
156
155
|
- README.markdown
|
157
156
|
- Rakefile
|
@@ -198,8 +197,8 @@ homepage: http://github.com/saucelabs/sauce
|
|
198
197
|
licenses: []
|
199
198
|
|
200
199
|
post_install_message:
|
201
|
-
rdoc_options:
|
202
|
-
|
200
|
+
rdoc_options: []
|
201
|
+
|
203
202
|
require_paths:
|
204
203
|
- lib
|
205
204
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -223,19 +222,19 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
222
|
requirements: []
|
224
223
|
|
225
224
|
rubyforge_project:
|
226
|
-
rubygems_version: 1.
|
225
|
+
rubygems_version: 1.4.2
|
227
226
|
signing_key:
|
228
227
|
specification_version: 3
|
229
228
|
summary: Ruby access to Sauce Labs' features
|
230
229
|
test_files:
|
230
|
+
- examples/helper.rb
|
231
|
+
- examples/other_spec.rb
|
232
|
+
- examples/saucelabs_spec.rb
|
233
|
+
- examples/test_saucelabs.rb
|
234
|
+
- examples/test_saucelabs2.rb
|
231
235
|
- test/helper.rb
|
232
236
|
- test/test_config.rb
|
233
237
|
- test/test_connect.rb
|
234
238
|
- test/test_jobs.rb
|
235
239
|
- test/test_selenium.rb
|
236
240
|
- test/test_tunnels.rb
|
237
|
-
- examples/helper.rb
|
238
|
-
- examples/other_spec.rb
|
239
|
-
- examples/saucelabs_spec.rb
|
240
|
-
- examples/test_saucelabs.rb
|
241
|
-
- examples/test_saucelabs2.rb
|