voyager_api 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/holdings/collection.rb +25 -0
- data/lib/holdings/record.rb +1 -1
- data/test/fixtures/holdings_10102195.xml +2 -0
- data/test/fixtures/holdings_9420109.xml +2 -0
- data/test/fixtures/holdings_9421045.xml +2 -0
- data/test/fixtures/holdings_9702637.xml +2 -0
- data/test/holdings/test_collection.rb +26 -0
- metadata +31 -28
- data/.rvmrc +0 -55
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.3
|
data/lib/holdings/collection.rb
CHANGED
@@ -73,6 +73,31 @@ module Voyager
|
|
73
73
|
@records = @xml.css("hol|mfhdCollection>mfhd|mfhdRecord").collect do |record_node|
|
74
74
|
Record.new(record_node,leader)
|
75
75
|
end
|
76
|
+
adjust_services(@records) if @records.length > 1
|
77
|
+
end
|
78
|
+
|
79
|
+
# For records with multiple holdings, based on the overall content, adjust as follows:
|
80
|
+
# -- remove document delivery options if there is an available offsite copy
|
81
|
+
# -- remove borrowdirect and ill options if there is an available non-reserve copy
|
82
|
+
def adjust_services(records)
|
83
|
+
|
84
|
+
# set flags
|
85
|
+
offsite_copy = "N"
|
86
|
+
available_copy = "N"
|
87
|
+
records.each do |record|
|
88
|
+
offsite_copy = "Y" if record.services.include?('offsite')
|
89
|
+
if record.item_status[:status] == 'available' && !record.location_name.match('Reserves')
|
90
|
+
available_copy = "Y"
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
# adjust services
|
95
|
+
records.each do |record|
|
96
|
+
record.services.delete('doc_delivery') if offsite_copy == "Y"
|
97
|
+
record.services.delete('borrow_direct') if available_copy == "Y"
|
98
|
+
record.services.delete('ill') if available_copy == "Y"
|
99
|
+
end
|
100
|
+
|
76
101
|
end
|
77
102
|
|
78
103
|
def condense_holdings(holdings,options)
|
data/lib/holdings/record.rb
CHANGED
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ser:voyagerServiceData xmlns:ser="http://www.endinfosys.com/Voyager/serviceParameters"><ser:serviceData xsi:type="hol:holdingsCollectionType" xmlns:hol="http://www.endinfosys.com/Voyager/holdings" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><hol:holdingsRecord><hol:bibRecord bibId="10102195" dpsFlag="N"><hol:marcRecord><slim:leader xmlns:slim="http://www.loc.gov/MARC21/slim">02669cam a2200289Ia 4500</slim:leader><slim:controlfield tag="001" xmlns:slim="http://www.loc.gov/MARC21/slim">10102195</slim:controlfield><slim:controlfield tag="005" xmlns:slim="http://www.loc.gov/MARC21/slim">20130318123603.0</slim:controlfield><slim:controlfield tag="008" xmlns:slim="http://www.loc.gov/MARC21/slim">110415s2013 enk 000 0 eng d</slim:controlfield><slim:datafield ind2=" " ind1="7" tag="016" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">015986293</slim:subfield><slim:subfield code="2">Uk</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="020" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">0745642454</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="020" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">9780745642451</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="020" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">9780745642444</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="035" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">(OCoLC)ocn712925107</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="035" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">(NNC)10102195</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="040" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">YDXCP</slim:subfield><slim:subfield code="b">eng</slim:subfield><slim:subfield code="c">YDXCP</slim:subfield><slim:subfield code="d">UKMGB</slim:subfield><slim:subfield code="d">BDX</slim:subfield><slim:subfield code="d">OCLCQ</slim:subfield><slim:subfield code="d">CDX</slim:subfield><slim:subfield code="d">YNK</slim:subfield><slim:subfield code="d">SUF</slim:subfield></slim:datafield><slim:datafield ind2="4" ind1=" " tag="050" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">JZ</slim:subfield></slim:datafield><slim:datafield ind2="0" ind1="0" tag="245" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Women and wars / edited by Carol Cohn.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="260" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Cambridge, U.K ; Malden, MA :</slim:subfield><slim:subfield code="b">Polity Press,</slim:subfield><slim:subfield code="c">c2013.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="300" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">xix, 296 p. ; 25 cm.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="504" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Includes bibliographical references and index.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="0" tag="505" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Foreword: Gender analysis isn't easy / Cynthia Enloe -- Women and wars: towards a conceptual framework / Carol Cohn -- Women and the political economy of war / Angela Raven-Roberts -- Sexual violence and women's health in war / Pamela DeLargy -- Women forced to flee: refugees and internally displaced persons / Wenona Giles -- Women and political activism in the face of war and militarization / Carol Cohn and Ruth Jacobson -- Women and state military forces / Jennifer G. Mathers -- Women, girls and non-state armed opposition groups / Dyan Mazurana -- Women and peace processes / Malathi de Alwis, Julie Mertus, and Tareena Sajjad -- Women, girls, and disarmament, demobilization and reintegration (DDR) / Dyan Mazurana and Linda Eckerbom Cole -- Women "after" wars / Ruth Jacobson.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="520" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">"Where are the women? In traditional historical and scholarly accounts of the making and fighting of wars, women are often nowhere to be seen. With few exceptions, war stories are told as if men were the only ones who plan, fight, are injured by, and negotiate ends to wars. As the pages of this book tell, though, those accounts are far from complete. Women can be found at every turn in the gendered phenomena of war. Women have participated in the making, fighting, and concluding of wars throughout history, and their participation is only increasing at the turn of the 21st century. Women experience war in multiple ways: as soldiers, as fighters, as civilians, as caregivers, as sex workers, as sexual slaves, refugees and internally displaced persons, as anti-war activists, as community peace-builders, and more. This book at once provides a glimpse into where women are in war, and gives readers the tools to understand women's (told and untold) war experiences in the greater context of the gendered nature of global social and political life."-p. 4 of cover</slim:subfield></slim:datafield><slim:datafield ind2="0" ind1=" " tag="650" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Women and war.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="1" tag="700" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Carol Cohn.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="900" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">AUTH</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="1" tag="948" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">20121221</slim:subfield><slim:subfield code="b">c</slim:subfield><slim:subfield code="c">rad1</slim:subfield><slim:subfield code="d">MPS</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="2" tag="948" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">20121221</slim:subfield><slim:subfield code="b">a</slim:subfield><slim:subfield code="c">rad1</slim:subfield><slim:subfield code="d">MPS</slim:subfield></slim:datafield></hol:marcRecord><hol:bibData name="databaseCode">LOCAL</hol:bibData><hol:bibData name="databaseName">Local Database</hol:bibData><hol:bibData name="createDate">2012-12-12 12:04:53</hol:bibData><hol:bibData name="updateDate">2013-03-18 12:36:03</hol:bibData><hol:bibData name="suppressInOpac">N</hol:bibData><hol:bibData name="exportOK">N</hol:bibData><hol:bibData name="exportOKDate" xsi:nil="true"/><hol:bibData name="exportOperatorId" xsi:nil="true"/><hol:bibData name="createLocation">MAS rush</hol:bibData><hol:bibData name="updateLocation" xsi:nil="true"/><hol:bibData name="exportOKLocation" xsi:nil="true"/><hol:bibData name="owningLibrary" id="1">COLUMBIA</hol:bibData></hol:bibRecord><hol:mfhdCollection><mfhd:mfhdRecord bibId="10102195" mfhdId="13220709" xmlns:mfhd="http://www.endinfosys.com/Voyager/mfhd"><mfhd:marcRecord><slim:leader xmlns:slim="http://www.loc.gov/MARC21/slim">00192cx a22000854 4500</slim:leader><slim:controlfield tag="001" xmlns:slim="http://www.loc.gov/MARC21/slim">13220709</slim:controlfield><slim:controlfield tag="004" xmlns:slim="http://www.loc.gov/MARC21/slim">10102195</slim:controlfield><slim:controlfield tag="005" xmlns:slim="http://www.loc.gov/MARC21/slim">20130204144015.0</slim:controlfield><slim:controlfield tag="008" xmlns:slim="http://www.loc.gov/MARC21/slim">1301300p 8 1001uu 0000000</slim:controlfield><slim:datafield ind2="0" ind1="0" tag="852" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="b">bar</slim:subfield><slim:subfield code="h">JZ6405.W66</slim:subfield><slim:subfield code="i">W664 2013g</slim:subfield><slim:subfield code="x">[as]</slim:subfield></slim:datafield></mfhd:marcRecord><mfhd:mfhdData name="databaseCode">LOCAL</mfhd:mfhdData><mfhd:mfhdData name="databaseName">Local Database</mfhd:mfhdData><mfhd:mfhdData name="mfhdStubFlag">0</mfhd:mfhdData><mfhd:mfhdData name="createOperatorId">(SYS: ACQ)</mfhd:mfhdData><mfhd:mfhdData name="updateOperatorId">barcat2</mfhd:mfhdData><mfhd:mfhdData name="createDate">2013-01-30 13:33:38</mfhd:mfhdData><mfhd:mfhdData name="updateDate">2013-02-04 14:40:15</mfhd:mfhdData><mfhd:mfhdData name="createLocation" xsi:nil="true"/><mfhd:mfhdData name="updateLocation">CATBAR</mfhd:mfhdData><mfhd:mfhdData name="suppressInOpac">N</mfhd:mfhdData><mfhd:mfhdData name="exportOK">N</mfhd:mfhdData><mfhd:mfhdData name="sourceModule">C</mfhd:mfhdData><mfhd:mfhdData name="callNumber">JZ6405.W66 W664 2013g</mfhd:mfhdData><mfhd:mfhdData name="locationCode" id="19">bar</mfhd:mfhdData><mfhd:mfhdData name="locationName" xsi:nil="true"/><mfhd:mfhdData name="locationDisplayName">Barnard</mfhd:mfhdData><mfhd:mfhdData name="locationSpineLabel">BARNARD</mfhd:mfhdData><mfhd:mfhdData name="owningLibrary" id="1">COLUMBIA</mfhd:mfhdData><mfhd:itemCollection><item:itemCount xmlns:item="http://www.endinfosys.com/Voyager/item">1</item:itemCount><item:itemRecord xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemData name="statusCode">2</item:itemData><item:itemData name="statusDate">2013-06-03 23:59:00</item:itemData><item:itemData name="holdLocation" xsi:nil="true"/><item:itemData name="requestCount">0</item:itemData><item:itemData name="patronGroupCode"/><item:itemData name="lastName">Haller </item:itemData><item:itemData name="firstName">Katherine </item:itemData><item:itemData name="todaysDate">2013-04-10 16:55:53</item:itemData><item:itemData name="enumeration" xsi:nil="true"/><item:itemData name="chronology" xsi:nil="true"/><item:itemData name="year" xsi:nil="true"/><item:itemData name="caption" xsi:nil="true"/><item:itemData name="text" xsi:nil="true"/><item:itemData name="copyNumber" xsi:nil="true"/><item:itemData name="callNumber"/></item:itemRecord><item:itemLocation xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemLocationData name="tmpLoc" xsi:nil="true"/><item:itemLocationData name="tempLocation">Barnard</item:itemLocationData><item:itemLocationData name="itemEnum" xsi:nil="true"/><item:itemLocationData name="itemChron" xsi:nil="true"/><item:itemLocationData name="itemYear" xsi:nil="true"/><item:itemLocationData name="itemCaption" xsi:nil="true"/><item:itemLocationData name="itemFreeText" xsi:nil="true"/><item:itemLocationData name="itemCopyNumber" xsi:nil="true"/></item:itemLocation></mfhd:itemCollection></mfhd:mfhdRecord><mfhd:mfhdRecord bibId="10102195" mfhdId="13178284" xmlns:mfhd="http://www.endinfosys.com/Voyager/mfhd"><mfhd:marcRecord><slim:leader xmlns:slim="http://www.loc.gov/MARC21/slim">00186cx a22000854 4500</slim:leader><slim:controlfield tag="001" xmlns:slim="http://www.loc.gov/MARC21/slim">13178284</slim:controlfield><slim:controlfield tag="004" xmlns:slim="http://www.loc.gov/MARC21/slim">10102195</slim:controlfield><slim:controlfield tag="005" xmlns:slim="http://www.loc.gov/MARC21/slim">20121228114342.0</slim:controlfield><slim:controlfield tag="008" xmlns:slim="http://www.loc.gov/MARC21/slim">1212122p 8 4001aa 0000000</slim:controlfield><slim:datafield ind2="0" ind1="0" tag="852" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="b">mil</slim:subfield><slim:subfield code="h">JZ6405.W66</slim:subfield><slim:subfield code="i">W664 2013g</slim:subfield></slim:datafield></mfhd:marcRecord><mfhd:mfhdData name="databaseCode">LOCAL</mfhd:mfhdData><mfhd:mfhdData name="databaseName">Local Database</mfhd:mfhdData><mfhd:mfhdData name="mfhdStubFlag">0</mfhd:mfhdData><mfhd:mfhdData name="createOperatorId">(SYS: ACQ)</mfhd:mfhdData><mfhd:mfhdData name="updateOperatorId">fj73</mfhd:mfhdData><mfhd:mfhdData name="createDate">2012-12-12 12:07:10</mfhd:mfhdData><mfhd:mfhdData name="updateDate">2012-12-28 11:43:42</mfhd:mfhdData><mfhd:mfhdData name="createLocation" xsi:nil="true"/><mfhd:mfhdData name="updateLocation">CATCUL</mfhd:mfhdData><mfhd:mfhdData name="suppressInOpac">N</mfhd:mfhdData><mfhd:mfhdData name="exportOK">N</mfhd:mfhdData><mfhd:mfhdData name="sourceModule">C</mfhd:mfhdData><mfhd:mfhdData name="callNumber">JZ6405.W66 W664 2013g</mfhd:mfhdData><mfhd:mfhdData name="locationCode" id="45">mil</mfhd:mfhdData><mfhd:mfhdData name="locationName" xsi:nil="true"/><mfhd:mfhdData name="locationDisplayName">Milstein [Butler]</mfhd:mfhdData><mfhd:mfhdData name="locationSpineLabel">MILSTEIN</mfhd:mfhdData><mfhd:mfhdData name="owningLibrary" id="1">COLUMBIA</mfhd:mfhdData><mfhd:itemCollection><item:itemCount xmlns:item="http://www.endinfosys.com/Voyager/item">1</item:itemCount><item:itemRecord xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemData name="statusCode">1</item:itemData><item:itemData name="statusDate" xsi:nil="true"/><item:itemData name="holdLocation" xsi:nil="true"/><item:itemData name="requestCount">0</item:itemData><item:itemData name="patronGroupCode" xsi:nil="true"/><item:itemData name="lastName" xsi:nil="true"/><item:itemData name="firstName" xsi:nil="true"/><item:itemData name="todaysDate">2013-04-10 16:55:53</item:itemData><item:itemData name="enumeration" xsi:nil="true"/><item:itemData name="chronology" xsi:nil="true"/><item:itemData name="year" xsi:nil="true"/><item:itemData name="caption" xsi:nil="true"/><item:itemData name="text" xsi:nil="true"/><item:itemData name="copyNumber" xsi:nil="true"/><item:itemData name="callNumber"/></item:itemRecord><item:itemLocation xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemLocationData name="tmpLoc" xsi:nil="true"/><item:itemLocationData name="tempLocation">Milstein [Butler]</item:itemLocationData><item:itemLocationData name="itemEnum" xsi:nil="true"/><item:itemLocationData name="itemChron" xsi:nil="true"/><item:itemLocationData name="itemYear" xsi:nil="true"/><item:itemLocationData name="itemCaption" xsi:nil="true"/><item:itemLocationData name="itemFreeText" xsi:nil="true"/><item:itemLocationData name="itemCopyNumber" xsi:nil="true"/></item:itemLocation><item:itemLocation xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemLocationData name="tmpLoc">Y</item:itemLocationData><item:itemLocationData name="tempLocation">Butler Reserves, 208 Butler</item:itemLocationData><item:itemLocationData name="itemEnum" xsi:nil="true"/><item:itemLocationData name="itemChron" xsi:nil="true"/><item:itemLocationData name="itemYear" xsi:nil="true"/><item:itemLocationData name="itemCaption" xsi:nil="true"/><item:itemLocationData name="itemFreeText" xsi:nil="true"/><item:itemLocationData name="itemCopyNumber" xsi:nil="true"/></item:itemLocation></mfhd:itemCollection></mfhd:mfhdRecord><mfhd:mfhdRecord bibId="10102195" mfhdId="13178286" xmlns:mfhd="http://www.endinfosys.com/Voyager/mfhd"><mfhd:marcRecord><slim:leader xmlns:slim="http://www.loc.gov/MARC21/slim">00187cx a22000854 4500</slim:leader><slim:controlfield tag="001" xmlns:slim="http://www.loc.gov/MARC21/slim">13178286</slim:controlfield><slim:controlfield tag="004" xmlns:slim="http://www.loc.gov/MARC21/slim">10102195</slim:controlfield><slim:controlfield tag="005" xmlns:slim="http://www.loc.gov/MARC21/slim">20121228114409.0</slim:controlfield><slim:controlfield tag="008" xmlns:slim="http://www.loc.gov/MARC21/slim">1212122p 8 4001aa 0901128</slim:controlfield><slim:datafield ind2="0" ind1="0" tag="852" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="b">mil</slim:subfield><slim:subfield code="h">JZ 6405.W66</slim:subfield><slim:subfield code="i">W664 2013g</slim:subfield></slim:datafield></mfhd:marcRecord><mfhd:mfhdData name="databaseCode">LOCAL</mfhd:mfhdData><mfhd:mfhdData name="databaseName">Local Database</mfhd:mfhdData><mfhd:mfhdData name="mfhdStubFlag">0</mfhd:mfhdData><mfhd:mfhdData name="createOperatorId">atm9</mfhd:mfhdData><mfhd:mfhdData name="updateOperatorId">fj73</mfhd:mfhdData><mfhd:mfhdData name="createDate">2012-12-12 12:07:55</mfhd:mfhdData><mfhd:mfhdData name="updateDate">2012-12-28 11:44:09</mfhd:mfhdData><mfhd:mfhdData name="createLocation">CATCUL</mfhd:mfhdData><mfhd:mfhdData name="updateLocation">CATCUL</mfhd:mfhdData><mfhd:mfhdData name="suppressInOpac">N</mfhd:mfhdData><mfhd:mfhdData name="exportOK">N</mfhd:mfhdData><mfhd:mfhdData name="sourceModule">C</mfhd:mfhdData><mfhd:mfhdData name="callNumber">JZ 6405.W66 W664 2013g</mfhd:mfhdData><mfhd:mfhdData name="locationCode" id="45">mil</mfhd:mfhdData><mfhd:mfhdData name="locationName" xsi:nil="true"/><mfhd:mfhdData name="locationDisplayName">Milstein [Butler]</mfhd:mfhdData><mfhd:mfhdData name="locationSpineLabel">MILSTEIN</mfhd:mfhdData><mfhd:mfhdData name="owningLibrary" id="1">COLUMBIA</mfhd:mfhdData><mfhd:itemCollection><item:itemCount xmlns:item="http://www.endinfosys.com/Voyager/item">1</item:itemCount><item:itemRecord xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemData name="statusCode">1</item:itemData><item:itemData name="statusDate" xsi:nil="true"/><item:itemData name="holdLocation" xsi:nil="true"/><item:itemData name="requestCount">0</item:itemData><item:itemData name="patronGroupCode" xsi:nil="true"/><item:itemData name="lastName" xsi:nil="true"/><item:itemData name="firstName" xsi:nil="true"/><item:itemData name="todaysDate">2013-04-10 16:55:53</item:itemData><item:itemData name="enumeration" xsi:nil="true"/><item:itemData name="chronology" xsi:nil="true"/><item:itemData name="year" xsi:nil="true"/><item:itemData name="caption" xsi:nil="true"/><item:itemData name="text" xsi:nil="true"/><item:itemData name="copyNumber" xsi:nil="true"/><item:itemData name="callNumber"/></item:itemRecord><item:itemLocation xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemLocationData name="tmpLoc" xsi:nil="true"/><item:itemLocationData name="tempLocation">Milstein [Butler]</item:itemLocationData><item:itemLocationData name="itemEnum" xsi:nil="true"/><item:itemLocationData name="itemChron" xsi:nil="true"/><item:itemLocationData name="itemYear" xsi:nil="true"/><item:itemLocationData name="itemCaption" xsi:nil="true"/><item:itemLocationData name="itemFreeText" xsi:nil="true"/><item:itemLocationData name="itemCopyNumber" xsi:nil="true"/></item:itemLocation><item:itemLocation xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemLocationData name="tmpLoc">Y</item:itemLocationData><item:itemLocationData name="tempLocation">Butler Reserves, 208 Butler</item:itemLocationData><item:itemLocationData name="itemEnum" xsi:nil="true"/><item:itemLocationData name="itemChron" xsi:nil="true"/><item:itemLocationData name="itemYear" xsi:nil="true"/><item:itemLocationData name="itemCaption" xsi:nil="true"/><item:itemLocationData name="itemFreeText" xsi:nil="true"/><item:itemLocationData name="itemCopyNumber" xsi:nil="true"/></item:itemLocation></mfhd:itemCollection></mfhd:mfhdRecord></hol:mfhdCollection></hol:holdingsRecord></ser:serviceData></ser:voyagerServiceData>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ser:voyagerServiceData xmlns:ser="http://www.endinfosys.com/Voyager/serviceParameters"><ser:serviceData xsi:type="hol:holdingsCollectionType" xmlns:hol="http://www.endinfosys.com/Voyager/holdings" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><hol:holdingsRecord><hol:bibRecord bibId="9420109" dpsFlag="N"><hol:marcRecord><slim:leader xmlns:slim="http://www.loc.gov/MARC21/slim">01647cam a2200361 a 4500</slim:leader><slim:controlfield tag="001" xmlns:slim="http://www.loc.gov/MARC21/slim">9420109</slim:controlfield><slim:controlfield tag="005" xmlns:slim="http://www.loc.gov/MARC21/slim">20120823161014.0</slim:controlfield><slim:controlfield tag="008" xmlns:slim="http://www.loc.gov/MARC21/slim">120201s2012 nyuaf b 001 0 eng </slim:controlfield><slim:datafield ind2=" " ind1=" " tag="010" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a"> 2011025625</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="7" tag="016" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">016014653</slim:subfield><slim:subfield code="2">Uk</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="019" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">775411297</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="020" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">9780231156356 (cloth : alk. paper)</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="020" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">0231156359 (cloth : alk. paper)</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="020" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">9780231526777 (e-book)</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="020" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">0231526776 (e-book)</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="035" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">(OCoLC)ocn731192708</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="035" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">(OCoLC)731192708</slim:subfield><slim:subfield code="z">(OCoLC)775411297</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="035" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">(NNC)9420109</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="040" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">DLC</slim:subfield><slim:subfield code="b">eng</slim:subfield><slim:subfield code="c">DLC</slim:subfield><slim:subfield code="d">YDX</slim:subfield><slim:subfield code="d">UKMGB</slim:subfield><slim:subfield code="d">ZCU</slim:subfield><slim:subfield code="d">YDXCP</slim:subfield><slim:subfield code="d">BWX</slim:subfield><slim:subfield code="d">BTCTA</slim:subfield><slim:subfield code="d">CDX</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="043" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">n-us---</slim:subfield></slim:datafield><slim:datafield ind2="0" ind1="0" tag="050" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">BM197.5</slim:subfield><slim:subfield code="b">.C64 2012</slim:subfield></slim:datafield><slim:datafield ind2="0" ind1="0" tag="082" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">296.8/3420973</slim:subfield><slim:subfield code="2">23</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="1" tag="100" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Cohen, Michael R.</slim:subfield></slim:datafield><slim:datafield ind2="4" ind1="1" tag="245" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">The birth of conservative Judaism :</slim:subfield><slim:subfield code="b">Solomon Schechter's disciples and the creation of an American religious movement /</slim:subfield><slim:subfield code="c">Michael R. Cohen.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="260" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">New York :</slim:subfield><slim:subfield code="b">Columbia University Press,</slim:subfield><slim:subfield code="c">c2012.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="300" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">ix, 210 p., [10] p. of plates :</slim:subfield><slim:subfield code="b">ill. ;</slim:subfield><slim:subfield code="c">24 cm.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="504" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Includes bibliographical references and index.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="0" tag="505" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Solomon Schechter and the charismatic bond -- The United Synagogue and the transition to postcharismatic authority -- A heretic, a maverick, and the challenge to inclusivity -- On the brink of irrelevancy -- The platform of discipleship -- A task left unfinished -- Conclusion from Schechter to Frankel: deceptive retrospect and the history of Conservative Judaism.</slim:subfield></slim:datafield><slim:datafield ind2="0" ind1="1" tag="600" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Schechter, S.</slim:subfield><slim:subfield code="q">(Solomon),</slim:subfield><slim:subfield code="d">1847-1915.</slim:subfield></slim:datafield><slim:datafield ind2="0" ind1=" " tag="650" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Conservative Judaism</slim:subfield><slim:subfield code="z">United States</slim:subfield><slim:subfield code="x">History.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="900" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">AUTH</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="0" tag="948" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">20120503</slim:subfield><slim:subfield code="b">b</slim:subfield><slim:subfield code="c">as2107</slim:subfield><slim:subfield code="d">MPS</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="2" tag="948" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">20120504</slim:subfield><slim:subfield code="b">a</slim:subfield><slim:subfield code="c">as2107</slim:subfield><slim:subfield code="d">MPS</slim:subfield></slim:datafield></hol:marcRecord><hol:bibData name="databaseCode">LOCAL</hol:bibData><hol:bibData name="databaseName">Local Database</hol:bibData><hol:bibData name="createDate">2012-05-03 13:40:37</hol:bibData><hol:bibData name="updateDate">2012-08-23 16:10:14</hol:bibData><hol:bibData name="suppressInOpac">N</hol:bibData><hol:bibData name="exportOK">N</hol:bibData><hol:bibData name="exportOKDate" xsi:nil="true"/><hol:bibData name="exportOperatorId" xsi:nil="true"/><hol:bibData name="createLocation">CATCUL</hol:bibData><hol:bibData name="updateLocation" xsi:nil="true"/><hol:bibData name="exportOKLocation" xsi:nil="true"/><hol:bibData name="owningLibrary" id="1">COLUMBIA</hol:bibData></hol:bibRecord><hol:mfhdCollection><mfhd:mfhdRecord bibId="9420109" mfhdId="13252415" xmlns:mfhd="http://www.endinfosys.com/Voyager/mfhd"><mfhd:marcRecord><slim:leader xmlns:slim="http://www.loc.gov/MARC21/slim">00161cx a22000854 4500</slim:leader><slim:controlfield tag="001" xmlns:slim="http://www.loc.gov/MARC21/slim">13252415</slim:controlfield><slim:controlfield tag="004" xmlns:slim="http://www.loc.gov/MARC21/slim">9420109</slim:controlfield><slim:controlfield tag="005" xmlns:slim="http://www.loc.gov/MARC21/slim">20130314140358.0</slim:controlfield><slim:controlfield tag="008" xmlns:slim="http://www.loc.gov/MARC21/slim">1302220p 8 1001uu 0000000</slim:controlfield><slim:datafield ind2=" " ind1="0" tag="852" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="b">bar</slim:subfield></slim:datafield></mfhd:marcRecord><mfhd:mfhdData name="databaseCode">LOCAL</mfhd:mfhdData><mfhd:mfhdData name="databaseName">Local Database</mfhd:mfhdData><mfhd:mfhdData name="mfhdStubFlag">0</mfhd:mfhdData><mfhd:mfhdData name="createOperatorId">(SYS: ACQ)</mfhd:mfhdData><mfhd:mfhdData name="updateOperatorId">ncw2102</mfhd:mfhdData><mfhd:mfhdData name="createDate">2013-02-22 15:47:19</mfhd:mfhdData><mfhd:mfhdData name="updateDate">2013-03-14 14:03:58</mfhd:mfhdData><mfhd:mfhdData name="createLocation" xsi:nil="true"/><mfhd:mfhdData name="updateLocation">CATBAR</mfhd:mfhdData><mfhd:mfhdData name="suppressInOpac">N</mfhd:mfhdData><mfhd:mfhdData name="exportOK">N</mfhd:mfhdData><mfhd:mfhdData name="sourceModule">C</mfhd:mfhdData><mfhd:mfhdData name="callNumber" xsi:nil="true"/><mfhd:mfhdData name="locationCode" id="19">bar</mfhd:mfhdData><mfhd:mfhdData name="locationName" xsi:nil="true"/><mfhd:mfhdData name="locationDisplayName">Barnard</mfhd:mfhdData><mfhd:mfhdData name="locationSpineLabel">BARNARD</mfhd:mfhdData><mfhd:mfhdData name="owningLibrary" id="1">COLUMBIA</mfhd:mfhdData><mfhd:poLineItems><mfhd:lineItemStatus><mfhd:status>1</mfhd:status><mfhd:date>2013-03-29</mfhd:date><mfhd:count>1</mfhd:count></mfhd:lineItemStatus></mfhd:poLineItems><mfhd:itemCollection><item:itemCount xmlns:item="http://www.endinfosys.com/Voyager/item">0</item:itemCount><item:itemLocation xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemLocationData name="tmpLoc" xsi:nil="true"/><item:itemLocationData name="tempLocation">Barnard</item:itemLocationData><item:itemLocationData name="itemEnum" xsi:nil="true"/><item:itemLocationData name="itemChron" xsi:nil="true"/><item:itemLocationData name="itemYear" xsi:nil="true"/><item:itemLocationData name="itemCaption" xsi:nil="true"/><item:itemLocationData name="itemFreeText" xsi:nil="true"/><item:itemLocationData name="itemCopyNumber" xsi:nil="true"/></item:itemLocation></mfhd:itemCollection></mfhd:mfhdRecord><mfhd:mfhdRecord bibId="9420109" mfhdId="12476238" xmlns:mfhd="http://www.endinfosys.com/Voyager/mfhd"><mfhd:marcRecord><slim:leader xmlns:slim="http://www.loc.gov/MARC21/slim">00181cx a22000854 4500</slim:leader><slim:controlfield tag="001" xmlns:slim="http://www.loc.gov/MARC21/slim">12476238</slim:controlfield><slim:controlfield tag="004" xmlns:slim="http://www.loc.gov/MARC21/slim">9420109</slim:controlfield><slim:controlfield tag="005" xmlns:slim="http://www.loc.gov/MARC21/slim">20120504124727.0</slim:controlfield><slim:controlfield tag="008" xmlns:slim="http://www.loc.gov/MARC21/slim">1205042p 8 4001aa 0901128</slim:controlfield><slim:datafield ind2="0" ind1="0" tag="852" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="b">glx</slim:subfield><slim:subfield code="h">BM197.5</slim:subfield><slim:subfield code="i">.C64 2012</slim:subfield></slim:datafield></mfhd:marcRecord><mfhd:mfhdData name="databaseCode">LOCAL</mfhd:mfhdData><mfhd:mfhdData name="databaseName">Local Database</mfhd:mfhdData><mfhd:mfhdData name="mfhdStubFlag">0</mfhd:mfhdData><mfhd:mfhdData name="createOperatorId">as2107</mfhd:mfhdData><mfhd:mfhdData name="updateOperatorId">as2107</mfhd:mfhdData><mfhd:mfhdData name="createDate">2012-05-04 12:46:55</mfhd:mfhdData><mfhd:mfhdData name="updateDate">2012-05-04 12:47:27</mfhd:mfhdData><mfhd:mfhdData name="createLocation">CATCUL</mfhd:mfhdData><mfhd:mfhdData name="updateLocation">CATCUL</mfhd:mfhdData><mfhd:mfhdData name="suppressInOpac">N</mfhd:mfhdData><mfhd:mfhdData name="exportOK">N</mfhd:mfhdData><mfhd:mfhdData name="sourceModule">C</mfhd:mfhdData><mfhd:mfhdData name="callNumber">BM197.5 .C64 2012</mfhd:mfhdData><mfhd:mfhdData name="locationCode" id="143">glx</mfhd:mfhdData><mfhd:mfhdData name="locationName" xsi:nil="true"/><mfhd:mfhdData name="locationDisplayName">Butler Stacks (Enter at the Butler Circulation Desk)</mfhd:mfhdData><mfhd:mfhdData name="locationSpineLabel">BUTLSTAX</mfhd:mfhdData><mfhd:mfhdData name="owningLibrary" id="1">COLUMBIA</mfhd:mfhdData><mfhd:itemCollection><item:itemCount xmlns:item="http://www.endinfosys.com/Voyager/item">1</item:itemCount><item:itemRecord xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemData name="statusCode">3</item:itemData><item:itemData name="statusDate">2013-06-03 23:00:00</item:itemData><item:itemData name="holdLocation" xsi:nil="true"/><item:itemData name="requestCount">0</item:itemData><item:itemData name="patronGroupCode" xsi:nil="true"/><item:itemData name="lastName" xsi:nil="true"/><item:itemData name="firstName" xsi:nil="true"/><item:itemData name="todaysDate">2013-04-10 16:44:10</item:itemData><item:itemData name="enumeration" xsi:nil="true"/><item:itemData name="chronology" xsi:nil="true"/><item:itemData name="year" xsi:nil="true"/><item:itemData name="caption" xsi:nil="true"/><item:itemData name="text" xsi:nil="true"/><item:itemData name="copyNumber" xsi:nil="true"/><item:itemData name="callNumber"/></item:itemRecord><item:itemLocation xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemLocationData name="tmpLoc" xsi:nil="true"/><item:itemLocationData name="tempLocation">Butler Stacks (Enter at the Butler Circulation Desk)</item:itemLocationData><item:itemLocationData name="itemEnum" xsi:nil="true"/><item:itemLocationData name="itemChron" xsi:nil="true"/><item:itemLocationData name="itemYear" xsi:nil="true"/><item:itemLocationData name="itemCaption" xsi:nil="true"/><item:itemLocationData name="itemFreeText" xsi:nil="true"/><item:itemLocationData name="itemCopyNumber" xsi:nil="true"/></item:itemLocation></mfhd:itemCollection></mfhd:mfhdRecord><mfhd:mfhdRecord bibId="9420109" mfhdId="12472989" xmlns:mfhd="http://www.endinfosys.com/Voyager/mfhd"><mfhd:marcRecord><slim:leader xmlns:slim="http://www.loc.gov/MARC21/slim">00185cx a22000854 4500</slim:leader><slim:controlfield tag="001" xmlns:slim="http://www.loc.gov/MARC21/slim">12472989</slim:controlfield><slim:controlfield tag="004" xmlns:slim="http://www.loc.gov/MARC21/slim">9420109</slim:controlfield><slim:controlfield tag="005" xmlns:slim="http://www.loc.gov/MARC21/slim">20120601072425.0</slim:controlfield><slim:controlfield tag="008" xmlns:slim="http://www.loc.gov/MARC21/slim">1205032p 8 4001aa 0901128</slim:controlfield><slim:datafield ind2="0" ind1="0" tag="852" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="b">off,glx</slim:subfield><slim:subfield code="h">BM197.5</slim:subfield><slim:subfield code="i">.C64 2012</slim:subfield></slim:datafield></mfhd:marcRecord><mfhd:mfhdData name="databaseCode">LOCAL</mfhd:mfhdData><mfhd:mfhdData name="databaseName">Local Database</mfhd:mfhdData><mfhd:mfhdData name="mfhdStubFlag">0</mfhd:mfhdData><mfhd:mfhdData name="createOperatorId">as2107</mfhd:mfhdData><mfhd:mfhdData name="updateOperatorId">RECAP LOAD</mfhd:mfhdData><mfhd:mfhdData name="createDate">2012-05-03 14:11:17</mfhd:mfhdData><mfhd:mfhdData name="updateDate">2012-06-01 07:24:25</mfhd:mfhdData><mfhd:mfhdData name="createLocation">CATCUL</mfhd:mfhdData><mfhd:mfhdData name="updateLocation" xsi:nil="true"/><mfhd:mfhdData name="suppressInOpac">N</mfhd:mfhdData><mfhd:mfhdData name="exportOK">N</mfhd:mfhdData><mfhd:mfhdData name="sourceModule">B</mfhd:mfhdData><mfhd:mfhdData name="callNumber">BM197.5 .C64 2012</mfhd:mfhdData><mfhd:mfhdData name="locationCode" id="288">off,glx</mfhd:mfhdData><mfhd:mfhdData name="locationName" xsi:nil="true"/><mfhd:mfhdData name="locationDisplayName">Offsite - Place Request for delivery within 2 business days</mfhd:mfhdData><mfhd:mfhdData name="locationSpineLabel">OFFSITE</mfhd:mfhdData><mfhd:mfhdData name="owningLibrary" id="1">COLUMBIA</mfhd:mfhdData><mfhd:itemCollection><item:itemCount xmlns:item="http://www.endinfosys.com/Voyager/item">1</item:itemCount><item:itemRecord xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemData name="statusCode">1</item:itemData><item:itemData name="statusDate" xsi:nil="true"/><item:itemData name="holdLocation" xsi:nil="true"/><item:itemData name="requestCount">0</item:itemData><item:itemData name="patronGroupCode" xsi:nil="true"/><item:itemData name="lastName" xsi:nil="true"/><item:itemData name="firstName" xsi:nil="true"/><item:itemData name="todaysDate">2013-04-10 16:44:10</item:itemData><item:itemData name="enumeration" xsi:nil="true"/><item:itemData name="chronology" xsi:nil="true"/><item:itemData name="year" xsi:nil="true"/><item:itemData name="caption" xsi:nil="true"/><item:itemData name="text" xsi:nil="true"/><item:itemData name="copyNumber" xsi:nil="true"/><item:itemData name="callNumber"/></item:itemRecord><item:itemLocation xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemLocationData name="tmpLoc" xsi:nil="true"/><item:itemLocationData name="tempLocation">Offsite - Place Request for delivery within 2 business days</item:itemLocationData><item:itemLocationData name="itemEnum" xsi:nil="true"/><item:itemLocationData name="itemChron" xsi:nil="true"/><item:itemLocationData name="itemYear" xsi:nil="true"/><item:itemLocationData name="itemCaption" xsi:nil="true"/><item:itemLocationData name="itemFreeText" xsi:nil="true"/><item:itemLocationData name="itemCopyNumber" xsi:nil="true"/></item:itemLocation></mfhd:itemCollection></mfhd:mfhdRecord></hol:mfhdCollection></hol:holdingsRecord></ser:serviceData></ser:voyagerServiceData>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ser:voyagerServiceData xmlns:ser="http://www.endinfosys.com/Voyager/serviceParameters"><ser:serviceData xsi:type="hol:holdingsCollectionType" xmlns:hol="http://www.endinfosys.com/Voyager/holdings" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><hol:holdingsRecord><hol:bibRecord bibId="9421045" dpsFlag="N"><hol:marcRecord><slim:leader xmlns:slim="http://www.loc.gov/MARC21/slim">01900cam a2200397 a 4500</slim:leader><slim:controlfield tag="001" xmlns:slim="http://www.loc.gov/MARC21/slim">9421045</slim:controlfield><slim:controlfield tag="005" xmlns:slim="http://www.loc.gov/MARC21/slim">20120620225011.0</slim:controlfield><slim:controlfield tag="008" xmlns:slim="http://www.loc.gov/MARC21/slim">110922s2012 mau b 001 0 eng </slim:controlfield><slim:datafield ind2=" " ind1=" " tag="010" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a"> 2011038252</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="7" tag="016" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">016026163</slim:subfield><slim:subfield code="2">Uk</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="020" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">9780674064447 (alk. paper)</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="020" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">0674064445 (alk. paper)</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="035" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">(OCoLC)ocn754389838</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="035" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">(NNC)9421045</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="040" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">DLC</slim:subfield><slim:subfield code="b">eng</slim:subfield><slim:subfield code="c">DLC</slim:subfield><slim:subfield code="d">YDX</slim:subfield><slim:subfield code="d">BTCTA</slim:subfield><slim:subfield code="d">UKMGB</slim:subfield><slim:subfield code="d">BDX</slim:subfield><slim:subfield code="d">WNE</slim:subfield><slim:subfield code="d">YDXCP</slim:subfield><slim:subfield code="d">CDX</slim:subfield><slim:subfield code="d">BWX</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="042" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">pcc</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="043" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">n-us---</slim:subfield></slim:datafield><slim:datafield ind2="0" ind1="0" tag="050" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">E449</slim:subfield><slim:subfield code="b">.D45 2012</slim:subfield></slim:datafield><slim:datafield ind2="0" ind1="0" tag="082" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">973.7/114</slim:subfield><slim:subfield code="2">23</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="1" tag="100" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Delbanco, Andrew,</slim:subfield><slim:subfield code="d">1952-</slim:subfield></slim:datafield><slim:datafield ind2="4" ind1="1" tag="245" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">The abolitionist imagination /</slim:subfield><slim:subfield code="c">Andrew Delbanco ; with commentaries by John Stauffer, Manisha Sinha, Darryl Pinckney, and Wilfred M. McClay.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="260" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Cambridge, Mass. :</slim:subfield><slim:subfield code="b">Harvard University Press,</slim:subfield><slim:subfield code="c">c2012.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="300" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">xi, 205 p. ;</slim:subfield><slim:subfield code="c">20 cm.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="504" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Includes bibliographical references and index.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="0" tag="505" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">The abolitionist imagination / Andrew Delbanco -- Fighting the devil with his own fire / John Stauffer -- Did the abolitionists cause the Civil War? / Manisha Sinha -- The invisibility of black abolitionists / Darryl Pinckney -- Abolition as master concept / Wilfred M. McClay -- Rejoinder: the presence of the past / Andrew Delbanco.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="520" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Revisits the nineteenth century abolitionist movement as the embodiment of a driving force in American history, giving a better understanding of the balance between moral fervor and political responsibility.</slim:subfield></slim:datafield><slim:datafield ind2="0" ind1=" " tag="650" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Abolitionists</slim:subfield><slim:subfield code="z">United States</slim:subfield><slim:subfield code="x">History</slim:subfield><slim:subfield code="y">19th century.</slim:subfield></slim:datafield><slim:datafield ind2="0" ind1=" " tag="650" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Antislavery movements</slim:subfield><slim:subfield code="z">United States</slim:subfield><slim:subfield code="x">History</slim:subfield><slim:subfield code="y">19th century.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="1" tag="700" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Stauffer, John,</slim:subfield><slim:subfield code="d">1965-</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="1" tag="700" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Sinha, Manisha.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="1" tag="700" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Pinckney, Darryl,</slim:subfield><slim:subfield code="d">1953-</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="1" tag="700" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">McClay, Wilfred M.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="900" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">AUTH</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="1" tag="948" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">20120510</slim:subfield><slim:subfield code="b">c</slim:subfield><slim:subfield code="c">rad1</slim:subfield><slim:subfield code="d">MPS</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="2" tag="948" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">20120521</slim:subfield><slim:subfield code="b">a</slim:subfield><slim:subfield code="c">ybp21</slim:subfield><slim:subfield code="d">MPS</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="960" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="f">896583</slim:subfield><slim:subfield code="o">1</slim:subfield><slim:subfield code="s">20.09</slim:subfield><slim:subfield code="t">glx</slim:subfield><slim:subfield code="u">6436BAP</slim:subfield></slim:datafield></hol:marcRecord><hol:bibData name="databaseCode">LOCAL</hol:bibData><hol:bibData name="databaseName">Local Database</hol:bibData><hol:bibData name="createDate">2012-05-04 09:53:54</hol:bibData><hol:bibData name="updateDate">2012-06-20 22:50:11</hol:bibData><hol:bibData name="suppressInOpac">N</hol:bibData><hol:bibData name="exportOK">N</hol:bibData><hol:bibData name="exportOKDate" xsi:nil="true"/><hol:bibData name="exportOperatorId" xsi:nil="true"/><hol:bibData name="createLocation">MAS rush</hol:bibData><hol:bibData name="updateLocation" xsi:nil="true"/><hol:bibData name="exportOKLocation" xsi:nil="true"/><hol:bibData name="owningLibrary" id="1">COLUMBIA</hol:bibData></hol:bibRecord><hol:mfhdCollection><mfhd:mfhdRecord bibId="9421045" mfhdId="13195940" xmlns:mfhd="http://www.endinfosys.com/Voyager/mfhd"><mfhd:marcRecord><slim:leader xmlns:slim="http://www.loc.gov/MARC21/slim">00184cx a22000854 4500</slim:leader><slim:controlfield tag="001" xmlns:slim="http://www.loc.gov/MARC21/slim">13195940</slim:controlfield><slim:controlfield tag="004" xmlns:slim="http://www.loc.gov/MARC21/slim">9421045</slim:controlfield><slim:controlfield tag="005" xmlns:slim="http://www.loc.gov/MARC21/slim">20130306110627.0</slim:controlfield><slim:controlfield tag="008" xmlns:slim="http://www.loc.gov/MARC21/slim">1212200p 8 1001uu 0000000</slim:controlfield><slim:datafield ind2="0" ind1="0" tag="852" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="b">bar</slim:subfield><slim:subfield code="h">E449</slim:subfield><slim:subfield code="i">.D45 2012</slim:subfield><slim:subfield code="x">[as]</slim:subfield></slim:datafield></mfhd:marcRecord><mfhd:mfhdData name="databaseCode">LOCAL</mfhd:mfhdData><mfhd:mfhdData name="databaseName">Local Database</mfhd:mfhdData><mfhd:mfhdData name="mfhdStubFlag">0</mfhd:mfhdData><mfhd:mfhdData name="createOperatorId">(SYS: ACQ)</mfhd:mfhdData><mfhd:mfhdData name="updateOperatorId">barcat2</mfhd:mfhdData><mfhd:mfhdData name="createDate">2012-12-20 11:06:26</mfhd:mfhdData><mfhd:mfhdData name="updateDate">2013-03-06 11:06:27</mfhd:mfhdData><mfhd:mfhdData name="createLocation" xsi:nil="true"/><mfhd:mfhdData name="updateLocation">CATBAR</mfhd:mfhdData><mfhd:mfhdData name="suppressInOpac">N</mfhd:mfhdData><mfhd:mfhdData name="exportOK">N</mfhd:mfhdData><mfhd:mfhdData name="sourceModule">C</mfhd:mfhdData><mfhd:mfhdData name="callNumber">E449 .D45 2012</mfhd:mfhdData><mfhd:mfhdData name="locationCode" id="19">bar</mfhd:mfhdData><mfhd:mfhdData name="locationName" xsi:nil="true"/><mfhd:mfhdData name="locationDisplayName">Barnard</mfhd:mfhdData><mfhd:mfhdData name="locationSpineLabel">BARNARD</mfhd:mfhdData><mfhd:mfhdData name="owningLibrary" id="1">COLUMBIA</mfhd:mfhdData><mfhd:itemCollection><item:itemCount xmlns:item="http://www.endinfosys.com/Voyager/item">1</item:itemCount><item:itemRecord xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemData name="statusCode">1</item:itemData><item:itemData name="statusDate" xsi:nil="true"/><item:itemData name="holdLocation" xsi:nil="true"/><item:itemData name="requestCount">0</item:itemData><item:itemData name="patronGroupCode" xsi:nil="true"/><item:itemData name="lastName" xsi:nil="true"/><item:itemData name="firstName" xsi:nil="true"/><item:itemData name="todaysDate">2013-04-10 17:06:31</item:itemData><item:itemData name="enumeration" xsi:nil="true"/><item:itemData name="chronology" xsi:nil="true"/><item:itemData name="year" xsi:nil="true"/><item:itemData name="caption" xsi:nil="true"/><item:itemData name="text" xsi:nil="true"/><item:itemData name="copyNumber" xsi:nil="true"/><item:itemData name="callNumber"/></item:itemRecord><item:itemLocation xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemLocationData name="tmpLoc" xsi:nil="true"/><item:itemLocationData name="tempLocation">Barnard</item:itemLocationData><item:itemLocationData name="itemEnum" xsi:nil="true"/><item:itemLocationData name="itemChron" xsi:nil="true"/><item:itemLocationData name="itemYear" xsi:nil="true"/><item:itemLocationData name="itemCaption" xsi:nil="true"/><item:itemLocationData name="itemFreeText" xsi:nil="true"/><item:itemLocationData name="itemCopyNumber" xsi:nil="true"/></item:itemLocation></mfhd:itemCollection></mfhd:mfhdRecord><mfhd:mfhdRecord bibId="9421045" mfhdId="12498253" xmlns:mfhd="http://www.endinfosys.com/Voyager/mfhd"><mfhd:marcRecord><slim:leader xmlns:slim="http://www.loc.gov/MARC21/slim">00178nx a22000851 4500</slim:leader><slim:controlfield tag="001" xmlns:slim="http://www.loc.gov/MARC21/slim">12498253</slim:controlfield><slim:controlfield tag="004" xmlns:slim="http://www.loc.gov/MARC21/slim">9421045</slim:controlfield><slim:controlfield tag="005" xmlns:slim="http://www.loc.gov/MARC21/slim">20120521114406.0</slim:controlfield><slim:controlfield tag="008" xmlns:slim="http://www.loc.gov/MARC21/slim">1205210u||||8|||4001uu|||0000000</slim:controlfield><slim:datafield ind2="0" ind1="0" tag="852" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="b">glx</slim:subfield><slim:subfield code="h">E449</slim:subfield><slim:subfield code="i">.D45 2012</slim:subfield></slim:datafield></mfhd:marcRecord><mfhd:mfhdData name="databaseCode">LOCAL</mfhd:mfhdData><mfhd:mfhdData name="databaseName">Local Database</mfhd:mfhdData><mfhd:mfhdData name="mfhdStubFlag">0</mfhd:mfhdData><mfhd:mfhdData name="createOperatorId">YBP/APPR</mfhd:mfhdData><mfhd:mfhdData name="updateOperatorId">mw18</mfhd:mfhdData><mfhd:mfhdData name="createDate">2012-05-21 09:54:50</mfhd:mfhdData><mfhd:mfhdData name="updateDate">2012-05-21 11:44:06</mfhd:mfhdData><mfhd:mfhdData name="createLocation" xsi:nil="true"/><mfhd:mfhdData name="updateLocation">CATCUL</mfhd:mfhdData><mfhd:mfhdData name="suppressInOpac">N</mfhd:mfhdData><mfhd:mfhdData name="exportOK">N</mfhd:mfhdData><mfhd:mfhdData name="sourceModule">C</mfhd:mfhdData><mfhd:mfhdData name="callNumber">E449 .D45 2012</mfhd:mfhdData><mfhd:mfhdData name="locationCode" id="143">glx</mfhd:mfhdData><mfhd:mfhdData name="locationName" xsi:nil="true"/><mfhd:mfhdData name="locationDisplayName">Butler Stacks (Enter at the Butler Circulation Desk)</mfhd:mfhdData><mfhd:mfhdData name="locationSpineLabel">BUTLSTAX</mfhd:mfhdData><mfhd:mfhdData name="owningLibrary" id="1">COLUMBIA</mfhd:mfhdData><mfhd:itemCollection><item:itemCount xmlns:item="http://www.endinfosys.com/Voyager/item">1</item:itemCount><item:itemRecord xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemData name="statusCode">2</item:itemData><item:itemData name="statusDate">2013-06-03 23:00:00</item:itemData><item:itemData name="holdLocation" xsi:nil="true"/><item:itemData name="requestCount">0</item:itemData><item:itemData name="patronGroupCode"/><item:itemData name="lastName">Strome </item:itemData><item:itemData name="firstName">Eric </item:itemData><item:itemData name="todaysDate">2013-04-10 17:06:31</item:itemData><item:itemData name="enumeration" xsi:nil="true"/><item:itemData name="chronology" xsi:nil="true"/><item:itemData name="year" xsi:nil="true"/><item:itemData name="caption" xsi:nil="true"/><item:itemData name="text" xsi:nil="true"/><item:itemData name="copyNumber" xsi:nil="true"/><item:itemData name="callNumber"/></item:itemRecord><item:itemLocation xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemLocationData name="tmpLoc" xsi:nil="true"/><item:itemLocationData name="tempLocation">Butler Stacks (Enter at the Butler Circulation Desk)</item:itemLocationData><item:itemLocationData name="itemEnum" xsi:nil="true"/><item:itemLocationData name="itemChron" xsi:nil="true"/><item:itemLocationData name="itemYear" xsi:nil="true"/><item:itemLocationData name="itemCaption" xsi:nil="true"/><item:itemLocationData name="itemFreeText" xsi:nil="true"/><item:itemLocationData name="itemCopyNumber" xsi:nil="true"/></item:itemLocation></mfhd:itemCollection></mfhd:mfhdRecord><mfhd:mfhdRecord bibId="9421045" mfhdId="12476072" xmlns:mfhd="http://www.endinfosys.com/Voyager/mfhd"><mfhd:marcRecord><slim:leader xmlns:slim="http://www.loc.gov/MARC21/slim">00178cx a22000854 4500</slim:leader><slim:controlfield tag="001" xmlns:slim="http://www.loc.gov/MARC21/slim">12476072</slim:controlfield><slim:controlfield tag="004" xmlns:slim="http://www.loc.gov/MARC21/slim">9421045</slim:controlfield><slim:controlfield tag="005" xmlns:slim="http://www.loc.gov/MARC21/slim">20120522112858.0</slim:controlfield><slim:controlfield tag="008" xmlns:slim="http://www.loc.gov/MARC21/slim">1205042p 8 4001aa 0000000</slim:controlfield><slim:datafield ind2="0" ind1="0" tag="852" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="b">mil</slim:subfield><slim:subfield code="h">E449</slim:subfield><slim:subfield code="i">.D45 2012</slim:subfield></slim:datafield></mfhd:marcRecord><mfhd:mfhdData name="databaseCode">LOCAL</mfhd:mfhdData><mfhd:mfhdData name="databaseName">Local Database</mfhd:mfhdData><mfhd:mfhdData name="mfhdStubFlag">0</mfhd:mfhdData><mfhd:mfhdData name="createOperatorId">(SYS: ACQ)</mfhd:mfhdData><mfhd:mfhdData name="updateOperatorId">ima2104</mfhd:mfhdData><mfhd:mfhdData name="createDate">2012-05-04 09:54:12</mfhd:mfhdData><mfhd:mfhdData name="updateDate">2012-05-22 11:28:58</mfhd:mfhdData><mfhd:mfhdData name="createLocation" xsi:nil="true"/><mfhd:mfhdData name="updateLocation">CATCUL</mfhd:mfhdData><mfhd:mfhdData name="suppressInOpac">N</mfhd:mfhdData><mfhd:mfhdData name="exportOK">N</mfhd:mfhdData><mfhd:mfhdData name="sourceModule">C</mfhd:mfhdData><mfhd:mfhdData name="callNumber">E449 .D45 2012</mfhd:mfhdData><mfhd:mfhdData name="locationCode" id="45">mil</mfhd:mfhdData><mfhd:mfhdData name="locationName" xsi:nil="true"/><mfhd:mfhdData name="locationDisplayName">Milstein [Butler]</mfhd:mfhdData><mfhd:mfhdData name="locationSpineLabel">MILSTEIN</mfhd:mfhdData><mfhd:mfhdData name="owningLibrary" id="1">COLUMBIA</mfhd:mfhdData><mfhd:itemCollection><item:itemCount xmlns:item="http://www.endinfosys.com/Voyager/item">1</item:itemCount><item:itemRecord xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemData name="statusCode">1</item:itemData><item:itemData name="statusDate" xsi:nil="true"/><item:itemData name="holdLocation" xsi:nil="true"/><item:itemData name="requestCount">0</item:itemData><item:itemData name="patronGroupCode" xsi:nil="true"/><item:itemData name="lastName" xsi:nil="true"/><item:itemData name="firstName" xsi:nil="true"/><item:itemData name="todaysDate">2013-04-10 17:06:31</item:itemData><item:itemData name="enumeration" xsi:nil="true"/><item:itemData name="chronology" xsi:nil="true"/><item:itemData name="year" xsi:nil="true"/><item:itemData name="caption" xsi:nil="true"/><item:itemData name="text" xsi:nil="true"/><item:itemData name="copyNumber" xsi:nil="true"/><item:itemData name="callNumber"/></item:itemRecord><item:itemLocation xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemLocationData name="tmpLoc" xsi:nil="true"/><item:itemLocationData name="tempLocation">Milstein [Butler]</item:itemLocationData><item:itemLocationData name="itemEnum" xsi:nil="true"/><item:itemLocationData name="itemChron" xsi:nil="true"/><item:itemLocationData name="itemYear" xsi:nil="true"/><item:itemLocationData name="itemCaption" xsi:nil="true"/><item:itemLocationData name="itemFreeText" xsi:nil="true"/><item:itemLocationData name="itemCopyNumber" xsi:nil="true"/></item:itemLocation><item:itemLocation xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemLocationData name="tmpLoc">Y</item:itemLocationData><item:itemLocationData name="tempLocation">Butler Reserves, 208 Butler</item:itemLocationData><item:itemLocationData name="itemEnum" xsi:nil="true"/><item:itemLocationData name="itemChron" xsi:nil="true"/><item:itemLocationData name="itemYear" xsi:nil="true"/><item:itemLocationData name="itemCaption" xsi:nil="true"/><item:itemLocationData name="itemFreeText" xsi:nil="true"/><item:itemLocationData name="itemCopyNumber" xsi:nil="true"/></item:itemLocation></mfhd:itemCollection></mfhd:mfhdRecord></hol:mfhdCollection></hol:holdingsRecord></ser:serviceData></ser:voyagerServiceData>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ser:voyagerServiceData xmlns:ser="http://www.endinfosys.com/Voyager/serviceParameters"><ser:serviceData xsi:type="hol:holdingsCollectionType" xmlns:hol="http://www.endinfosys.com/Voyager/holdings" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><hol:holdingsRecord><hol:bibRecord bibId="9702637" dpsFlag="N"><hol:marcRecord><slim:leader xmlns:slim="http://www.loc.gov/MARC21/slim">00778cam a2200277 a 4500</slim:leader><slim:controlfield tag="001" xmlns:slim="http://www.loc.gov/MARC21/slim">9702637</slim:controlfield><slim:controlfield tag="005" xmlns:slim="http://www.loc.gov/MARC21/slim">20130318143748.0</slim:controlfield><slim:controlfield tag="008" xmlns:slim="http://www.loc.gov/MARC21/slim">120709s2012 sa 000 p eng c</slim:controlfield><slim:datafield ind2=" " ind1=" " tag="020" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">9781920397401 (pbk.)</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="020" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">192039740X (pbk.)</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="1" tag="029" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">AU@</slim:subfield><slim:subfield code="b">000050210767</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="035" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">(OCoLC)ocn798561180</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="035" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">(OCoLC)798561180</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="035" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">(NNC)9702637</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="040" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">OI@</slim:subfield><slim:subfield code="c">OI@</slim:subfield><slim:subfield code="d">OI@</slim:subfield><slim:subfield code="d">CLU</slim:subfield><slim:subfield code="d">YDXCP</slim:subfield><slim:subfield code="d">BWX</slim:subfield><slim:subfield code="d">IQU</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="042" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">pcc</slim:subfield></slim:datafield><slim:datafield ind2="4" ind1=" " tag="050" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">PR9369.3.S6</slim:subfield><slim:subfield code="b">A28 2012</slim:subfield></slim:datafield><slim:datafield ind2="4" ind1="0" tag="082" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">821.914</slim:subfield><slim:subfield code="2">23</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="1" tag="100" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Sole, Kelwyn,</slim:subfield><slim:subfield code="d">1951-</slim:subfield></slim:datafield><slim:datafield ind2="0" ind1="1" tag="245" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Absent tongues /</slim:subfield><slim:subfield code="c">by Kelwyn Sole.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="260" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Athlone, South Africa :</slim:subfield><slim:subfield code="b">Hands-On Books,</slim:subfield><slim:subfield code="c">2012.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="300" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">76 p. ;</slim:subfield><slim:subfield code="c">22 cm.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="500" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">Poems.</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1=" " tag="900" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">AUTH</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="1" tag="948" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">20121101</slim:subfield><slim:subfield code="b">c</slim:subfield><slim:subfield code="c">as2107</slim:subfield><slim:subfield code="d">MPS</slim:subfield></slim:datafield><slim:datafield ind2=" " ind1="2" tag="948" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="a">20130228</slim:subfield><slim:subfield code="b">a</slim:subfield><slim:subfield code="c">vt2130</slim:subfield><slim:subfield code="d">MPS</slim:subfield></slim:datafield></hol:marcRecord><hol:bibData name="databaseCode">LOCAL</hol:bibData><hol:bibData name="databaseName">Local Database</hol:bibData><hol:bibData name="createDate">2012-10-02 08:32:38</hol:bibData><hol:bibData name="updateDate">2013-03-18 14:37:48</hol:bibData><hol:bibData name="suppressInOpac">N</hol:bibData><hol:bibData name="exportOK">N</hol:bibData><hol:bibData name="exportOKDate" xsi:nil="true"/><hol:bibData name="exportOperatorId" xsi:nil="true"/><hol:bibData name="createLocation" xsi:nil="true"/><hol:bibData name="updateLocation" xsi:nil="true"/><hol:bibData name="exportOKLocation" xsi:nil="true"/><hol:bibData name="owningLibrary" id="1">COLUMBIA</hol:bibData></hol:bibRecord><hol:mfhdCollection><mfhd:mfhdRecord bibId="9702637" mfhdId="12747868" xmlns:mfhd="http://www.endinfosys.com/Voyager/mfhd"><mfhd:marcRecord><slim:leader xmlns:slim="http://www.loc.gov/MARC21/slim">00185cx a22000854 4500</slim:leader><slim:controlfield tag="001" xmlns:slim="http://www.loc.gov/MARC21/slim">12747868</slim:controlfield><slim:controlfield tag="004" xmlns:slim="http://www.loc.gov/MARC21/slim">9702637</slim:controlfield><slim:controlfield tag="005" xmlns:slim="http://www.loc.gov/MARC21/slim">20121101125211.0</slim:controlfield><slim:controlfield tag="008" xmlns:slim="http://www.loc.gov/MARC21/slim">1210022p||||8|||4001aa|||0000000</slim:controlfield><slim:datafield ind2="0" ind1="0" tag="852" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="b">glx</slim:subfield><slim:subfield code="h">PR9369.3.S6</slim:subfield><slim:subfield code="i">A28 2012g</slim:subfield></slim:datafield></mfhd:marcRecord><mfhd:mfhdData name="databaseCode">LOCAL</mfhd:mfhdData><mfhd:mfhdData name="databaseName">Local Database</mfhd:mfhdData><mfhd:mfhdData name="mfhdStubFlag">0</mfhd:mfhdData><mfhd:mfhdData name="createOperatorId">GOBI</mfhd:mfhdData><mfhd:mfhdData name="updateOperatorId">as2107</mfhd:mfhdData><mfhd:mfhdData name="createDate">2012-10-02 08:32:39</mfhd:mfhdData><mfhd:mfhdData name="updateDate">2012-11-01 12:52:11</mfhd:mfhdData><mfhd:mfhdData name="createLocation" xsi:nil="true"/><mfhd:mfhdData name="updateLocation">CATCUL</mfhd:mfhdData><mfhd:mfhdData name="suppressInOpac">N</mfhd:mfhdData><mfhd:mfhdData name="exportOK">N</mfhd:mfhdData><mfhd:mfhdData name="sourceModule">C</mfhd:mfhdData><mfhd:mfhdData name="callNumber">PR9369.3.S6 A28 2012g</mfhd:mfhdData><mfhd:mfhdData name="locationCode" id="143">glx</mfhd:mfhdData><mfhd:mfhdData name="locationName" xsi:nil="true"/><mfhd:mfhdData name="locationDisplayName">Butler Stacks (Enter at the Butler Circulation Desk)</mfhd:mfhdData><mfhd:mfhdData name="locationSpineLabel">BUTLSTAX</mfhd:mfhdData><mfhd:mfhdData name="owningLibrary" id="1">COLUMBIA</mfhd:mfhdData><mfhd:itemCollection><item:itemCount xmlns:item="http://www.endinfosys.com/Voyager/item">1</item:itemCount><item:itemRecord xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemData name="statusCode">1</item:itemData><item:itemData name="statusDate" xsi:nil="true"/><item:itemData name="holdLocation" xsi:nil="true"/><item:itemData name="requestCount">0</item:itemData><item:itemData name="patronGroupCode" xsi:nil="true"/><item:itemData name="lastName" xsi:nil="true"/><item:itemData name="firstName" xsi:nil="true"/><item:itemData name="todaysDate">2013-04-10 16:33:24</item:itemData><item:itemData name="enumeration" xsi:nil="true"/><item:itemData name="chronology" xsi:nil="true"/><item:itemData name="year" xsi:nil="true"/><item:itemData name="caption" xsi:nil="true"/><item:itemData name="text" xsi:nil="true"/><item:itemData name="copyNumber" xsi:nil="true"/><item:itemData name="callNumber"/></item:itemRecord><item:itemLocation xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemLocationData name="tmpLoc" xsi:nil="true"/><item:itemLocationData name="tempLocation">Butler Stacks (Enter at the Butler Circulation Desk)</item:itemLocationData><item:itemLocationData name="itemEnum" xsi:nil="true"/><item:itemLocationData name="itemChron" xsi:nil="true"/><item:itemLocationData name="itemYear" xsi:nil="true"/><item:itemLocationData name="itemCaption" xsi:nil="true"/><item:itemLocationData name="itemFreeText" xsi:nil="true"/><item:itemLocationData name="itemCopyNumber" xsi:nil="true"/></item:itemLocation></mfhd:itemCollection></mfhd:mfhdRecord><mfhd:mfhdRecord bibId="9702637" mfhdId="13256207" xmlns:mfhd="http://www.endinfosys.com/Voyager/mfhd"><mfhd:marcRecord><slim:leader xmlns:slim="http://www.loc.gov/MARC21/slim">00189cx a22000854 4500</slim:leader><slim:controlfield tag="001" xmlns:slim="http://www.loc.gov/MARC21/slim">13256207</slim:controlfield><slim:controlfield tag="004" xmlns:slim="http://www.loc.gov/MARC21/slim">9702637</slim:controlfield><slim:controlfield tag="005" xmlns:slim="http://www.loc.gov/MARC21/slim">20130315072340.0</slim:controlfield><slim:controlfield tag="008" xmlns:slim="http://www.loc.gov/MARC21/slim">1302282p 8 4001aa 0901128</slim:controlfield><slim:datafield ind2="0" ind1="0" tag="852" xmlns:slim="http://www.loc.gov/MARC21/slim"><slim:subfield code="b">off,glx</slim:subfield><slim:subfield code="h">PR9369.3.S6</slim:subfield><slim:subfield code="i">A28 2012g</slim:subfield></slim:datafield></mfhd:marcRecord><mfhd:mfhdData name="databaseCode">LOCAL</mfhd:mfhdData><mfhd:mfhdData name="databaseName">Local Database</mfhd:mfhdData><mfhd:mfhdData name="mfhdStubFlag">0</mfhd:mfhdData><mfhd:mfhdData name="createOperatorId">vt2130</mfhd:mfhdData><mfhd:mfhdData name="updateOperatorId">RECAP</mfhd:mfhdData><mfhd:mfhdData name="createDate">2013-02-28 11:25:37</mfhd:mfhdData><mfhd:mfhdData name="updateDate">2013-03-15 07:23:40</mfhd:mfhdData><mfhd:mfhdData name="createLocation">CATCUL</mfhd:mfhdData><mfhd:mfhdData name="updateLocation" xsi:nil="true"/><mfhd:mfhdData name="suppressInOpac">N</mfhd:mfhdData><mfhd:mfhdData name="exportOK">N</mfhd:mfhdData><mfhd:mfhdData name="sourceModule">B</mfhd:mfhdData><mfhd:mfhdData name="callNumber">PR9369.3.S6 A28 2012g</mfhd:mfhdData><mfhd:mfhdData name="locationCode" id="288">off,glx</mfhd:mfhdData><mfhd:mfhdData name="locationName" xsi:nil="true"/><mfhd:mfhdData name="locationDisplayName">Offsite - Place Request for delivery within 2 business days</mfhd:mfhdData><mfhd:mfhdData name="locationSpineLabel">OFFSITE</mfhd:mfhdData><mfhd:mfhdData name="owningLibrary" id="1">COLUMBIA</mfhd:mfhdData><mfhd:itemCollection><item:itemCount xmlns:item="http://www.endinfosys.com/Voyager/item">1</item:itemCount><item:itemRecord xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemData name="statusCode">1</item:itemData><item:itemData name="statusDate" xsi:nil="true"/><item:itemData name="holdLocation" xsi:nil="true"/><item:itemData name="requestCount">0</item:itemData><item:itemData name="patronGroupCode" xsi:nil="true"/><item:itemData name="lastName" xsi:nil="true"/><item:itemData name="firstName" xsi:nil="true"/><item:itemData name="todaysDate">2013-04-10 16:33:24</item:itemData><item:itemData name="enumeration" xsi:nil="true"/><item:itemData name="chronology" xsi:nil="true"/><item:itemData name="year" xsi:nil="true"/><item:itemData name="caption" xsi:nil="true"/><item:itemData name="text" xsi:nil="true"/><item:itemData name="copyNumber" xsi:nil="true"/><item:itemData name="callNumber"/></item:itemRecord><item:itemLocation xmlns:item="http://www.endinfosys.com/Voyager/item"><item:itemLocationData name="tmpLoc" xsi:nil="true"/><item:itemLocationData name="tempLocation">Offsite - Place Request for delivery within 2 business days</item:itemLocationData><item:itemLocationData name="itemEnum" xsi:nil="true"/><item:itemLocationData name="itemChron" xsi:nil="true"/><item:itemLocationData name="itemYear" xsi:nil="true"/><item:itemLocationData name="itemCaption" xsi:nil="true"/><item:itemLocationData name="itemFreeText" xsi:nil="true"/><item:itemLocationData name="itemCopyNumber" xsi:nil="true"/></item:itemLocation></mfhd:itemCollection></mfhd:mfhdRecord></hol:mfhdCollection></hol:holdingsRecord></ser:serviceData></ser:voyagerServiceData>
|
@@ -11,5 +11,31 @@ class TestCollection < HoldingsTestCase
|
|
11
11
|
assert_kind_of Record, col.records.first
|
12
12
|
# assert_equal '', col.records.first
|
13
13
|
end
|
14
|
+
|
15
|
+
def test_adjust_services
|
16
|
+
records = load_fixture("holdings_9702637.xml").records
|
17
|
+
assert_equal 2, records.length
|
18
|
+
assert_equal [], records[0].services, 'Butler suppress doc delivery'
|
19
|
+
assert_equal ['offsite'], records[1].services
|
20
|
+
|
21
|
+
records = load_fixture("holdings_9420109.xml").records
|
22
|
+
assert_equal 3, records.length
|
23
|
+
assert_equal ['in_process'], records[0].services
|
24
|
+
assert_equal ['recall_hold'], records[1].services, 'suppress bd and ill, copy available'
|
25
|
+
assert_equal ['offsite'], records[2].services
|
26
|
+
|
27
|
+
records = load_fixture("holdings_10102195.xml").records
|
28
|
+
assert_equal 3, records.length
|
29
|
+
assert_equal ['recall_hold', 'borrow_direct', 'ill'], records[0].services
|
30
|
+
assert_equal [], records[1].services, 'reserve location'
|
31
|
+
assert_equal [], records[2].services, 'reserve location'
|
32
|
+
|
33
|
+
records = load_fixture("holdings_9421045.xml").records
|
34
|
+
assert_equal 3, records.length
|
35
|
+
assert_equal [], records[0].services, 'bar available copy'
|
36
|
+
assert_equal ['recall_hold'], records[1].services, 'butler checked out'
|
37
|
+
assert_equal [], records[2].services, 'reserve location available'
|
38
|
+
|
39
|
+
end
|
14
40
|
|
15
41
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: voyager_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-04-12 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
17
|
-
requirement: &
|
17
|
+
requirement: &2152683280 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *2152683280
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: i18n
|
28
|
-
requirement: &
|
28
|
+
requirement: &2152682380 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *2152682380
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: httpclient
|
39
|
-
requirement: &
|
39
|
+
requirement: &2152681520 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ! '>='
|
@@ -44,10 +44,10 @@ dependencies:
|
|
44
44
|
version: '0'
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *2152681520
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: nokogiri
|
50
|
-
requirement: &
|
50
|
+
requirement: &2152680440 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ! '>='
|
@@ -55,10 +55,10 @@ dependencies:
|
|
55
55
|
version: '0'
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *2152680440
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: minitest
|
61
|
-
requirement: &
|
61
|
+
requirement: &2152679160 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
64
64
|
- - ! '>='
|
@@ -66,10 +66,10 @@ dependencies:
|
|
66
66
|
version: '0'
|
67
67
|
type: :development
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
69
|
+
version_requirements: *2152679160
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: bundler
|
72
|
-
requirement: &
|
72
|
+
requirement: &2152677840 !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
75
|
- - ~>
|
@@ -77,10 +77,10 @@ dependencies:
|
|
77
77
|
version: 1.0.0
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
|
-
version_requirements: *
|
80
|
+
version_requirements: *2152677840
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: jeweler
|
83
|
-
requirement: &
|
83
|
+
requirement: &2152676780 !ruby/object:Gem::Requirement
|
84
84
|
none: false
|
85
85
|
requirements:
|
86
86
|
- - ~>
|
@@ -88,10 +88,10 @@ dependencies:
|
|
88
88
|
version: 1.6.4
|
89
89
|
type: :development
|
90
90
|
prerelease: false
|
91
|
-
version_requirements: *
|
91
|
+
version_requirements: *2152676780
|
92
92
|
- !ruby/object:Gem::Dependency
|
93
93
|
name: rcov
|
94
|
-
requirement: &
|
94
|
+
requirement: &2152675460 !ruby/object:Gem::Requirement
|
95
95
|
none: false
|
96
96
|
requirements:
|
97
97
|
- - ! '>='
|
@@ -99,10 +99,10 @@ dependencies:
|
|
99
99
|
version: '0'
|
100
100
|
type: :development
|
101
101
|
prerelease: false
|
102
|
-
version_requirements: *
|
102
|
+
version_requirements: *2152675460
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: guard-minitest
|
105
|
-
requirement: &
|
105
|
+
requirement: &2152674120 !ruby/object:Gem::Requirement
|
106
106
|
none: false
|
107
107
|
requirements:
|
108
108
|
- - ! '>='
|
@@ -110,10 +110,10 @@ dependencies:
|
|
110
110
|
version: '0'
|
111
111
|
type: :development
|
112
112
|
prerelease: false
|
113
|
-
version_requirements: *
|
113
|
+
version_requirements: *2152674120
|
114
114
|
- !ruby/object:Gem::Dependency
|
115
115
|
name: rb-fsevent
|
116
|
-
requirement: &
|
116
|
+
requirement: &2152666280 !ruby/object:Gem::Requirement
|
117
117
|
none: false
|
118
118
|
requirements:
|
119
119
|
- - ! '>='
|
@@ -121,10 +121,10 @@ dependencies:
|
|
121
121
|
version: '0'
|
122
122
|
type: :development
|
123
123
|
prerelease: false
|
124
|
-
version_requirements: *
|
124
|
+
version_requirements: *2152666280
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: mocha
|
127
|
-
requirement: &
|
127
|
+
requirement: &2152665040 !ruby/object:Gem::Requirement
|
128
128
|
none: false
|
129
129
|
requirements:
|
130
130
|
- - ! '>='
|
@@ -132,10 +132,10 @@ dependencies:
|
|
132
132
|
version: '0'
|
133
133
|
type: :development
|
134
134
|
prerelease: false
|
135
|
-
version_requirements: *
|
135
|
+
version_requirements: *2152665040
|
136
136
|
- !ruby/object:Gem::Dependency
|
137
137
|
name: growl
|
138
|
-
requirement: &
|
138
|
+
requirement: &2152663940 !ruby/object:Gem::Requirement
|
139
139
|
none: false
|
140
140
|
requirements:
|
141
141
|
- - ! '>='
|
@@ -143,7 +143,7 @@ dependencies:
|
|
143
143
|
version: '0'
|
144
144
|
type: :development
|
145
145
|
prerelease: false
|
146
|
-
version_requirements: *
|
146
|
+
version_requirements: *2152663940
|
147
147
|
description: ! 'Middleware gem for Voyager 7 API calls, specificially holdings information '
|
148
148
|
email: github@jamesstuart.org
|
149
149
|
executables: []
|
@@ -153,7 +153,6 @@ extra_rdoc_files:
|
|
153
153
|
- README.rdoc
|
154
154
|
files:
|
155
155
|
- .document
|
156
|
-
- .rvmrc
|
157
156
|
- .rvmrc.07.27.2011-15:02:08
|
158
157
|
- Gemfile
|
159
158
|
- Gemfile.lock
|
@@ -172,6 +171,7 @@ files:
|
|
172
171
|
- lib/voyager_config.rb
|
173
172
|
- lib/voyager_connection.rb
|
174
173
|
- test/fixtures/fixtures_readme
|
174
|
+
- test/fixtures/holdings_10102195.xml
|
175
175
|
- test/fixtures/holdings_10104738.xml
|
176
176
|
- test/fixtures/holdings_1052500.xml
|
177
177
|
- test/fixtures/holdings_1717646.xml
|
@@ -205,6 +205,9 @@ files:
|
|
205
205
|
- test/fixtures/holdings_8891001.xml
|
206
206
|
- test/fixtures/holdings_8891001_2.xml
|
207
207
|
- test/fixtures/holdings_8918502.xml
|
208
|
+
- test/fixtures/holdings_9420109.xml
|
209
|
+
- test/fixtures/holdings_9421045.xml
|
210
|
+
- test/fixtures/holdings_9702637.xml
|
208
211
|
- test/helper.rb
|
209
212
|
- test/holdings/test_collection.rb
|
210
213
|
- test/holdings/test_collection_output.rb
|
@@ -231,7 +234,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
231
234
|
version: '0'
|
232
235
|
segments:
|
233
236
|
- 0
|
234
|
-
hash:
|
237
|
+
hash: 4365427497241977956
|
235
238
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
236
239
|
none: false
|
237
240
|
requirements:
|
data/.rvmrc
DELETED
@@ -1,55 +0,0 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
|
3
|
-
# This is an RVM Project .rvmrc file, used to automatically load the ruby
|
4
|
-
# development environment upon cd'ing into the directory
|
5
|
-
|
6
|
-
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
|
7
|
-
environment_id="ruby-1.9.2-p290"
|
8
|
-
|
9
|
-
#
|
10
|
-
# Uncomment following line if you want options to be set only for given project.
|
11
|
-
#
|
12
|
-
# PROJECT_JRUBY_OPTS=( --1.9 )
|
13
|
-
|
14
|
-
#
|
15
|
-
# First we attempt to load the desired environment directly from the environment
|
16
|
-
# file. This is very fast and efficient compared to running through the entire
|
17
|
-
# CLI and selector. If you want feedback on which environment was used then
|
18
|
-
# insert the word 'use' after --create as this triggers verbose mode.
|
19
|
-
#
|
20
|
-
if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
|
21
|
-
&& -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
|
22
|
-
then
|
23
|
-
\. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
|
24
|
-
|
25
|
-
if [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]]
|
26
|
-
then
|
27
|
-
. "${rvm_path:-$HOME/.rvm}/hooks/after_use"
|
28
|
-
fi
|
29
|
-
else
|
30
|
-
# If the environment file has not yet been created, use the RVM CLI to select.
|
31
|
-
if ! rvm --create use "$environment_id"
|
32
|
-
then
|
33
|
-
echo "Failed to create RVM environment '${environment_id}'."
|
34
|
-
exit 1
|
35
|
-
fi
|
36
|
-
fi
|
37
|
-
|
38
|
-
#
|
39
|
-
# If you use an RVM gemset file to install a list of gems (*.gems), you can have
|
40
|
-
# it be automatically loaded. Uncomment the following and adjust the filename if
|
41
|
-
# necessary.
|
42
|
-
#
|
43
|
-
# filename=".gems"
|
44
|
-
# if [[ -s "$filename" ]]
|
45
|
-
# then
|
46
|
-
# rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d'
|
47
|
-
# fi
|
48
|
-
|
49
|
-
# If you use bundler, this might be useful to you:
|
50
|
-
# if command -v bundle && [[ -s Gemfile ]]
|
51
|
-
# then
|
52
|
-
# bundle
|
53
|
-
# fi
|
54
|
-
|
55
|
-
|