relaton-ietf 1.14.2 → 1.14.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aeb4af4144610491bf2bea9e39dc33eb0df67f8a64c67302b2a503a07d3e8fc8
4
- data.tar.gz: 9e3ec1c20c3c987449cc438c88045b445c1a4196a53aee5a0e5b00b6a038aef4
3
+ metadata.gz: 6dd0e3485bf64d666190d66b48f5ade9d4e23ede1537ccf01f388b09fbec2a42
4
+ data.tar.gz: 01c1334f4730bbb0d636b15ebead6e28d54b524cb834c1d12d6d1453c66e7e3e
5
5
  SHA512:
6
- metadata.gz: d24d58dae25d535ce8fde08676e244e8435ab9d20fbbd5d9eb6b6f6c620e377686cf3436f49df145d7016a16a3713a6bc65955f1e8d8062ac84953d6cc67796e
7
- data.tar.gz: 056caff1d268d56dc15049714784edb13ff25339fded08b8b2833ec95d843ccfe82855ebeece50f1f126c30c6bc9461af9d937451f9856bd53547b486434ae21
6
+ metadata.gz: 933282984bd0231477efa96ec6711bcd732b8978942f441239ec005e202c9e0aeb85cfc26da480cda68796ae42b31d8e7aba2899f0583a448dfb0833f02cc1d3
7
+ data.tar.gz: 75475472dcd00bf9821daadd236313648f6a38573d6fed82afd1bd39c4dcaac70439f978f0f864b924a9a0226ab71ed26da09e419c16b60a65709707b7e5e2c1
@@ -5,6 +5,7 @@ name: rake
5
5
  on:
6
6
  push:
7
7
  branches: [ master, main ]
8
+ tags: [ v* ]
8
9
  pull_request:
9
10
 
10
11
  jobs:
@@ -10,8 +10,9 @@ on:
10
10
  Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
11
11
  required: true
12
12
  default: 'skip'
13
- push:
14
- tags: [ v* ]
13
+ repository_dispatch:
14
+ types: [ do-release ]
15
+
15
16
 
16
17
  jobs:
17
18
  release:
data/.gitignore CHANGED
@@ -8,6 +8,7 @@
8
8
  /tmp/
9
9
  /bibxml-ids/
10
10
  .vscode/
11
+ /vendor/
11
12
 
12
13
  # rspec failure tracking
13
14
  .rspec_status
data/.rubocop.yml CHANGED
@@ -7,6 +7,6 @@ require: rubocop-rails
7
7
  inherit_from:
8
8
  - https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
9
9
  AllCops:
10
- TargetRubyVersion: 2.5
10
+ TargetRubyVersion: 2.7
11
11
  Rails:
12
12
  Enabled: false
data/Gemfile CHANGED
@@ -1,6 +1,12 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
3
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
5
  # Specify your gem's dependencies in relaton_ietf.gemspec
6
6
  gemspec
7
+
8
+ gem "pry-byebug"
9
+ gem "ruby-jing"
10
+ gem "simplecov"
11
+ gem "vcr"
12
+ gem "webmock"
@@ -522,7 +522,6 @@
522
522
  <value>tip</value>
523
523
  <value>important</value>
524
524
  <value>caution</value>
525
- <value>statement</value>
526
525
  </choice>
527
526
  </define>
528
527
  <define name="figure">
data/grammars/biblio.rng CHANGED
@@ -216,6 +216,9 @@
216
216
  <optional>
217
217
  <ref name="fullname"/>
218
218
  </optional>
219
+ <zeroOrMore>
220
+ <ref name="credential"/>
221
+ </zeroOrMore>
219
222
  <zeroOrMore>
220
223
  <ref name="affiliation"/>
221
224
  </zeroOrMore>
@@ -232,6 +235,11 @@
232
235
  <ref name="FullNameType"/>
233
236
  </element>
234
237
  </define>
238
+ <define name="credential">
239
+ <element name="credential">
240
+ <text/>
241
+ </element>
242
+ </define>
235
243
  <define name="FullNameType">
236
244
  <choice>
237
245
  <group>
