suma 0.5.43 → 0.5.44

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: b19a3323b2babf94e043a9d44b58552d30a8216edce9a7b9481d4038114b2483
4
- data.tar.gz: 56217001687acfb6b8aab49274e78dac63014336d42929f01f8ac007c387777d
3
+ metadata.gz: f6eb72a3bbd0736b3b2cbffb9f5a503d3453d22751d45309a812427e9ec81fae
4
+ data.tar.gz: 2dc240baefbf6443a791bec48fa56aa7bcfbbcb882ea55dd5b690af36dd8b9f9
5
5
  SHA512:
6
- metadata.gz: 5f5ce333acd1281bb2e708ee025649f448b210f1c0ec60a9c4856cb40a991a4ddc7c67b5d17bd5ece3faf00f98ce8421d4c5e585a1f179bae6c8f1a490516468
7
- data.tar.gz: c25d489df407bce0993264896ed6c4eb8673b141ed586cdc03df428abb8009334b5bfbbc692bafd5969916d84b8f6a6e00e5ad4b1b9c88b678df199ec66af09d
6
+ metadata.gz: 4807e4162dd56a84037949ea8207bd3a19ad8d59dfcd82604cc0e3d9cbf409203ddf88c45e919549c3ad801a5128ee0c14fbb21920d8fa81a406ccf615527db6
7
+ data.tar.gz: 8ea8edf41eb454d6471257c142638b26b4036083dcfd65d02e401d2638edcdaa31218cc35d615601c8cfc033b4de9d6c2d031c93dc21e834fbbd364850c1e5b7
@@ -227,11 +227,17 @@ module Suma
227
227
  def schema_remarks
228
228
  @schema_remarks ||= Dir.glob("#{@site_dir}/plain_schemas/**/*.exp")
229
229
  .filter_map do |exp|
230
- schema = Expressir::Express::Parser.from_file(exp).schemas.first
230
+ begin
231
+ schema = Expressir::Express::Parser.from_file(exp).schemas.first
232
+ rescue Expressir::Express::Error::SchemaParseFailure => e
233
+ warn "[suma] unparseable schema attachment: #{exp} " \
234
+ "(#{e.message.lines.first.to_s.strip})"
235
+ next nil
236
+ end
231
237
  next unless schema
232
238
 
233
239
  [File.basename(exp, ".exp"), schema.remarks]
234
- end.to_h
240
+ end.compact.to_h
235
241
  end
236
242
 
237
243
  def schema_doc_page?(rel_path)
data/lib/suma/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Suma
4
- VERSION = "0.5.43"
4
+ VERSION = "0.5.44"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: suma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.43
4
+ version: 0.5.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-11-16 00:00:00.000000000 Z
11
+ date: 2026-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64