venetian 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86af82df8948010e5f2f52b54d33fbfe5a569f42f9e8983578724ea173326a4d
4
- data.tar.gz: 553e447fa9f58ca407d33911420c40b830cd97d8615413f4a23a6a6fc0a2b3b2
3
+ metadata.gz: 8894a94bd04d285d094166aea97a598e5fe430d0517cd2727af3004c1c1e94ca
4
+ data.tar.gz: 0bc4c8fa1e7b5188df862e0a1addba7beb46a4e52eb4baa2421c545cc7638fd8
5
5
  SHA512:
6
- metadata.gz: 8b3bea2add859b3da2351d5677e0188bf6dccb931af8fe4b8ae436cdba2ae723eff922f05d34be6c006d88962b3a9639c3fd6890440b0d2a60e2606db17a8bff
7
- data.tar.gz: dd578db812f654a3896e0c5093567a4f28a436a33843b9e038b7d45757e14b8bd90c9cc2fd45d1d04157ff99659257e7f75c6c8f3b01da44a6f9281f0502dc77
6
+ metadata.gz: 53e51de62a9901d09b496f21f13fef0003d17ae21ee7284e722863fe3b1f8485d43bd2f255aaa8ab2252e736b474ca2d04742caa721dff29b48c319d4cd369ce
7
+ data.tar.gz: 4fe720569a97919438869bb4e65e5fc1f132922837fca139174f86c20f059f28423ba0c7b376e9bec53fa92dcd52b876a4b64913ccb7857a21716c12f3fdbc47
@@ -17,8 +17,9 @@ module Venetian
17
17
  end
18
18
 
19
19
  # Installs a browser. Raises InstallError if installation fails.
20
- def self.install(browser = nil)
21
- Venetian.system "install", *browser&.to_s, exception: true, echo: ENV.fetch("VENETIAN_DEBUG", nil)
20
+ def self.install(browser = nil, install_dependencies: true)
21
+ Venetian.system "install", *browser&.to_s, *("--with-deps" if install_dependencies),
22
+ exception: true, echo: ENV.fetch("VENETIAN_DEBUG", nil)
22
23
  rescue StandardError => e
23
24
  raise InstallError, e.message
24
25
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Venetian
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  COMPATIBLE_PLAYWRIGHT_VERSION = "1.60.0"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: venetian
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Malčić