sts 0.6.12 → 0.6.13

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: 607bba10d21a7b2b6f43d06e9d62c800f2443cdde9cdbf83a583facf2a57fe85
4
- data.tar.gz: 98887b8baca78a5354932fddb51f17e57dc6c154fefb7a0527a8fae5860cbf1d
3
+ metadata.gz: b7fc8c56a463652a173d2473cef72ac5ba96998ef2c5e3a0ce516b0cf1f03769
4
+ data.tar.gz: 6a167d48f3b24b8c5a89f71a66094ac701fa01fb447133ec7dd06cce51caa373
5
5
  SHA512:
6
- metadata.gz: 3cd189981c5425fbad7bfc0329ddc0905862ccd216a32837974aecb6842c34be33d19c086e1ac35949d3fb364648e99d3482de4739834fe101e139770502a4d4
7
- data.tar.gz: 29e7837704c0e0216dce30af0d00b8e8dc6264eff681e8fef5aac685dfe54ee48cfc28fdcad93dec191fbf30277dbb44e3b31c990b6df71ac0dc4a831c74e017
6
+ metadata.gz: 706ec97a8f69aa3b2c8d5c434ca677f6a0d6d6f7a97daed709cb40597e83f2b559617189405924cdfd0f2e88a5a0800a6dfd5312f387d2a12f491d2ca1df6f94
7
+ data.tar.gz: 681d7914725db8d7b881df2adcdb4b4dd6e573bd9d0b4d3e9a71dd781cd113be731d562cd026db839baacef84af4bf3909666d5075a20ec5d144587f2917a369
@@ -19,6 +19,9 @@ module Sts
19
19
  collection: true
20
20
  attribute :table_wrap, ::Sts::TbxIsoTml::TableWrap, collection: true
21
21
  attribute :list, ::Sts::NisoSts::List, collection: true
22
+ attribute :def_list, ::Sts::NisoSts::DefList, collection: true
23
+ attribute :disp_formula, ::Sts::NisoSts::DisplayFormula, collection: true
24
+ attribute :disp_quote, ::Sts::NisoSts::DispQuote, collection: true
22
25
  attribute :array, ::Sts::NisoSts::SectionArray, collection: true
23
26
  attribute :preformat, ::Sts::NisoSts::Preformat, collection: true
24
27
  attribute :boxed_text, ::Sts::NisoSts::BoxedText, collection: true
@@ -43,6 +46,9 @@ module Sts
43
46
  map_element "non-normative-example", to: :non_normative_example
44
47
  map_element "table-wrap", to: :table_wrap
45
48
  map_element "list", to: :list
49
+ map_element "def-list", to: :def_list
50
+ map_element "disp-formula", to: :disp_formula
51
+ map_element "disp-quote", to: :disp_quote
46
52
  map_element "array", to: :array
47
53
  map_element "preformat", to: :preformat
48
54
  map_element "boxed-text", to: :boxed_text
@@ -24,6 +24,9 @@ module Sts
24
24
  namespace ::Sts::Namespaces::TbxNamespace
25
25
 
26
26
  map_attribute "lang", to: :lang
27
+ # Declaration order drives built-model serialization: the NISO STS
28
+ # langSet content model puts subjectField BEFORE the tig sequence.
29
+ map_element "subjectField", to: :subject_field
27
30
  map_element "definition", to: :definition
28
31
  map_element "source", to: :source
29
32
  map_element "example", to: :example
@@ -32,7 +35,6 @@ module Sts
32
35
  map_element "tig", to: :tig
33
36
  map_element "xSource", to: :x_source
34
37
  map_element "crossReference", to: :cross_reference
35
- map_element "subjectField", to: :subject_field
36
38
  # map_element 'xGraphic', to: :x_graphic
37
39
  end
38
40
  end
data/lib/sts/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sts
4
- VERSION = "0.6.12"
4
+ VERSION = "0.6.13"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.12
4
+ version: 0.6.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose
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: bigdecimal