sts 0.6.1 → 0.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36f88ede902806ba5a3471e0032a6d9d9543157ab150af32e4b139cc75b77b14
4
- data.tar.gz: 93840c45252bb723bc58bb6e78c204075ea94d00a87bb0625a98b16ccfc29bda
3
+ metadata.gz: 572accdd400693b1c1320ea6891f5be801f3917d64d98058f6da1b30c92436c2
4
+ data.tar.gz: 3bd1daa1cd5335c796c21732e7034b5bfb23f522bdd1d9e7db85df32f07bcf2a
5
5
  SHA512:
6
- metadata.gz: 3aad32ee67d2f5ef93f8b4de1b8c7ace1ae073d8cbf6e903f1c9ef0836b9b6ddc7fa5b24cc2157c9bfb431f5860a50944a8f5df3d46ebf1a7444efc0537b37c6
7
- data.tar.gz: 7d1aaa5f6c206801500a46b008d72ae194c8c9e0efd148d0e6efc85f72d024d699483510c238fc1342c536957619da4ad7e59e8eb2d0f2f2d9620b133e15c08c
6
+ metadata.gz: ebf47f3e1a2d0e4b95ccc6cba35d3e749cec5393847f21c420346a031e366ea3f33d9e2f641cc2a03fea4598b57a278d1539c3dcb777b9a1882e9bf45aa0711a
7
+ data.tar.gz: 73b5f522a8d2177c58ac7ecb1d618d2c5e270dddac0113383ee567eb32cabb2022c70f1d0559bde2b5c5d613f72dd0608905fde0549fadc4a35e280b2d26fb46
data/.rubocop_todo.yml CHANGED
@@ -70,6 +70,7 @@ RSpec/DescribeClass:
70
70
  - 'spec/elements/new_elements_spec.rb'
71
71
  - 'spec/elements/reference_models_spec.rb'
72
72
  - 'spec/elements/structural_models_spec.rb'
73
+ - 'spec/mathml_version_spec.rb'
73
74
  - 'spec/round_trip/reference_docs_spec.rb'
74
75
 
75
76
  # Offense count: 1
@@ -9,7 +9,7 @@ module Sts
9
9
  attribute :xml_lang, :string
10
10
  attribute :originator, :string
11
11
  attribute :label, ::Sts::IsoSts::Label
12
- attribute :math, Mml::V3::Math
12
+ attribute :math, Mml::V2::Math
13
13
  attribute :bold, ::Sts::IsoSts::Bold
14
14
  attribute :italic, ::Sts::IsoSts::Italic
15
15
  attribute :non_normative_note, ::Sts::IsoSts::NonNormativeNote
@@ -7,7 +7,7 @@ module Sts
7
7
  attribute :content_type, :string
8
8
  attribute :specific_use, :string
9
9
  attribute :xml_lang, :string
10
- attribute :math, Mml::V3::Math
10
+ attribute :math, Mml::V2::Math
11
11
  attribute :bold, ::Sts::IsoSts::Bold
12
12
  attribute :italic, ::Sts::IsoSts::Italic
13
13
  attribute :inline_formula, ::Sts::IsoSts::InlineFormula
@@ -27,7 +27,7 @@ module Sts
27
27
  attribute :fn, ::Sts::TbxIsoTml::Fn, collection: true
28
28
  attribute :styled_content, ::Sts::IsoSts::StyledContent, collection: true
29
29
  attribute :graphic, ::Sts::IsoSts::Graphic, collection: true
30
- attribute :math, Mml::V3::Math, collection: true
30
+ attribute :math, Mml::V2::Math, collection: true
31
31
  attribute :break, ::Sts::IsoSts::Break, collection: true
32
32
  attribute :sub, ::Sts::IsoSts::Sub, collection: true
33
33
  attribute :sup, ::Sts::IsoSts::Sup, collection: true
