browserstack-local 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/browserstack/local.rb +7 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a33529aaccf72b095458b5ac2a5c204e4470273917a44fd1fc84625ce91f5ee0
|
4
|
+
data.tar.gz: af61f3fa100e6658718d8b730b41c449087b81fd37cb56b28a28a94df8e50f4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71a369c194805358c9dd5e510d1db8deddecd199b4a158949c399b124ab71d886b9e3b71ad58571a4767e991381a33e22f7f058a81311f870380785c0d4c5f84
|
7
|
+
data.tar.gz: 33bf54639f676d295dd7e1c36446f1369de33558eff84260a4edce4fb0275c371050b31b18d59291233868f17a2e4836d0716617cf5b4f44277427eb3332ff65
|
data/lib/browserstack/local.rb
CHANGED
@@ -150,11 +150,16 @@ class Local
|
|
150
150
|
end
|
151
151
|
|
152
152
|
def stop_command
|
153
|
-
|
153
|
+
if @local_identifier_flag
|
154
|
+
return "#{@binary_path} -d stop -localIdentifier #{@local_identifier_flag}".strip
|
155
|
+
else
|
156
|
+
return "#{@binary_path} -d stop".strip
|
157
|
+
end
|
154
158
|
end
|
155
159
|
|
156
160
|
def stop_command_args
|
157
|
-
args = ["#{@binary_path}", "-d", "stop"
|
161
|
+
args = ["#{@binary_path}", "-d", "stop"]
|
162
|
+
args += ["-localIdentifier", "#{@local_identifier_flag}"] if @local_identifier_flag
|
158
163
|
args = args.select {|a| a.to_s != "" }
|
159
164
|
args.push(:err => [:child, :out])
|
160
165
|
args
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: browserstack-local
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BrowserStack
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Ruby bindings for BrowserStack Local
|
14
14
|
email: support@browserstack.com
|