expressir 2.4.38-aarch64-linux → 2.4.39-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 +4 -4
- data/lib/expressir/p21/dataset_manifest.rb +17 -0
- data/lib/expressir/version.rb +1 -1
- 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: 6acf267e7995692726ce146d2403b1d3ee5bedb0c8b900ae7073a6a64d46dafc
|
|
4
|
+
data.tar.gz: abda66bcc24e2be370104d4f233e42b62662dfa41df1c38089a0dd502ede67f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f44850b2b02c3f314a782e7d4a7553659285e9cde15bb24b8fdd5a9dfc88e7e73d7733513e50ebc13bf41520220b87b6dc87403c7ff3c98c912686bf291728e
|
|
7
|
+
data.tar.gz: 6d59bd498346c0daad89d51707d47b4293286905265974f8d31c9735e53ad046794c75fde4b97705aa759857ae25e0e90d370cc45e26b706299c662fec82825e
|
|
@@ -21,6 +21,7 @@ module Expressir
|
|
|
21
21
|
def from_file(path)
|
|
22
22
|
manifest = from_yaml(File.read(path))
|
|
23
23
|
manifest.base_dir = File.dirname(File.expand_path(path))
|
|
24
|
+
manifest.validate_entries!
|
|
24
25
|
manifest
|
|
25
26
|
end
|
|
26
27
|
end
|
|
@@ -40,6 +41,22 @@ module Expressir
|
|
|
40
41
|
def schema_path
|
|
41
42
|
File.expand_path(schema, base_dir || ".")
|
|
42
43
|
end
|
|
44
|
+
|
|
45
|
+
# Entries are plain file paths. Structured shapes (the
|
|
46
|
+
# `{path: ...}` mapping of the schema-side manifest) are a
|
|
47
|
+
# different format and must fail at load, not as a TypeError
|
|
48
|
+
# deep in path resolution.
|
|
49
|
+
def validate_entries!
|
|
50
|
+
files.to_a.each_with_index do |file, index|
|
|
51
|
+
next if file.is_a?(String)
|
|
52
|
+
|
|
53
|
+
raise Expressir::ManifestValidationError,
|
|
54
|
+
"manifest 'files' entry #{index} is not a plain file " \
|
|
55
|
+
"path; the dataset manifest takes a list of paths " \
|
|
56
|
+
"('files:\\n - dataset.p21'), not the schema " \
|
|
57
|
+
"manifest's '{path: ...}' entries"
|
|
58
|
+
end
|
|
59
|
+
end
|
|
43
60
|
end
|
|
44
61
|
end
|
|
45
62
|
end
|
data/lib/expressir/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: expressir
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.4.
|
|
4
|
+
version: 2.4.39
|
|
5
5
|
platform: aarch64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|