@@ -23,7 +23,7 @@ module Sts
23
23
  attribute :disp_formula, ::Sts::IsoSts::DispFormula, collection: true
24
24
  attribute :list, ::Sts::IsoSts::List, collection: true
25
25
  attribute :def_list, ::Sts::IsoSts::DefList, collection: true
26
- attribute :math, Mml::V3::Math, collection: true
26
+ attribute :math, Mml::V2::Math, collection: true
27
27
  attribute :std, ::Sts::IsoSts::Std, collection: true
28
28
  attribute :fn, ::Sts::TbxIsoTml::Fn, collection: true
29
29
  attribute :xref, ::Sts::TbxIsoTml::Xref, collection: true
@@ -17,7 +17,7 @@ module Sts
17
17
  attribute :uri, ::Sts::IsoSts::Uri
18
18
  attribute :named_content, ::Sts::IsoSts::NamedContent
19
19
  attribute :styled_content, ::Sts::IsoSts::StyledContent
20
- attribute :math, Mml::V3::Math
20
+ attribute :math, Mml::V2::Math
21
21
 
22
22
  xml do
23
23
  element "term"
@@ -23,7 +23,7 @@ module Sts
23
23
  attribute :disp_formula, ::Sts::IsoSts::DispFormula, collection: true
24
24
  attribute :list, ::Sts::IsoSts::List, collection: true
25
25
  attribute :def_list, ::Sts::IsoSts::DefList, collection: true
26
- attribute :math, Mml::V3::Math, collection: true
26
+ attribute :math, Mml::V2::Math, collection: true
27
27
  attribute :std, ::Sts::IsoSts::Std, collection: true
28
28
  attribute :fn, ::Sts::TbxIsoTml::Fn, collection: true
29
29
  attribute :xref, ::Sts::TbxIsoTml::Xref, collection: true
@@ -8,7 +8,7 @@ module Sts
8
8
  attribute :note, ::Sts::TbxIsoTml::Note
9
9
  attribute :value, :string, collection: true
10
10
  attribute :italic, ::Sts::TbxIsoTml::Italic, collection: true
11
- attribute :math, ::Mml::V3::Math
11
+ attribute :math, ::Mml::V2::Math
12
12
  attribute :sub, ::Sts::NisoSts::Sub, collection: true
13
13
  attribute :list, ::Sts::NisoSts::List, collection: true
14
14
  attribute :std, ::Sts::NisoSts::ReferenceStandard, collection: true
@@ -7,7 +7,7 @@ module Sts
7
7
  attribute :value, :string, collection: true
8
8
  attribute :table_wrap, ::Sts::TbxIsoTml::TableWrap
9
9
  attribute :entailed_term, ::Sts::TbxIsoTml::EntailedTerm, collection: true
10
- attribute :math, ::Mml::V3::Math, collection: true
10
+ attribute :math, ::Mml::V2::Math, collection: true
11
11
  attribute :xref, ::Sts::TbxIsoTml::Xref, collection: true
12
12
  attribute :list, ::Sts::NisoSts::List, collection: true
13
13
  attribute :std, ::Sts::NisoSts::ReferenceStandard, collection: true
@@ -10,7 +10,7 @@ module Sts
10
10
  attribute :bold, ::Sts::TbxIsoTml::Bold, collection: true
11
11
  attribute :sub, ::Sts::NisoSts::Sub, collection: true
12
12
  attribute :sup, ::Sts::NisoSts::Sup, collection: true
13
- attribute :math, ::Mml::V3::Math, collection: true
13
+ attribute :math, ::Mml::V2::Math, collection: true
14
14
  attribute :xref, ::Sts::TbxIsoTml::Xref, collection: true
15
15
  attribute :inline_formula, ::Sts::NisoSts::InlineFormula, collection: true
16
16
  attribute :std, ::Sts::NisoSts::ReferenceStandard, collection: true
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.1"
4
+ VERSION = "0.6.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose