relaton-iec 0.4.2 → 0.4.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
  SHA1:
3
- metadata.gz: 5deb1a1e31dd689114d4074a5d89c1d3fa7a4cf4
4
- data.tar.gz: f75fc9dbfa05dbadb932dd31f3f109aa75e22dd5
3
+ metadata.gz: 7e32eec9580b2ce05bb78db4265203cb98c06a08
4
+ data.tar.gz: 06c30a2a49f3f501084f5050b1c15f8ebc9b01c0
5
5
  SHA512:
6
- metadata.gz: d29d36436c3c28448abc371c29fb298eeddf51cd831877dcad2ad3b91669b36ac6dba55d584307fd5402cef388d28e7db055729567cfc6fda5fc8223b733fddc
7
- data.tar.gz: '09f2ee50b82e7c3ee7ba598442b541a74d86817184998e8063ae875fe1a05e3650475a8adae30203906a627719b3762032655209c836d7f084df3d5f5b9a19ca'
6
+ metadata.gz: 37df6854d11d3541fb485923c5ad59936b20eeb54055a2a92a4224309e8e113691bc4efe739bc3ab9fbb19ca92cbc86b50276db671a2a2f0df9d5f47ab9a1f60
7
+ data.tar.gz: f29b3bc18fb7aac91e5aa1447a959aad4cb992b37dc9925d804aec687dd529a15c3e2ec3b992df06dcd04ad67af922bad0ba3b9d9a85f91331f735e142f5fceb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relaton-iec (0.4.2)
4
+ relaton-iec (0.4.3)
5
5
  addressable
6
6
  relaton-iso-bib (~> 0.3.0)
7
7
 
@@ -26,7 +26,7 @@ GEM
26
26
  json (2.2.0)
27
27
  method_source (0.9.2)
28
28
  mini_portile2 (2.4.0)
29
- nokogiri (1.10.3)
29
+ nokogiri (1.10.4)
30
30
  mini_portile2 (~> 2.4.0)
31
31
  pry (0.12.2)
32
32
  coderay (~> 1.1.0)
@@ -36,10 +36,10 @@ GEM
36
36
  pry (~> 0.10)
37
37
  public_suffix (3.1.1)
38
38
  rake (10.5.0)
39
- relaton-bib (0.3.2)
39
+ relaton-bib (0.3.5)
40
40
  addressable
41
41
  nokogiri (~> 1.10)
42
- relaton-iso-bib (0.3.2)
42
+ relaton-iso-bib (0.3.4)
43
43
  isoics (~> 0.1.6)
44
44
  relaton-bib (~> 0.3.0)
45
45
  ruby_deep_clone (~> 0.8.0)
@@ -13,7 +13,7 @@ module RelatonIec
13
13
  # @return [RelatonIec::HitCollection]
14
14
  def search(text, year = nil)
15
15
  HitCollection.new text, year
16
- rescue SocketError, OpenURI::HTTPError
16
+ rescue SocketError, OpenURI::HTTPError, OpenSSL::SSL::SSLError
17
17
  raise RelatonBib::RequestError, "Could not access http://www.iec.ch"
18
18
  end
19
19
 
@@ -169,7 +169,8 @@ module RelatonIec
169
169
  # end
170
170
  Nokogiri::HTML(resp.body)
171
171
  rescue SocketError, Timeout::Error, Errno::EINVAL, Errno::ECONNRESET, EOFError,
172
- Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError, Net::ProtocolError
172
+ Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError, Net::ProtocolError,
173
+ OpenSSL::SSL::SSLError
173
174
  raise RelatonBib::RequestError, "Could not access #{url}"
174
175
  end
175
176
  # rubocop:enable Metrics/AbcSize
@@ -1,3 +1,3 @@
1
1
  module RelatonIec
2
- VERSION = "0.4.2".freeze
2
+ VERSION = "0.4.3".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-iec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.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-08-02 00:00:00.000000000 Z
11
+ date: 2019-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler