relaton-bib 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton_bib/bibliographic_item.rb +1 -1
- data/lib/relaton_bib/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: f360e492005bad966ceffdf2c7b58dea17f15232579ce07c461ceeced55340d0
|
4
|
+
data.tar.gz: 53dbb7362cb878464c4a98b215a10ce70b6bb2ff9e01aac4d20d029c3285b309
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9ad9144aada97110a49ee9e9f1fa3a6e75a6d7c2a02229c1093bdf73ad9dfd561b7c58da7345ef27081e3128ceb3dfbcad7d60051875b906c38cba090d35542
|
7
|
+
data.tar.gz: 9f65d0bc5fbc719bce322e1b6f98668c764c292e1f047b04ddc7ca4b97257192e9f7b7ad3ec9c899ced8a4d4dfa88aa54a92bd38db37888eb4a680a57d8d1859
|
@@ -260,7 +260,7 @@ module RelatonBib
|
|
260
260
|
# @param hash [Hash]
|
261
261
|
# @return [RelatonBipm::BipmBibliographicItem]
|
262
262
|
def self.from_hash(hash)
|
263
|
-
item_hash = ::
|
263
|
+
item_hash = Object.const_get(self.name.split("::")[0])::HashConverter.hash_to_bib(hash)
|
264
264
|
new **item_hash
|
265
265
|
end
|
266
266
|
|
data/lib/relaton_bib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-bib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|