@@ -305,7 +313,9 @@
305
313
  <zeroOrMore>
306
314
  <ref name="affiliationdescription"/>
307
315
  </zeroOrMore>
308
- <ref name="organization"/>
316
+ <optional>
317
+ <ref name="organization"/>
318
+ </optional>
309
319
  </element>
310
320
  </define>
311
321
  <define name="affiliationname">
@@ -1316,7 +1326,7 @@
1316
1326
  <value>commentaryOf</value>
1317
1327
  <value>hasCommentary</value>
1318
1328
  <value>related</value>
1319
- <value>complements</value>
1329
+ <value>hasComplement</value>
1320
1330
  <value>complementOf</value>
1321
1331
  <value>obsoletes</value>
1322
1332
  <value>obsoletedBy</value>
@@ -16,6 +16,16 @@ module RelatonIetf
16
16
  RelatonIetf::IetfBibliographicItem.new(**attrs)
17
17
  end
18
18
 
19
+ # def docids(reference, ver)
20
+ # ids = super
21
+ # si = reference.at("./seriesInfo[@name='Internet-Draft']",
22
+ # "./front/seriesInfo[@name='Internet-Draft']")
23
+ # if si
24
+ # id = si[:value]
25
+ # end
26
+ # ids
27
+ # end
28
+
19
29
  #
20
30
  # Extract document identifier type form identifier
21
31
  #
@@ -27,7 +37,6 @@ module RelatonIetf
27
37
  type = super
28
38
  case type
29
39
  when "BCP", "FYI", "STD", "RFC" then "RFC"
30
- # when "Internet-Draft" then type
31
40
  when "I-D" then "Internet-Draft"
32
41
  else "IETF"
33
42
  end
@@ -6,6 +6,7 @@ require "relaton_ietf/rfc_entry"
6
6
 
7
7
  module RelatonIetf
8
8
  class DataFetcher
9
+ INDEX1 = "index-v1".freeze
9
10
  #
10
11
  # Data fetcher initializer
11
12
  #
@@ -20,6 +21,7 @@ module RelatonIetf
20
21
  @format = format
21
22
  @ext = @format.sub(/^bib|^rfc/, "")
22
23
  @files = []
24
+ @index = Relaton::Index.find_or_create :IETF, file: "#{INDEX1}.yaml"
23
25
  end
24
26
 
25
27
  #
@@ -49,6 +51,7 @@ module RelatonIetf
49
51
  when "ietf-internet-drafts" then fetch_ieft_internet_drafts
50
52
  when "ietf-rfc-entries" then fetch_ieft_rfcs
51
53
  end
54
+ @index.save
52
55
  end
53
56
 
54
57
  #
@@ -201,6 +204,13 @@ module RelatonIetf
201
204
  @files << file
202
205
  end
203
206
  File.write file, c, encoding: "UTF-8"
207
+ add_to_index entry, file
208
+ end
209
+
210
+ def add_to_index(entry, file)
211
+ docid = entry.docidentifier.detect(&:primary)
212
+ docid ||= entry.docidentifier.first
213
+ @index.add_or_update docid.id, file
204
214
  end
205
215
 
206
216
  #
@@ -45,33 +45,15 @@ module RelatonIetf
45
45
  end
46
46
 
47
47
  #
48
- # Render date as BibXML. Override to skip IANA docidentifiers
48
+ # Render BibXML (RFC)
49
49
  #
50
- # @param [Nokogiri::XML::Builder] builder xml builder
50
+ # @param [Nokogiri::XML::Builder, nil] builder
51
+ # @param [Boolean] include_keywords (false)
51
52
  #
52
- def render_date(builder)
53
- return if docidentifier.detect { |i| i.type == "IANA" }
54
-
55
- super
56
- end
57
-
53
+ # @return [String, Nokogiri::XML::Builder::NodeBuilder] XML
58
54
  #
