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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b46017a3b30ea11d3ea0f97581e4b4e8a95afb15463f47ac536995286be26c09
4
- data.tar.gz: cb8b1d871705c2f795c21977ecfbeb33e4bb13c66249eefbdf66dee12335bd88
3
+ metadata.gz: f360e492005bad966ceffdf2c7b58dea17f15232579ce07c461ceeced55340d0
4
+ data.tar.gz: 53dbb7362cb878464c4a98b215a10ce70b6bb2ff9e01aac4d20d029c3285b309
5
5
  SHA512:
6
- metadata.gz: 558039f1f7e632461bf785ab09c99585aad636b3e828a57bb2e710f0fa77d76b21b44ce186f2798e57e2da425085e79fe747a033db62f3edfe086e08aad06b1a
7
- data.tar.gz: febdc2fb65bfb3948b690c92e94da829fd8a1b9d945a2586b348d774546881fe034a8a3f39ea9751a6d9945029fbc1379b908423ab925b2e499a85c38590970d
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 = ::RelatonBib::HashConverter.hash_to_bib(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
 
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "1.8.0".freeze
2
+ VERSION = "1.8.1".freeze
3
3
  end
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.0
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-17 00:00:00.000000000 Z
11
+ date: 2021-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug