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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4cc103e987a5910cf81abcb428e531a3dcb745d5
4
- data.tar.gz: ac31349aa191b80af09bc3eb662dffb74856213e
3
+ metadata.gz: 9c69238a05d1db80515c947c2fbd9f0929caab9c
4
+ data.tar.gz: 9fe4b62072608dec65dd2f0e8ade9c34ff6f18ad
5
5
  SHA512:
6
- metadata.gz: ca721460f6c4c69d8e771750bd974be8723676a22851676c7545280f22776ffc90d601b1ff1587afe4a694c3543e003af7db710b5cb524a7bc4e1b038e83536e
7
- data.tar.gz: 6df64a75bffbe763747846d9978d5b935aa75885606963dd1060820f7a436f0c5f64319a28545b9b8c513b7543beed62b7e2cb85f55c653ca337edb835a77881
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.1)
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.3)
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.2)
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
- RelatonBib::Affilation.new RelatonBib::Organization.new(
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]
@@ -1,3 +1,3 @@
1
1
  module RelatonIetf
2
- VERSION = "0.6.1".freeze
2
+ VERSION = "0.6.2".freeze
3
3
  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: 0.6.1
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-02 00:00:00.000000000 Z
11
+ date: 2019-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler