relaton-ietf 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/relaton_ietf/scrapper.rb +3 -2
- data/lib/relaton_ietf/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c69238a05d1db80515c947c2fbd9f0929caab9c
|
4
|
+
data.tar.gz: 9fe4b62072608dec65dd2f0e8ade9c34ff6f18ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a36e5d87c5a50cdbbc750eb1062e146f94af4dfeeddbab1beb24ecf89267020e345118870989d3c8cf707d8a61a669d5c2422a1990f73f7f5a2770e6a3e0f04
|
7
|
+
data.tar.gz: df82ca2459d038b46100ecd61546f852a4215ad073ad0a9a4e4742ade155add153e33d799b3e0dd406048b2bd6e370a64ceb08d776d4141ffb812efc38682807
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
relaton-ietf (0.6.
|
4
|
+
relaton-ietf (0.6.2)
|
5
5
|
relaton-bib (~> 0.3.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -24,7 +24,7 @@ GEM
|
|
24
24
|
json (2.2.0)
|
25
25
|
method_source (0.9.2)
|
26
26
|
mini_portile2 (2.4.0)
|
27
|
-
nokogiri (1.10.
|
27
|
+
nokogiri (1.10.4)
|
28
28
|
mini_portile2 (~> 2.4.0)
|
29
29
|
pry (0.12.2)
|
30
30
|
coderay (~> 1.1.0)
|
@@ -34,7 +34,7 @@ GEM
|
|
34
34
|
pry (~> 0.10)
|
35
35
|
public_suffix (3.1.1)
|
36
36
|
rake (10.5.0)
|
37
|
-
relaton-bib (0.3.
|
37
|
+
relaton-bib (0.3.4)
|
38
38
|
addressable
|
39
39
|
nokogiri (~> 1.10)
|
40
40
|
rspec (3.8.0)
|
@@ -33,7 +33,7 @@ module RelatonIetf
|
|
33
33
|
end
|
34
34
|
rescue Timeout::Error, Errno::EINVAL, Errno::ECONNRESET, EOFError,
|
35
35
|
Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError,
|
36
|
-
Net::ProtocolError, SocketError
|
36
|
+
Net::ProtocolError, SocketError, OpenSSL::SSL::SSLError
|
37
37
|
raise RelatonBib::RequestError, "No document found for #{ref} reference."
|
38
38
|
end
|
39
39
|
|
@@ -219,10 +219,11 @@ module RelatonIetf
|
|
219
219
|
# @return [RelatonBib::Affilation]
|
220
220
|
def affiliation(author)
|
221
221
|
organization = author.at("./organization")
|
222
|
-
|
222
|
+
org = RelatonBib::Organization.new(
|
223
223
|
name: organization.text.empty? ? "IETF" : organization.text,
|
224
224
|
abbreviation: organization[:abbrev] || "IETF",
|
225
225
|
)
|
226
|
+
RelatonBib::Affilation.new organization: org
|
226
227
|
end
|
227
228
|
|
228
229
|
# @param author [Nokogiri::XML::Document]
|
data/lib/relaton_ietf/version.rb
CHANGED
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: 0.6.
|
4
|
+
version: 0.6.2
|
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-08-
|
11
|
+
date: 2019-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|