relaton-iho 1.10.1 → 1.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton_iho/iho_bibliography.rb +3 -3
- data/lib/relaton_iho/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6742a04d9ea26eeb5ddd62a8638b3499c53e6c1fb964a530b68164ab6dff7e7
|
4
|
+
data.tar.gz: 2abe40941288d1938338a3932175f9359b154a463d524e7d12468fc7e8efb2c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 250909f714d766be875f9023f46c9130e721f68cf0ce07299df388db2507712a0a690f8288d2124876e59da7e1cd1808b419a2a2249fc5771764473c32756434
|
7
|
+
data.tar.gz: 59408870c87f0001b9f3e8b877c064eb6237f260202b947cdcbcfe8ac50d82af8e55b3dac68183ae1769cf96373b98866f566235307e8ccc6a4c3ae9ba885331
|
@@ -15,10 +15,10 @@ module RelatonIho
|
|
15
15
|
resp = Net::HTTP.get_response uri
|
16
16
|
return unless resp.code == "200"
|
17
17
|
|
18
|
-
yaml = if
|
19
|
-
YAML.safe_load(resp.body, [Date])
|
20
|
-
else
|
18
|
+
yaml = if Gem::Version.new(Psych::VERSION) >= Gem::Version.new("3.1.0.pre1")
|
21
19
|
YAML.safe_load(resp.body, permitted_classes: [Date])
|
20
|
+
else
|
21
|
+
YAML.safe_load(resp.body, [Date])
|
22
22
|
end
|
23
23
|
hash = HashConverter.hash_to_bib yaml
|
24
24
|
item = IhoBibliographicItem.new(**hash)
|
data/lib/relaton_iho/version.rb
CHANGED
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.10.
|
4
|
+
version: 1.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|