relaton-bib 1.4.0 → 2.1.7

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.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/integration-tests.yml +54 -0
  3. data/.github/workflows/rake.yml +15 -0
  4. data/.github/workflows/release.yml +24 -0
  5. data/.gitignore +4 -1
  6. data/.rubocop.yml +3 -1
  7. data/CLAUDE.md +108 -0
  8. data/Gemfile +11 -0
  9. data/README.adoc +229 -314
  10. data/bin/console +1 -1
  11. data/docs/hash.adoc +132 -83
  12. data/lib/relaton/bib/converter/asciibib/to_asciibib.rb +663 -0
  13. data/lib/relaton/bib/converter/asciibib.rb +13 -0
  14. data/lib/relaton/bib/converter/bibtex/from_bibtex.rb +245 -0
  15. data/lib/relaton/bib/converter/bibtex/to_bibtex.rb +341 -0
  16. data/lib/relaton/bib/converter/bibtex.rb +23 -0
  17. data/lib/relaton/bib/converter/bibxml/from_rfcxml.rb +386 -0
  18. data/lib/relaton/bib/converter/bibxml/from_rfcxml_referencegroup.rb +71 -0
  19. data/lib/relaton/bib/converter/bibxml/to_rfcxml.rb +308 -0
  20. data/lib/relaton/bib/converter/bibxml/to_rfcxml_referencegroup.rb +52 -0
  21. data/lib/relaton/bib/converter/bibxml.rb +51 -0
  22. data/lib/relaton/bib/hash_parser_v1.rb +767 -0
  23. data/lib/relaton/bib/item_data.rb +229 -0
  24. data/lib/relaton/bib/model/abstract.rb +16 -0
  25. data/lib/relaton/bib/model/address.rb +22 -0
  26. data/lib/relaton/bib/model/affiliation.rb +16 -0
  27. data/lib/relaton/bib/model/bibdata.rb +9 -0
  28. data/lib/relaton/bib/model/bibdata_shared.rb +10 -0
  29. data/lib/relaton/bib/model/bibitem.rb +9 -0
  30. data/lib/relaton/bib/model/bibitem_shared.rb +10 -0
  31. data/lib/relaton/bib/model/contact.rb +14 -0
  32. data/lib/relaton/bib/model/contribution_info.rb +16 -0
  33. data/lib/relaton/bib/model/contributor.rb +29 -0
  34. data/lib/relaton/bib/model/copyright.rb +27 -0
  35. data/lib/relaton/bib/model/date.rb +29 -0
  36. data/lib/relaton/bib/model/depiction.rb +16 -0
  37. data/lib/relaton/bib/model/docidentifier.rb +34 -0
  38. data/lib/relaton/bib/model/doctype.rb +14 -0
  39. data/lib/relaton/bib/model/edition.rb +14 -0
  40. data/lib/relaton/bib/model/ext.rb +35 -0
  41. data/lib/relaton/bib/model/extent.rb +16 -0
  42. data/lib/relaton/bib/model/formattedref.rb +43 -0
  43. data/lib/relaton/bib/model/full_name_type.rb +64 -0
  44. data/lib/relaton/bib/model/fullname.rb +11 -0
  45. data/lib/relaton/bib/model/ics.rb +49 -0
  46. data/lib/relaton/bib/model/image.rb +28 -0
  47. data/lib/relaton/bib/model/item.rb +44 -0
  48. data/lib/relaton/bib/model/item_base.rb +20 -0
  49. data/lib/relaton/bib/model/item_shared.rb +88 -0
  50. data/lib/relaton/bib/model/keyword.rb +30 -0
  51. data/lib/relaton/bib/model/locality.rb +18 -0
  52. data/lib/relaton/bib/model/locality_stack.rb +14 -0
  53. data/lib/relaton/bib/model/localized_string.rb +48 -0
  54. data/lib/relaton/bib/model/localized_string_attrs.rb +24 -0
  55. data/lib/relaton/bib/model/logo.rb +14 -0
  56. data/lib/relaton/bib/model/medium.rb +22 -0
  57. data/lib/relaton/bib/model/note.rb +16 -0
  58. data/lib/relaton/bib/model/organization.rb +11 -0
  59. data/lib/relaton/bib/model/organization_type.rb +40 -0
  60. data/lib/relaton/bib/model/person.rb +36 -0
  61. data/lib/relaton/bib/model/phone.rb +14 -0
  62. data/lib/relaton/bib/model/place.rb +33 -0
  63. data/lib/relaton/bib/model/price.rb +14 -0
  64. data/lib/relaton/bib/model/relation.rb +41 -0
  65. data/lib/relaton/bib/model/series.rb +32 -0
  66. data/lib/relaton/bib/model/size.rb +23 -0
  67. data/lib/relaton/bib/model/source_locality_stack.rb +14 -0
  68. data/lib/relaton/bib/model/status.rb +27 -0
  69. data/lib/relaton/bib/model/structured_identifier.rb +48 -0
  70. data/lib/relaton/bib/model/subdivision.rb +16 -0
  71. data/lib/relaton/bib/model/title.rb +56 -0
  72. data/lib/relaton/bib/model/type/plain_date.rb +16 -0
  73. data/lib/relaton/bib/model/type/string_date.rb +48 -0
  74. data/lib/relaton/bib/model/uri.rb +18 -0
  75. data/lib/relaton/bib/model/validity.rb +16 -0
  76. data/lib/relaton/bib/model/version.rb +43 -0
  77. data/lib/relaton/bib/model_autoload.rb +85 -0
  78. data/lib/relaton/bib/namespace_helper.rb +21 -0
  79. data/lib/relaton/bib/sanitizer.rb +74 -0
  80. data/lib/relaton/bib/util.rb +18 -0
  81. data/lib/relaton/bib/version.rb +5 -0
  82. data/lib/relaton/bib/versions.json +35 -0
  83. data/lib/relaton/bib.rb +41 -0
  84. data/relaton-bib.gemspec +12 -16
  85. metadata +118 -129
  86. data/.github/workflows/macos.yml +0 -38
  87. data/.github/workflows/ubuntu.yml +0 -39
  88. data/.github/workflows/windows.yml +0 -41
  89. data/grammars/basicdoc.rng +0 -986
  90. data/grammars/biblio.rng +0 -1237
  91. data/grammars/isodoc.rng +0 -1613
  92. data/grammars/reqt.rng +0 -165
  93. data/lib/relaton_bib/bib_item_locality.rb +0 -107
  94. data/lib/relaton_bib/biblio_note.rb +0 -44
  95. data/lib/relaton_bib/biblio_version.rb +0 -49
  96. data/lib/relaton_bib/bibliographic_date.rb +0 -90
  97. data/lib/relaton_bib/bibliographic_item.rb +0 -726
  98. data/lib/relaton_bib/bibtex_parser.rb +0 -245
  99. data/lib/relaton_bib/classification.rb +0 -40
  100. data/lib/relaton_bib/contribution_info.rb +0 -109
  101. data/lib/relaton_bib/contributor.rb +0 -215
  102. data/lib/relaton_bib/copyright_association.rb +0 -77
  103. data/lib/relaton_bib/deep_dup.rb +0 -30
  104. data/lib/relaton_bib/document_identifier.rb +0 -95
  105. data/lib/relaton_bib/document_relation.rb +0 -94
  106. data/lib/relaton_bib/document_relation_collection.rb +0 -46
  107. data/lib/relaton_bib/document_status.rb +0 -93
  108. data/lib/relaton_bib/editorial_group.rb +0 -41
  109. data/lib/relaton_bib/formatted_ref.rb +0 -17
  110. data/lib/relaton_bib/formatted_string.rb +0 -55
  111. data/lib/relaton_bib/hash_converter.rb +0 -497
  112. data/lib/relaton_bib/hit.rb +0 -46
  113. data/lib/relaton_bib/hit_collection.rb +0 -73
  114. data/lib/relaton_bib/ics.rb +0 -37
  115. data/lib/relaton_bib/localized_string.rb +0 -93
  116. data/lib/relaton_bib/medium.rb +0 -44
  117. data/lib/relaton_bib/organization.rb +0 -135
  118. data/lib/relaton_bib/person.rb +0 -206
  119. data/lib/relaton_bib/place.rb +0 -49
  120. data/lib/relaton_bib/series.rb +0 -134
  121. data/lib/relaton_bib/structured_identifier.rb +0 -171
  122. data/lib/relaton_bib/technical_committee.rb +0 -36
  123. data/lib/relaton_bib/typed_title_string.rb +0 -96
  124. data/lib/relaton_bib/typed_uri.rb +0 -47
  125. data/lib/relaton_bib/validity.rb +0 -52
  126. data/lib/relaton_bib/version.rb +0 -3
  127. data/lib/relaton_bib/workers_pool.rb +0 -43
  128. data/lib/relaton_bib/workgroup.rb +0 -46
  129. data/lib/relaton_bib/xml_parser.rb +0 -463
  130. data/lib/relaton_bib.rb +0 -44
