sauce-connect 3.6.0 → 3.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sauce/connect.rb +6 -2
  3. metadata +17 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 339e50f0444a31f173d2ed8128d59fa8e0bdd3f5
4
- data.tar.gz: 39aaac5a74ab6c607f6b130581f7b6072d3de6fa
3
+ metadata.gz: fc8a2218111865bb0670b851cbc325f83abb22c7
4
+ data.tar.gz: d41b9285fe3fc9039201eb65a83d971e40cba6af
5
5
  SHA512:
6
- metadata.gz: fc2a7ca12fb914304a8bdeb24230621de703be394a173d7fa01da638e03adbc035d5d69e00b6a9f2d51876f838a0761c30a80a1950a09e1ae53099958e76410b
7
- data.tar.gz: 0e2d09f5a9c45d550d7a0e9c15ea8012e8cad464bd4a1d9d7e1dc7c7f50751f8911d4622dc785e3bf8895e3b848b2f00e3c867f3708a76ebe4437ca68071e51b
6
+ metadata.gz: 9d334b97fded3edbd49ec1db40a81a444e9443588e54eff637649d704a3fa0f5966edc80bafd4f6518f982a1cc431b370e444b116cf06357770e0899ea4dc1bc
7
+ data.tar.gz: fe5387816660f34f1c59192eaaa1614f3905224fa4cb40a7d3555ac620c8eca7caa224d121c5febf18bbb189d5b76a58db6a448914f98f169db655a93ce510dd
@@ -91,7 +91,7 @@ module Sauce
91
91
 
92
92
  Thread.new {
93
93
  while( (line = @pipe.gets) )
94
- if line =~ /Tunnel remote VM is (.*) (\.\.|at)/
94
+ if line =~ /remote tunnel VM is now: (.*)/
95
95
  @status = $1
96
96
  end
97
97
  if line =~/You may start your tests\./i
@@ -192,7 +192,11 @@ module Sauce
192
192
  def array_of_formatted_cli_options_from_hash(hash)
193
193
  hash.collect do |key, value|
194
194
  opt_name = key.to_s.gsub("_", "-")
195
- return "--#{opt_name} #{value}"
195
+ if !value.nil?
196
+ "--#{opt_name} #{value}"
197
+ else
198
+ "--#{opt_name}"
199
+ end
196
200
  end
197
201
  end
198
202
 
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.6.0
4
+ version: 3.6.1
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-04-27 00:00:00.000000000 Z
14
+ date: 2015-07-25 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: sauce
@@ -27,6 +27,20 @@ dependencies:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
29
  version: '3.5'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - "~>"
35
+ - !ruby/object:Gem::Version
36
+ version: 3.3.0
37
+ type: :development
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: 3.3.0
30
44
  description: A wrapper to start and stop a Sauce Connect tunnel programatically.
31
45
  email:
32
46
  - tyler@monkeypox.org
@@ -62,7 +76,7 @@ requirements:
62
76
  - An account at http://www.saucelabs.com
63
77
  - A working copy of Sauce Connect from https://docs.saucelabs.com/reference/sauce-connect
64
78
  rubyforge_project:
65
- rubygems_version: 2.2.2
79
+ rubygems_version: 2.4.8
66
80
  signing_key:
67
81
  specification_version: 4
68
82
  summary: Manage Sauce Connect from within your tests