rfcxml 0.4.3 → 0.4.4

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: afc99ca4a6eb6ccc3fb1a220ac8a1945df6e823b15b86fd5003761c694e9e7be
4
- data.tar.gz: 853d640f0e92ae96797e4bc79b0960f715e3a1d4bc4cc53c2e0763f62ce70c04
3
+ metadata.gz: b07f133b9638c1df8c2361ff54f3ee361e2fd2e8c2681f018794899453d3bde1
4
+ data.tar.gz: 3d0c2e184d39e1e8ed0485b7ebc782eb4942ae0cf90e2315d5d628794ec3ea20
5
5
  SHA512:
6
- metadata.gz: 15e6b2ba34f404d084620f9c8991733ad794c023773d566508c263d2941fd358b579b4011011d8ef22827398a8e46acf832e0717e8013dc670a1a7ec0269b589
7
- data.tar.gz: '0021048cb9d05a37f21261f8c054cbf9bfc8a234e04fc39b47970efe4c13314126aaf27fa6695aeea3318da19a5a18985a3e58323172da729987705cad1d0328'
6
+ metadata.gz: 0b233d9d03d7d0ec1a3ca548d2d8c35e89025a6609beca56f4db3c2cd815c7de3f7ed6b37fc2bd9309fcc04e35b066d490788adb8e90b78d0deea6efe56a45c4
7
+ data.tar.gz: fc11ed7f9524f70aaa629bd8246dcdd83454f34766d043683b213519f6d467fa1ff9b188f77ae82527eb93fb2781476446916ab16b9f42ae2e6bcd326d88ac13
data/.gitignore CHANGED
@@ -15,3 +15,4 @@
15
15
 
16
16
  Gemfile.lock
17
17
  TODO*
18
+ .claude/worktrees/
@@ -5,7 +5,7 @@ require "lutaml/model"
5
5
  module Rfcxml
6
6
  module V3
7
7
  class Blockquote < Lutaml::Model::Serializable
8
- attribute :content, :string
8
+ attribute :content, :string, collection: true
9
9
  attribute :anchor, :string
10
10
  attribute :pn, :string
11
11
  attribute :cite, :string
@@ -34,7 +34,7 @@ module Rfcxml
34
34
 
35
35
  xml do
36
36
  element "blockquote"
37
- ordered
37
+ mixed_content
38
38
 
39
39
  map_content to: :content
40
40
  map_attribute "anchor", to: :anchor
data/lib/rfcxml/v3/c.rb CHANGED
@@ -5,7 +5,7 @@ require "lutaml/model"
5
5
  module Rfcxml
6
6
  module V3
7
7
  class C < Lutaml::Model::Serializable
8
- attribute :content, :string
8
+ attribute :content, :string, collection: true
9
9
  attribute :cref, Cref, collection: true
10
10
  attribute :eref, Eref, collection: true
11
11
  attribute :iref, Iref, collection: true
@@ -14,7 +14,7 @@ module Rfcxml
14
14
 
15
15
  xml do
16
16
  element "c"
17
- ordered
17
+ mixed_content
18
18
 
19
19
  map_content to: :content
20
20
  map_element "cref", to: :cref
@@ -5,7 +5,7 @@ require "lutaml/model"
5
5
  module Rfcxml
6
6
  module V3
7
7
  class Cref < Lutaml::Model::Serializable
8
- attribute :content, :string
8
+ attribute :content, :string, collection: true
9
9
  attribute :anchor, :string
10
10
  attribute :source, :string
11
11
  attribute :display, :string, default: -> { "true" }
@@ -21,7 +21,7 @@ module Rfcxml
21
21
 
22
22
  xml do
23
23
  element "cref"
24
- ordered
24
+ mixed_content
25
25
 
26
26
  map_content to: :content
27
27
  map_attribute "anchor", to: :anchor
data/lib/rfcxml/v3/dt.rb CHANGED
@@ -5,7 +5,7 @@ require "lutaml/model"
5
5
  module Rfcxml
6
6
  module V3
7
7
  class Dt < Lutaml::Model::Serializable
8
- attribute :content, :string
8
+ attribute :content, :string, collection: true
9
9
  attribute :anchor, :string
10
10
  attribute :pn, :string
11
11
  attribute :bcp14, Bcp14, collection: true
@@ -23,7 +23,7 @@ module Rfcxml
23
23
 
24
24
  xml do
25
25
  element "dt"
26
- ordered
26
+ mixed_content
27
27
 
28
28
  map_content to: :content
29
29
  map_attribute "anchor", to: :anchor
@@ -5,7 +5,7 @@ require "lutaml/model"
5
5
  module Rfcxml
6
6
  module V3
7
7
  class Postamble < Lutaml::Model::Serializable
8
- attribute :content, :string
8
+ attribute :content, :string, collection: true
9
9
  attribute :cref, Cref, collection: true
10
10
  attribute :eref, Eref, collection: true
11
11
  attribute :iref, Iref, collection: true
@@ -14,7 +14,7 @@ module Rfcxml
14
14
 
15
15
  xml do
16
16
  element "postamble"
17
- ordered
17
+ mixed_content
18
18
 
19
19
  map_content to: :content
20
20
  map_element "cref", to: :cref
@@ -5,7 +5,7 @@ require "lutaml/model"
5
5
  module Rfcxml
6
6
  module V3
7
7
  class Preamble < Lutaml::Model::Serializable
8
- attribute :content, :string
8
+ attribute :content, :string, collection: true
9
9
  attribute :bcp14, Bcp14, collection: true
10
10
  attribute :cref, Cref, collection: true
11
11
  attribute :em, Em, collection: true
@@ -22,7 +22,7 @@ module Rfcxml
22
22
 
23
23
  xml do
24
24
  element "preamble"
25
- ordered
25
+ mixed_content
26
26
 
27
27
  map_content to: :content
28
28
  map_element "bcp14", to: :bcp14
@@ -5,13 +5,13 @@ require "lutaml/model"
5
5
  module Rfcxml
6
6
  module V3
7
7
  class Refcontent < Lutaml::Model::Serializable
8
- attribute :content, :string
8
+ attribute :content, :string, collection: true
9
9
  attribute :bcp14, Bcp14, collection: true
10
10
  include XrefText
11
11
 
12
12
  xml do
13
13
  element "refcontent"
14
- ordered
14
+ mixed_content
15
15
 
16
16
  map_content to: :content
17
17
  map_element "bcp14", to: :bcp14
@@ -4,7 +4,7 @@ require "lutaml/model"
4
4
  module Rfcxml
5
5
  module V3
6
6
  class Strong < Lutaml::Model::Serializable
7
- attribute :content, :string
7
+ attribute :content, :string, collection: true
8
8
  attribute :bcp14, Bcp14, collection: true
9
9
  attribute :br, Br, collection: true
10
10
  attribute :cref, Cref, collection: true
@@ -19,7 +19,7 @@ module Rfcxml
19
19
 
20
20
  xml do
21
21
  element "strong"
22
- ordered
22
+ mixed_content
23
23
 
24
24
  map_content to: :content
25
25
  map_element "bcp14", to: :bcp14
data/lib/rfcxml/v3/sub.rb CHANGED
@@ -5,7 +5,7 @@ require "lutaml/model"
5
5
  module Rfcxml
6
6
  module V3
7
7
  class Sub < Lutaml::Model::Serializable
8
- attribute :content, :string
8
+ attribute :content, :string, collection: true
9
9
  attribute :bcp14, Bcp14, collection: true
10
10
  attribute :cref, Cref, collection: true
11
11
  attribute :em, "Rfcxml::V3::Em", collection: true
@@ -20,7 +20,7 @@ module Rfcxml
20
20
 
21
21
  xml do
22
22
  element "sub"
23
- ordered
23
+ mixed_content
24
24
 
25
25
  map_content to: :content
26
26
  map_element "bcp14", to: :bcp14
data/lib/rfcxml/v3/sup.rb CHANGED
@@ -7,7 +7,7 @@ module Rfcxml
7
7
  class Sup < Sub
8
8
  xml do
9
9
  element "sup"
10
- ordered
10
+ mixed_content
11
11
 
12
12
  map_content to: :content
13
13
  map_element "bcp14", to: :bcp14
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rfcxml
4
- VERSION = "0.4.3"
4
+ VERSION = "0.4.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rfcxml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
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-05-01 00:00:00.000000000 Z
11
+ date: 2026-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lutaml-model