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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/browserstack/local.rb +7 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6da8e88c99ecea376675b574ff5fc06aaa8efdcd40c71d86a2f1c452da3d0d4
4
- data.tar.gz: 4cfe9d0ff64e012c443ef3e2b1bf1a7a68c89628301060a6898bb1593fc89813
3
+ metadata.gz: a33529aaccf72b095458b5ac2a5c204e4470273917a44fd1fc84625ce91f5ee0
4
+ data.tar.gz: af61f3fa100e6658718d8b730b41c449087b81fd37cb56b28a28a94df8e50f4d
5
5
  SHA512:
6
- metadata.gz: 5d26f62daa4510ddebe24a24eecceac36cb2151eae034942fbc4b0765a2ea3f9aacc66be1a66bb3070dbc17431f3e41c85bcebd4830f404921b633787f916dc4
7
- data.tar.gz: 4337e4b3086cef7c165dea0ebe90d2d57bec931fb9b71a0c589c846a0e4c82b7d75d4eaa16574a03a0fca108311f1d247a95711621c4de85e0df590f4c5712a1
6
+ metadata.gz: 71a369c194805358c9dd5e510d1db8deddecd199b4a158949c399b124ab71d886b9e3b71ad58571a4767e991381a33e22f7f058a81311f870380785c0d4c5f84
7
+ data.tar.gz: 33bf54639f676d295dd7e1c36446f1369de33558eff84260a4edce4fb0275c371050b31b18d59291233868f17a2e4836d0716617cf5b4f44277427eb3332ff65
@@ -150,11 +150,16 @@ class Local
150
150
  end
151
151
 
152
152
  def stop_command
153
- "#{@binary_path} -d stop #{@local_identifier_flag}".strip
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", "#{@local_identifier_flag}"]
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.0
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: 2022-07-20 00:00:00.000000000 Z
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