venetian 0.3.1 → 0.3.2
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 +4 -4
- data/Rakefile +1 -0
- data/lib/venetian/upstream.rb +36 -1
- data/lib/venetian/version.rb +3 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f695151d55003ebac29d7a3a8f07e9fefa0f0f89157f4968136c455227cd6db0
|
|
4
|
+
data.tar.gz: cc76fe2abb9785560bf07410ff248965aba79695f0fdb95ebeffc06903353cf9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 63cc42e4330acc9b36da4096b31e922866437eaa174c4c9970dfdbf1ee35f23837cd0a4faa918e8dc9340f409c355a277b190ab7350e43a6ae31ad8ea84ee39b
|
|
7
|
+
data.tar.gz: 54095af7e65876ba7ce6804451de1618fa52eb1db6cad1fb46a7e27b9a901b7c8948ebda0c351671f6831c9f7f8609ab3172b854b377ddcfd9a92c2637fa5dae
|
data/Rakefile
CHANGED
data/lib/venetian/upstream.rb
CHANGED
|
@@ -22,9 +22,29 @@ module Venetian
|
|
|
22
22
|
windows ? "zip" : "tar.gz"
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
+
# Returns the basename of the Node.js release archive for the given version, also its top-level directory.
|
|
26
|
+
def node_archive_basename_for(version)
|
|
27
|
+
"node-v#{version}-#{node_dir}"
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Returns the filename of the Node.js release archive for the given version.
|
|
31
|
+
def node_archive_name_for(version)
|
|
32
|
+
"#{node_archive_basename_for(version)}.#{node_archive_extension}"
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Returns a pattern capturing the archive's SHA-256 checksum from the given version's SHASUMS256.txt.
|
|
36
|
+
def node_checksum_pattern_for(version)
|
|
37
|
+
/^(\h{64}) +#{Regexp.escape(node_archive_name_for(version))}$/
|
|
38
|
+
end
|
|
39
|
+
|
|
25
40
|
# Returns the URL to download the Node.js release archive for the given version.
|
|
26
41
|
def node_url_for(version)
|
|
27
|
-
"#{NODE_DIST_URL}/v#{version}
|
|
42
|
+
"#{NODE_DIST_URL}/v#{version}/#{node_archive_name_for(version)}"
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Returns the URL of the signed SHA-256 checksums for the Node.js release archives of the given version.
|
|
46
|
+
def node_signed_checksums_url_for(version)
|
|
47
|
+
"#{NODE_DIST_URL}/v#{version}/SHASUMS256.txt.asc"
|
|
28
48
|
end
|
|
29
49
|
end
|
|
30
50
|
|
|
@@ -46,6 +66,21 @@ module Venetian
|
|
|
46
66
|
"#{NPM_REGISTRY_URL}/playwright-core/-/playwright-core-#{COMPATIBLE_PLAYWRIGHT_VERSION}.tgz"
|
|
47
67
|
end
|
|
48
68
|
|
|
69
|
+
# Returns the URL of the npm registry metadata for the playwright-core package, which includes its integrity hash.
|
|
70
|
+
def self.playwright_core_metadata_url
|
|
71
|
+
npm_metadata_url("playwright-core", COMPATIBLE_PLAYWRIGHT_VERSION)
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# Returns the URL of the npm registry metadata for the given package version.
|
|
75
|
+
def self.npm_metadata_url(name, version)
|
|
76
|
+
"#{npm_packument_url(name)}/#{version}"
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# Returns the URL of the npm registry metadata for every version of the given package, including publish times.
|
|
80
|
+
def self.npm_packument_url(name)
|
|
81
|
+
"#{NPM_REGISTRY_URL}/#{name}"
|
|
82
|
+
end
|
|
83
|
+
|
|
49
84
|
# Returns the gemspec files for the base gem.
|
|
50
85
|
def self.base_files
|
|
51
86
|
GEMSPEC.files
|
data/lib/venetian/version.rb
CHANGED
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.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Malčić
|
|
@@ -29,14 +29,14 @@ dependencies:
|
|
|
29
29
|
requirements:
|
|
30
30
|
- - "~>"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 1.
|
|
32
|
+
version: 1.64.0
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 1.
|
|
39
|
+
version: 1.64.0
|
|
40
40
|
description: Bundles the Playwright driver binary in platform-specific gem variants
|
|
41
41
|
and integrates with `capybara-playwright-driver`.
|
|
42
42
|
email:
|
|
@@ -73,7 +73,7 @@ metadata:
|
|
|
73
73
|
homepage_uri: https://malcic.codes/projects/software/venetian
|
|
74
74
|
source_code_uri: https://github.com/jmalcic/venetian
|
|
75
75
|
rubygems_mfa_required: 'true'
|
|
76
|
-
playwright_version: 1.
|
|
76
|
+
playwright_version: 1.64.0
|
|
77
77
|
rdoc_options: []
|
|
78
78
|
require_paths:
|
|
79
79
|
- lib
|