Skip to content

Commit 2fad07f

Browse files
committed
Bump version to 2.0.0 and update dependency on Relaton to match
1 parent 588b8d7 commit 2fad07f

File tree

6 files changed

+26
-26
lines changed

6 files changed

+26
-26
lines changed

lib/relaton/cli/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Relaton
22
module Cli
3-
VERSION = "2.0.0-alpha.1".freeze
3+
VERSION = "2.0.0".freeze
44
end
55
end

relaton-cli.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
2323
spec.required_ruby_version = Gem::Requirement.new(">= 3.2.0")
2424

2525
spec.add_runtime_dependency "liquid", "~> 5"
26-
spec.add_runtime_dependency "relaton", "~> 2.0.0-alpha.1"
26+
spec.add_runtime_dependency "relaton", "~> 2.0.0"
2727
spec.add_runtime_dependency "thor"
2828
spec.add_runtime_dependency "thor-hollaback"
2929

spec/fixtures/ietf_index.rxl

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<relaton-collection xmlns="https://open.ribose.com/relaton-xml"><title>Collection title</title><contributor><role type='author'/><organization><name>Ribose</name></organization></contributor><relation type='partOf'><bibdata type="standard" schema-version="v1.4.1">
1+
<relaton-collection xmlns="https://open.ribose.com/relaton-xml"><title>Collection title</title><contributor><role type='author'/><organization><name>Ribose</name></organization></contributor><relation type='partOf'><bibdata type="standard" schema-version="v1.5.6">
22
<title language="en" type="main" format="text/plain">The Holy Hand Grenade of Antioch</title>
33
<title language="en" type="abbrev" format="text/plain">Hand Grenade of Antioch</title>
44
<uri type="xml">spec/fixtures/documents/antioch.xml</uri>
@@ -72,7 +72,7 @@
7272
</contributor>
7373
<language>en</language>
7474
<script>Latn</script>
75-
<abstract language="en" script="Latn">Ever since Gutenberg discovered and patented ASCII and the corresponding "Courier New" font with its now-famous "ten" point size, artisans and artificers have striven to represent their views of the world in print.Similarly, starting from Darwin's discovery of the hippogriff and his subsequent registration of the creature as an International Trade Mark, men (and some women) have struggled to catalog the fabulous variety that is called "nature".This document supplies a number of representations of all manner of things (both elemental and hypothetical) supplied by some of our best collectors of curios and delivered in a manner that may well be reused by the cunning document author.</abstract>
75+
<abstract language="en" script="Latn" format="text/plain">Ever since Gutenberg discovered and patented ASCII and the corresponding "Courier New" font with its now-famous "ten" point size, artisans and artificers have striven to represent their views of the world in print.Similarly, starting from Darwin's discovery of the hippogriff and his subsequent registration of the creature as an International Trade Mark, men (and some women) have struggled to catalog the fabulous variety that is called "nature".This document supplies a number of representations of all manner of things (both elemental and hypothetical) supplied by some of our best collectors of curios and delivered in a manner that may well be reused by the cunning document author.</abstract>
7676
<series type="main">
7777
<title language="en" script="Latn" format="text/plain">RFC</title>
7878
<number>8140</number>
@@ -90,7 +90,7 @@
9090
<doctype>internet-draft</doctype>
9191
</ext>
9292
</bibdata></relation>
93-
<relation type='partOf'><bibdata type="standard" schema-version="v1.4.1">
93+
<relation type='partOf'><bibdata type="standard" schema-version="v1.5.6">
9494
<title language="en" type="main" format="text/plain">RFC XML v3 Example: A Standard for the Transmission of IP Datagrams on Avian Carriers</title>
9595
<title language="en" type="abbrev" format="text/plain">IP Datagrams on Avian Carriers</title>
9696
<uri type="xml">spec/fixtures/documents/example.xml</uri>
@@ -200,7 +200,7 @@
200200
</contributor>
201201
<language>en</language>
202202
<script>Latn</script>
203-
<abstract language="en" script="Latn">This RFC Reference Guide is intended to provide a historical account by categorizing and summarizing of the Request for Comments numbers 1 through 999 issued between the years 1969-1987. These documents have been crossed referenced to indicate which RFCs are current, obsolete, or revised.</abstract>
203+
<abstract language="en" script="Latn" format="text/plain">This RFC Reference Guide is intended to provide a historical account by categorizing and summarizing of the Request for Comments numbers 1 through 999 issued between the years 1969-1987. These documents have been crossed referenced to indicate which RFCs are current, obsolete, or revised.</abstract>
204204
<series type="main">
205205
<title language="en" script="Latn" format="text/plain">RFC</title>
206206
<number>1000</number>
@@ -239,7 +239,7 @@
239239
</contributor>
240240
<language>en</language>
241241
<script>Latn</script>
242-
<abstract language="en" script="Latn">This memo describes the state of standardization of protocols used in the Internet as determined by the Internet Activities Board (IAB). An overview of the standards procedures is presented first, followed by discussions of the standardization process and the RFC document series, then the explanation of the terms is presented, the lists of protocols in each stage of standardization follows, and finally pointers to references and contacts for further information.</abstract>
242+
<abstract language="en" script="Latn" format="text/plain">This memo describes the state of standardization of protocols used in the Internet as determined by the Internet Activities Board (IAB). An overview of the standards procedures is presented first, followed by discussions of the standardization process and the RFC document series, then the explanation of the terms is presented, the lists of protocols in each stage of standardization follows, and finally pointers to references and contacts for further information.</abstract>
243243
<series type="main">
244244
<title language="en" script="Latn" format="text/plain">RFC</title>
245245
<number>1200</number>
@@ -294,7 +294,7 @@
294294
</contributor>
295295
<language>en</language>
296296
<script>Latn</script>
297-
<abstract language="en" script="Latn">This document specifies the operational requirements of root name servers, including host hardware capacities, name server software revisions, network connectivity, and physical environment. This memo provides information for the Internet community. This memo does not specify an Internet standard of any kind.</abstract>
297+
<abstract language="en" script="Latn" format="text/plain">This document specifies the operational requirements of root name servers, including host hardware capacities, name server software revisions, network connectivity, and physical environment. This memo provides information for the Internet community. This memo does not specify an Internet standard of any kind.</abstract>
298298
<series type="main">
299299
<title language="en" script="Latn" format="text/plain">RFC</title>
300300
<number>2010</number>
@@ -335,7 +335,7 @@
335335
</contributor>
336336
<language>en</language>
337337
<script>Latn</script>
338-
<abstract language="en" script="Latn">This document describes the use of 1993 ISO X.500 Standard protocols for managing the root context. Whilst the ASN.1 is compatible with that of the X.500 Standard, the actual settings of the parameters are supplementary to that of the X.500 Standard. This memo defines an Experimental Protocol for the Internet community.</abstract>
338+
<abstract language="en" script="Latn" format="text/plain">This document describes the use of 1993 ISO X.500 Standard protocols for managing the root context. Whilst the ASN.1 is compatible with that of the X.500 Standard, the actual settings of the parameters are supplementary to that of the X.500 Standard. This memo defines an Experimental Protocol for the Internet community.</abstract>
339339
<series type="main">
340340
<title language="en" script="Latn" format="text/plain">RFC</title>
341341
<number>2120</number>
@@ -353,7 +353,7 @@
353353
<doctype>rfc</doctype>
354354
</ext>
355355
</bibdata></relation>
356-
<relation type='partOf'><bibdata type="standard" schema-version="v1.4.1">
356+
<relation type='partOf'><bibdata type="standard" schema-version="v1.5.6">
357357
<title language="en" script="Latn">The Holy Hand Grenade of Antioch</title>
358358
<uri type="xml">spec/fixtures/documents/antioch.rfc.xml</uri>
359359
<docidentifier type="Internet-Draft" primary="true">draft-camelot-holy-grenade-01</docidentifier>
@@ -390,12 +390,12 @@ as well as "Spamalot", the musical inspired by the movie.</abstract>
390390
<status>
391391
<stage>Informational</stage>
392392
</status>
393-
<ext schema-version="v1.0.1">
393+
<ext schema-version="v1.1.2">
394394
<doctype>rfc</doctype>
395395
<flavor>ietf</flavor>
396396
</ext>
397397
</bibdata></relation>
398-
<relation type='partOf'><bibdata type="standard" schema-version="v1.4.1">
398+
<relation type='partOf'><bibdata type="standard" schema-version="v1.5.6">
399399
<title language="en" script="Latn">RFC XML v3 Example: A Standard for the Transmission of IP Datagrams on Avian Carriers</title>
400400
<uri type="xml">spec/fixtures/documents/example.rfc.xml</uri>
401401
<contributor>
@@ -431,7 +431,7 @@ some cities, usually based upon a central hub topology.</abstract>
431431
<status>
432432
<stage>Published</stage>
433433
</status>
434-
<ext schema-version="v1.0.1">
434+
<ext schema-version="v1.1.2">
435435
<doctype>rfc</doctype>
436436
<flavor>ietf</flavor>
437437
</ext>

spec/fixtures/sample-collection.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ root:
44
items:
55
- id: CC34000
66
type: standard
7-
schema_version: v1.4.1
7+
schema_version: v1.5.6
88
fetched: '2018-11-09'
99
title:
1010
- content: Date and time -- Concepts and vocabulary
@@ -20,7 +20,7 @@ root:
2020
content: proposal
2121
- id: CC34002
2222
type: standard
23-
schema_version: v1.4.1
23+
schema_version: v1.5.6
2424
fetched: '2018-11-09'
2525
title:
2626
- content: Date and time -- Timezones
@@ -36,7 +36,7 @@ root:
3636
content: proposal
3737
- id: CC34003
3838
type: standard
39-
schema_version: v1.4.1
39+
schema_version: v1.5.6
4040
fetched: '2018-11-09'
4141
title:
4242
- content: Date and time -- Codes for calendar systems
@@ -52,7 +52,7 @@ root:
5252
content: proposal
5353
- id: CC34005
5454
type: standard
55-
schema_version: v1.4.1
55+
schema_version: v1.5.6
5656
fetched: '2018-11-09'
5757
title:
5858
- content: Date and time -- Calendars -- Gregorian calendar
@@ -68,7 +68,7 @@ root:
6868
content: proposal
6969
- id: CCS34006
7070
type: specification
71-
schema_version: v1.4.1
71+
schema_version: v1.5.6
7272
fetched: '2018-11-09'
7373
title:
7474
- content: Date and time -- Calendars -- Chinese calendar
@@ -84,7 +84,7 @@ root:
8484
content: proposal
8585
- id: CC36000
8686
type: standard
87-
schema_version: v1.4.1
87+
schema_version: v1.5.6
8888
fetched: '2018-11-09'
8989
title:
9090
- content: Standardization documents -- Vocabulary

spec/fixtures/sample_iso.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<bibdata type="standard" schema-version="v1.4.1">
1+
<bibdata type="standard" schema-version="v1.5.6">
22
<title type="title-main">Geographic information</title>
33
<title type="main">Geographic information</title>
44
<title language="fr" script="Latn" type="title-main">Information géographique</title>
@@ -18,7 +18,7 @@
1818
<substage>substage</substage>
1919
<iteration>final</iteration>
2020
</status>
21-
<ext schema-version="v1.0.5">
21+
<ext schema-version="v1.1.2">
2222
<doctype>standard</doctype>
2323
</ext>
2424
</bibdata>

spec/relaton/cli/yaml_convertor_spec.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
buffer = stub_file_write_to_io(sample_yaml_file)
1313
Relaton::Cli::YAMLConvertor.to_xml(sample_yaml_file)
1414
expect(buffer).to be_equivalent_to <<~OUTPUT
15-
<bibdata type="standard" schema-version="v1.4.1">
15+
<bibdata type="standard" schema-version="v1.5.6">
1616
<title>Standardization documents - Vocabulary</title>
1717
<docidentifier type="CC" primary="true">CC 36000</docidentifier>
1818
<date type="issued">
@@ -29,7 +29,7 @@
2929
buffer = stub_file_write_to_io(sample_yaml_file_no_type)
3030
Relaton::Cli::YAMLConvertor.to_xml(sample_yaml_file_no_type)
3131
expect(buffer).to be_equivalent_to <<~OUTPUT
32-
<bibdata schema-version="v1.4.1">
32+
<bibdata schema-version="v1.5.6">
3333
<title type="title-main">Geographic information</title>
3434
<title type="main">Geographic information</title>
3535
<title language="fr" script="Latn">Information géographique</title>
@@ -71,7 +71,7 @@
7171
)
7272

7373
expect(buffer).to be_equivalent_to <<~OUTPUT
74-
<bibdata type="standard" schema-version="v1.4.1">
74+
<bibdata type="standard" schema-version="v1.5.6">
7575
<title>Standardization documents - Vocabulary</title>
7676
<docidentifier type="CC" primary="true">CC 36000</docidentifier>
7777
<date type="issued">
@@ -94,7 +94,7 @@
9494

9595
expect(buffer.count).to eq(6)
9696
expect(buffer.last).to be_equivalent_to <<~OUTPUT
97-
<bibdata type="specification" schema-version="v1.4.1">
97+
<bibdata type="specification" schema-version="v1.5.6">
9898
<fetched>2018-11-09</fetched>
9999
<title>Date and time -- Calendars -- Chinese calendar</title>
100100
<docidentifier type="CC" primary="true">CC/S 34006</docidentifier>
@@ -111,7 +111,7 @@
111111
it "don't write" do
112112
xml = Relaton::Cli::YAMLConvertor.to_xml(sample_yaml_file, write: false)
113113
expect(xml).to be_equivalent_to <<~OUTPUT
114-
<bibdata type="standard" schema-version="v1.4.1">
114+
<bibdata type="standard" schema-version="v1.5.6">
115115
<title>Standardization documents - Vocabulary</title>
116116
<docidentifier type="CC" primary="true">CC 36000</docidentifier>
117117
<date type="issued">

0 commit comments

Comments
 (0)