umlaut-primo 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -87,6 +87,14 @@ the_musical_quarterly_3:
87
87
  private_data: false
88
88
 
89
89
  the_musical_quarterly_4:
90
+ referent: the_musical_quarterly
91
+ key_name: "isbn"
92
+ value: ""
93
+ normalized_value: ""
94
+ metadata: true
95
+ private_data: false
96
+
97
+ the_musical_quarterly_5:
90
98
  referent: the_musical_quarterly
91
99
  key_name: "issn"
92
100
  value: "0027-4631"
@@ -94,3 +102,27 @@ the_musical_quarterly_4:
94
102
  metadata: true
95
103
  private_data: false
96
104
 
105
+ russkaia_pochta_with_no_title_1:
106
+ referent: russkaia_pochta_with_no_title
107
+ key_name: "format"
108
+ value: "journal"
109
+ normalized_value: "journal"
110
+ metadata: true
111
+ private_data: false
112
+
113
+ russkaia_pochta_with_no_title_2:
114
+ referent: russkaia_pochta_with_no_title
115
+ key_name: "genre"
116
+ value: "journal"
117
+ normalized_value: "journal"
118
+ metadata: true
119
+ private_data: false
120
+
121
+ russkaia_pochta_with_no_title_3:
122
+ referent: russkaia_pochta_with_no_title
123
+ key_name: "issn"
124
+ value: "1820-7278"
125
+ normalized_value: "1820-7278"
126
+ metadata: true
127
+ private_data: false
128
+
@@ -9,4 +9,7 @@ australian_journal_of_international_affairs:
9
9
  the_musical_quarterly:
10
10
  title: "The Musical quarterly."
11
11
  issn: "0027-4631"
12
+ isbn: ""
12
13
 
14
+ russkaia_pochta_with_no_title:
15
+ issn: "1820-7278"
@@ -18,3 +18,6 @@ the_musical_quarterly_by_id:
18
18
 
19
19
  the_musical_quarterly_by_issn:
20
20
  referent: the_musical_quarterly
21
+
22
+ russkaia_pochta_with_no_title_by_issn:
23
+ referent: russkaia_pochta_with_no_title
@@ -1,3 +1,4 @@
1
+ # encoding: UTF-8
1
2
  require 'test_helper'
2
3
  require 'fileutils'
3
4
  class PrimoServiceTest < ActiveSupport::TestCase
@@ -225,4 +226,33 @@ class PrimoServiceTest < ActiveSupport::TestCase
225
226
  assert_equal("aleph000935132", view_data[:original_id])
226
227
  assert_equal("1997 - 2000 Full Text available from ProQuest", view_data[:display])
227
228
  end
229
+
230
+ test "issn search with no title" do
231
+ request = requests(:russkaia_pochta_with_no_title_by_issn)
232
+ # Make sure the referent values are nil to start with
233
+ assert_nil(request.referent.title, "Title was not nil before resolving by ISSN.")
234
+ assert_nil(request.referent.metadata["jtitle"], "Journal title was not nil before resolving by ISSN.")
235
+ assert_nil(request.referent.metadata["place"], "Publication place was not nil before resolving by ISSN.")
236
+ assert_nil(request.referent.metadata["pub"], "Publisher was not nil before resolving by ISSN.")
237
+ assert_nil(request.referent.metadata["oclcnum"], "OCLC number was nil before resolving by ISSN.")
238
+ assert_nil(request.referent.metadata["lccn"], "LCCN was not nil before resolving by ISSN.")
239
+
240
+ # Handle the service
241
+ VCR.use_cassette("russkaia pochta with no title by issn") do
242
+ @primo_service.handle(request)
243
+ end
244
+
245
+ # Get latest from the DB after handling the service.
246
+ request.referent.referent_values.reset
247
+ request.dispatched_services.reset
248
+ request.service_responses.reset
249
+
250
+ # Test that the referent was enhanced
251
+ assert_equal("russkai͡a pochta.", request.referent.title, "Title (normalized) was not enhances when resolveing by ISSN.")
252
+ assert_equal("Russkai͡a pochta.", request.referent.metadata["jtitle"], "Journal title was not enhanced when resolving by ISSN.")
253
+ assert_equal("Belgrad", request.referent.metadata["place"], "Publication place was not enhanced when resolving by ISSN.")
254
+ assert_equal("Filološki fakultet, Katedra za slavistiku", request.referent.metadata["pub"], "Publisher was not enhanced when resolving by ISSN.")
255
+ assert_equal("261559574", request.referent.metadata["oclcnum"], "OCLC number was not enhanced when resolving by ISSN.")
256
+ assert_equal("2008262508", request.referent.metadata["lccn"], "LCCN was not enhanced when resolving by ISSN.")
257
+ end
228
258
  end
@@ -0,0 +1,187 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://primo.library.edu/PrimoWebServices/services/searcher
6
+ body:
7
+ encoding: US-ASCII
8
+ string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
9
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://primo.library.edu/PrimoWebServices/services/searcher"
10
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><wsdl:searchBrief><request><![CDATA[<searchRequest
11
+ xmlns="http://www.exlibris.com/primo/xsd/wsRequest" xmlns:uic="http://www.exlibris.com/primo/xsd/primoview/uicomponents"><PrimoSearchRequest
12
+ xmlns="http://www.exlibris.com/primo/xsd/search/request"><QueryTerms><BoolOpeator>AND</BoolOpeator><QueryTerm><IndexField>isbn</IndexField><PrecisionOperator>exact</PrecisionOperator><Value>1820-7278</Value></QueryTerm></QueryTerms><StartIndex>1</StartIndex><BulkSize>5</BulkSize><DidUMeanEnabled>false</DidUMeanEnabled></PrimoSearchRequest><institution>NYU</institution></searchRequest>]]></request></wsdl:searchBrief></env:Body></env:Envelope>
13
+ headers:
14
+ Soapaction:
15
+ - ! '"searchBrief"'
16
+ Content-Type:
17
+ - text/xml;charset=UTF-8
18
+ Content-Length:
19
+ - '930'
20
+ Accept:
21
+ - ! '*/*'
22
+ User-Agent:
23
+ - Ruby
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Server:
30
+ - Apache-Coyote/1.1
31
+ X-Powered-By:
32
+ - Servlet 2.5; JBoss-5.0/JBossWeb-2.1
33
+ Content-Type:
34
+ - text/xml;charset=utf-8
35
+ Transfer-Encoding:
36
+ - chunked
37
+ Date:
38
+ - Tue, 08 Oct 2013 15:47:23 GMT
39
+ body:
40
+ encoding: US-ASCII
41
+ string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
42
+ xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><soapenv:Body><ns1:searchBriefResponse
43
+ soapenv:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:ns1=\"http://primo.library.edu/PrimoWebServices/services/searcher\"><searchBriefReturn
44
+ xsi:type=\"soapenc:string\" xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\">&lt;SEGMENTS
45
+ xmlns=&quot;http://www.exlibrisgroup.com/xsd/jaguar/search&quot;&gt;\n &lt;JAGROOT&gt;\n
46
+ \ &lt;RESULT&gt;\n &lt;QUERYTRANSFORMS/&gt;\n &lt;FACETLIST ACCURATE_COUNTERS=&quot;true&quot;&gt;\n
47
+ \ &lt;FACET NAME=&quot;creator&quot; COUNT=&quot;1&quot;&gt;\n &lt;FACET_VALUES
48
+ KEY=&quot;Univerzitet u Beogradu. Katedra za slavistiku&quot; VALUE=&quot;1&quot;/&gt;\n
49
+ \ &lt;/FACET&gt;\n &lt;FACET NAME=&quot;lcc&quot; COUNT=&quot;1&quot;&gt;\n
50
+ \ &lt;FACET_VALUES KEY=&quot;P - Language and literature.&quot; VALUE=&quot;1&quot;/&gt;\n
51
+ \ &lt;/FACET&gt;\n &lt;FACET NAME=&quot;lang&quot; COUNT=&quot;2&quot;&gt;\n
52
+ \ &lt;FACET_VALUES KEY=&quot;rus&quot; VALUE=&quot;1&quot;/&gt;\n
53
+ \ &lt;FACET_VALUES KEY=&quot;ger&quot; VALUE=&quot;1&quot;/&gt;\n
54
+ \ &lt;/FACET&gt;\n &lt;FACET NAME=&quot;rtype&quot; COUNT=&quot;1&quot;&gt;\n
55
+ \ &lt;FACET_VALUES KEY=&quot;journals&quot; VALUE=&quot;1&quot;/&gt;\n
56
+ \ &lt;/FACET&gt;\n &lt;FACET NAME=&quot;topic&quot; COUNT=&quot;1&quot;&gt;\n
57
+ \ &lt;FACET_VALUES KEY=&quot;Russian literature&quot; VALUE=&quot;1&quot;/&gt;\n
58
+ \ &lt;/FACET&gt;\n &lt;FACET NAME=&quot;tlevel&quot; COUNT=&quot;1&quot;&gt;\n
59
+ \ &lt;FACET_VALUES KEY=&quot;available&quot; VALUE=&quot;1&quot;/&gt;\n
60
+ \ &lt;/FACET&gt;\n &lt;FACET NAME=&quot;pfilter&quot; COUNT=&quot;1&quot;&gt;\n
61
+ \ &lt;FACET_VALUES KEY=&quot;journals&quot; VALUE=&quot;1&quot;/&gt;\n
62
+ \ &lt;/FACET&gt;\n &lt;FACET NAME=&quot;creationdate&quot; COUNT=&quot;1&quot;&gt;\n
63
+ \ &lt;FACET_VALUES KEY=&quot;2008&quot; VALUE=&quot;1&quot;/&gt;\n
64
+ \ &lt;/FACET&gt;\n &lt;FACET NAME=&quot;domain&quot; COUNT=&quot;1&quot;&gt;\n
65
+ \ &lt;FACET_VALUES KEY=&quot;BOBST&quot; VALUE=&quot;1&quot;/&gt;\n
66
+ \ &lt;/FACET&gt;\n &lt;FACET NAME=&quot;genre&quot; COUNT=&quot;1&quot;&gt;\n
67
+ \ &lt;FACET_VALUES KEY=&quot;Periodicals&quot; VALUE=&quot;1&quot;/&gt;\n
68
+ \ &lt;/FACET&gt;\n &lt;FACET NAME=&quot;library&quot; COUNT=&quot;1&quot;&gt;\n
69
+ \ &lt;FACET_VALUES KEY=&quot;BOBST&quot; VALUE=&quot;1&quot;/&gt;\n
70
+ \ &lt;/FACET&gt;\n &lt;FACET NAME=&quot;local1&quot; COUNT=&quot;1&quot;&gt;\n
71
+ \ &lt;FACET_VALUES KEY=&quot;Main Collection&quot; VALUE=&quot;1&quot;/&gt;\n
72
+ \ &lt;/FACET&gt;\n &lt;/FACETLIST&gt;\n &lt;DOCSET HIT_TIME=&quot;7&quot;
73
+ TOTALHITS=&quot;1&quot; FIRSTHIT=&quot;1&quot; LASTHIT=&quot;1&quot; TOTAL_TIME=&quot;32&quot;
74
+ IS_LOCAL=&quot;true&quot;&gt;\n &lt;DOC ID=&quot;3801750&quot; RANK=&quot;1.0&quot;
75
+ NO=&quot;1&quot; SEARCH_ENGINE=&quot;Local Search Engine&quot; SEARCH_ENGINE_TYPE=&quot;Local
76
+ Search Engine&quot;&gt;\n &lt;PrimoNMBib xmlns=&quot;http://www.exlibrisgroup.com/xsd/primo/primo_nm_bib&quot;&gt;\n
77
+ \ &lt;record&gt;\n &lt;control&gt;\n &lt;sourcerecordid&gt;003766758&lt;/sourcerecordid&gt;\n
78
+ \ &lt;sourceid&gt;nyu_aleph&lt;/sourceid&gt;\n &lt;recordid&gt;nyu_aleph003766758&lt;/recordid&gt;\n
79
+ \ &lt;originalsourceid&gt;LIB01&lt;/originalsourceid&gt;\n &lt;ilsapiid&gt;LIB01003766758&lt;/ilsapiid&gt;\n
80
+ \ &lt;sourceformat&gt;MARC21&lt;/sourceformat&gt;\n &lt;sourcesystem&gt;Aleph&lt;/sourcesystem&gt;\n
81
+ \ &lt;/control&gt;\n &lt;display&gt;\n &lt;type&gt;journal&lt;/type&gt;\n
82
+ \ &lt;title&gt;Russkai&#x361;a pochta.&lt;/title&gt;\n &lt;contributor&gt;&#x423;&#x43D;&#x438;&#x432;&#x435;&#x440;&#x437;&#x438;&#x442;&#x435;&#x442;
83
+ &#x443; &#x411;&#x435;&#x43E;&#x433;&#x440;&#x430;&#x434;&#x443;. &#x41A;&#x430;&#x442;&#x435;&#x434;&#x440;&#x430;
84
+ &#x437;&#x430; &#x441;&#x43B;&#x430;&#x432;&#x438;&#x441;&#x442;&#x438;&#x43A;&#x443;;
85
+ Univerzitet u Beogradu. Katedra za slavistiku&lt;/contributor&gt;\n &lt;publisher&gt;&#x411;&#x435;&#x43B;&#x433;&#x440;&#x430;&#x434;
86
+ : &#x424;&#x438;&#x43B;&#x43E;&#x43B;&#x43E;&#x448;&#x43A;&#x438; &#x444;&#x430;&#x43A;&#x443;&#x43B;&#x442;&#x435;&#x442;,
87
+ &#x41A;&#x430;&#x442;&#x435;&#x434;&#x440;&#x430; &#x437;&#x430; &#x441;&#x43B;&#x430;&#x432;&#x438;&#x441;&#x442;&#x438;&#x43A;&#x443;;
88
+ Belgrad : Filolo&#x161;ki fakultet, Katedra za slavistiku&lt;/publisher&gt;\n
89
+ \ &lt;creationdate&gt;2008&lt;/creationdate&gt;\n &lt;format&gt;v.
90
+ : ill. ; 24 cm.&lt;/format&gt;\n &lt;identifier&gt;$$Cissn$$V1820-7278&lt;/identifier&gt;\n
91
+ \ &lt;subject&gt;Russian literature -- History and criticism
92
+ -- Periodicals&lt;/subject&gt;\n &lt;language&gt;rus;ger&lt;/language&gt;\n
93
+ \ &lt;source&gt;nyu_aleph&lt;/source&gt;\n &lt;availlibrary&gt;$$INYU$$LBOBST$$1Main
94
+ Collection$$2(PG2900 .R876 )$$Savailable$$32$$40$$5Y$$60$$XNYU50$$YBOBST$$ZMAIN&lt;/availlibrary&gt;\n
95
+ \ &lt;lds02&gt;nyu_aleph003766758&lt;/lds02&gt;\n &lt;lds01&gt;NYU&lt;/lds01&gt;\n
96
+ \ &lt;availinstitution&gt;$$INYU$$Savailable&lt;/availinstitution&gt;\n
97
+ \ &lt;availpnx&gt;available&lt;/availpnx&gt;\n &lt;/display&gt;\n
98
+ \ &lt;links&gt;\n &lt;openurl&gt;$$Topenurl_journal&lt;/openurl&gt;\n
99
+ \ &lt;backlink&gt;$$Taleph_backlink$$DMore bibliographic information&lt;/backlink&gt;\n
100
+ \ &lt;openurlfulltext&gt;$$Topenurlfull_journal&lt;/openurlfulltext&gt;\n
101
+ \ &lt;linktoholdings&gt;$$Taleph_holdings&lt;/linktoholdings&gt;\n
102
+ \ &lt;linktoreview&gt;$$TpersistentUrl$$DCopy item link&lt;/linktoreview&gt;\n
103
+ \ &lt;linktouc&gt;$$Tworldcat_oclc$$DCheck other libraries (WorldCat&#xAE;)&lt;/linktouc&gt;\n
104
+ \ &lt;/links&gt;\n &lt;search&gt;\n &lt;creatorcontrib&gt;&#x423;&#x43D;&#x438;&#x432;&#x435;&#x440;&#x437;&#x438;&#x442;&#x435;&#x442;
105
+ &#x443; &#x411;&#x435;&#x43E;&#x433;&#x440;&#x430;&#x434;&#x443;. &#x41A;&#x430;&#x442;&#x435;&#x434;&#x440;&#x430;
106
+ &#x437;&#x430; &#x441;&#x43B;&#x430;&#x432;&#x438;&#x441;&#x442;&#x438;&#x43A;&#x443;.&lt;/creatorcontrib&gt;\n
107
+ \ &lt;creatorcontrib&gt;Univerzitet u Beogradu. Katedra za slavistiku&lt;/creatorcontrib&gt;\n
108
+ \ &lt;creatorcontrib&gt;Univerzitet u Beogradu. Filolo&#x161;ki
109
+ fakultet. Katedra za slavistiku&lt;/creatorcontrib&gt;\n &lt;creatorcontrib&gt;Kafedra
110
+ slavistiki Belgradskogo universiteta&lt;/creatorcontrib&gt;\n &lt;title&gt;Russkai&#x361;a
111
+ pochta.&lt;/title&gt;\n &lt;subject&gt;Russian literature History
112
+ and criticism Periodicals&lt;/subject&gt;\n &lt;general&gt;Filolo&#x161;ki
113
+ fakultet, Katedra za slavistiku&lt;/general&gt;\n &lt;general&gt;&#x424;&#x438;&#x43B;&#x43E;&#x43B;&#x43E;&#x448;&#x43A;&#x438;
114
+ &#x444;&#x430;&#x43A;&#x443;&#x43B;&#x442;&#x435;&#x442;, &#x41A;&#x430;&#x442;&#x435;&#x434;&#x440;&#x430;
115
+ &#x437;&#x430; &#x441;&#x43B;&#x430;&#x432;&#x438;&#x441;&#x442;&#x438;&#x43A;&#x443;&lt;/general&gt;\n
116
+ \ &lt;general&gt;&quot;Zhurnal o russko&#x12D; literature i
117
+ kul&#x2B9;ture.&quot;&lt;/general&gt;\n &lt;sourceid&gt;nyu_aleph&lt;/sourceid&gt;\n
118
+ \ &lt;recordid&gt;nyu_aleph003766758&lt;/recordid&gt;\n &lt;isbn&gt;1820-7278&lt;/isbn&gt;\n
119
+ \ &lt;rsrctype&gt;journal&lt;/rsrctype&gt;\n &lt;creationdate&gt;2008&lt;/creationdate&gt;\n
120
+ \ &lt;addtitle&gt;&#x420;&#x443;&#x441;&#x441;&#x43A;&#x430;&#x44F;
121
+ &#x43F;&#x43E;&#x447;&#x442;&#x430;.&lt;/addtitle&gt;\n &lt;searchscope&gt;BOBST&lt;/searchscope&gt;\n
122
+ \ &lt;searchscope&gt;BOBST Main Collection&lt;/searchscope&gt;\n
123
+ \ &lt;searchscope&gt;nyu_aleph&lt;/searchscope&gt;\n &lt;searchscope&gt;NYU&lt;/searchscope&gt;\n
124
+ \ &lt;scope&gt;BOBST&lt;/scope&gt;\n &lt;scope&gt;BOBST
125
+ Main Collection&lt;/scope&gt;\n &lt;scope&gt;nyu_aleph&lt;/scope&gt;\n
126
+ \ &lt;scope&gt;NYU&lt;/scope&gt;\n &lt;lsr01&gt;PG2900
127
+ .R876&lt;/lsr01&gt;\n &lt;lsr01&gt;PG2900.R876&lt;/lsr01&gt;\n
128
+ \ &lt;lsr02&gt;Filolo&#x161;ki fakultet, Katedra za slavistiku&lt;/lsr02&gt;\n
129
+ \ &lt;/search&gt;\n &lt;sort&gt;\n &lt;title&gt;&#x420;&#x443;&#x441;&#x441;&#x43A;&#x430;&#x44F;
130
+ &#x43F;&#x43E;&#x447;&#x442;&#x430;.&lt;/title&gt;\n &lt;creationdate&gt;2008&lt;/creationdate&gt;\n
131
+ \ &lt;author&gt;&#x423;&#x43D;&#x438;&#x432;&#x435;&#x440;&#x437;&#x438;&#x442;&#x435;&#x442;
132
+ &#x443; &#x411;&#x435;&#x43E;&#x433;&#x440;&#x430;&#x434;&#x443;. &#x41A;&#x430;&#x442;&#x435;&#x434;&#x440;&#x430;
133
+ &#x437;&#x430; &#x441;&#x43B;&#x430;&#x432;&#x438;&#x441;&#x442;&#x438;&#x43A;&#x443;.&lt;/author&gt;\n
134
+ \ &lt;lso01&gt;2008&lt;/lso01&gt;\n &lt;/sort&gt;\n
135
+ \ &lt;facets&gt;\n &lt;language&gt;rus&lt;/language&gt;\n
136
+ \ &lt;language&gt;ger&lt;/language&gt;\n &lt;creationdate&gt;2008&lt;/creationdate&gt;\n
137
+ \ &lt;topic&gt;Russian literature&#x2013;History and criticism&#x2013;Periodicals&lt;/topic&gt;\n
138
+ \ &lt;collection&gt;BOBST&lt;/collection&gt;\n &lt;toplevel&gt;available&lt;/toplevel&gt;\n
139
+ \ &lt;prefilter&gt;journals&lt;/prefilter&gt;\n &lt;rsrctype&gt;journals&lt;/rsrctype&gt;\n
140
+ \ &lt;creatorcontrib&gt;Univerzitet u Beogradu. Katedra za slavistiku&lt;/creatorcontrib&gt;\n
141
+ \ &lt;genre&gt;Periodicals&lt;/genre&gt;\n &lt;library&gt;BOBST&lt;/library&gt;\n
142
+ \ &lt;lfc01&gt;Main Collection&lt;/lfc01&gt;\n &lt;classificationlcc&gt;P
143
+ - Language and literature.&#x2013;Slavic. Baltic. Albanian&lt;/classificationlcc&gt;\n
144
+ \ &lt;frbrgroupid&gt;105469017&lt;/frbrgroupid&gt;\n &lt;frbrtype&gt;6&lt;/frbrtype&gt;\n
145
+ \ &lt;/facets&gt;\n &lt;dedup&gt;\n &lt;t&gt;2&lt;/t&gt;\n
146
+ \ &lt;c1&gt;2008262508&lt;/c1&gt;\n &lt;c2&gt;1820-7278&lt;/c2&gt;\n
147
+ \ &lt;c3&gt;russkaiapochta&lt;/c3&gt;\n &lt;c4&gt;belgrad&lt;/c4&gt;\n
148
+ \ &lt;f1&gt;2008262508&lt;/f1&gt;\n &lt;f3&gt;18207278&lt;/f3&gt;\n
149
+ \ &lt;f6&gt;2008&lt;/f6&gt;\n &lt;f7&gt;russkaia
150
+ pochta&lt;/f7&gt;\n &lt;f8&gt;russkaia pochta&lt;/f8&gt;\n
151
+ \ &lt;f9&gt;ru&lt;/f9&gt;\n &lt;f10&gt;belgrad&lt;/f10&gt;\n
152
+ \ &lt;/dedup&gt;\n &lt;frbr&gt;\n &lt;t&gt;1&lt;/t&gt;\n
153
+ \ &lt;k1&gt;$$Kuniverzitet u beogradu katedra za slavistiku$$AA&lt;/k1&gt;\n
154
+ \ &lt;k3&gt;$$Krusskaia pochta$$AT&lt;/k3&gt;\n &lt;/frbr&gt;\n
155
+ \ &lt;delivery&gt;\n &lt;institution&gt;NYU&lt;/institution&gt;\n
156
+ \ &lt;delcategory&gt;Physical Item&lt;/delcategory&gt;\n &lt;/delivery&gt;\n
157
+ \ &lt;enrichment&gt;\n &lt;classificationlcc&gt;PG2900&lt;/classificationlcc&gt;\n
158
+ \ &lt;/enrichment&gt;\n &lt;ranking&gt;\n &lt;booster1&gt;1&lt;/booster1&gt;\n
159
+ \ &lt;booster2&gt;1&lt;/booster2&gt;\n &lt;/ranking&gt;\n
160
+ \ &lt;addata&gt;\n &lt;addau&gt;Univerzitet u Beogradu.
161
+ Katedra za slavistiku&lt;/addau&gt;\n &lt;jtitle&gt;Russkai&#x361;a
162
+ pochta.&lt;/jtitle&gt;\n &lt;date&gt;2008&lt;/date&gt;\n &lt;risdate&gt;2008&lt;/risdate&gt;\n
163
+ \ &lt;issn&gt;1820-7278&lt;/issn&gt;\n &lt;format&gt;journal&lt;/format&gt;\n
164
+ \ &lt;genre&gt;journal&lt;/genre&gt;\n &lt;ristype&gt;JOUR&lt;/ristype&gt;\n
165
+ \ &lt;cop&gt;Belgrad&lt;/cop&gt;\n &lt;pub&gt;Filolo&#x161;ki
166
+ fakultet, Katedra za slavistiku&lt;/pub&gt;\n &lt;oclcid&gt;261559574&lt;/oclcid&gt;\n
167
+ \ &lt;lccn&gt;2008262508&lt;/lccn&gt;\n &lt;lad01&gt;BOBST&lt;/lad01&gt;\n
168
+ \ &lt;lad01&gt;Physical Item&lt;/lad01&gt;\n &lt;/addata&gt;\n
169
+ \ &lt;/record&gt;\n &lt;/PrimoNMBib&gt;\n &lt;GETIT
170
+ deliveryCategory=&quot;Physical Item&quot; GetIt1=&quot;http://aleph.library.nyu.edu/F?func=item-global&amp;amp;doc_library=LIB01&amp;amp;local_base=PRIMOCOMMON&amp;amp;doc_number=003766758&quot;
171
+ GetIt2=&quot;https://getit.library.nyu.edu/resolve?&amp;amp;ctx_ver=Z39.88-2004&amp;amp;ctx_enc=info:ofi/enc:UTF-8&amp;amp;ctx_tim=2013-10-08T11%3A47%3A23IST&amp;amp;url_ver=Z39.88-2004&amp;amp;url_ctx_fmt=infofi/fmt:kev:mtx:ctx&amp;amp;rfr_id=info:sid/primo.exlibrisgroup.com:primo-nyu_aleph003766758&amp;amp;rft_val_fmt=info:ofi/fmt:kev:mtx:journal&amp;amp;rft.genre=journal&amp;amp;rft.jtitle=Russkai&#x361;a%20pochta.&amp;amp;rft.btitle=&amp;amp;rft.aulast=&amp;amp;rft.aufirst=&amp;amp;rft.auinit=&amp;amp;rft.auinit1=&amp;amp;rft.auinitm=&amp;amp;rft.ausuffix=&amp;amp;rft.au=&amp;amp;rft.aucorp=&amp;amp;rft.volume=&amp;amp;rft.issue=&amp;amp;rft.part=&amp;amp;rft.quarter=&amp;amp;rft.ssn=&amp;amp;rft.spage=&amp;amp;rft.epage=&amp;amp;rft.pages=&amp;amp;rft.artnum=&amp;amp;rft.pub=Filolo&#x161;ki%20fakultet%2C%20Katedra%20za%20slavistiku&amp;amp;rft.place=Belgrad&amp;amp;rft.issn=1820-7278&amp;amp;rft.eissn=&amp;amp;rft.isbn=&amp;amp;rft.sici=&amp;amp;rft.coden=&amp;amp;rft_id=info:doi/&amp;amp;rft.object_id=&amp;amp;rft.primo=nyu_aleph003766758&amp;amp;rft.eisbn=&amp;amp;rft_dat=&amp;lt;nyu_aleph&gt;003766758&amp;lt;/nyu_aleph&gt;&amp;amp;rft_id=info:oai/&quot;/&gt;\n
172
+ \ &lt;LIBRARIES&gt;\n &lt;LIBRARY&gt;\n &lt;institution&gt;NYU&lt;/institution&gt;\n
173
+ \ &lt;library&gt;BOBST&lt;/library&gt;\n &lt;status&gt;available&lt;/status&gt;\n
174
+ \ &lt;collection&gt;Main Collection&lt;/collection&gt;\n &lt;callNumber&gt;(PG2900
175
+ .R876 )&lt;/callNumber&gt;\n &lt;url&gt;http://aleph.library.nyu.edu/F?func=item-global&amp;amp;doc_library=LIB01&amp;amp;local_base=PRIMOCOMMON&amp;amp;doc_number=003766758&lt;/url&gt;\n
176
+ \ &lt;/LIBRARY&gt;\n &lt;/LIBRARIES&gt;\n &lt;LINKS&gt;\n
177
+ \ &lt;openurl&gt;&lt;![CDATA[https://getit.library.nyu.edu/resolve?&amp;ctx_ver=Z39.88-2004&amp;ctx_enc=info:ofi/enc:UTF-8&amp;ctx_tim=2013-10-08T11%3A47%3A23IST&amp;url_ver=Z39.88-2004&amp;url_ctx_fmt=infofi/fmt:kev:mtx:ctx&amp;rfr_id=info:sid/primo.exlibrisgroup.com:primo-nyu_aleph003766758&amp;rft_val_fmt=info:ofi/fmt:kev:mtx:journal&amp;rft.genre=journal&amp;rft.jtitle=Russkai&#x361;a%20pochta.&amp;rft.btitle=&amp;rft.aulast=&amp;rft.aufirst=&amp;rft.auinit=&amp;rft.auinit1=&amp;rft.auinitm=&amp;rft.ausuffix=&amp;rft.au=&amp;rft.aucorp=&amp;rft.volume=&amp;rft.issue=&amp;rft.part=&amp;rft.quarter=&amp;rft.ssn=&amp;rft.spage=&amp;rft.epage=&amp;rft.pages=&amp;rft.artnum=&amp;rft.pub=Filolo&#x161;ki%20fakultet%2C%20Katedra%20za%20slavistiku&amp;rft.place=Belgrad&amp;rft.issn=1820-7278&amp;rft.eissn=&amp;rft.isbn=&amp;rft.sici=&amp;rft.coden=&amp;rft_id=info:doi/&amp;rft.object_id=&amp;rft.primo=nyu_aleph003766758&amp;rft.eisbn=&amp;rft_dat=&lt;nyu_aleph&gt;003766758&lt;/nyu_aleph&gt;&amp;rft_id=info:oai/]]&gt;&lt;/openurl&gt;\n
178
+ \ &lt;backlink&gt;http://aleph.library.nyu.edu/F?func=direct&amp;amp;local_base=PRIMOCOMMON&amp;amp;doc_number=003766758&lt;/backlink&gt;\n
179
+ \ &lt;thumbnail/&gt;\n &lt;openurlfulltext&gt;&lt;![CDATA[https://getit.library.nyu.edu/resolve?&amp;ctx_ver=Z39.88-2004&amp;sfx.ignore_date_threshold=1&amp;ctx_enc=info:ofi/enc:UTF-8&amp;ctx_tim=2013-10-08T11%3A47%3A23IST&amp;url_ver=Z39.88-2004&amp;url_ctx_fmt=infofi/fmt:kev:mtx:ctx&amp;rfr_id=info:sid/primo.exlibrisgroup.com:primo-nyu_aleph003766758&amp;rft_val_fmt=info:ofi/fmt:kev:mtx:journal&amp;rft.genre=journal&amp;rft.jtitle=Russkai&#x361;a%20pochta.&amp;rft.btitle=&amp;rft.aulast=&amp;rft.aufirst=&amp;rft.auinit=&amp;rft.auinit1=&amp;rft.auinitm=&amp;rft.ausuffix=&amp;rft.au=&amp;rft.aucorp=&amp;rft.volume=&amp;rft.issue=&amp;rft.part=&amp;rft.quarter=&amp;rft.ssn=&amp;rft.spage=&amp;rft.epage=&amp;rft.pages=&amp;rft.artnum=&amp;rft.pub=Filolo&#x161;ki%20fakultet%2C%20Katedra%20za%20slavistiku&amp;rft.place=Belgrad&amp;rft.issn=1820-7278&amp;rft.eissn=&amp;rft.isbn=&amp;rft.sici=&amp;rft.coden=&amp;rft_id=info:doi/&amp;rft.object_id=&amp;svc_val_fmt=info:ofi/fmt:kev:mtx:sch_svc&amp;svc.fulltext=yes&amp;rft.eisbn=&amp;rft_dat=&lt;nyu_aleph&gt;003766758&lt;/nyu_aleph&gt;&amp;rft_id=info:oai/]]&gt;&lt;/openurlfulltext&gt;\n
180
+ \ &lt;linktoholdings&gt;http://aleph.library.nyu.edu/F?func=item-global&amp;amp;doc_library=LIB01&amp;amp;local_base=PRIMOCOMMON&amp;amp;doc_number=003766758&lt;/linktoholdings&gt;\n
181
+ \ &lt;linktoreview&gt;https://library.nyu.edu/persistent/lcn/nyu_aleph003766758?institution=NYU&amp;amp;persistent&lt;/linktoreview&gt;\n
182
+ \ &lt;linktouc&gt;http://www.worldcat.org/search?q=no%3A261559574&lt;/linktouc&gt;\n
183
+ \ &lt;/LINKS&gt;\n &lt;/DOC&gt;\n &lt;/DOCSET&gt;\n &lt;/RESULT&gt;\n
184
+ \ &lt;searchToken&gt;0&lt;/searchToken&gt;\n &lt;/JAGROOT&gt;\n&lt;/SEGMENTS&gt;</searchBriefReturn></ns1:searchBriefResponse></soapenv:Body></soapenv:Envelope>"
185
+ http_version:
186
+ recorded_at: Tue, 08 Oct 2013 15:47:23 GMT
187
+ recorded_with: VCR 2.4.0
metadata CHANGED
@@ -1,68 +1,60 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: umlaut-primo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- prerelease:
4
+ version: 0.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Scot Dalton
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-13 00:00:00.000000000 Z
11
+ date: 2013-10-10 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: rake
14
+ name: require_all
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - ! '>='
20
18
  - !ruby/object:Gem::Version
21
- version: 10.0.3
19
+ version: 1.2.1
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - ! '>='
28
25
  - !ruby/object:Gem::Version
29
- version: 10.0.3
26
+ version: 1.2.1
30
27
  - !ruby/object:Gem::Dependency
31
- name: require_all
28
+ name: exlibris-primo
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - ! '>='
36
32
  - !ruby/object:Gem::Version
37
- version: 1.2.1
33
+ version: 1.0.8
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - ! '>='
44
39
  - !ruby/object:Gem::Version
45
- version: 1.2.1
40
+ version: 1.0.8
46
41
  - !ruby/object:Gem::Dependency
47
- name: exlibris-primo
42
+ name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
53
- version: 1.0.8
54
- type: :runtime
47
+ version: 10.0.3
48
+ type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
61
- version: 1.0.8
54
+ version: 10.0.3
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: jquery-rails
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - ~>
68
60
  - !ruby/object:Gem::Version
@@ -70,7 +62,6 @@ dependencies:
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - ~>
76
67
  - !ruby/object:Gem::Version
@@ -78,7 +69,6 @@ dependencies:
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: mysql2
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
73
  - - ~>
84
74
  - !ruby/object:Gem::Version
@@ -86,59 +76,66 @@ dependencies:
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
80
  - - ~>
92
81
  - !ruby/object:Gem::Version
93
82
  version: 0.3.11
94
83
  - !ruby/object:Gem::Dependency
95
- name: rdoc
84
+ name: vcr
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - ~>
100
88
  - !ruby/object:Gem::Version
101
- version: '0'
89
+ version: 2.4.0
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - ~>
108
95
  - !ruby/object:Gem::Version
109
- version: '0'
96
+ version: 2.4.0
110
97
  - !ruby/object:Gem::Dependency
111
- name: vcr
98
+ name: webmock
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
101
  - - ~>
116
102
  - !ruby/object:Gem::Version
117
- version: 2.4.0
103
+ version: 1.9.0
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
108
  - - ~>
124
109
  - !ruby/object:Gem::Version
125
- version: 2.4.0
110
+ version: 1.9.0
126
111
  - !ruby/object:Gem::Dependency
127
- name: webmock
112
+ name: debugger
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
115
  - - ~>
132
116
  - !ruby/object:Gem::Version
133
- version: 1.9.0
117
+ version: 1.5.0
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
122
  - - ~>
140
123
  - !ruby/object:Gem::Version
141
- version: 1.9.0
124
+ version: 1.5.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: pry
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ~>
130
+ - !ruby/object:Gem::Version
131
+ version: 0.9.12.2
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ~>
137
+ - !ruby/object:Gem::Version
138
+ version: 0.9.12.2
142
139
  description: Umlaut service to provide fulltext, holdings, etc. from the Primo discovery
143
140
  solution.
144
141
  email:
@@ -201,36 +198,30 @@ files:
201
198
  - test/unit/primo_source_test.rb
202
199
  - test/vcr_cassettes/australian_journal_of_international_affairs_by_id.yml
203
200
  - test/vcr_cassettes/musical_quarterly_by_issn.yml
201
+ - test/vcr_cassettes/russkaia_pochta_with_no_title_by_issn.yml
204
202
  - test/vcr_cassettes/travels_with_my_by_id.yml
205
203
  homepage: https://github.com/team-umlaut/umlaut-primo
206
204
  licenses: []
205
+ metadata: {}
207
206
  post_install_message:
208
207
  rdoc_options: []
209
208
  require_paths:
210
209
  - lib
211
210
  required_ruby_version: !ruby/object:Gem::Requirement
212
- none: false
213
211
  requirements:
214
212
  - - ! '>='
215
213
  - !ruby/object:Gem::Version
216
214
  version: '0'
217
- segments:
218
- - 0
219
- hash: 4352882914527669125
220
215
  required_rubygems_version: !ruby/object:Gem::Requirement
221
- none: false
222
216
  requirements:
223
217
  - - ! '>='
224
218
  - !ruby/object:Gem::Version
225
219
  version: '0'
226
- segments:
227
- - 0
228
- hash: 4352882914527669125
229
220
  requirements: []
230
221
  rubyforge_project:
231
- rubygems_version: 1.8.24
222
+ rubygems_version: 2.0.3
232
223
  signing_key:
233
- specification_version: 3
224
+ specification_version: 4
234
225
  summary: Umlaut service to provide fulltext, holdings, etc. from the Primo discovery
235
226
  solution.
236
227
  test_files:
@@ -280,4 +271,5 @@ test_files:
280
271
  - test/unit/primo_source_test.rb
281
272
  - test/vcr_cassettes/australian_journal_of_international_affairs_by_id.yml
282
273
  - test/vcr_cassettes/musical_quarterly_by_issn.yml
274
+ - test/vcr_cassettes/russkaia_pochta_with_no_title_by_issn.yml
283
275
  - test/vcr_cassettes/travels_with_my_by_id.yml