@@ -0,0 +1,41 @@
1
+ require "relaton/logger"
2
+ require "forwardable"
3
+ # require "htmlentities"
4
+ require "bibtex"
5
+ require "iso639"
6
+ require "rfcxml"
7
+ require "relaton/core"
8
+ require_relative "bib/version"
9
+ require_relative "bib/util"
10
+ require_relative "bib/sanitizer"
11
+ require_relative "bib/namespace_helper"
12
+ # Model and converter classes are wired via autoload (see model_autoload.rb) so
13
+ # that load order is irrelevant and mutually-referencing classes resolve lazily.
14
+ require_relative "bib/model_autoload"
15
+ require_relative "bib/item_data"
16
+
17
+ module Relaton
18
+ # class Error < StandardError; end
19
+
20
+ class RequestError < StandardError; end
21
+
22
+ class << self
23
+ #
24
+ # Read schema versions from file
25
+ #
26
+ # @return [Hash{String=>String}] schema versions
27
+ #
28
+ def schema_versions
29
+ @@schema_versions ||= JSON.parse File.read(File.join(__dir__, "bib/versions.json"))
30
+ end
31
+ end
32
+
33
+ module Bib
34
+ def self.grammar_hash
35
+ # gem_path = File.expand_path "..", __dir__
36
+ # grammars_path = File.join gem_path, "grammars", "*"
37
+ # grammars = Dir[grammars_path].sort.map { |gp| File.read gp }.join
38
+ Digest::MD5.hexdigest Relaton::Bib::VERSION # grammars
39
+ end
40
+ end
41
+ end
data/relaton-bib.gemspec CHANGED
@@ -1,15 +1,15 @@
1
1
  lib = File.expand_path("lib", __dir__)
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require "relaton_bib/version"
3
+ require "relaton/bib/version"
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "relaton-bib"
7
- spec.version = RelatonBib::VERSION
7
+ spec.version = Relaton::Bib::VERSION
8
8
  spec.authors = ["Ribose Inc."]
9
9
  spec.email = ["open.source@ribose.com"]
10
10
 
11
- spec.summary = "RelatonBib: Ruby XMLDOC impementation."
12
- spec.description = "RelatonBib: Ruby XMLDOC impementation."
11
+ spec.summary = "Relaton::Bib: Ruby XMLDOC impementation."
12
+ spec.description = "Relaton::Bib: Ruby XMLDOC impementation."
13
13
  spec.homepage = "https://github.com/relaton/relaton-bib"
14
14
  spec.license = "BSD-2-Clause"
15
15
 
@@ -21,19 +21,15 @@ Gem::Specification.new do |spec|
21
21
  spec.bindir = "exe"
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ["lib"]
24
- spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
24
+ spec.required_ruby_version = Gem::Requirement.new(">= 3.2.0")
25
25
 
26
- spec.add_development_dependency "byebug"
27
- spec.add_development_dependency "debase"
28
- spec.add_development_dependency "equivalent-xml", "~> 0.6"
29
- spec.add_development_dependency "rake", "~> 10.0"
30
- spec.add_development_dependency "rspec", "~> 3.0"
31
- spec.add_development_dependency "ruby-debug-ide"
32
- spec.add_development_dependency "ruby-jing"
33
- spec.add_development_dependency "simplecov"
34
-
35
- spec.add_dependency "addressable"
36
26
  spec.add_dependency "bibtex-ruby"
37
27
  spec.add_dependency "iso639"
38
- spec.add_dependency "nokogiri"
28
+ spec.add_dependency "isoics", "~> 0.1.0"
29
+ spec.add_dependency "lutaml-model", "~> 0.8.0"
30
+ spec.add_dependency "nokogiri", ">= 1.16"
31
+ spec.add_dependency "psych", "~> 5.2.0" # versin 5.3.0 crashes
32
+ spec.add_dependency "relaton-core", "~> 0.0.8"
33
+ spec.add_dependency "relaton-logger", "~> 0.2.0"
34
+ spec.add_dependency "rfcxml", "~> 0.4.3"
39
35
  end
metadata CHANGED
@@ -1,23 +1,23 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-bib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 2.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-18 00:00:00.000000000 Z
11
+ date: 2026-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: byebug
14
+ name: bibtex-ruby
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
- type: :development
20
+ type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
@@ -25,13 +25,13 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: debase
28
+ name: iso639
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
- type: :development
34
+ type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
@@ -39,160 +39,119 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: equivalent-xml
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '0.6'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '0.6'
55
- - !ruby/object:Gem::Dependency
56
- name: rake
42
+ name: isoics
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
45
  - - "~>"
60
46
  - !ruby/object:Gem::Version
61
- version: '10.0'
62
- type: :development
47
+ version: 0.1.0
48
+ type: :runtime
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
52
  - - "~>"
67
53
  - !ruby/object:Gem::Version
68
- version: '10.0'
54
+ version: 0.1.0
69
55
  - !ruby/object:Gem::Dependency
70
- name: rspec
56
+ name: lutaml-model
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
59
  - - "~>"
74
60
  - !ruby/object:Gem::Version
75
- version: '3.0'
76
- type: :development
61
+ version: 0.8.0
62
+ type: :runtime
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
66
  - - "~>"
81
67
  - !ruby/object:Gem::Version
82
- version: '3.0'
83
- - !ruby/object:Gem::Dependency
84
- name: ruby-debug-ide
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
68
+ version: 0.8.0
97
69
  - !ruby/object:Gem::Dependency
98
- name: ruby-jing
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: simplecov
70
+ name: nokogiri
113
71
  requirement: !ruby/object:Gem::Requirement
114
72
  requirements:
115
73
  - - ">="
116
74
  - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
75
+ version: '1.16'
76
+ type: :runtime
119
77
  prerelease: false
120
78
  version_requirements: !ruby/object:Gem::Requirement
121
79
  requirements:
122
80
  - - ">="
123
81
  - !ruby/object:Gem::Version
124
- version: '0'
82
+ version: '1.16'
125
83
  - !ruby/object:Gem::Dependency
126
- name: addressable
84
+ name: psych
127
85
  requirement: !ruby/object:Gem::Requirement
128
86
  requirements:
129
- - - ">="
87
+ - - "~>"
130
88
  - !ruby/object:Gem::Version
131
- version: '0'
89
+ version: 5.2.0
132
90
  type: :runtime
133
91
  prerelease: false
134
92
  version_requirements: !ruby/object:Gem::Requirement
135
93
  requirements:
136
- - - ">="
94
+ - - "~>"
137
95
  - !ruby/object:Gem::Version
138
- version: '0'
96
+ version: 5.2.0
139
97
  - !ruby/object:Gem::Dependency
140
- name: bibtex-ruby
98
+ name: relaton-core
141
99
  requirement: !ruby/object:Gem::Requirement
142
100
  requirements:
143
- - - ">="
101
+ - - "~>"
144
102
  - !ruby/object:Gem::Version
145
- version: '0'
103
+ version: 0.0.8
146
104
  type: :runtime
147
105
  prerelease: false
148
106
  version_requirements: !ruby/object:Gem::Requirement
149
107
  requirements:
150
- - - ">="
108
+ - - "~>"
151
109
  - !ruby/object:Gem::Version
152
- version: '0'
110
+ version: 0.0.8
153
111
  - !ruby/object:Gem::Dependency
154
- name: iso639
112
+ name: relaton-logger
155
113
  requirement: !ruby/object:Gem::Requirement
156
114
  requirements:
157
- - - ">="
115
+ - - "~>"
158
116
  - !ruby/object:Gem::Version
159
- version: '0'
117
+ version: 0.2.0
160
118
  type: :runtime
161
119
  prerelease: false
162
120
  version_requirements: !ruby/object:Gem::Requirement
163
121
  requirements:
164
- - - ">="
122
+ - - "~>"
165
123
  - !ruby/object:Gem::Version
166
- version: '0'
124
+ version: 0.2.0
167
125
  - !ruby/object:Gem::Dependency
168
- name: nokogiri
126
+ name: rfcxml
169
127
  requirement: !ruby/object:Gem::Requirement
170
128
  requirements:
171
- - - ">="
129
+ - - "~>"
172
130
  - !ruby/object:Gem::Version
173
- version: '0'
131
+ version: 0.4.3
174
132
  type: :runtime
175
133
  prerelease: false
176
134
  version_requirements: !ruby/object:Gem::Requirement
177
135
  requirements:
178
- - - ">="
136
+ - - "~>"
179
137
  - !ruby/object:Gem::Version
180
- version: '0'
181
- description: 'RelatonBib: Ruby XMLDOC impementation.'
138
+ version: 0.4.3
139
+ description: 'Relaton::Bib: Ruby XMLDOC impementation.'
182
140
  email:
183
141
  - open.source@ribose.com
184
142
  executables: []
185
143
  extensions: []
186
144
  extra_rdoc_files: []
187
145
  files:
188
- - ".github/workflows/macos.yml"
189
- - ".github/workflows/ubuntu.yml"
190
- - ".github/workflows/windows.yml"
146
+ - ".github/workflows/integration-tests.yml"
147
+ - ".github/workflows/rake.yml"
148
+ - ".github/workflows/release.yml"
191
149
  - ".gitignore"
192
150
  - ".gitmodules"
193
151
  - ".hound.yml"
194
152
  - ".rspec"
195
153
  - ".rubocop.yml"
154
+ - CLAUDE.md
196
155
  - Gemfile
197
156
  - LICENSE.txt
198
157
  - README.adoc
@@ -201,48 +160,78 @@ files:
201
160
  - bin/rspec
202
161
  - bin/setup
203
162
  - docs/hash.adoc
204
- - grammars/basicdoc.rng
205
- - grammars/biblio.rng
206
- - grammars/isodoc.rng
207
- - grammars/reqt.rng
208
- - lib/relaton_bib.rb
209
- - lib/relaton_bib/bib_item_locality.rb
210
- - lib/relaton_bib/biblio_note.rb
211
- - lib/relaton_bib/biblio_version.rb
212
- - lib/relaton_bib/bibliographic_date.rb
213
- - lib/relaton_bib/bibliographic_item.rb
214
- - lib/relaton_bib/bibtex_parser.rb
215
- - lib/relaton_bib/classification.rb
216
- - lib/relaton_bib/contribution_info.rb
217
- - lib/relaton_bib/contributor.rb
218
- - lib/relaton_bib/copyright_association.rb
219
- - lib/relaton_bib/deep_dup.rb
220
- - lib/relaton_bib/document_identifier.rb
221
- - lib/relaton_bib/document_relation.rb
222
- - lib/relaton_bib/document_relation_collection.rb
223
- - lib/relaton_bib/document_status.rb
224
- - lib/relaton_bib/editorial_group.rb
225
- - lib/relaton_bib/formatted_ref.rb
226
- - lib/relaton_bib/formatted_string.rb
227
- - lib/relaton_bib/hash_converter.rb
228
- - lib/relaton_bib/hit.rb
229
- - lib/relaton_bib/hit_collection.rb
230
- - lib/relaton_bib/ics.rb
231
- - lib/relaton_bib/localized_string.rb
232
- - lib/relaton_bib/medium.rb
233
- - lib/relaton_bib/organization.rb
234
- - lib/relaton_bib/person.rb
235
- - lib/relaton_bib/place.rb
236
- - lib/relaton_bib/series.rb
237
- - lib/relaton_bib/structured_identifier.rb
238
- - lib/relaton_bib/technical_committee.rb
239
- - lib/relaton_bib/typed_title_string.rb
240
- - lib/relaton_bib/typed_uri.rb
241
- - lib/relaton_bib/validity.rb
242
- - lib/relaton_bib/version.rb
243
- - lib/relaton_bib/workers_pool.rb
244
- - lib/relaton_bib/workgroup.rb
245
- - lib/relaton_bib/xml_parser.rb
163
+ - lib/relaton/bib.rb
164
+ - lib/relaton/bib/converter/asciibib.rb
165
+ - lib/relaton/bib/converter/asciibib/to_asciibib.rb
166
+ - lib/relaton/bib/converter/bibtex.rb
167
+ - lib/relaton/bib/converter/bibtex/from_bibtex.rb
168
+ - lib/relaton/bib/converter/bibtex/to_bibtex.rb
169
+ - lib/relaton/bib/converter/bibxml.rb
170
+ - lib/relaton/bib/converter/bibxml/from_rfcxml.rb
171
+ - lib/relaton/bib/converter/bibxml/from_rfcxml_referencegroup.rb
172
+ - lib/relaton/bib/converter/bibxml/to_rfcxml.rb
173
+ - lib/relaton/bib/converter/bibxml/to_rfcxml_referencegroup.rb
174
+ - lib/relaton/bib/hash_parser_v1.rb
175
+ - lib/relaton/bib/item_data.rb
176
+ - lib/relaton/bib/model/abstract.rb
177
+ - lib/relaton/bib/model/address.rb
178
+ - lib/relaton/bib/model/affiliation.rb
179
+ - lib/relaton/bib/model/bibdata.rb
180
+ - lib/relaton/bib/model/bibdata_shared.rb
181
+ - lib/relaton/bib/model/bibitem.rb
182
+ - lib/relaton/bib/model/bibitem_shared.rb
183
+ - lib/relaton/bib/model/contact.rb
184
+ - lib/relaton/bib/model/contribution_info.rb
185
+ - lib/relaton/bib/model/contributor.rb
186
+ - lib/relaton/bib/model/copyright.rb
187
+ - lib/relaton/bib/model/date.rb
188
+ - lib/relaton/bib/model/depiction.rb
189
+ - lib/relaton/bib/model/docidentifier.rb
190
+ - lib/relaton/bib/model/doctype.rb
191
+ - lib/relaton/bib/model/edition.rb
192
+ - lib/relaton/bib/model/ext.rb
193
+ - lib/relaton/bib/model/extent.rb
194
+ - lib/relaton/bib/model/formattedref.rb
195
+ - lib/relaton/bib/model/full_name_type.rb
196
+ - lib/relaton/bib/model/fullname.rb
197
+ - lib/relaton/bib/model/ics.rb
198
+ - lib/relaton/bib/model/image.rb
199
+ - lib/relaton/bib/model/item.rb
200
+ - lib/relaton/bib/model/item_base.rb
201
+ - lib/relaton/bib/model/item_shared.rb
202
+ - lib/relaton/bib/model/keyword.rb
203
+ - lib/relaton/bib/model/locality.rb
204
+ - lib/relaton/bib/model/locality_stack.rb
205
+ - lib/relaton/bib/model/localized_string.rb
206
+ - lib/relaton/bib/model/localized_string_attrs.rb
207
+ - lib/relaton/bib/model/logo.rb
208
+ - lib/relaton/bib/model/medium.rb
209
+ - lib/relaton/bib/model/note.rb
210
+ - lib/relaton/bib/model/organization.rb
211
+ - lib/relaton/bib/model/organization_type.rb
212
+ - lib/relaton/bib/model/person.rb
213
+ - lib/relaton/bib/model/phone.rb
214
+ - lib/relaton/bib/model/place.rb
215
+ - lib/relaton/bib/model/price.rb
216
+ - lib/relaton/bib/model/relation.rb
217
+ - lib/relaton/bib/model/series.rb
218
+ - lib/relaton/bib/model/size.rb
219
+ - lib/relaton/bib/model/source_locality_stack.rb
220
+ - lib/relaton/bib/model/status.rb
221
+ - lib/relaton/bib/model/structured_identifier.rb
222
+ - lib/relaton/bib/model/subdivision.rb
223
+ - lib/relaton/bib/model/title.rb
224
+ - lib/relaton/bib/model/type/plain_date.rb
225
+ - lib/relaton/bib/model/type/string_date.rb
226
+ - lib/relaton/bib/model/uri.rb
227
+ - lib/relaton/bib/model/validity.rb
228
+ - lib/relaton/bib/model/version.rb
229
+ - lib/relaton/bib/model_autoload.rb
230
+ - lib/relaton/bib/namespace_helper.rb
231
+ - lib/relaton/bib/sanitizer.rb
232
+ - lib/relaton/bib/util.rb
233
+ - lib/relaton/bib/version.rb
234
+ - lib/relaton/bib/versions.json
246
235
  - relaton-bib.gemspec
247
236
  homepage: https://github.com/relaton/relaton-bib
248
237
  licenses:
@@ -256,15 +245,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
256
245
  requirements:
257
246
  - - ">="
258
247
  - !ruby/object:Gem::Version
259
- version: 2.4.0
248
+ version: 3.2.0
260
249
  required_rubygems_version: !ruby/object:Gem::Requirement
261
250
  requirements:
262
251
  - - ">="
263
252
  - !ruby/object:Gem::Version
264
253
  version: '0'
265
254
  requirements: []
266
- rubygems_version: 3.0.6
255
+ rubygems_version: 3.5.22
267
256
  signing_key:
268
257
  specification_version: 4
269
- summary: 'RelatonBib: Ruby XMLDOC impementation.'
258
+ summary: 'Relaton::Bib: Ruby XMLDOC impementation.'
270
259
  test_files: []
@@ -1,38 +0,0 @@
1
- # Auto-generated by Cimas: Do not edit it manually!
2
- # See https://github.com/metanorma/cimas
3
- name: macos
4
-
5
- on:
6
- push:
7
- branches: [ master ]
8
- pull_request:
9
- branches: [ '**' ]
10
-
11
- jobs:
12
- test-macos:
13
- name: Test on Ruby ${{ matrix.ruby }} macOS
14
- runs-on: macos-latest
15
- strategy:
16
- fail-fast: false
17
- matrix:
18
- ruby: [ '2.6', '2.5', '2.4' ]
19
- steps:
20
- - uses: actions/checkout@master
21
- - name: Checkout submodules
22
- shell: bash
23
- run: |
24
- auth_header="$(git config --local --get http.https://github.com/.extraheader)"
25
- git submodule sync --recursive
26
- git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
27
- - name: Use Ruby
28
- uses: actions/setup-ruby@v1
29
- with:
30
- ruby-version: ${{ matrix.ruby }}
31
- architecture: 'x64'
32
- - name: Update gems
33
- run: |
34
- sudo gem install bundler --force
35
- bundle install --jobs 4 --retry 3
36
- - name: Run specs
37
- run: |
38
- bundle exec rake
@@ -1,39 +0,0 @@
1
- # Auto-generated by Cimas: Do not edit it manually!
2
- # See https://github.com/metanorma/cimas
3
- name: ubuntu
4
-
5
- on:
6
- push:
7
- branches: [ master ]
8
- pull_request:
9
- branches: [ '**' ]
10
-
11
- jobs:
12
- test-linux:
13
- name: Test on Ruby ${{ matrix.ruby }} Ubuntu
14
- runs-on: ubuntu-latest
15
- strategy:
16
- fail-fast: false
17
- matrix:
18
- ruby: [ '2.6', '2.5', '2.4' ]
19
- steps:
20
- - uses: actions/checkout@master
21
- - name: Checkout submodules
22
- shell: bash
23
- run: |
24
- auth_header="$(git config --local --get http.https://github.com/.extraheader)"
25
- git submodule sync --recursive
26
- git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
27
- - name: Use Ruby
28
- uses: actions/setup-ruby@v1
29
- with:
30
- ruby-version: ${{ matrix.ruby }}
31
- architecture: 'x64'
32
- - name: Update gems
33
- run: |
34
- gem install bundler
35
- bundle install --jobs 4 --retry 3
36
- - name: Run specs
37
- run: |
38
- unset JAVA_TOOL_OPTIONS
39
- bundle exec rake
@@ -1,41 +0,0 @@
1
- # Auto-generated by Cimas: Do not edit it manually!
2
- # See https://github.com/metanorma/cimas
3
- name: windows
4
-
5
- on:
6
- push:
7
- branches: [ master ]
8
- pull_request:
9
- branches: [ '**' ]
10
-
11
- jobs:
12
- test-windows:
13
- name: Test on Ruby ${{ matrix.ruby }} Windows
14
- runs-on: windows-latest
15
- strategy:
16
- fail-fast: false
17
- matrix:
18
- ruby: [ '2.6', '2.5', '2.4' ]
19
- steps:
20
- - uses: actions/checkout@master
21
- - name: Checkout submodules
22
- shell: bash
23
- run: |
24
- auth_header="$(git config --local --get http.https://github.com/.extraheader)"
25
- git submodule sync --recursive
26
- git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
27
- - name: Use Ruby
28
- uses: actions/setup-ruby@v1
29
- with:
30
- ruby-version: ${{ matrix.ruby }}
31
- architecture: 'x64'
32
- - name: Update gems
33
- shell: pwsh
34
- run: |
35
- gem install bundler
36
- bundle config --local path vendor/bundle
37
- bundle update
38
- bundle install --jobs 4 --retry 3
39
- - name: Run specs
40
- run: |
41
- bundle exec rake