relaton-iso 0.5.4 → 0.5.5

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: dd542380eec781e5113ea5455b3f0b528188306d
4
- data.tar.gz: e457fa95214e668f42a2eda1a1ba5f0cef1e54a1
3
+ metadata.gz: f3e870b1d714f5bac369efa5ceaed33b2ee9e418
4
+ data.tar.gz: f428cfd7064778b94bfe7662385724df776fc333
5
5
  SHA512:
6
- metadata.gz: d15d13af842f09e14b48ae43c82ae362b37df6394da6b84bc146c359be029ee207bd5dc5ae87691c33d9951d4c4ff86a04542355780fb4a7918848ef665469cd
7
- data.tar.gz: 4c0b4c5d1ac62f9418b611a59991c89cf7e29cfa1614319341162aed676d80ad7dc88f13438f1ae83010a09838d971b826e4d517b1a3f5212e863e93b9470b16
6
+ metadata.gz: 5581b625c15a217885523ce1bf9137dd3594c89ab6a9effc5a2113bb9bf4f4095763755ad9357c576402bb7afd0347bc3a4981749a152e39b083b6736e267331
7
+ data.tar.gz: 5e36f97aff18f65a8ab2c960dd144d98096c363c703f2db3c65218be21dbf9e982c7aa24b47cd4f3addd76806e2d263f4f957302ca163481495372f49bd4db5b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relaton-iso (0.5.4)
4
+ relaton-iso (0.5.5)
5
5
  relaton-iec (~> 0.3.0)
6
6
  relaton-iso-bib (~> 0.2.0)
7
7
 
@@ -31,6 +31,8 @@ module RelatonIso
31
31
  "/cms/render/live/en/sites/isoorg.advancedSearch.do?#{q}",
32
32
  { 'Accept' => 'application/json, text/plain, */*' }
33
33
  )
34
+ return if resp.body.empty?
35
+
34
36
  json = JSON.parse resp.body
35
37
  concat(json["standards"].map { |h| Hit.new h, self })
36
38
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RelatonIso
4
- VERSION = "0.5.4"
4
+ VERSION = "0.5.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-iso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
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-07-22 00:00:00.000000000 Z
11
+ date: 2019-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler