relaton-ietf 0.7.2 → 0.7.3

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: 1949bf5328cb4b67abb7a207d4468302296fe22c30c3904201bc0cab71ac83fb
4
- data.tar.gz: '08f2f8da4b386a2901c86f6149193cad380166e09787355a02efe458cc6c64f7'
3
+ metadata.gz: 6c6eedea3f7377f707d5dc35effef62e1c66f28435bd5c62467ba4bd1f7eded2
4
+ data.tar.gz: 8e767158527e3bca303014b3b964bd7de3fb40d458e6ed3c956e4a7eb28dbcc3
5
5
  SHA512:
6
- metadata.gz: d3cf66d1372331e542b8f8eacb658990c25dfba4f1354861e9b22a663bcd2889d3882418b45e6867d42cb7cc47c50642c3cc9dc2c29d4aec28d3601a638cb7cd
7
- data.tar.gz: 045ef247ca7ee452054015e8d6d5a72d324c21de8380ada3ec75b1776f0d25b71629d56ee5e51854ed295050db18eb00364f664011207c18969119b01416b4c2
6
+ metadata.gz: 00aac823569ac0f57e38bf16008ac9a9c39dc000c4937dcaba4289a5bcfc5f703b4bb91c9914ee953090c66980921cb88d95aee494ed28f871ed32c1bfe91ef3
7
+ data.tar.gz: 236f2fa73fa0577024a9f171187f112dd5f0c0d88a019cf5c30c95d32b349db97c3d9a295174aeefe6dbdbd647af7f401a4a1e9feea084aea2b69d596a0cb141
data/.gitignore CHANGED
@@ -11,3 +11,4 @@
11
11
  # rspec failure tracking
12
12
  .rspec_status
13
13
  .rubocop-https---raw-githubusercontent-com-riboseinc-oss-guides-master-ci-rubocop-yml
14
+ Gemfile.lock
@@ -1,9 +1,12 @@
1
1
  = RelatonIetf
2
2
 
3
3
  image:https://img.shields.io/gem/v/relaton-ietf.svg["Gem Version", link="https://rubygems.org/gems/relaton-ietf"]
4
- image:https://img.shields.io/travis/metanorma/relaton-ietf/master.svg["Build Status", link="https://travis-ci.org/metanorma/relaton-ietf"]
5
- image:https://ci.appveyor.com/api/projects/status/eirsba4v3nviejs4?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/ribose/relaton-ietf"]
6
- image:https://codeclimate.com/github/metanorma/relaton-ietf/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/relaton-ietf"]
4
+ image:https://github.com/relaton/relaton-ietf/workflows/macos/badge.svg["Build Status (macOS)", link="https://github.com/relaton/relaton-ietf/actions?workflow=macos"]
5
+ image:https://github.com/relaton/relaton-ietf/workflows/windows/badge.svg["Build Status (Windows)", link="https://github.com/relaton/relaton-ietf/actions?workflow=windows"]
6
+ image:https://github.com/relaton/relaton-ietf/workflows/ubuntu/badge.svg["Build Status (Ubuntu)", link="https://github.com/relaton/relaton-ietf/actions?workflow=ubuntu"]
7
+ image:https://codeclimate.com/github/relaton/relaton-ietf/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/relaton/relaton-ietf"]
8
+ image:https://img.shields.io/github/issues-pr-raw/relaton/relaton-ietf.svg["Pull Requests", link="https://github.com/relaton/relaton-ietf/pulls"]
9
+ image:https://img.shields.io/github/commits-since/relaton/relaton-ietf/latest.svg["Commits since latest",link="https://github.com/relaton/relaton-ietf/releases"]
7
10
 
8
11
  _Formerly known as_ `rfcbib`.
9
12
 
@@ -62,6 +62,7 @@ module RelatonIetf
62
62
  contributor: contributors(reference),
63
63
  date: dates(reference),
64
64
  series: series(reference),
65
+ place: ["Fremont, CA"],
65
66
  keyword: reference.xpath("front/keyword").map(&:text),
66
67
  doctype: doctype(reference[:anchor])
67
68
  )
@@ -294,6 +295,9 @@ module RelatonIetf
294
295
  id = (reference[:anchor] || reference[:docName]).sub(/^(RFC)/, "\\1 ")
295
296
  ret = []
296
297
  ret << RelatonBib::DocumentIdentifier.new(type: "IETF", id: id)
