Skip to content

Commit

Permalink
update grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew2net committed Sep 3, 2023
1 parent 7c3e3da commit 53af607
Show file tree
Hide file tree
Showing 31 changed files with 16,225 additions and 16,292 deletions.
2 changes: 1 addition & 1 deletion grammars/biblio.rng
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@
<value>mergedInto</value>
<value>splits</value>
<value>splitInto</value>
<value>instance</value>
<value>instanceOf</value>
<value>hasInstance</value>
<value>exemplarOf</value>
<value>hasExemplar</value>
Expand Down
2 changes: 1 addition & 1 deletion lib/relaton_itu/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module RelatonItu
VERSION = "1.14.3".freeze
VERSION = "1.16.0".freeze
end
2 changes: 1 addition & 1 deletion relaton-itu.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ Gem::Specification.new do |spec|

spec.add_dependency "mechanize", "~> 2.8.0"
spec.add_dependency "parslet", "~> 2.0.0"
spec.add_dependency "relaton-bib", "~> 1.14.0"
spec.add_dependency "relaton-bib", "~> 1.16.0"
spec.add_dependency "relaton-index", "~> 0.2.0"
end
4 changes: 2 additions & 2 deletions spec/examples/from_yaml.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<bibdata type="standard" schema-version="v1.2.3">
<bibdata type="standard" schema-version="v1.2.4">
<fetched>2022-11-27</fetched>
<title format="text/plain" language="en" script="Latn">ITU-T L.163 (11/2018): Criteria for optical cable installation with minimal existing infrastructure</title>
<uri type="src">https://www.itu.int/net4/ITU-T/search/api/redirection?dest=http%3A%2F%2Fhandle.itu.int%2F11.1002%2F1000%2F13786-en&amp;amp;position=10&amp;amp;page=1</uri>
Expand Down Expand Up @@ -61,4 +61,4 @@
<annexid>11</annexid>
</structuredidentifier>
</ext>
</bibdata>
</bibdata>
4 changes: 2 additions & 2 deletions spec/examples/hit.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<bibdata type="standard" schema-version="v1.2.3">
<bibdata type="standard" schema-version="v1.2.4">
<fetched>2023-04-08</fetched>
<title type="title-main" format="text/plain" language="en" script="Latn">Criteria for optical cable installation with minimal existing infrastructure</title>
<title type="main" format="text/plain" language="en" script="Latn">Criteria for optical cable installation with minimal existing infrastructure</title>
Expand Down Expand Up @@ -170,4 +170,4 @@
</group>
</editorialgroup>
</ext>
</bibdata>
</bibdata>
4 changes: 2 additions & 2 deletions spec/examples/itu_g_imp_712.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<bibitem id="G.Imp712" type="standard" schema-version="v1.2.3">
<bibitem id="G.Imp712" type="standard" schema-version="v1.2.4">
<fetched>2023-06-22</fetched>
<title type="title-main" format="text/plain" language="en" script="Latn">Implementers' Guide for Recommendation ITU-T G.712</title>
<title type="main" format="text/plain" language="en" script="Latn">Implementers' Guide for Recommendation ITU-T G.712</title>
Expand Down Expand Up @@ -32,4 +32,4 @@
</owner>
</copyright>
<place>Geneva</place>
</bibitem>
</bibitem>
6 changes: 3 additions & 3 deletions spec/examples/itu_r_bo_600_1.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<bibdata type="standard" schema-version="v1.2.3">
<bibdata type="standard" schema-version="v1.2.4">
<fetched>2023-06-14</fetched>
<title type="main" format="text/plain" language="en" script="Latn">Standardized set of test conditions and measurement procedures for the subjective and objective determination of protection ratios for television in the terrestrial broadcasting and the broadcasting-satellite services</title>
<uri type="src">https://extranet.itu.int/brdocsearch/_layouts/15/DocSetHome.aspx?id=/brdocsearch/R-REC/R-REC-BO/R-REC-BO.600/R-REC-BO.600-1-198607-I</uri>
<docidentifier type="ITU" primary="true">ITU-R BO.600-1</docidentifier>
<language>en</language>
<script>Latn</script>
<relation type="instance">
<relation type="instanceOf">
<bibitem type="standard">
<fetched>2023-06-14</fetched>
<title type="main" format="text/plain" language="en" script="Latn">Standardized set of test conditions and measurement procedures for the subjective and objective determination of protection ratios for television in the terrestrial broadcasting and the broadcasting-satellite services</title>
Expand All @@ -24,4 +24,4 @@
<ext schema-version="v1.0.0">
<doctype>recommendation</doctype>
</ext>
</bibdata>
</bibdata>
6 changes: 3 additions & 3 deletions spec/examples/itu_t_h_264.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<bibitem id="ITU-TH.264" type="standard" schema-version="v1.2.3">
<bibitem id="ITU-TH.264" type="standard" schema-version="v1.2.4">
<fetched>2023-04-08</fetched>
<title type="title-main" format="text/plain" language="en" script="Latn">Advanced video coding for generic audiovisual services</title>
<title type="main" format="text/plain" language="en" script="Latn">Advanced video coding for generic audiovisual services</title>
Expand Down Expand Up @@ -96,7 +96,7 @@
<docidentifier type="ITU">H Suppl. 19 (04/2021)</docidentifier>
</bibitem>
</relation>
<relation type="instance">
<relation type="instanceOf">
<bibitem type="standard">
<fetched>2023-04-08</fetched>
<title type="title-main" format="text/plain" language="en" script="Latn">Advanced video coding for generic audiovisual services</title>
Expand Down Expand Up @@ -203,4 +203,4 @@
</bibitem>
</relation>
<place>Geneva</place>
</bibitem>
</bibitem>
2 changes: 1 addition & 1 deletion spec/relaton_itu/relaton_itu_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
it "gets a code" do
VCR.use_cassette "code" do
results = RelatonItu::ItuBibliography.get("ITU-T L.163", nil, {}).to_xml
expect(results).to include %(<bibitem id="ITU-TL.163" type="standard" schema-version="v1.2.3">)
expect(results).to include %(<bibitem id="ITU-TL.163" type="standard" schema-version="v1.2.4">)
expect(results).to include %(<on>2018-11-29</on>)
expect(results.gsub(/<relation.*<\/relation>/m, ""))
.not_to include %(<on>2018-11-29</on>)
Expand Down
2 changes: 1 addition & 1 deletion spec/relaton_itu/xml_parser_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

it "parse ITU group period" do
xml = <<~END_XML
<bibdata type="standard" schema-version="v1.2.3">
<bibdata type="standard" schema-version="v1.2.4">
<ext schema-version="v1.0.0">
<editorialgroup>
<bureau>T</bureau>
Expand Down
Loading

0 comments on commit 53af607

Please sign in to comment.