browserstack-local 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/browserstack/localbinary.rb +2 -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: 5d8908a1d1804c2e04da139de1fc8a3bb7631780f0a8ee99753cd78f5c4e8134
|
4
|
+
data.tar.gz: 2d113c112835b279292b5aac0042efa5d77fce7fbc2d3bf775b817bea0b7b440
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aad48f4723959de92ee40fc564167aea7d78ea98423557feda42e793d75acb57bb26a9f2944595693460aaae273c5b7058ebdcf6bbae8a70923335efa6ad742f
|
7
|
+
data.tar.gz: bd759d61834aacc1647e0c21caf07fc274a5aef426ec92ee71836153cf9f6d312dfd480c9392527c81d3b018e32b60be544dbacebbdfa6ccb90f015d254a0d59
|
@@ -34,7 +34,7 @@ class LocalBinary
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def download(dest_parent_dir)
|
37
|
-
unless File.
|
37
|
+
unless File.exist? dest_parent_dir
|
38
38
|
Dir.mkdir dest_parent_dir
|
39
39
|
end
|
40
40
|
uri = URI.parse(@http_path)
|
@@ -63,7 +63,7 @@ class LocalBinary
|
|
63
63
|
dest_parent_dir = get_available_dirs
|
64
64
|
binary_path = File.join(dest_parent_dir, "BrowserStackLocal#{".exe" if @windows}")
|
65
65
|
|
66
|
-
if File.
|
66
|
+
if File.exist? binary_path
|
67
67
|
binary_path
|
68
68
|
else
|
69
69
|
binary_path = download(dest_parent_dir)
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BrowserStack
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Ruby bindings for BrowserStack Local
|
14
14
|
email: support@browserstack.com
|