298
+ if (id = reference[:anchor])
299
+ ret << RelatonBib::DocumentIdentifier.new(type: "rfc-anchor", id: id)
300
+ end
297
301
  ret + reference.xpath("./seriesInfo").map do |si|
298
302
  next unless si[:name] == "DOI"
299
303
 
@@ -1,3 +1,3 @@
1
1
  module RelatonIetf
2
- VERSION = "0.7.2".freeze
2
+ VERSION = "0.7.3".freeze
3
3
  end
@@ -29,7 +29,6 @@ Gem::Specification.new do |spec|
29
29
  spec.require_paths = ["lib"]
30
30
  spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
31
31
 
32
- spec.add_development_dependency "bundler", "~> 2.0.1"
33
32
  spec.add_development_dependency "debase"
34
33
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
35
34
  spec.add_development_dependency "pry-byebug"
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-ietf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-18 00:00:00.000000000 Z
11
+ date: 2019-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 2.0.1
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 2.0.1
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: debase
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -194,7 +180,6 @@ files:
194
180
  - ".rspec"
195
181
  - ".rubocop.yml"
196
182
  - Gemfile
197
- - Gemfile.lock
198
183
  - LICENSE.txt
199
184
  - README.adoc
200
185
  - Rakefile
@@ -1,88 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- relaton-ietf (0.7.2)
5
- relaton-bib (~> 0.4.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- addressable (2.7.0)
11
- public_suffix (>= 2.0.2, < 5.0)
12
- byebug (11.0.1)
13
- coderay (1.1.2)
14
- crack (0.4.3)
15
- safe_yaml (~> 1.0.0)
16
- debase (0.2.3)
17
- debase-ruby_core_source (>= 0.10.2)
18
- debase-ruby_core_source (0.10.5)
19
- diff-lcs (1.3)
20
- docile (1.3.2)
21
- equivalent-xml (0.6.0)
22
- nokogiri (>= 1.4.3)
23
- hashdiff (0.4.0)
24
- json (2.2.0)
25
- method_source (0.9.2)
26
- mini_portile2 (2.4.0)
27
- nokogiri (1.10.7)
28
- mini_portile2 (~> 2.4.0)
29
- optout (0.0.2)
30
- pry (0.12.2)
31
- coderay (~> 1.1.0)
32
- method_source (~> 0.9.0)
33
- pry-byebug (3.7.0)
34
- byebug (~> 11.0)
35
- pry (~> 0.10)
36
- public_suffix (4.0.1)
37
- rake (10.5.0)
38
- relaton-bib (0.4.1)
39
- addressable
40
- nokogiri
41
- rspec (3.8.0)
42
- rspec-core (~> 3.8.0)
43
- rspec-expectations (~> 3.8.0)
44
- rspec-mocks (~> 3.8.0)
45
- rspec-core (3.8.2)
46
- rspec-support (~> 3.8.0)
47
- rspec-expectations (3.8.4)
48
- diff-lcs (>= 1.2.0, < 2.0)
49
- rspec-support (~> 3.8.0)
50
- rspec-mocks (3.8.1)
51
- diff-lcs (>= 1.2.0, < 2.0)
52
- rspec-support (~> 3.8.0)
53
- rspec-support (3.8.2)
54
- ruby-debug-ide (0.7.0)
55
- rake (>= 0.8.1)
56
- ruby-jing (0.0.1)
57
- optout (>= 0.0.2)
58
- safe_yaml (1.0.5)
59
- simplecov (0.17.0)
60
- docile (~> 1.1)
61
- json (>= 1.8, < 3)
62
- simplecov-html (~> 0.10.0)
63
- simplecov-html (0.10.2)
64
- vcr (5.0.0)
65
- webmock (3.6.0)
66
- addressable (>= 2.3.6)
67
- crack (>= 0.3.2)
68
- hashdiff (>= 0.4.0, < 2.0.0)
69
-
70
- PLATFORMS
71
- ruby
72
-
73
- DEPENDENCIES
74
- bundler (~> 2.0.1)
75
- debase
76
- equivalent-xml (~> 0.6)
77
- pry-byebug
78
- rake (~> 10.0)
79
- relaton-ietf!
80
- rspec (~> 3.0)
81
- ruby-debug-ide
82
- ruby-jing
83
- simplecov
84
- vcr
85
- webmock
86
-
87
- BUNDLED WITH
88
- 2.0.2