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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ca98ff4438a5a68a212afe88cfdba08d6e6a939de423d9898065a26bc4d156f
4
- data.tar.gz: 985ef0cc7344be68b1c2b3c73a0fe0d66c60757ffbd21016a4d1035e260a5040
3
+ metadata.gz: 5d8908a1d1804c2e04da139de1fc8a3bb7631780f0a8ee99753cd78f5c4e8134
4
+ data.tar.gz: 2d113c112835b279292b5aac0042efa5d77fce7fbc2d3bf775b817bea0b7b440
5
5
  SHA512:
6
- metadata.gz: fee411830f8b6073eb4455f54765586b4c9e61e63c3e6ba0f580a667f0b0a931ef54dcce13259f7d32dceed5fd7d33923fcf6b89a7aaf9d784cdb9adb2b53aaf
7
- data.tar.gz: 525e48ab0f508331ce85c29c6d5452072ae1f43490527d75ffa8dcb4c8e037686c21863eb807d2502214cca4bf64c890c5e4f71ef5f59ab2215b4a43bdc8be41
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.exists? dest_parent_dir
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.exists? binary_path
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.2
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-06-06 00:00:00.000000000 Z
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