59
- # Render authors as BibXML. Override to skip "RFC Publisher" organization
60
- #
61
- # @param [Nokogiri::XML::Builder] builder xml builder
62
- #
63
- def render_authors(builder) # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
64
- contributor.each do |c|
65
- next if c.entity.is_a?(Organization) && c.entity.name.map(&:content).include?("RFC Publisher")
66
-
67
- builder.author do |xml|
68
- xml.parent[:role] = "editor" if c.role.detect { |r| r.type == "editor" }
69
- if c.entity.is_a?(Person) then render_person xml, c.entity
70
- else render_organization xml, c.entity, c.role
71
- end
72
- render_address xml, c
73
- end
74
- end
55
+ def to_bibxml(builder = nil, include_keywords: false)
56
+ Renderer::BibXML.new(self).render builder: builder, include_keywords: include_keywords
75
57
  end
76
58
  end
77
59
  end
@@ -48,5 +48,14 @@ module RelatonIetf
48
48
  def grammar_hash
49
49
  @grammar_hash ||= ::RelatonIetf.grammar_hash
50
50
  end
51
+
52
+ #
53
+ # Remove index file
54
+ #
55
+ def remove_index_file
56
+ Relaton::Index.find_or_create(:RFC, url: true, file: Scrapper::INDEX_FILE).remove_file
57
+ Relaton::Index.find_or_create(:RSS, url: true, file: Scrapper::INDEX_FILE).remove_file
58
+ Relaton::Index.find_or_create(:IDS, url: true, file: Scrapper::INDEX_FILE).remove_file
59
+ end
51
60
  end
52
61
  end
@@ -0,0 +1,33 @@
1
+ module RelatonIetf
2
+ module Renderer
3
+ class BibXML < RelatonBib::Renderer::BibXML
4
+ #
5
+ # Render dates as BibXML. Override to skip IANA date rendering.
6
+ #
7
+ # @param [Nokogiri::XML::Builder] builder xml builder
8
+ #
9
+ def render_date(builder)
10
+ super unless @bib.docidentifier.detect { |i| i.type == "IANA" }
11
+ end
12
+
13
+ #
14
+ # Render authors as BibXML. Override to skip "RFC Publisher" organization.
15
+ #
16
+ # @param [Nokogiri::XML::Builder] builder xml builder
17
+ #
18
+ def render_authors(builder) # rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
19
+ @bib.contributor.each do |c|
20
+ next if c.entity.is_a?(RelatonBib::Organization) && c.entity.name.map(&:content).include?("RFC Publisher")
21
+
22
+ builder.author do |xml|
23
+ xml.parent[:role] = "editor" if c.role.detect { |r| r.type == "editor" }
24
+ if c.entity.is_a?(RelatonBib::Person) then render_person xml, c.entity
25
+ else render_organization xml, c.entity, c.role
26
+ end
27
+ render_address xml, c
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
@@ -52,11 +52,22 @@ module RelatonIetf
52
52
  #
53
53
  def parse_series
54
54
  title = RelatonBib::TypedTitleString.new(content: "RFC")
55
+ series_is_also + seires_stream + [RelatonBib::Series.new(title: title, number: docnum)]
56
+ end
57
+
58
+ def series_is_also
55
59
  @doc.xpath("./xmlns:is-also/xmlns:doc-id").map do |s|
56
60
  /^(?<name>\D+)(?<num>\d+)/ =~ s.text
57
61
  t = RelatonBib::TypedTitleString.new(content: name)
58
62
  RelatonBib::Series.new title: t, number: num.gsub(/^0+/, "")
59
- end + [RelatonBib::Series.new(title: title, number: docnum)]
63
+ end
64
+ end
65
+
66
+ def seires_stream
67
+ @doc.xpath("./xmlns:stream").map do |s|
68
+ t = RelatonBib::TypedTitleString.new content: s.text
69
+ RelatonBib::Series.new type: "stream", title: t
70
+ end
60
71
  end
61
72
 
62
73
  #
@@ -116,9 +127,9 @@ module RelatonIetf
116
127
  #
117
128
  # @return [String] anchor
118
129
  #
119
- def anchor
120
- "RFC#{docnum}"
121
- end
130
+ # def anchor
131
+ # "RFC#{docnum}"
132
+ # end
122
133
 
123
134
  #
124
135
  # Create link
@@ -46,6 +46,7 @@ module RelatonIetf
46
46
  link: parse_link,
