relaton-iho 1.2.2 → 1.2.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: 9de8a40ba30cb75e63c79bd94336fb3a912966d96e5c9effa06de4449b2d1b42
4
- data.tar.gz: 30a0fa02802686ffd10cb798ba1024c2ee30a5d0cf8a3de1839162042375adc1
3
+ metadata.gz: 8a71904841f99ee9eab8d284e9834870734dbaa46c2dac616f3fd37a64c1dcfd
4
+ data.tar.gz: 42ce621872f8df62d1af6faa4eb02237b11f37494b733609b72b80f04e4df54a
5
5
  SHA512:
6
- metadata.gz: 493afaeb6f957ddff07dc00136b7ded51bca12d404ef82d9089bee4009dbb04e8ee9da620bf429fc2a969e60b5d89917adc496c379544d21d42bf20df8ba0cb9
7
- data.tar.gz: dfebf7a00a38d031b1556223cf88136783cccde0a37b1ecee93bb17c3bb0ca6de48c69a66c39c983c692b3734aa6f40aa57bf7bb42c73a01342bb86b7eba8f3c
6
+ metadata.gz: d3fca909e02416984e999fc122916c143f7a9bcc6fc9d191541983e62b91ddb4212cf28563136b1ba82d53341c8c1465681fe16fd335567fe1ebcd85288c6cc1
7
+ data.tar.gz: ef010c3146afc90870fe301e641848b0e37fd959b9dcda4c09ff16e556668f4174add4b0412122c450d1d7f553d05efb9a6926bfb5a3cb0e2bdd2d0cf7e0f97b
@@ -11,7 +11,7 @@ module RelatonIho
11
11
  ref = text.sub(/^IHO\s/, "").downcase
12
12
  uri = URI("#{ENDPOINT}#{ref}.yaml")
13
13
  resp = Net::HTTP.get_response uri
14
- returm unless resp.code == "200"
14
+ return unless resp.code == "200"
15
15
 
16
16
  hash = HashConverter.hash_to_bib YAML.safe_load(resp.body, [Date])
17
17
  item = IhoBibliographicItem.new hash
@@ -1,3 +1,3 @@
1
1
  module RelatonIho
2
- VERSION = "1.2.2".freeze
2
+ VERSION = "1.2.3".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-iho
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-03 00:00:00.000000000 Z
11
+ date: 2020-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug