sts 0.5.5 → 0.5.6

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: 1733e0dbcfaed1493d5a4b8ad50d0bff51b52228652e4a44f26b901b49fe6590
4
- data.tar.gz: 7568fe9a0beaf88dd06fc5100e8092140d756462e5eb93054cf7b40a0524d3cc
3
+ metadata.gz: 6978d54e78a3b856fabb8c79a810c03b1b7ac57326453dc695b212405ef5bb50
4
+ data.tar.gz: 3f9e168d8fe68849e4002c1c1b912e11fc0d2d83b0f9920487e3983f455b63dc
5
5
  SHA512:
6
- metadata.gz: 2e67913429546294099efcb5577d0b5daf86bef2414abea854a6f5daa9de9c7d2d7a779c4bdae0df120138a938ae1c92e5582034c705114721f34247773ecbf9
7
- data.tar.gz: 168399cd8329433fded966b8790c754a70d02feec72c5866e1f76c38ba7a5cf850dafb0d0cfa92c826cd08ab62cc3280009f6b31a15f05720b6732dbf8d71f85
6
+ metadata.gz: 0cb8492ca499c979631a349444635829b128cecffaf81a8805ac0ea6e4b0608d798d0b260af40470708497f680ae7b0a1eea8d90024e0180bf5a3810b51d98d4
7
+ data.tar.gz: 2b1838bdbde38dfc2cef5ea6218e4c48b6e04e99fd169d45c9d6bfe34929239d07b9b62df3bc834921605fa2103a90c29da281225b6e2a52d4c58f7cc45be113
data/.rubocop_todo.yml CHANGED
@@ -1,49 +1,36 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2026-05-10 03:06:39 UTC using RuboCop version 1.86.1.
3
+ # on 2026-05-12 03:56:52 UTC using RuboCop version 1.86.1.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
- # Offense count: 1
10
- # This cop supports safe autocorrection (--autocorrect).
11
- # Configuration parameters: EnforcedStyle, IndentationWidth.
12
- # SupportedStyles: with_first_argument, with_fixed_indentation
13
- Layout/ArgumentAlignment:
14
- Exclude:
15
- - 'lib/sts/niso_sts/funding_group.rb'
16
-
17
- # Offense count: 10
9
+ # Offense count: 14
18
10
  # This cop supports safe autocorrection (--autocorrect).
19
11
  # Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
20
12
  # URISchemes: http, https
21
13
  Layout/LineLength:
22
14
  Exclude:
23
- - 'lib/sts/niso_sts/funding_group.rb'
24
15
  - 'lib/sts/niso_sts/mml_content/containers.rb'
25
16
  - 'lib/sts/niso_sts/mml_content/linear_algebra.rb'
26
17
  - 'lib/sts/niso_sts/term.rb'
27
18
  - 'lib/sts/tbx_iso_tml/lang_set.rb'
28
19
  - 'lib/sts/tbx_iso_tml/term_type.rb'
20
+ - 'spec/elements/new_elements_spec.rb'
29
21
  - 'spec/round_trip/reference_docs_spec.rb'
30
22
  - 'spec/spec_helper.rb'
31
23
 
32
24
  # Offense count: 1
33
- # This cop supports safe autocorrection (--autocorrect).
34
- Layout/SpaceInsidePercentLiteralDelimiters:
25
+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
26
+ Metrics/AbcSize:
35
27
  Exclude:
36
- - 'spec/round_trip/reference_docs_spec.rb'
28
+ - 'lib/sts/iso_sts/mathml2/math.rb'
37
29
 
38
30
  # Offense count: 1
39
31
  # This cop supports safe autocorrection (--autocorrect).
40
- # Configuration parameters: AllowInHeredoc.
41
- Layout/TrailingWhitespace:
32
+ # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
33
+ # SupportedStyles: single_quotes, double_quotes
34
+ Style/StringLiterals:
42
35
  Exclude:
43
- - 'lib/sts/niso_sts/funding_group.rb'
44
-
45
- # Offense count: 1
46
- # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
47
- Metrics/AbcSize:
48
- Exclude:
49
- - 'lib/sts/iso_sts/mathml2/math.rb'
36
+ - 'spec/elements/new_elements_spec.rb'
@@ -4,6 +4,7 @@ module Sts
4
4
  module TbxIsoTml
5
5
  class Note < Lutaml::Model::Serializable
6
6
  attribute :id, :string
7
+ attribute :value, :string, collection: true
7
8
  attribute :table_wrap, ::Sts::TbxIsoTml::TableWrap
8
9
  attribute :entailed_term, ::Sts::TbxIsoTml::EntailedTerm, collection: true
9
10
  attribute :math, ::Sts::TbxIsoTml::Math, collection: true
@@ -18,10 +19,11 @@ module Sts
18
19
 
19
20
  xml do
20
21
  element "note"
21
- ordered
22
22
  namespace ::Sts::Namespaces::TbxNamespace
23
+ mixed_content
23
24
 
24
25
  map_attribute "id", to: :id
26
+ map_content to: :value
25
27
  map_element "entailedTerm", to: :entailed_term
26
28
  map_element "list", to: :list
27
29
  map_element "table-wrap", to: :table_wrap
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.5.5"
4
+ VERSION = "0.5.6"
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.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-05-10 00:00:00.000000000 Z
11
+ date: 2026-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bigdecimal