alma 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/alma/availability_response.rb +6 -4
- data/lib/alma/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: d0d583e635be32925e6228ecbda6cf61c6d441a65570abcf5fe2345c8e9c05dd
|
4
|
+
data.tar.gz: d33669af2ede76a76c4eb9db3b20c7ed720193c416db124db18ddfff56719cb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 645dc21be84f63fa8b7359b33e632b71f591297f73017430739c5148a506b07bbe8397b3fd063c71a4b3b8a2bcca53b12fab4a900c60c90bf424c00907748ebd
|
7
|
+
data.tar.gz: 1382a507e1d877b02ba5f9b0308542b82fa74c3812c110ce2f9988389d99cb8267175801dbbcb14754c5602973aedbec2e3c95dc30a56bd8d776c706d7001d31
|
@@ -35,10 +35,12 @@ module Alma
|
|
35
35
|
# Limit to only subfields codes for which we have a mapping
|
36
36
|
select { |sf| subfield_codes.key? sf["code"] }.each { |f|
|
37
37
|
key = subfield_codes[f["code"]]
|
38
|
-
|
39
|
-
h
|
40
|
-
|
41
|
-
|
38
|
+
unless key.blank? || f["content"].blank?
|
39
|
+
if h.key? key
|
40
|
+
h[key] << " " + f["content"]
|
41
|
+
else
|
42
|
+
h[key] = f["content"]
|
43
|
+
end
|
42
44
|
end
|
43
45
|
}
|
44
46
|
holdings << h
|
data/lib/alma/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jennifer Anton
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-
|
13
|
+
date: 2024-12-13 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: httparty
|