sts 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3878043fa422f182a16489bf53b740967591ad3effa6191be2ffbbbfa285b715
4
- data.tar.gz: 4e38a43e0368b58e456dbd2a5a96c6874ada800da08d5af4721ec08d41bfd001
3
+ metadata.gz: 874171d2c8d09599ece44c447261d6f3c0f64f7d68f037998daba9c480d8171d
4
+ data.tar.gz: ce825d2d2949b41131a23dfa17c56bc4eddccb817ce1f0edea7d6d86f3cf482b
5
5
  SHA512:
6
- metadata.gz: badf2e28603cd492996e3ad9872fad39a2dc75034e5b14fd5ad240b6043c0e9421606f0a5655ea25e4e5d79306a3bf42af15b7aec0d3e5a24c93054cadec61d4
7
- data.tar.gz: d6e027a704baa902bb0dc1f8982a06d45b232fb7c63bf6cfa4bea036007007147fcc34f0d3887a2c9ea96cf54bc87f0142b69346d3afcc0cbdd6ed00d7fbca23
6
+ metadata.gz: 5e86b4888c609215a18d3483a2fb19a344b4173f48f62420ea75c9a155d7b2670f9363937f7cd49fd13e9a75eea953b6c479849b92d19a5b46e102ec5ac0534b
7
+ data.tar.gz: 6dfbb2ed795043813a3acf051e00e2020e64a95dac81cad28a8d885491704be8c35210b9bffa26549724c5724732d5e6f529d52a884b2f7103277f3f969a3120
@@ -18,7 +18,7 @@ module Sts
18
18
  class App < Sts::Mapper
19
19
  attribute :id, Shale::Type::String
20
20
  attribute :content_type, Shale::Type::String
21
- attribute :label, Shale::Type::String
21
+ attribute :label, Label
22
22
  attribute :annex_type, Shale::Type::String
23
23
  attribute :title, Title
24
24
  attribute :fig, Figure, collection: true
@@ -9,7 +9,7 @@ module Sts
9
9
  module NisoSts
10
10
  class DisplayFormula < Sts::Mapper
11
11
  attribute :id, Shale::Type::String
12
- attribute :label, Shale::Type::String
12
+ attribute :label, Label
13
13
  attribute :math, TbxIsoTml::Math
14
14
 
15
15
  xml do
@@ -21,7 +21,7 @@ module Sts
21
21
  attribute :orientation, Shale::Type::String
22
22
  attribute :caption, Caption
23
23
  attribute :def_list, DefList
24
- attribute :label, Shale::Type::String
24
+ attribute :label, Label
25
25
  attribute :graphic, Graphic, collection: true
26
26
 
27
27
  xml do
@@ -10,7 +10,7 @@ module Sts
10
10
  class List < Sts::Mapper; end
11
11
 
12
12
  class ListItem < Sts::Mapper
13
- attribute :label, Shale::Type::String
13
+ attribute :label, Label
14
14
  attribute :list, List
15
15
  attribute :non_normative_example, NonNormativeExample
16
16
  attribute :p, Sts::NisoSts::Paragraph
@@ -11,7 +11,7 @@ module Sts
11
11
  class NonNormativeExample < Sts::Mapper
12
12
  attribute :id, Shale::Type::String
13
13
  attribute :p, Paragraph
14
- attribute :label, Shale::Type::String
14
+ attribute :label, Label
15
15
 
16
16
  xml do
17
17
  root "non-normative-example"
@@ -10,7 +10,7 @@ module Sts
10
10
  attribute :id, Shale::Type::String
11
11
  attribute :content_type, Shale::Type::String
12
12
  attribute :p, Paragraph
13
- attribute :label, Shale::Type::String
13
+ attribute :label, Label
14
14
 
15
15
  xml do
16
16
  root "non-normative-note"
@@ -10,7 +10,7 @@ module Sts
10
10
  class Reference < Sts::Mapper
11
11
  attribute :content_type, Shale::Type::String
12
12
  attribute :id, Shale::Type::String
13
- attribute :label, Shale::Type::String
13
+ attribute :label, Label
14
14
  attribute :mixed_citation, MixedCitation
15
15
  attribute :std, ReferenceStandard, collection: true
16
16
 
@@ -11,7 +11,7 @@ module Sts
11
11
  attribute :id, Shale::Type::String
12
12
  attribute :specific_use, Shale::Type::String
13
13
  attribute :title, Shale::Type::String
14
- attribute :label, Shale::Type::String
14
+ attribute :label, Label
15
15
  attribute :ref, Reference, collection: true
16
16
 
17
17
  xml do
@@ -21,7 +21,7 @@ module Sts
21
21
  class Section < Sts::Mapper
22
22
  attribute :id, Shale::Type::String
23
23
  attribute :specific_use, Shale::Type::String
24
- attribute :label, Shale::Type::String
24
+ attribute :label, Label
25
25
  attribute :title, Title
26
26
  attribute :type, Shale::Type::String
27
27
  attribute :array, SectionArray
@@ -11,7 +11,7 @@ module Sts
11
11
  class TermSection < Sts::Mapper
12
12
  attribute :id, Shale::Type::String
13
13
  attribute :sec_type, Shale::Type::String
14
- attribute :label, Shale::Type::String
14
+ attribute :label, Label
15
15
  attribute :term_entry, Sts::TbxIsoTml::TermEntry # , collection: true
16
16
  attribute :term_display, TermDisplay # , collection: true
17
17
 
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.3.1"
4
+ VERSION = "0.3.2"
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.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-20 00:00:00.000000000 Z
11
+ date: 2024-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri