relaton-itu 2.0.0 → 2.1.0
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 +4 -4
- data/CLAUDE.md +1 -0
- data/Gemfile +1 -0
- data/README.adoc +2 -0
- data/Rakefile +22 -0
- data/data.json +191429 -0
- data/grammars/biblio.rng +4 -8
- data/lib/relaton/itu/model/bibdata.rb +1 -0
- data/lib/relaton/itu/model/bibitem.rb +1 -0
- data/lib/relaton/itu/model/ext.rb +11 -3
- data/lib/relaton/itu/version.rb +1 -1
- data/{relaton_itu.gemspec → relaton-itu.gemspec} +1 -1
- metadata +10 -6
data/grammars/biblio.rng
CHANGED
|
@@ -2015,15 +2015,11 @@ provided that it is not the entire bibliographic item that is so related</a:docu
|
|
|
2015
2015
|
<a:documentation>A version of the bibliographic item (within an edition). Can be used for drafts</a:documentation>
|
|
2016
2016
|
<element name="version">
|
|
2017
2017
|
<optional>
|
|
2018
|
-
<
|
|
2019
|
-
<a:documentation>
|
|
2020
|
-
</
|
|
2021
|
-
</optional>
|
|
2022
|
-
<optional>
|
|
2023
|
-
<ref name="draft">
|
|
2024
|
-
<a:documentation>The identifier for the current draft of the bibliographic item</a:documentation>
|
|
2025
|
-
</ref>
|
|
2018
|
+
<attribute name="type">
|
|
2019
|
+
<a:documentation>Versioning scheme, in case of multiple versioning schemes</a:documentation>
|
|
2020
|
+
</attribute>
|
|
2026
2021
|
</optional>
|
|
2022
|
+
<text/>
|
|
2027
2023
|
</element>
|
|
2028
2024
|
</define>
|
|
2029
2025
|
<define name="vedition">
|
|
@@ -8,7 +8,6 @@ require_relative "structured_identifier"
|
|
|
8
8
|
module Relaton
|
|
9
9
|
module Itu
|
|
10
10
|
class Ext < Bib::Ext
|
|
11
|
-
attribute :schema_version, method: :get_schema_version
|
|
12
11
|
attribute :doctype, Doctype
|
|
13
12
|
attribute :structuredidentifier, StructuredIdentifier
|
|
14
13
|
attribute :question, Question, collection: true
|
|
@@ -31,9 +30,18 @@ module Relaton
|
|
|
31
30
|
map_element "source", to: :source
|
|
32
31
|
end
|
|
33
32
|
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
key_value do
|
|
34
|
+
map_element "question", to: :question
|
|
35
|
+
map_element "recommendationstatus", to: :recommendationstatus
|
|
36
|
+
map_element "ip_notice_received", to: :ip_notice_received
|
|
37
|
+
map_element "meeting", to: :meeting
|
|
38
|
+
map_element "meeting_place", to: :meeting_place
|
|
39
|
+
map_element "meeting_date", to: :meeting_date
|
|
40
|
+
map_element "intended_type", to: :intended_type
|
|
41
|
+
map_element "source", to: :source
|
|
36
42
|
end
|
|
43
|
+
|
|
44
|
+
def get_schema_version = Relaton.schema_versions["relaton-model-itu"]
|
|
37
45
|
end
|
|
38
46
|
end
|
|
39
47
|
end
|
data/lib/relaton/itu/version.rb
CHANGED
|
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
|
|
|
27
27
|
|
|
28
28
|
spec.add_dependency "mechanize", "~> 2.10"
|
|
29
29
|
spec.add_dependency "parslet", "~> 2.0.0"
|
|
30
|
-
spec.add_dependency "relaton-bib", "~> 2.
|
|
30
|
+
spec.add_dependency "relaton-bib", "~> 2.1.0"
|
|
31
31
|
spec.add_dependency "relaton-core", "~> 0.0.13"
|
|
32
32
|
spec.add_dependency "relaton-index", "~> 0.2.0"
|
|
33
33
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: relaton-itu
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
|
+
autorequire:
|
|
8
9
|
bindir: exe
|
|
9
10
|
cert_chain: []
|
|
10
|
-
date:
|
|
11
|
+
date: 2026-05-04 00:00:00.000000000 Z
|
|
11
12
|
dependencies:
|
|
12
13
|
- !ruby/object:Gem::Dependency
|
|
13
14
|
name: mechanize
|
|
@@ -43,14 +44,14 @@ dependencies:
|
|
|
43
44
|
requirements:
|
|
44
45
|
- - "~>"
|
|
45
46
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: 2.
|
|
47
|
+
version: 2.1.0
|
|
47
48
|
type: :runtime
|
|
48
49
|
prerelease: false
|
|
49
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
50
51
|
requirements:
|
|
51
52
|
- - "~>"
|
|
52
53
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: 2.
|
|
54
|
+
version: 2.1.0
|
|
54
55
|
- !ruby/object:Gem::Dependency
|
|
55
56
|
name: relaton-core
|
|
56
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -100,6 +101,7 @@ files:
|
|
|
100
101
|
- bin/console
|
|
101
102
|
- bin/rspec
|
|
102
103
|
- bin/setup
|
|
104
|
+
- data.json
|
|
103
105
|
- grammars/basicdoc.rng
|
|
104
106
|
- grammars/biblio-standoc.rng
|
|
105
107
|
- grammars/biblio.rng
|
|
@@ -131,11 +133,12 @@ files:
|
|
|
131
133
|
- lib/relaton/itu/scraper.rb
|
|
132
134
|
- lib/relaton/itu/util.rb
|
|
133
135
|
- lib/relaton/itu/version.rb
|
|
134
|
-
-
|
|
136
|
+
- relaton-itu.gemspec
|
|
135
137
|
homepage: https://github.com/metanorma/relaton-itu
|
|
136
138
|
licenses:
|
|
137
139
|
- MIT
|
|
138
140
|
metadata: {}
|
|
141
|
+
post_install_message:
|
|
139
142
|
rdoc_options: []
|
|
140
143
|
require_paths:
|
|
141
144
|
- lib
|
|
@@ -150,7 +153,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
150
153
|
- !ruby/object:Gem::Version
|
|
151
154
|
version: '0'
|
|
152
155
|
requirements: []
|
|
153
|
-
rubygems_version: 3.
|
|
156
|
+
rubygems_version: 3.5.22
|
|
157
|
+
signing_key:
|
|
154
158
|
specification_version: 4
|
|
155
159
|
summary: 'Relaton::Itu: retrieve ITU Standards for bibliographic use using the BibliographicItem
|
|
156
160
|
model'
|