enju_loc 0.1.0.pre4 → 0.1.0.pre5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/app/helpers/loc_search_helper.rb +1 -1
- data/app/models/loc_search.rb +12 -11
- data/app/views/loc_search/index.html.erb +1 -1
- data/lib/enju_loc/loc_search.rb +105 -104
- data/lib/enju_loc/version.rb +1 -1
- data/spec/cassette_library/LocSearch/_ModsRecord/should_parse_MODS_metadata.yml +8 -8
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_a_valid_manifestation.yml +9 -9
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_lcsh_subjects_only.yml +9 -9
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_multiple_series_statements.yml +9 -9
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_distinguish_title_information_with_subject.yml +9 -9
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_a_manifestation_that_has_invalid_classification.yml +9 -9
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_another_serial.yml +22 -22
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_audio_book.yml +9 -9
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_e-resource.yml +12 -13
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_e-resource_packaged_.yml +25 -25
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_lccn_exact_math.yml +57 -0
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_notated_music.yml +55 -56
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_note_fields.yml +9 -9
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_publication_year.yml +14 -14
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_serial.yml +22 -23
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_video_publication.yml +10 -10
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_parse_title_information_properly.yml +10 -10
- data/spec/cassette_library/LocSearch/_import_from_sru_response/should_support_name_and_title_subjects.yml +10 -10
- data/spec/cassette_library/LocSearch/_search/should_return_a_search_result.yml +119 -83
- data/spec/cassette_library/LocSearchController/GET_index/should_get_index.yml +119 -83
- data/spec/cassette_library/LocSearchController/GET_index/should_get_index_with_page_parameter.yml +99 -102
- data/spec/cassette_library/LocSearchController/POST_create/should_create_a_bibliographic_record_if_lccn_is_set.yml +12 -12
- data/spec/cassette_library/LocSearchController/POST_create/should_not_create_a_bibliographic_record_if_lccn_is_not_set.yml +7 -7
- data/spec/dummy/app/assets/javascripts/application.js +2 -2
- data/spec/models/loc_search_spec.rb +6 -0
- metadata +35 -21
- data/spec/dummy/app/models/setting.rb +0 -4
data/spec/cassette_library/LocSearchController/GET_index/should_get_index_with_page_parameter.yml
CHANGED
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Faraday v0.9.
|
11
|
+
- Faraday v0.9.2
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -19,9 +19,9 @@ http_interactions:
|
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
21
|
Content-Length:
|
22
|
-
- '
|
22
|
+
- '33616'
|
23
23
|
Server:
|
24
|
-
- Metaproxy/1.
|
24
|
+
- Metaproxy/1.9.3
|
25
25
|
Connection:
|
26
26
|
- Keep-Alive
|
27
27
|
Content-Type:
|
@@ -30,80 +30,7 @@ http_interactions:
|
|
30
30
|
encoding: UTF-8
|
31
31
|
string: "<?xml version=\"1.0\"?>\n<zs:searchRetrieveResponse xmlns:zs=\"http://www.loc.gov/zing/srw/\"><zs:version>1.1</zs:version><zs:numberOfRecords>10000</zs:numberOfRecords><zs:records><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
32
32
|
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
33
|
-
version=\"3.
|
34
|
-
\ <titleInfo>\n <title>$#*! my dad says</title>\n <partName>Lock and
|
35
|
-
load</partName>\n </titleInfo>\n <titleInfo type=\"alternative\">\n <title>Lock
|
36
|
-
and load</title>\n </titleInfo>\n <titleInfo type=\"alternative\" displayLabel=\"Copyright
|
37
|
-
application title:\">\n <title>S#*! my dad says</title>\n <partName>Lock
|
38
|
-
& load</partName>\n </titleInfo>\n <titleInfo type=\"alternative\">\n
|
39
|
-
\ <title>Shit my dad says</title>\n <partName>Lock and load</partName>\n
|
40
|
-
\ </titleInfo>\n <titleInfo type=\"alternative\">\n <title>Bleep my dad
|
41
|
-
says</title>\n <partName>Lock and load</partName>\n </titleInfo>\n <name
|
42
|
-
type=\"corporate\">\n <namePart>Copyright Collection (Library of Congress)</namePart>\n
|
43
|
-
\ </name>\n <typeOfResource>moving image</typeOfResource>\n <genre authority=\"marcgt\">motion
|
44
|
-
picture</genre>\n <genre authority=\"lcgft\">Situation comedies (Television
|
45
|
-
programs)</genre>\n <genre authority=\"lcgft\">Fiction television programs.</genre>\n
|
46
|
-
\ <originInfo>\n <place>\n <placeTerm type=\"code\" authority=\"marccountry\">xxu</placeTerm>\n
|
47
|
-
\ </place>\n <dateIssued>2011-02-10</dateIssued>\n <dateIssued encoding=\"marc\">2011</dateIssued>\n
|
48
|
-
\ <dateCaptured encoding=\"iso8601\">20110210</dateCaptured>\n <issuance>monographic</issuance>\n
|
49
|
-
\ </originInfo>\n <language>\n <languageTerm authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n
|
50
|
-
\ </language>\n <physicalDescription>\n <form authority=\"marccategory\">videorecording</form>\n
|
51
|
-
\ <form authority=\"marcsmd\">videocassette</form>\n <extent>viewing
|
52
|
-
copy 1 videocassette of 1 (Betacam SP) (30 min.) : sd., col. ; 1/2 in.</extent>\n
|
53
|
-
\ </physicalDescription>\n <note type=\"statement of responsibility\" altRepGroup=\"00\">directed
|
54
|
-
by Steve Zuckerman ; written by Chris Kelly.</note>\n <note>Production no.
|
55
|
-
2J5667.</note>\n <note>Sources used: video container; Copyright catalog online;
|
56
|
-
Copyright description; Wikipedia WWW site, viewed June 4, 2014.</note>\n <note
|
57
|
-
type=\"performers\">William Shatner, Jonathan Sadowski, Will Sasso.</note>\n
|
58
|
-
\ <classification authority=\"lcc\">VAQ 3028 (viewing copy)</classification>\n
|
59
|
-
\ <identifier type=\"lccn\">2014604746</identifier>\n <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n
|
60
|
-
\ <descriptionStandard>amim</descriptionStandard>\n <recordContentSource
|
61
|
-
authority=\"marcorg\">DLC</recordContentSource>\n <recordCreationDate encoding=\"marc\">140604</recordCreationDate>\n
|
62
|
-
\ <recordChangeDate encoding=\"iso8601\">20140605153440.0</recordChangeDate>\n
|
63
|
-
\ <recordIdentifier>18176812</recordIdentifier>\n <recordOrigin>Converted
|
64
|
-
from MARCXML to MODS version 3.4 using MARC21slim2MODS3-4.xsl\n\t\t\t\t(Revision
|
65
|
-
1.94 2014/02/21)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>11</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
66
|
-
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
67
|
-
version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
|
68
|
-
\ <titleInfo>\n <title>$#*! my dad says</title>\n <partName>Make a WISiH</partName>\n
|
69
|
-
\ </titleInfo>\n <titleInfo type=\"alternative\">\n <title>Make a WISiH</title>\n
|
70
|
-
\ </titleInfo>\n <titleInfo type=\"alternative\" displayLabel=\"Copyright
|
71
|
-
application title:\">\n <title>S#*! my dad says</title>\n <partName>Make
|
72
|
-
a WISiH</partName>\n </titleInfo>\n <titleInfo type=\"alternative\">\n <title>Shit
|
73
|
-
my dad says</title>\n <partName>Make a WISiH</partName>\n </titleInfo>\n
|
74
|
-
\ <titleInfo type=\"alternative\">\n <title>Bleep my dad says</title>\n
|
75
|
-
\ <partName>Make a WISiH</partName>\n </titleInfo>\n <name type=\"corporate\">\n
|
76
|
-
\ <namePart>Copyright Collection (Library of Congress)</namePart>\n </name>\n
|
77
|
-
\ <typeOfResource>moving image</typeOfResource>\n <genre authority=\"marcgt\">motion
|
78
|
-
picture</genre>\n <genre authority=\"lcgft\">Situation comedies (Television
|
79
|
-
programs)</genre>\n <genre authority=\"lcgft\">Fiction television programs.</genre>\n
|
80
|
-
\ <originInfo>\n <place>\n <placeTerm type=\"code\" authority=\"marccountry\">xxu</placeTerm>\n
|
81
|
-
\ </place>\n <dateIssued>2010-11-18</dateIssued>\n <dateIssued encoding=\"marc\">2010</dateIssued>\n
|
82
|
-
\ <dateCaptured encoding=\"iso8601\">20101118</dateCaptured>\n <issuance>monographic</issuance>\n
|
83
|
-
\ </originInfo>\n <language>\n <languageTerm authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n
|
84
|
-
\ </language>\n <physicalDescription>\n <form authority=\"marccategory\">videorecording</form>\n
|
85
|
-
\ <form authority=\"marcsmd\">videocassette</form>\n <extent>viewing
|
86
|
-
copy 1 videocassette of 1 (Betacam SP) (30 min.) : sd., col. ; 1/2 in.</extent>\n
|
87
|
-
\ </physicalDescription>\n <abstract type=\"Summary\">\"Ed and Henry are
|
88
|
-
watching TV when an infomercial comes on for wish a self help guru, Ed asks
|
89
|
-
who would fall for that kind of scam when Vince and Bonny walk in saying they
|
90
|
-
have quit their real estate jobs to start a real estate business because they
|
91
|
-
wished for it. \"--Wikipedia WWW site, viewed June 9, 2014.</abstract>\n <note
|
92
|
-
type=\"statement of responsibility\" altRepGroup=\"00\">directed by Rob Schiller
|
93
|
-
; written by Jeff Astrof.</note>\n <note>Episode no. 9.</note>\n <note>Production
|
94
|
-
no. 2J5660.</note>\n <note>Sources used: video container; Copyright catalog
|
95
|
-
online; Copyright description; Wikipedia WWW site, viewed June 9, 2014.</note>\n
|
96
|
-
\ <note type=\"performers\">William Shatner.</note>\n <note type=\"performers\">Guest
|
97
|
-
star: Cybill Shepherd.</note>\n <classification authority=\"lcc\">VAP 8700
|
98
|
-
(viewing copy)</classification>\n <identifier type=\"lccn\">2014603960</identifier>\n
|
99
|
-
\ <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n <descriptionStandard>amim</descriptionStandard>\n
|
100
|
-
\ <recordContentSource authority=\"marcorg\">DLC</recordContentSource>\n
|
101
|
-
\ <recordCreationDate encoding=\"marc\">140609</recordCreationDate>\n <recordChangeDate
|
102
|
-
encoding=\"iso8601\">20140609135602.0</recordChangeDate>\n <recordIdentifier>18181741</recordIdentifier>\n
|
103
|
-
\ <recordOrigin>Converted from MARCXML to MODS version 3.4 using MARC21slim2MODS3-4.xsl\n\t\t\t\t(Revision
|
104
|
-
1.94 2014/02/21)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>12</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
105
|
-
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
106
|
-
version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
|
33
|
+
version=\"3.5\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd\">\n
|
107
34
|
\ <titleInfo>\n <title>$#*! my dad says</title>\n <partName>Not without
|
108
35
|
my jacket</partName>\n </titleInfo>\n <titleInfo type=\"alternative\">\n
|
109
36
|
\ <title>Not without my jacket</title>\n </titleInfo>\n <titleInfo type=\"alternative\"
|
@@ -143,10 +70,10 @@ http_interactions:
|
|
143
70
|
authority=\"marcorg\">DLC</recordContentSource>\n <recordCreationDate encoding=\"marc\">140609</recordCreationDate>\n
|
144
71
|
\ <recordChangeDate encoding=\"iso8601\">20140609110500.0</recordChangeDate>\n
|
145
72
|
\ <recordIdentifier>18181445</recordIdentifier>\n <recordOrigin>Converted
|
146
|
-
from MARCXML to MODS version 3.
|
147
|
-
1.
|
73
|
+
from MARCXML to MODS version 3.5 using MARC21slim2MODS3-5.xsl\n\t\t\t\t(Revision
|
74
|
+
1.106 2014/12/19)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>11</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
148
75
|
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
149
|
-
version=\"3.
|
76
|
+
version=\"3.5\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd\">\n
|
150
77
|
\ <titleInfo>\n <title>$#*! my dad says</title>\n <partName>[Pilot]</partName>\n
|
151
78
|
\ </titleInfo>\n <titleInfo type=\"alternative\" displayLabel=\"Copyright
|
152
79
|
application title:\">\n <title>S#*! my dad says</title>\n <partName>Pilot</partName>\n
|
@@ -184,10 +111,10 @@ http_interactions:
|
|
184
111
|
authority=\"marcorg\">DLC</recordContentSource>\n <recordCreationDate encoding=\"marc\">140606</recordCreationDate>\n
|
185
112
|
\ <recordChangeDate encoding=\"iso8601\">20140609081428.0</recordChangeDate>\n
|
186
113
|
\ <recordIdentifier>18179971</recordIdentifier>\n <recordOrigin>Converted
|
187
|
-
from MARCXML to MODS version 3.
|
188
|
-
1.
|
114
|
+
from MARCXML to MODS version 3.5 using MARC21slim2MODS3-5.xsl\n\t\t\t\t(Revision
|
115
|
+
1.106 2014/12/19)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>12</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
189
116
|
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
190
|
-
version=\"3.
|
117
|
+
version=\"3.5\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd\">\n
|
191
118
|
\ <titleInfo>\n <title>$#*! my dad says</title>\n <partName>The better
|
192
119
|
father</partName>\n </titleInfo>\n <titleInfo type=\"alternative\">\n <title>Better
|
193
120
|
father</title>\n </titleInfo>\n <titleInfo type=\"alternative\" displayLabel=\"Copyright
|
@@ -229,10 +156,10 @@ http_interactions:
|
|
229
156
|
authority=\"marcorg\">DLC</recordContentSource>\n <recordCreationDate encoding=\"marc\">140609</recordCreationDate>\n
|
230
157
|
\ <recordChangeDate encoding=\"iso8601\">20140609083946.0</recordChangeDate>\n
|
231
158
|
\ <recordIdentifier>18181125</recordIdentifier>\n <recordOrigin>Converted
|
232
|
-
from MARCXML to MODS version 3.
|
233
|
-
1.
|
159
|
+
from MARCXML to MODS version 3.5 using MARC21slim2MODS3-5.xsl\n\t\t\t\t(Revision
|
160
|
+
1.106 2014/12/19)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>13</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
234
161
|
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
235
|
-
version=\"3.
|
162
|
+
version=\"3.5\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd\">\n
|
236
163
|
\ <titleInfo>\n <title>$#*! my dad says</title>\n <partName>The manly
|
237
164
|
thing to do</partName>\n </titleInfo>\n <titleInfo type=\"alternative\">\n
|
238
165
|
\ <title>Manly thing to do</title>\n </titleInfo>\n <titleInfo type=\"alternative\"
|
@@ -264,10 +191,10 @@ http_interactions:
|
|
264
191
|
\ <recordContentSource authority=\"marcorg\">DLC</recordContentSource>\n
|
265
192
|
\ <recordCreationDate encoding=\"marc\">140604</recordCreationDate>\n <recordChangeDate
|
266
193
|
encoding=\"iso8601\">20140605152553.0</recordChangeDate>\n <recordIdentifier>18176777</recordIdentifier>\n
|
267
|
-
\ <recordOrigin>Converted from MARCXML to MODS version 3.
|
268
|
-
1.
|
194
|
+
\ <recordOrigin>Converted from MARCXML to MODS version 3.5 using MARC21slim2MODS3-5.xsl\n\t\t\t\t(Revision
|
195
|
+
1.106 2014/12/19)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>14</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
269
196
|
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
270
|
-
version=\"3.
|
197
|
+
version=\"3.5\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd\">\n
|
271
198
|
\ <titleInfo>\n <title>$#*! my dad says</title>\n <partName>The truth
|
272
199
|
about dads and moms</partName>\n </titleInfo>\n <titleInfo type=\"alternative\">\n
|
273
200
|
\ <title>Truth about dads and moms</title>\n </titleInfo>\n <titleInfo
|
@@ -305,10 +232,10 @@ http_interactions:
|
|
305
232
|
authority=\"marcorg\">DLC</recordContentSource>\n <recordCreationDate encoding=\"marc\">140609</recordCreationDate>\n
|
306
233
|
\ <recordChangeDate encoding=\"iso8601\">20140609105314.0</recordChangeDate>\n
|
307
234
|
\ <recordIdentifier>18181426</recordIdentifier>\n <recordOrigin>Converted
|
308
|
-
from MARCXML to MODS version 3.
|
309
|
-
1.
|
235
|
+
from MARCXML to MODS version 3.5 using MARC21slim2MODS3-5.xsl\n\t\t\t\t(Revision
|
236
|
+
1.106 2014/12/19)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>15</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
310
237
|
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
311
|
-
version=\"3.
|
238
|
+
version=\"3.5\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd\">\n
|
312
239
|
\ <titleInfo>\n <title>$#*! my dad says</title>\n <partName>Well suitored</partName>\n
|
313
240
|
\ </titleInfo>\n <titleInfo type=\"alternative\">\n <title>Well suitored</title>\n
|
314
241
|
\ </titleInfo>\n <titleInfo type=\"alternative\" displayLabel=\"Copyright
|
@@ -339,10 +266,10 @@ http_interactions:
|
|
339
266
|
authority=\"marcorg\">DLC</recordContentSource>\n <recordCreationDate encoding=\"marc\">140604</recordCreationDate>\n
|
340
267
|
\ <recordChangeDate encoding=\"iso8601\">20140605153100.0</recordChangeDate>\n
|
341
268
|
\ <recordIdentifier>18176801</recordIdentifier>\n <recordOrigin>Converted
|
342
|
-
from MARCXML to MODS version 3.
|
343
|
-
1.
|
269
|
+
from MARCXML to MODS version 3.5 using MARC21slim2MODS3-5.xsl\n\t\t\t\t(Revision
|
270
|
+
1.106 2014/12/19)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>16</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
344
271
|
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
345
|
-
version=\"3.
|
272
|
+
version=\"3.5\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd\">\n
|
346
273
|
\ <titleInfo>\n <title>$#*! my dad says</title>\n <partName>Who's your
|
347
274
|
daddy?</partName>\n </titleInfo>\n <titleInfo type=\"alternative\">\n <title>Who's
|
348
275
|
your daddy?</title>\n </titleInfo>\n <titleInfo type=\"alternative\" displayLabel=\"Copyright
|
@@ -377,10 +304,10 @@ http_interactions:
|
|
377
304
|
\ <recordContentSource authority=\"marcorg\">DLC</recordContentSource>\n
|
378
305
|
\ <recordCreationDate encoding=\"marc\">140609</recordCreationDate>\n <recordChangeDate
|
379
306
|
encoding=\"iso8601\">20140609104408.0</recordChangeDate>\n <recordIdentifier>18181381</recordIdentifier>\n
|
380
|
-
\ <recordOrigin>Converted from MARCXML to MODS version 3.
|
381
|
-
1.
|
307
|
+
\ <recordOrigin>Converted from MARCXML to MODS version 3.5 using MARC21slim2MODS3-5.xsl\n\t\t\t\t(Revision
|
308
|
+
1.106 2014/12/19)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>17</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
382
309
|
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
383
|
-
version=\"3.
|
310
|
+
version=\"3.5\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd\">\n
|
384
311
|
\ <titleInfo>\n <title>$#*! my dad says</title>\n <partName>Wi-fight</partName>\n
|
385
312
|
\ </titleInfo>\n <titleInfo type=\"alternative\">\n <title>Wi-fight</title>\n
|
386
313
|
\ </titleInfo>\n <titleInfo type=\"alternative\" displayLabel=\"Copyright
|
@@ -410,8 +337,78 @@ http_interactions:
|
|
410
337
|
\ <recordContentSource authority=\"marcorg\">DLC</recordContentSource>\n
|
411
338
|
\ <recordCreationDate encoding=\"marc\">140604</recordCreationDate>\n <recordChangeDate
|
412
339
|
encoding=\"iso8601\">20140605151844.0</recordChangeDate>\n <recordIdentifier>18176724</recordIdentifier>\n
|
413
|
-
\ <recordOrigin>Converted from MARCXML to MODS version 3.
|
414
|
-
1.
|
340
|
+
\ <recordOrigin>Converted from MARCXML to MODS version 3.5 using MARC21slim2MODS3-5.xsl\n\t\t\t\t(Revision
|
341
|
+
1.106 2014/12/19)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>18</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
342
|
+
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
343
|
+
version=\"3.5\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd\">\n
|
344
|
+
\ <titleInfo>\n <title>$#*! my dad says</title>\n <partName>You can't
|
345
|
+
handle the truce</partName>\n </titleInfo>\n <titleInfo type=\"alternative\">\n
|
346
|
+
\ <title>You can't handle the truce</title>\n </titleInfo>\n <titleInfo
|
347
|
+
type=\"alternative\" displayLabel=\"Copyright application title:\">\n <title>S#*!
|
348
|
+
my dad says</title>\n <partName>You can't handle the truce</partName>\n
|
349
|
+
\ </titleInfo>\n <titleInfo type=\"alternative\">\n <title>Shit my dad
|
350
|
+
says</title>\n <partName>You can't handle the truce</partName>\n </titleInfo>\n
|
351
|
+
\ <titleInfo type=\"alternative\">\n <title>Bleep my dad says</title>\n
|
352
|
+
\ <partName>You can't handle the truce</partName>\n </titleInfo>\n <name
|
353
|
+
type=\"corporate\">\n <namePart>Copyright Collection (Library of Congress)</namePart>\n
|
354
|
+
\ </name>\n <typeOfResource>moving image</typeOfResource>\n <genre authority=\"marcgt\">motion
|
355
|
+
picture</genre>\n <genre authority=\"lcgft\">Situation comedies (Television
|
356
|
+
programs)</genre>\n <genre authority=\"lcgft\">Fiction television programs.</genre>\n
|
357
|
+
\ <originInfo>\n <place>\n <placeTerm type=\"code\" authority=\"marccountry\">xxu</placeTerm>\n
|
358
|
+
\ </place>\n <dateIssued>2010-12-09</dateIssued>\n <dateIssued encoding=\"marc\">2010</dateIssued>\n
|
359
|
+
\ <dateCaptured encoding=\"iso8601\">20101209</dateCaptured>\n <issuance>monographic</issuance>\n
|
360
|
+
\ </originInfo>\n <language>\n <languageTerm authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n
|
361
|
+
\ </language>\n <physicalDescription>\n <form authority=\"marccategory\">videorecording</form>\n
|
362
|
+
\ <form authority=\"marcsmd\">videocassette</form>\n <extent>viewing
|
363
|
+
copy 1 videocassette of 1 (Betacam SP) (30 min.) : sd., col. ; 1/2 in.</extent>\n
|
364
|
+
\ </physicalDescription>\n <note type=\"statement of responsibility\" altRepGroup=\"00\">directed
|
365
|
+
by Gail Mancuso ; written by David A. Katz.</note>\n <note>Production no.
|
366
|
+
2J5656.</note>\n <note>Sources used: video container; Copyright catalog online;
|
367
|
+
Copyright description; Wikipedia WWW site, viewed June 4, 2014.</note>\n <note
|
368
|
+
type=\"performers\">William Shatner, Jonathan Sadowski, Will Sasso.</note>\n
|
369
|
+
\ <classification authority=\"lcc\">VAQ 3024 (viewing copy)</classification>\n
|
370
|
+
\ <identifier type=\"lccn\">2014604742</identifier>\n <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n
|
371
|
+
\ <descriptionStandard>amim</descriptionStandard>\n <recordContentSource
|
372
|
+
authority=\"marcorg\">DLC</recordContentSource>\n <recordCreationDate encoding=\"marc\">140604</recordCreationDate>\n
|
373
|
+
\ <recordChangeDate encoding=\"iso8601\">20140605152414.0</recordChangeDate>\n
|
374
|
+
\ <recordIdentifier>18176755</recordIdentifier>\n <recordOrigin>Converted
|
375
|
+
from MARCXML to MODS version 3.5 using MARC21slim2MODS3-5.xsl\n\t\t\t\t(Revision
|
376
|
+
1.106 2014/12/19)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>19</zs:recordPosition></zs:record><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
377
|
+
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
378
|
+
version=\"3.5\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd\">\n
|
379
|
+
\ <titleInfo>\n <title>#1 country</title>\n </titleInfo>\n <titleInfo
|
380
|
+
type=\"alternative\">\n <title>Number 1 country</title>\n </titleInfo>\n
|
381
|
+
\ <titleInfo type=\"alternative\">\n <title>Number one country</title>\n
|
382
|
+
\ </titleInfo>\n <name type=\"personal\">\n <namePart>Scott, Larry.</namePart>\n
|
383
|
+
\ <role>\n <roleTerm authority=\"marcrelator\" type=\"code\">hst</roleTerm>\n
|
384
|
+
\ </role>\n </name>\n <name type=\"corporate\">\n <namePart>United
|
385
|
+
States</namePart>\n <namePart>American Forces Radio and Television Service.</namePart>\n
|
386
|
+
\ </name>\n <name type=\"corporate\">\n <namePart>AFRTS Collection (Library
|
387
|
+
of Congress)</namePart>\n </name>\n <typeOfResource>sound recording-musical</typeOfResource>\n
|
388
|
+
\ <genre authority=\"lcgft\">Disc jockey radio programs.</genre>\n <genre
|
389
|
+
authority=\"lcgft\">Country music radio programs.</genre>\n <originInfo>\n
|
390
|
+
\ <place>\n <placeTerm type=\"code\" authority=\"marccountry\">cau</placeTerm>\n
|
391
|
+
\ </place>\n <place>\n <placeTerm type=\"text\">Los Angeles]</placeTerm>\n
|
392
|
+
\ </place>\n <publisher>American Forces Radio and Television Service</publisher>\n
|
393
|
+
\ <dateIssued>[1973]</dateIssued>\n <dateIssued encoding=\"marc\">1973</dateIssued>\n
|
394
|
+
\ <issuance>monographic</issuance>\n </originInfo>\n <language>\n <languageTerm
|
395
|
+
authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n </language>\n
|
396
|
+
\ <physicalDescription>\n <form authority=\"gmd\">sound recording</form>\n
|
397
|
+
\ <form authority=\"marccategory\">sound recording</form>\n <form authority=\"marcsmd\">sound
|
398
|
+
disc</form>\n <extent>76 sound discs : analog, 33 1/3 rpm ; 12 in.</extent>\n
|
399
|
+
\ </physicalDescription>\n <note>Original radio series produced by AFRTS;
|
400
|
+
contains information spot announcements.</note>\n <note>Duration: 55:00.</note>\n
|
401
|
+
\ <note>Documentation often including contents is shelved in the Library of
|
402
|
+
Congress Recorded Sound Reference Center.</note>\n <note type=\"performers\">Larry
|
403
|
+
Scott, host; various performers.</note>\n <subject authority=\"lcsh\">\n
|
404
|
+
\ <topic>Country music</topic>\n </subject>\n <classification authority=\"lcc\">LPA
|
405
|
+
73980-LPA 73981, etc.</classification>\n <identifier type=\"lccn\">2002577194</identifier>\n
|
406
|
+
\ <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n <recordContentSource
|
407
|
+
authority=\"marcorg\">DLC</recordContentSource>\n <recordCreationDate encoding=\"marc\">020709</recordCreationDate>\n
|
408
|
+
\ <recordChangeDate encoding=\"iso8601\">20110602142312.0</recordChangeDate>\n
|
409
|
+
\ <recordIdentifier>12847353</recordIdentifier>\n <recordOrigin>Converted
|
410
|
+
from MARCXML to MODS version 3.5 using MARC21slim2MODS3-5.xsl\n\t\t\t\t(Revision
|
411
|
+
1.106 2014/12/19)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>20</zs:recordPosition></zs:record></zs:records><zs:nextRecordPosition>21</zs:nextRecordPosition><zs:echoedSearchRetrieveRequest><zs:version>1.1</zs:version><zs:query>library</zs:query><zs:startRecord>11</zs:startRecord><zs:maximumRecords>10</zs:maximumRecords><zs:recordPacking>xml</zs:recordPacking><zs:recordSchema>mods</zs:recordSchema></zs:echoedSearchRetrieveRequest></zs:searchRetrieveResponse>\n"
|
415
412
|
http_version:
|
416
|
-
recorded_at:
|
417
|
-
recorded_with: VCR
|
413
|
+
recorded_at: Fri, 06 Nov 2015 14:26:39 GMT
|
414
|
+
recorded_with: VCR 3.0.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&operation=searchRetrieve&query=bath.lccn
|
5
|
+
uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&operation=searchRetrieve&query=bath.lccn=%22%5E2013385616%22&recordSchema=mods&version=1.1
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Faraday v0.9.
|
11
|
+
- Faraday v0.9.2
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -19,9 +19,9 @@ http_interactions:
|
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
21
|
Content-Length:
|
22
|
-
- '
|
22
|
+
- '9627'
|
23
23
|
Server:
|
24
|
-
- Metaproxy/1.
|
24
|
+
- Metaproxy/1.9.3
|
25
25
|
Connection:
|
26
26
|
- Keep-Alive
|
27
27
|
Content-Type:
|
@@ -30,7 +30,7 @@ http_interactions:
|
|
30
30
|
encoding: UTF-8
|
31
31
|
string: "<?xml version=\"1.0\"?>\n<zs:searchRetrieveResponse xmlns:zs=\"http://www.loc.gov/zing/srw/\"><zs:version>1.1</zs:version><zs:numberOfRecords>1</zs:numberOfRecords><zs:records><zs:record><zs:recordSchema>mods</zs:recordSchema><zs:recordPacking>xml</zs:recordPacking><zs:recordData><mods
|
32
32
|
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
|
33
|
-
version=\"3.
|
33
|
+
version=\"3.5\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd\">\n
|
34
34
|
\ <titleInfo altRepGroup=\"01\" script=\"Latn\">\n <title>Entotsu no mieru
|
35
35
|
basho</title>\n </titleInfo>\n <titleInfo type=\"alternative\" altRepGroup=\"15\"
|
36
36
|
script=\"Latn\">\n <title>Mujaki na hitobito</title>\n </titleInfo>\n
|
@@ -85,8 +85,8 @@ http_interactions:
|
|
85
85
|
Uehara Ken, Takamine Hideko, Akutagawa Hiroshi, Seki Chieko, Tanaka Haruo.</note>\n
|
86
86
|
\ <note type=\"system details\">DVD ; Region Code 2 ; NTSC ; Dolby Digital.</note>\n
|
87
87
|
\ <note type=\"language\">In Japanese.</note>\n <subject authority=\"lcsh\">\n
|
88
|
-
\ <topic>Feature films</topic>\n </subject>\n <classification authority=\"lcc\">
|
89
|
-
|
88
|
+
\ <topic>Feature films</topic>\n </subject>\n <classification authority=\"lcc\">DVD
|
89
|
+
7269 (viewing copy)</classification>\n <location>\n <physicalLocation>c-Moving
|
90
90
|
Image</physicalLocation>\n </location>\n <relatedItem type=\"series\" altRepGroup=\"03\"
|
91
91
|
script=\"Latn\">\n <titleInfo>\n <title>Shin Tōhō meiga
|
92
92
|
kessakusen</title>\n </titleInfo>\n </relatedItem>\n <relatedItem type=\"constituent\">\n
|
@@ -133,10 +133,10 @@ http_interactions:
|
|
133
133
|
type=\"videorecording identifier\">VPBT15262</identifier>\n <identifier type=\"oclc\">ocn213415869</identifier>\n
|
134
134
|
\ <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n <recordContentSource
|
135
135
|
authority=\"marcorg\">KKU</recordContentSource>\n <recordCreationDate encoding=\"marc\">130509</recordCreationDate>\n
|
136
|
-
\ <recordChangeDate encoding=\"iso8601\">
|
136
|
+
\ <recordChangeDate encoding=\"iso8601\">20150402132546.0</recordChangeDate>\n
|
137
137
|
\ <recordIdentifier>17731062</recordIdentifier>\n <recordOrigin>Converted
|
138
|
-
from MARCXML to MODS version 3.
|
139
|
-
1.
|
138
|
+
from MARCXML to MODS version 3.5 using MARC21slim2MODS3-5.xsl\n\t\t\t\t(Revision
|
139
|
+
1.106 2014/12/19)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record></zs:records><zs:echoedSearchRetrieveRequest><zs:version>1.1</zs:version><zs:query>bath.lccn=\"^2013385616\"</zs:query><zs:maximumRecords>10</zs:maximumRecords><zs:recordPacking>xml</zs:recordPacking><zs:recordSchema>mods</zs:recordSchema></zs:echoedSearchRetrieveRequest></zs:searchRetrieveResponse>\n"
|
140
140
|
http_version:
|
141
|
-
recorded_at:
|
142
|
-
recorded_with: VCR
|
141
|
+
recorded_at: Fri, 06 Nov 2015 14:26:39 GMT
|
142
|
+
recorded_with: VCR 3.0.0
|
@@ -2,13 +2,13 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&operation=searchRetrieve&query=bath.lccn
|
5
|
+
uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&operation=searchRetrieve&query=bath.lccn=%22%5E%22&recordSchema=mods&version=1.1
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Faraday v0.9.
|
11
|
+
- Faraday v0.9.2
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -19,9 +19,9 @@ http_interactions:
|
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
21
|
Content-Length:
|
22
|
-
- '
|
22
|
+
- '701'
|
23
23
|
Server:
|
24
|
-
- Metaproxy/1.
|
24
|
+
- Metaproxy/1.9.3
|
25
25
|
Connection:
|
26
26
|
- Keep-Alive
|
27
27
|
Content-Type:
|
@@ -30,7 +30,7 @@ http_interactions:
|
|
30
30
|
encoding: UTF-8
|
31
31
|
string: |
|
32
32
|
<?xml version="1.0"?>
|
33
|
-
<zs:searchRetrieveResponse xmlns:zs="http://www.loc.gov/zing/srw/"><zs:version>1.1</zs:version><zs:diagnostics xmlns:diag="http://www.loc.gov/zing/srw/diagnostic/"><diag:diagnostic><diag:uri>info:srw/diagnostic/1/
|
33
|
+
<zs:searchRetrieveResponse xmlns:zs="http://www.loc.gov/zing/srw/"><zs:version>1.1</zs:version><zs:echoedSearchRetrieveRequest><zs:version>1.1</zs:version><zs:query>bath.lccn="^"</zs:query><zs:maximumRecords>10</zs:maximumRecords><zs:recordPacking>xml</zs:recordPacking><zs:recordSchema>mods</zs:recordSchema></zs:echoedSearchRetrieveRequest><zs:diagnostics xmlns:diag="http://www.loc.gov/zing/srw/diagnostic/"><diag:diagnostic><diag:uri>info:srw/diagnostic/1/1</diag:uri><diag:details>search failed at opac rc=1 (backend=z3950.loc.gov:7097/voyager)</diag:details><diag:message>Permanent system error</diag:message></diag:diagnostic></zs:diagnostics></zs:searchRetrieveResponse>
|
34
34
|
http_version:
|
35
|
-
recorded_at:
|
36
|
-
recorded_with: VCR
|
35
|
+
recorded_at: Fri, 06 Nov 2015 14:26:40 GMT
|
36
|
+
recorded_with: VCR 3.0.0
|
@@ -2,12 +2,12 @@
|
|
2
2
|
// listed below.
|
3
3
|
//
|
4
4
|
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or vendor/assets/javascripts
|
5
|
+
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
6
|
//
|
7
7
|
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
8
|
// compiled file.
|
9
9
|
//
|
10
|
-
// Read Sprockets README (https://github.com/
|
10
|
+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
11
|
// about supported directives.
|
12
12
|
//
|
13
13
|
//= require_tree .
|
@@ -157,6 +157,12 @@ describe LocSearch do
|
|
157
157
|
expect( m.manifestation_content_type ).to eq ContentType.where(:name=>'notated_music').first
|
158
158
|
expect( m.language_id ).to eq 1 # language: unknown
|
159
159
|
end
|
160
|
+
|
161
|
+
it "should import lccn exact math", :vcr => true do
|
162
|
+
m = LocSearch.import_from_sru_response( "93028401" )
|
163
|
+
expect( m ).to be_valid
|
164
|
+
expect( m.original_title ).to eq "How to lie with statistics"
|
165
|
+
end
|
160
166
|
end
|
161
167
|
|
162
168
|
context ".search", :vcr => true do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_loc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masao Takaku
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: mysql2
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 0.3.20
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 0.3.20
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: pg
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,28 +86,28 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '3.
|
89
|
+
version: '3.3'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '3.
|
96
|
+
version: '3.3'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: vcr
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
103
|
+
version: '3.0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
110
|
+
version: '3.0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: webmock
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,28 +128,28 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 1.1.0.
|
131
|
+
version: 1.1.0.rc22
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 1.1.0.
|
138
|
+
version: 1.1.0.rc22
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: sunspot_solr
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '2.
|
145
|
+
version: '2.2'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '2.
|
152
|
+
version: '2.2'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: simplecov
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,14 +170,28 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.1.0.
|
173
|
+
version: 0.1.0.pre34
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 0.1.0.
|
180
|
+
version: 0.1.0.pre34
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: appraisal
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
181
195
|
description: This module allow users to search and import bibliographic records from
|
182
196
|
Library of Congress via SRU-based API.
|
183
197
|
email:
|
@@ -213,6 +227,7 @@ files:
|
|
213
227
|
- spec/cassette_library/LocSearch/_import_from_sru_response/should_import_audio_book.yml
|
214
228
|
- spec/cassette_library/LocSearch/_import_from_sru_response/should_import_e-resource.yml
|
215
229
|
- spec/cassette_library/LocSearch/_import_from_sru_response/should_import_e-resource_packaged_.yml
|
230
|
+
- spec/cassette_library/LocSearch/_import_from_sru_response/should_import_lccn_exact_math.yml
|
216
231
|
- spec/cassette_library/LocSearch/_import_from_sru_response/should_import_notated_music.yml
|
217
232
|
- spec/cassette_library/LocSearch/_import_from_sru_response/should_import_note_fields.yml
|
218
233
|
- spec/cassette_library/LocSearch/_import_from_sru_response/should_import_publication_year.yml
|
@@ -232,7 +247,6 @@ files:
|
|
232
247
|
- spec/dummy/app/assets/stylesheets/application.css
|
233
248
|
- spec/dummy/app/controllers/application_controller.rb
|
234
249
|
- spec/dummy/app/helpers/application_helper.rb
|
235
|
-
- spec/dummy/app/models/setting.rb
|
236
250
|
- spec/dummy/app/models/user.rb
|
237
251
|
- spec/dummy/app/views/layouts/application.html.erb
|
238
252
|
- spec/dummy/bin/bundle
|
@@ -438,7 +452,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
438
452
|
version: 1.3.1
|
439
453
|
requirements: []
|
440
454
|
rubyforge_project:
|
441
|
-
rubygems_version: 2.4.5
|
455
|
+
rubygems_version: 2.4.5.1
|
442
456
|
signing_key:
|
443
457
|
specification_version: 4
|
444
458
|
summary: LoC SRU wrapper for Next-L Enju
|
@@ -452,6 +466,7 @@ test_files:
|
|
452
466
|
- spec/cassette_library/LocSearch/_import_from_sru_response/should_import_audio_book.yml
|
453
467
|
- spec/cassette_library/LocSearch/_import_from_sru_response/should_import_e-resource.yml
|
454
468
|
- spec/cassette_library/LocSearch/_import_from_sru_response/should_import_e-resource_packaged_.yml
|
469
|
+
- spec/cassette_library/LocSearch/_import_from_sru_response/should_import_lccn_exact_math.yml
|
455
470
|
- spec/cassette_library/LocSearch/_import_from_sru_response/should_import_notated_music.yml
|
456
471
|
- spec/cassette_library/LocSearch/_import_from_sru_response/should_import_note_fields.yml
|
457
472
|
- spec/cassette_library/LocSearch/_import_from_sru_response/should_import_publication_year.yml
|
@@ -470,7 +485,6 @@ test_files:
|
|
470
485
|
- spec/dummy/app/assets/stylesheets/application.css
|
471
486
|
- spec/dummy/app/controllers/application_controller.rb
|
472
487
|
- spec/dummy/app/helpers/application_helper.rb
|
473
|
-
- spec/dummy/app/models/setting.rb
|
474
488
|
- spec/dummy/app/models/user.rb
|
475
489
|
- spec/dummy/app/views/layouts/application.html.erb
|
476
490
|
- spec/dummy/bin/bundle
|