venetian 0.4.1-aarch64-linux → 0.4.2-aarch64-linux

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: 201c4948bc4ffc94ef1396ad345702a486d951544aa27a0ab2dce0a2c36e417e
4
- data.tar.gz: 2c58cee2dc45d49ecd2c6ff984fa8e306742d6f6571762537907c49fe1dd9b52
3
+ metadata.gz: 677ff543885068612acd824ad87f5e2791b52c47cfe90a671b28111581e343a1
4
+ data.tar.gz: 2291ddaef9991df4f8f81d3698b4179c7c6195226e12104051daf37e2c5aea9b
5
5
  SHA512:
6
- metadata.gz: b2771f78c6eb6b617ae25deddbccdd8007c01103ff9f49436a65c522ae1052356eacacca9ec2d407f3c3a073d8f28cd985856d88fdf2089d9d172a2bd031d492
7
- data.tar.gz: f9ba59523ddfde7e6f924607b6cd828bdefc0f3b8746a2cb45ed454574361fab09ecec940ffdb94e2c9bae7ad12be23102c81b036195b5af691e3edfad8d5366
6
+ metadata.gz: 554b0e1c6f2cc9cb61fc2aeb403781e251e412aa294df99e38af07ff116940a86387d2fed7a79b804c1b0848d0215385b99208c3456988a6bfcd2414a6d937cb
7
+ data.tar.gz: d13119f7a6eef89e5667e007f072dc72ecb7558f8637c829babdd7782e7f0b748888ac66e009c2eed28761fd2fe1141874599248e46330f10d9bea4e7bf74272
data/AGENTS.md CHANGED
@@ -104,7 +104,7 @@ layout, so keep it if you change the assembly. There's no wrapper script: `Execu
104
104
  it instead.
105
105
  - Extensions to other gems are `*Extensions` modules prepended at the bottom of their own file, not monkey patches.
106
106
  The entry points (`lib/venetian.rb`, `lib/venetian/playwright.rb`) decide which ones load.
107
- - Debug output only appears when `VENETIAN_DEBUG` is set. Keep the gem quiet by default.
107
+ - Debug output only appears with `VENETIAN_DEBUG=1`. Keep the gem quiet by default.
108
108
 
109
109
  ## Tests
110
110
 
data/Rakefile CHANGED
@@ -1,15 +1,24 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "bundler/setup"
3
4
  require "bundler/gem_tasks"
4
- require "minitest/test_task"
5
5
 
6
- Minitest::TestTask.create
6
+ # With BUNDLE_ONLY=sync, neither the test and lint gems nor this gem are installed and set up
7
+ if Bundler.settings[:only].then { |groups| groups.empty? || groups.include?(:default) }
8
+ require "minitest/test_task"
7
9
 
8
- require "rubocop/rake_task"
10
+ Minitest::TestTask.create
9
11
 
10
- RuboCop::RakeTask.new
12
+ require "rubocop/rake_task"
11
13
 
12
- task default: %i[test rubocop]
14
+ RuboCop::RakeTask.new
15
+
16
+ task default: %i[test rubocop]
17
+ else
18
+ require "pathname"
19
+
20
+ $LOAD_PATH.unshift Pathname(__dir__).join("lib").to_path
21
+ end
13
22
 
14
23
  import "rakelib/release.rake"
15
24
  import "rakelib/upstream.rake"
@@ -1184,8 +1184,8 @@ The externally maintained libraries used by Node.js are:
1184
1184
  same "printed page" as the copyright notice for easier
1185
1185
  identification within third-party archives.
1186
1186
 
1187
- Copyright 2017 - 2025 R. Thomas
1188
- Copyright 2017 - 2025 Quarkslab
1187
+ Copyright 2017 - 2026 R. Thomas
1188
+ Copyright 2017 - 2026 Quarkslab
1189
1189
 
1190
1190
  Licensed under the Apache License, Version 2.0 (the "License");
1191
1191
  you may not use this file except in compliance with the License.