47
47
  formattedref: formattedref,
48
48
  relation: parse_relation,
49
+ series: parse_series,
49
50
  )
50
51
  end
51
52
 
@@ -73,10 +74,7 @@ module RelatonIetf
73
74
  # @return [Array<RelatonBib::DocumentIdentifier>] docidentifiers
74
75
  #
75
76
  def parse_docid
76
- [
77
- RelatonBib::DocumentIdentifier.new(type: "IETF", id: pub_id, primary: true),
78
- # RelatonBib::DocumentIdentifier.new(type: "IETF", scope: "anchor", id: anchor),
79
- ]
77
+ [RelatonBib::DocumentIdentifier.new(type: "IETF", id: pub_id, primary: true)]
80
78
  end
81
79
 
82
80
  #
@@ -100,7 +98,7 @@ module RelatonIetf
100
98
  #
101
99
  # Create link
102
100
  #
103
- # @return [Array<RelatonBib::TypedUri>]
101
+ # @return [Array<RelatonBib::TypedUri>]
104
102
  #
105
103
  def parse_link
106
104
  [RelatonBib::TypedUri.new(type: "src", content: "https://www.rfc-editor.org/info/#{@name}#{@shortnum}")]
@@ -109,7 +107,7 @@ module RelatonIetf
109
107
  #
110
108
  # Create formatted reference
111
109
  #
112
- # @return [RelatonBib::FormattedRef]
110
+ # @return [RelatonBib::FormattedRef]
113
111
  #
114
112
  def formattedref
115
113
  RelatonBib::FormattedRef.new(
@@ -131,5 +129,12 @@ module RelatonIetf
131
129
  { type: "includes", bibitem: bib }
132
130
  end
133
131
  end
132
+
133
+ def parse_series
134
+ @doc.xpath("./xmlns:stream").map do |s|
135
+ title = RelatonBib::TypedTitleString.new content: s.text
136
+ RelatonBib::Series.new type: "stream", title: title
137
+ end
138
+ end
134
139
  end
135
140
  end
@@ -5,16 +5,17 @@ module RelatonIetf
5
5
  module Scrapper
6
6
  extend Scrapper
7
7
 
8
- IDS = "https://raw.githubusercontent.com/relaton/relaton-data-ids/main/data/"
9
- RFC = "https://raw.githubusercontent.com/relaton/relaton-data-rfcs/main/data/"
10
- RSS = "https://raw.githubusercontent.com/relaton/relaton-data-rfcsubseries/main/data/"
8
+ IDS = "https://raw.githubusercontent.com/relaton/relaton-data-ids/main/"
9
+ RFC = "https://raw.githubusercontent.com/relaton/relaton-data-rfcs/main/"
10
+ RSS = "https://raw.githubusercontent.com/relaton/relaton-data-rfcsubseries/main/"
11
+ INDEX_FILE = "index-v1.yaml"
11
12
 
12
13
  # @param text [String]
13
14
  # @return [RelatonIetf::IetfBibliographicItem]
14
15
  def scrape_page(text)
15
16
  # Remove initial "IETF " string if specified
16
17
  ref = text.gsub(/^IETF /, "")
17
- ref.sub!(/(?<=^(?:RFC|BCP|FYI|STD))\s(\d+)/) { $1.rjust 4, "0" }
18
+ # ref.sub!(/(?<=^(?:RFC|BCP|FYI|STD))\s(\d+)/) { $1.rjust 4, "0" }
18
19
  rfc_item ref
19
20
  rescue Timeout::Error, Errno::EINVAL, Errno::ECONNRESET, EOFError,
20
21
  Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError,
@@ -27,32 +28,42 @@ module RelatonIetf
27
28
  # @param ref [String]
28
29
  # @return [RelatonIetf::IetfBibliographicItem]
29
30
  def rfc_item(ref) # rubocop:disable Metrics/MethodLength
30
- ghurl = case ref
31
- when /^RFC/ then RFC
32
- when /^(?:BCP|FYI|STD)/ then RSS
33
- when /^I-D/
34
- ref.sub!(/^I-D[.\s]/, "")
35
- IDS
36
- else return
37
- end
38
-
39
- uri = "#{ghurl}#{ref.sub(/\s|\u00a0/, '.')}.yaml"
40
- # BibXMLParser.parse get_page(uri), is_relation: is_relation, ver: ver
41
- resp = get_page uri
42
- return unless resp
43
-
44
- hash = YAML.safe_load resp
45
- hash["fetched"] = Date.today.to_s
46
- IetfBibliographicItem.from_hash hash
31
+ case ref
32
+ when /^RFC/ then get_rfcs ref
33
+ when /^(?:BCP|FYI|STD)/ then get_rfcsubseries ref
34
+ when /^I-D/
35
+ ref.sub!(/^I-D[.\s]/, "")
36
+ get_ids ref
37
+ end
38
+ end
39
+
40
+ def get_rfcs(ref)
41
+ index = Relaton::Index.find_or_create :RFC, url: "#{RFC}index-v1.zip", file: INDEX_FILE
42
+ row = index.search(ref).first
43
+ get_page "#{RFC}#{row[:file]}" if row
44
+ end
45
+
46
+ def get_rfcsubseries(ref)
47
+ index = Relaton::Index.find_or_create :RSS, url: "#{RSS}index-v1.zip", file: INDEX_FILE
48
+ row = index.search(ref).first
49
+ get_page "#{RSS}#{row[:file]}" if row
50
+ end
51
+
52
+ def get_ids(ref)
53
+ index = Relaton::Index.find_or_create :IDS, url: "#{IDS}index-v1.zip", file: INDEX_FILE
54
+ row = index.search(ref).first
55
+ get_page "#{IDS}#{row[:file]}" if row
47
56
  end
48
57
 
49
58
  # @param uri [String]
50
- # @return [String] HTTP response body
59
+ # @return [RelatonIetf::IetfBibliographicItem, nil] HTTP response body
51
60
  def get_page(uri)
52
61
  res = Net::HTTP.get_response(URI(uri))
53
62
  return unless res.code == "200"
54
63
 
55
- res.body
64
+ hash = YAML.safe_load res.body
65
+ hash["fetched"] = Date.today.to_s
66
+ IetfBibliographicItem.from_hash hash
56
67
  end
57
68
  end
58
69
  end
@@ -1,3 +1,3 @@
1
1
  module RelatonIetf
2
- VERSION = "1.14.2".freeze
2
+ VERSION = "1.14.4".freeze
3
3
  end
data/lib/relaton_ietf.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "net/http"
4
+ require "relaton/index"
4
5
  require "relaton_bib"
5
6
  require "relaton_ietf/version"
6
7
  require "relaton_ietf/bibxml_parser"
@@ -8,6 +9,7 @@ require "relaton_ietf/ietf_bibliography"
8
9
  require "relaton_ietf/xml_parser"
9
10
  require "relaton_ietf/hash_converter"
10
11
  require "relaton_ietf/data_fetcher"
12
+ require "relaton_ietf/renderer/bibxml"
11
13
  require "relaton/provider_ietf"
12
14
 
13
15
  module RelatonIetf
data/relaton_ietf.gemspec CHANGED
@@ -10,10 +10,10 @@ Gem::Specification.new do |spec|
10
10
  spec.authors = ["Ribose Inc."]
11
11
  spec.email = ["open.source@ribose.com"]
12
12
 
13
- spec.summary = "RelatonIetf: retrieve IETF Standards for bibliographic use "\
14
- "using the BibliographicItem model"
13
+ spec.summary = "RelatonIetf: retrieve IETF Standards for " \
14
+ "bibliographic use using the BibliographicItem model"
15
15
  spec.description = <<~DESCRIPTION
16
- RelatonIetf: retrieve IETF Standards for bibliographic use
16
+ RelatonIetf: retrieve IETF Standards for bibliographic use
17
17
  using the BibliographicItem model.
18
18
 
19
19
  Formerly known as rfcbib.
@@ -27,16 +27,12 @@ Gem::Specification.new do |spec|
27
27
  spec.bindir = "exe"
28
28
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
29
  spec.require_paths = ["lib"]
30
- spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
30
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
31
31
 
32
32
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
33
- spec.add_development_dependency "pry-byebug"
34
33
  spec.add_development_dependency "rake", "~> 13.0"
35
34
  spec.add_development_dependency "rspec", "~> 3.0"
36
- spec.add_development_dependency "ruby-jing"
37
- spec.add_development_dependency "simplecov"
38
- spec.add_development_dependency "vcr"
39
- spec.add_development_dependency "webmock"
40
35
 
41
36
  spec.add_dependency "relaton-bib", "~> 1.14.0"
37
+ spec.add_dependency "relaton-index", "~> 0.2.0"
42
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-ietf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.2
4
+ version: 1.14.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: 2022-12-24 00:00:00.000000000 Z
11
+ date: 2023-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: equivalent-xml
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.6'
27
- - !ruby/object:Gem::Dependency
28
- name: pry-byebug
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: rake
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -67,77 +53,38 @@ dependencies:
67
53
  - !ruby/object:Gem::Version
68
54
  version: '3.0'
69
55
  - !ruby/object:Gem::Dependency
70
- name: ruby-jing
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: simplecov
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'
97
- - !ruby/object:Gem::Dependency
98
- name: vcr
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: webmock
56
+ name: relaton-bib
113
57
  requirement: !ruby/object:Gem::Requirement
114
58
  requirements:
115
- - - ">="
59
+ - - "~>"
116
60
  - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
61
+ version: 1.14.0
62
+ type: :runtime
119
63
  prerelease: false
120
64
  version_requirements: !ruby/object:Gem::Requirement
121
65
  requirements:
122
- - - ">="
66
+ - - "~>"
123
67
  - !ruby/object:Gem::Version
124
- version: '0'
68
+ version: 1.14.0
125
69
  - !ruby/object:Gem::Dependency
126
- name: relaton-bib
70
+ name: relaton-index
127
71
  requirement: !ruby/object:Gem::Requirement
128
72
  requirements:
129
73
  - - "~>"
130
74
  - !ruby/object:Gem::Version
131
- version: 1.14.0
75
+ version: 0.2.0
132
76
  type: :runtime
133
77
  prerelease: false
134
78
  version_requirements: !ruby/object:Gem::Requirement
135
79
  requirements:
136
80
  - - "~>"
137
81
  - !ruby/object:Gem::Version
138
- version: 1.14.0
139
- description: "RelatonIetf: retrieve IETF Standards for bibliographic use \nusing the
140
- BibliographicItem model.\n\nFormerly known as rfcbib.\n"
82
+ version: 0.2.0
83
+ description: |
84
+ RelatonIetf: retrieve IETF Standards for bibliographic use
85
+ using the BibliographicItem model.
86
+
87
+ Formerly known as rfcbib.
141
88
  email:
142
89
  - open.source@ribose.com
143
90
  executables: []
@@ -171,6 +118,7 @@ files:
171
118
  - lib/relaton_ietf/ietf_bibliographic_item.rb
172
119
  - lib/relaton_ietf/ietf_bibliography.rb
173
120
  - lib/relaton_ietf/processor.rb
121
+ - lib/relaton_ietf/renderer/bibxml.rb
174
122
  - lib/relaton_ietf/rfc_entry.rb
175
123
  - lib/relaton_ietf/rfc_index_entry.rb
176
124
  - lib/relaton_ietf/scrapper.rb
@@ -189,14 +137,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
189
137
  requirements:
190
138
  - - ">="
191
139
  - !ruby/object:Gem::Version
192
- version: 2.5.0
140
+ version: 2.7.0
193
141
  required_rubygems_version: !ruby/object:Gem::Requirement
194
142
  requirements:
195
143
  - - ">="
196
144
  - !ruby/object:Gem::Version
197
145
  version: '0'
198
146
  requirements: []
199
- rubygems_version: 3.1.6
147
+ rubygems_version: 3.3.26
200
148
  signing_key:
201
149
  specification_version: 4
202
150
  summary: 'RelatonIetf: retrieve IETF Standards for bibliographic use using the BibliographicItem