@@ -2600,29 +2600,6 @@ The externally maintained libraries used by Node.js are:
2600
2600
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2601
2601
  """
2602
2602
 
2603
- - large_pages, located at src/large_pages, is licensed as follows:
2604
- """
2605
- Copyright (C) 2018 Intel Corporation
2606
-
2607
- Permission is hereby granted, free of charge, to any person obtaining a copy
2608
- of this software and associated documentation files (the "Software"),
2609
- to deal in the Software without restriction, including without limitation
2610
- the rights to use, copy, modify, merge, publish, distribute, sublicense,
2611
- and/or sell copies of the Software, and to permit persons to whom
2612
- the Software is furnished to do so, subject to the following conditions:
2613
-
2614
- The above copyright notice and this permission notice shall be included
2615
- in all copies or substantial portions of the Software.
2616
-
2617
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
2618
- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2619
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
2620
- THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
2621
- OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
2622
- ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
2623
- OR OTHER DEALINGS IN THE SOFTWARE.
2624
- """
2625
-
2626
2603
  - caja, located at lib/internal/freeze_intrinsics.js, is licensed as follows:
2627
2604
  """
2628
2605
  Adapted from SES/Caja - Copyright (C) 2011 Google Inc.
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: data/exe/aarch64-linux/node
3
- size: 123377224 bytes
4
- sha256: c8c5721679d8d1a09e9987e345d5f9a64899bb85f7a384783ba8a93e6e62348a
3
+ size: 150328456 bytes
4
+ sha256: 66f4a883c880ef336276e7730c01cbae2b92fb8e6a51f7371f920599cac824b7
data/exe/playwright CHANGED
@@ -4,7 +4,7 @@
4
4
  require "venetian/core"
5
5
 
6
6
  begin
7
- Venetian.execute(*ARGV, echo: ENV.fetch("VENETIAN_DEBUG", nil))
7
+ Venetian.execute(*ARGV, echo: Venetian.debug?)
8
8
  rescue Venetian::Executable::UnsupportedPlatformError, Venetian::Executable::ExecutableNotFoundError => e
9
9
  warn "ERROR: #{e.message}"
10
10
  exit 1
@@ -18,7 +18,7 @@ module Venetian
18
18
  end
19
19
 
20
20
  def install_dry_run(browser = nil)
21
- Executable.capture("install-deps", *browser&.to_s, "--dry-run", echo: debug?)
21
+ Executable.capture("install-deps", *browser&.to_s, "--dry-run", echo: Venetian.debug?)
22
22
  end
23
23
 
24
24
  def install_into_browsers_path(browser, deps: nil)
@@ -71,16 +71,12 @@ module Venetian
71
71
  end
72
72
 
73
73
  def run_installer(*args)
74
- return Venetian.system(*args, exception: true, echo: true) if debug?
74
+ return Venetian.system(*args, exception: true, echo: true) if Venetian.debug?
75
75
 
76
76
  Executable.capture(*args, echo: false, merge_stderr: false).then do |output, status|
77
77
  raise InstallError, "exit status #{status.exitstatus}\n#{output}".strip unless status.success?
78
78
  end
79
79
  end
80
-
81
- def debug?
82
- ENV.fetch("VENETIAN_DEBUG", nil)
83
- end
84
80
  end
85
81
 
86
82
  # # Install Error
data/lib/venetian/core.rb CHANGED
@@ -23,4 +23,8 @@ module Venetian # :nodoc:
23
23
  def self.system(*, echo: true, **)
24
24
  Executable.system(*, echo: echo, **)
25
25
  end
26
+
27
+ def self.debug?
28
+ ENV["VENETIAN_DEBUG"] == "1"
29
+ end
26
30
  end
@@ -17,10 +17,10 @@ module Venetian
17
17
 
18
18
  class << self
19
19
  # Returns whether to run Node with the certificate authorities Ruby's OpenSSL trusts, which it does unless
20
- # +VENETIAN_BUNDLED_CA+ is set or Node is told to use other certificate authorities, with +--use-bundled-ca+ or
20
+ # +VENETIAN_BUNDLED_CA=1+ or Node is told to use other certificate authorities, with +--use-bundled-ca+ or
21
21
  # +--use-system-ca+ in +NODE_OPTIONS+ or with +NODE_USE_SYSTEM_CA=1+.
22
22
  def enabled?
23
- !ENV.key?(BUNDLED_CA_ENV_VAR) && !other_certificate_authorities?
23
+ ENV[BUNDLED_CA_ENV_VAR] != "1" && !other_certificate_authorities?
24
24
  end
25
25
 
26
26
  # Returns the environment variables pointing Node at the certificates Ruby's OpenSSL trusts, if #enabled?.
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Venetian
4
- VERSION = "0.4.1"
4
+ VERSION = "0.4.2"
5
5
  COMPATIBLE_PLAYWRIGHT_VERSION = "1.64.0"
6
- NODE_VERSION = "24.22.1"
6
+ NODE_VERSION = "26.13.0"
7
7
  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.4.1
4
+ version: 0.4.2
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Justin Malčić