enju_loc 0.1.0.pre2 → 0.1.0.pre3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/loc_search_controller.rb +1 -1
  3. data/app/models/loc_search.rb +13 -15
  4. data/lib/enju_loc/engine.rb +1 -0
  5. data/lib/enju_loc/loc_search.rb +1 -1
  6. data/lib/enju_loc/version.rb +1 -1
  7. data/spec/cassette_library/LocSearch/_ModsRecord/should_parse_MODS_metadata.yml +16 -14
  8. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_a_valid_manifestation.yml +12 -12
  9. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_lcsh_subjects_only.yml +16 -14
  10. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_multiple_series_statements.yml +16 -14
  11. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_distinguish_title_information_with_subject.yml +16 -14
  12. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_a_manifestation_that_has_invalid_classification.yml +20 -17
  13. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_another_serial.yml +16 -14
  14. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_audio_book.yml +38 -34
  15. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_e-resource.yml +16 -14
  16. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_e-resource_packaged_.yml +16 -14
  17. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_notated_music.yml +16 -14
  18. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_note_fields.yml +16 -14
  19. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_publication_year.yml +16 -14
  20. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_serial.yml +16 -14
  21. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_video_publication.yml +16 -14
  22. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_parse_title_information_properly.yml +16 -14
  23. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_support_name_and_title_subjects.yml +16 -14
  24. data/spec/cassette_library/LocSearch/_search/should_return_a_search_result.yml +16 -14
  25. data/spec/cassette_library/LocSearchController/GET_index/should_get_index.yml +16 -14
  26. data/spec/cassette_library/LocSearchController/GET_index/should_get_index_with_page_parameter.yml +16 -14
  27. data/spec/cassette_library/LocSearchController/POST_create/should_create_a_bibliographic_record_if_lccn_is_set.yml +16 -14
  28. data/spec/cassette_library/LocSearchController/POST_create/should_not_create_a_bibliographic_record_if_lccn_is_not_set.yml +18 -20
  29. data/spec/dummy/config/boot.rb +2 -2
  30. data/spec/dummy/db/migrate/133_create_agent_merges.rb +15 -0
  31. data/spec/dummy/db/migrate/134_create_agent_merge_lists.rb +13 -0
  32. data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +1 -1
  33. data/spec/dummy/db/migrate/20140822114527_add_error_message_to_resource_import_result.rb +5 -0
  34. data/spec/dummy/db/migrate/20140823083524_add_extent_to_manifestation.rb +5 -0
  35. data/spec/dummy/db/migrate/20140823094847_add_dimensions_to_manifestation.rb +5 -0
  36. data/spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb +9 -0
  37. data/spec/dummy/db/schema.rb +22 -3
  38. data/spec/dummy/db/test.sqlite3 +0 -0
  39. data/spec/fixtures/agent_types.yml +6 -25
  40. data/spec/models/loc_search_spec.rb +3 -3
  41. data/spec/spec_helper.rb +1 -1
  42. metadata +37 -31
  43. data/spec/dummy/db/development.sqlite3 +0 -0
  44. data/spec/dummy/log/development.log +0 -1528
  45. data/spec/dummy/log/test.log +0 -54815
@@ -2,31 +2,33 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&recordSchema=mods&query=bath.lccn=88651712&version=1.1&operation=searchRetrieve
5
+ uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&operation=searchRetrieve&query=bath.lccn=88651712&recordSchema=mods&version=1.1
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- accept:
11
- - ! '*/*'
12
- user-agent:
13
- - Ruby
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
14
16
  response:
15
17
  status:
16
18
  code: 200
17
19
  message: OK
18
20
  headers:
19
- content-length:
21
+ Content-Length:
20
22
  - '4695'
21
- server:
23
+ Server:
22
24
  - Metaproxy/1.5.3
23
- connection:
25
+ Connection:
24
26
  - Keep-Alive
25
- content-type:
27
+ Content-Type:
26
28
  - text/xml
27
29
  body:
28
- encoding: US-ASCII
29
- 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
30
+ encoding: UTF-8
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
30
32
  xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
31
33
  version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
32
34
  \ <titleInfo>\n <title>Superconductor science &amp; technology</title>\n
@@ -80,6 +82,6 @@ http_interactions:
80
82
  1.94 2014/02/21)</recordOrigin>\n <languageOfCataloging>\n <languageTerm
81
83
  authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n </languageOfCataloging>\n
82
84
  \ </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record></zs:records></zs:searchRetrieveResponse>\n"
83
- http_version: '1.1'
84
- recorded_at: Fri, 15 Aug 2014 12:12:03 GMT
85
- recorded_with: VCR 2.9.2
85
+ http_version:
86
+ recorded_at: Thu, 02 Oct 2014 12:13:07 GMT
87
+ recorded_with: VCR 2.9.3
@@ -2,31 +2,33 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&recordSchema=mods&query=bath.lccn=2007576782&version=1.1&operation=searchRetrieve
5
+ uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&operation=searchRetrieve&query=bath.lccn=2007576782&recordSchema=mods&version=1.1
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- accept:
11
- - ! '*/*'
12
- user-agent:
13
- - Ruby
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
14
16
  response:
15
17
  status:
16
18
  code: 200
17
19
  message: OK
18
20
  headers:
19
- content-length:
20
- - '5221'
21
- server:
21
+ Content-Length:
22
+ - '5317'
23
+ Server:
22
24
  - Metaproxy/1.5.3
23
- connection:
25
+ Connection:
24
26
  - Keep-Alive
25
- content-type:
27
+ Content-Type:
26
28
  - text/xml
27
29
  body:
28
- encoding: US-ASCII
29
- 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
30
+ encoding: UTF-8
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
30
32
  xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
31
33
  version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
32
34
  \ <titleInfo>\n <title>Harry Potter and the prisoner of Azkaban</title>\n
@@ -58,34 +60,36 @@ http_interactions:
58
60
  of responsibility from container.</note>\n <note>Third in the Harry Potter
59
61
  series.</note>\n <note type=\"performers\">Read by Jim Dale.</note>\n <subject>\n
60
62
  \ <geographicCode authority=\"marcgac\">e-uk-en</geographicCode>\n </subject>\n
61
- \ <subject authority=\"lcsh\">\n <topic>Potter, Harry (Fictitious character)</topic>\n
62
- \ <genre>Juvenile fiction</genre>\n </subject>\n <subject authority=\"lcsh\">\n
63
- \ <topic>Hogwarts School of Witchcraft and Wizardry (Imaginary organization)</topic>\n
63
+ \ <subject authority=\"lcsh\">\n <name type=\"personal\">\n <namePart
64
+ type=\"termsOfAddress\">(Fictitious character)</namePart>\n <namePart>Potter,
65
+ Harry</namePart>\n </name>\n <genre>Juvenile fiction</genre>\n </subject>\n
66
+ \ <subject authority=\"lcsh\">\n <topic>Hogwarts School of Witchcraft and
67
+ Wizardry (Imaginary organization)</topic>\n <genre>Juvenile fiction</genre>\n
68
+ \ </subject>\n <subject authority=\"lcsh\">\n <topic>Wizards</topic>\n
64
69
  \ <genre>Juvenile fiction</genre>\n </subject>\n <subject authority=\"lcsh\">\n
65
- \ <topic>Wizards</topic>\n <genre>Juvenile fiction</genre>\n </subject>\n
66
- \ <subject authority=\"lcsh\">\n <topic>Magic</topic>\n <genre>Juvenile
67
- fiction</genre>\n </subject>\n <subject authority=\"lcsh\">\n <topic>Schools</topic>\n
70
+ \ <topic>Magic</topic>\n <genre>Juvenile fiction</genre>\n </subject>\n
71
+ \ <subject authority=\"lcsh\">\n <topic>Schools</topic>\n <genre>Juvenile
72
+ fiction</genre>\n </subject>\n <subject authority=\"lcshac\">\n <topic>Wizards</topic>\n
73
+ \ <genre>Fiction</genre>\n </subject>\n <subject authority=\"lcshac\">\n
74
+ \ <topic>Magic</topic>\n <genre>Fiction</genre>\n </subject>\n <subject
75
+ authority=\"lcshac\">\n <topic>Schools</topic>\n <genre>Fiction</genre>\n
76
+ \ </subject>\n <subject authority=\"lcsh\">\n <geographic>England</geographic>\n
68
77
  \ <genre>Juvenile fiction</genre>\n </subject>\n <subject authority=\"lcshac\">\n
69
- \ <topic>Wizards</topic>\n <genre>Fiction</genre>\n </subject>\n <subject
70
- authority=\"lcshac\">\n <topic>Magic</topic>\n <genre>Fiction</genre>\n
71
- \ </subject>\n <subject authority=\"lcshac\">\n <topic>Schools</topic>\n
72
- \ <genre>Fiction</genre>\n </subject>\n <subject authority=\"lcsh\">\n
73
- \ <geographic>England</geographic>\n <genre>Juvenile fiction</genre>\n
74
- \ </subject>\n <subject authority=\"lcshac\">\n <geographic>England</geographic>\n
75
- \ <genre>Fiction</genre>\n </subject>\n <classification authority=\"lcc\">SDB
76
- 61665</classification>\n <identifier type=\"isbn\">0807282324</identifier>\n
77
- \ <identifier type=\"lccn\">2007576782</identifier>\n <identifier type=\"issue
78
- number\">YA 160 CD Random House</identifier>\n <identifier type=\"oclc\">ocm43963972</identifier>\n
79
- \ <identifier type=\"oclc\">43963972</identifier>\n <relatedItem>\n <location>\n
80
- \ <url displayLabel=\"Contributor biographical information\">http://www.loc.gov/catdir/enhancements/fy0727/2007576782-b.html</url>\n
78
+ \ <geographic>England</geographic>\n <genre>Fiction</genre>\n </subject>\n
79
+ \ <classification authority=\"lcc\">SDB 61665</classification>\n <identifier
80
+ type=\"isbn\">0807282324</identifier>\n <identifier type=\"lccn\">2007576782</identifier>\n
81
+ \ <identifier type=\"issue number\">YA 160 CD Random House</identifier>\n
82
+ \ <identifier type=\"oclc\">ocm43963972</identifier>\n <identifier type=\"oclc\">43963972</identifier>\n
83
+ \ <relatedItem>\n <location>\n <url displayLabel=\"Contributor biographical
84
+ information\">http://www.loc.gov/catdir/enhancements/fy0727/2007576782-b.html</url>\n
81
85
  \ </location>\n </relatedItem>\n <relatedItem>\n <location>\n <url
82
86
  displayLabel=\"Publisher description\">http://www.loc.gov/catdir/enhancements/fy0727/2007576782-d.html</url>\n
83
87
  \ </location>\n </relatedItem>\n <recordInfo>\n <descriptionStandard>aacr</descriptionStandard>\n
84
88
  \ <recordContentSource authority=\"marcorg\">OCO</recordContentSource>\n
85
89
  \ <recordCreationDate encoding=\"marc\">070531</recordCreationDate>\n <recordChangeDate
86
- encoding=\"iso8601\">20091216113619.0</recordChangeDate>\n <recordIdentifier>14872104</recordIdentifier>\n
90
+ encoding=\"iso8601\">20140905142926.0</recordChangeDate>\n <recordIdentifier>14872104</recordIdentifier>\n
87
91
  \ <recordOrigin>Converted from MARCXML to MODS version 3.4 using MARC21slim2MODS3-4.xsl\n\t\t\t\t(Revision
88
92
  1.94 2014/02/21)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record></zs:records></zs:searchRetrieveResponse>\n"
89
- http_version: '1.1'
90
- recorded_at: Thu, 14 Aug 2014 06:10:44 GMT
91
- recorded_with: VCR 2.9.2
93
+ http_version:
94
+ recorded_at: Thu, 02 Oct 2014 12:13:04 GMT
95
+ recorded_with: VCR 2.9.3
@@ -2,31 +2,33 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&recordSchema=mods&query=bath.lccn=2005568297&version=1.1&operation=searchRetrieve
5
+ uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&operation=searchRetrieve&query=bath.lccn=2005568297&recordSchema=mods&version=1.1
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- accept:
11
- - ! '*/*'
12
- user-agent:
13
- - Ruby
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
14
16
  response:
15
17
  status:
16
18
  code: 200
17
19
  message: OK
18
20
  headers:
19
- content-length:
21
+ Content-Length:
20
22
  - '3775'
21
- server:
23
+ Server:
22
24
  - Metaproxy/1.5.3
23
- connection:
25
+ Connection:
24
26
  - Keep-Alive
25
- content-type:
27
+ Content-Type:
26
28
  - text/xml
27
29
  body:
28
- encoding: US-ASCII
29
- 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
30
+ encoding: UTF-8
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
30
32
  xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
31
33
  version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
32
34
  \ <titleInfo>\n <title>ACM portal</title>\n <subTitle>the ACM Digital
@@ -68,6 +70,6 @@ http_interactions:
68
70
  \ <recordIdentifier>13841460</recordIdentifier>\n <recordOrigin>Converted
69
71
  from MARCXML to MODS version 3.4 using MARC21slim2MODS3-4.xsl\n\t\t\t\t(Revision
70
72
  1.94 2014/02/21)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record></zs:records></zs:searchRetrieveResponse>\n"
71
- http_version: '1.1'
72
- recorded_at: Wed, 13 Aug 2014 09:04:52 GMT
73
- recorded_with: VCR 2.9.2
73
+ http_version:
74
+ recorded_at: Thu, 02 Oct 2014 12:13:03 GMT
75
+ recorded_with: VCR 2.9.3
@@ -2,31 +2,33 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&recordSchema=mods&query=bath.lccn=2006575029&version=1.1&operation=searchRetrieve
5
+ uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&operation=searchRetrieve&query=bath.lccn=2006575029&recordSchema=mods&version=1.1
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- accept:
11
- - ! '*/*'
12
- user-agent:
13
- - Ruby
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
14
16
  response:
15
17
  status:
16
18
  code: 200
17
19
  message: OK
18
20
  headers:
19
- content-length:
21
+ Content-Length:
20
22
  - '3674'
21
- server:
23
+ Server:
22
24
  - Metaproxy/1.5.3
23
- connection:
25
+ Connection:
24
26
  - Keep-Alive
25
- content-type:
27
+ Content-Type:
26
28
  - text/xml
27
29
  body:
28
- encoding: US-ASCII
29
- 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
30
+ encoding: UTF-8
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
30
32
  xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
31
33
  version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
32
34
  \ <titleInfo>\n <title>Microsoft Encarta 2006 premium</title>\n </titleInfo>\n
@@ -66,6 +68,6 @@ http_interactions:
66
68
  encoding=\"iso8601\">20060526145728.0</recordChangeDate>\n <recordIdentifier>14391706</recordIdentifier>\n
67
69
  \ <recordOrigin>Converted from MARCXML to MODS version 3.4 using MARC21slim2MODS3-4.xsl\n\t\t\t\t(Revision
68
70
  1.94 2014/02/21)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record></zs:records></zs:searchRetrieveResponse>\n"
69
- http_version: '1.1'
70
- recorded_at: Sat, 16 Aug 2014 02:18:05 GMT
71
- recorded_with: VCR 2.9.2
71
+ http_version:
72
+ recorded_at: Thu, 02 Oct 2014 12:13:03 GMT
73
+ recorded_with: VCR 2.9.3
@@ -2,31 +2,33 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&recordSchema=mods&query=bath.lccn=2014563060&version=1.1&operation=searchRetrieve
5
+ uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&operation=searchRetrieve&query=bath.lccn=2014563060&recordSchema=mods&version=1.1
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- accept:
11
- - ! '*/*'
12
- user-agent:
13
- - Ruby
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
14
16
  response:
15
17
  status:
16
18
  code: 200
17
19
  message: OK
18
20
  headers:
19
- content-length:
21
+ Content-Length:
20
22
  - '6509'
21
- server:
23
+ Server:
22
24
  - Metaproxy/1.5.3
23
- connection:
25
+ Connection:
24
26
  - Keep-Alive
25
- content-type:
27
+ Content-Type:
26
28
  - text/xml
27
29
  body:
28
- encoding: US-ASCII
29
- 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
30
+ encoding: UTF-8
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
30
32
  xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
31
33
  version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
32
34
  \ <titleInfo>\n <title>Music of the baroque</title>\n <subTitle>an anthology
@@ -101,6 +103,6 @@ http_interactions:
101
103
  1.94 2014/02/21)</recordOrigin>\n <languageOfCataloging>\n <languageTerm
102
104
  authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n </languageOfCataloging>\n
103
105
  \ </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record></zs:records></zs:searchRetrieveResponse>\n"
104
- http_version: '1.1'
105
- recorded_at: Sat, 16 Aug 2014 09:34:11 GMT
106
- recorded_with: VCR 2.9.2
106
+ http_version:
107
+ recorded_at: Thu, 02 Oct 2014 12:13:10 GMT
108
+ recorded_with: VCR 2.9.3
@@ -2,31 +2,33 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&recordSchema=mods&query=bath.lccn=2010526151&version=1.1&operation=searchRetrieve
5
+ uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&operation=searchRetrieve&query=bath.lccn=2010526151&recordSchema=mods&version=1.1
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- accept:
11
- - ! '*/*'
12
- user-agent:
13
- - Ruby
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
14
16
  response:
15
17
  status:
16
18
  code: 200
17
19
  message: OK
18
20
  headers:
19
- content-length:
21
+ Content-Length:
20
22
  - '3719'
21
- server:
23
+ Server:
22
24
  - Metaproxy/1.5.3
23
- connection:
25
+ Connection:
24
26
  - Keep-Alive
25
- content-type:
27
+ Content-Type:
26
28
  - text/xml
27
29
  body:
28
- encoding: US-ASCII
29
- 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
30
+ encoding: UTF-8
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
30
32
  xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
31
33
  version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
32
34
  \ <titleInfo>\n <title>Search patterns</title>\n </titleInfo>\n <titleInfo
@@ -67,6 +69,6 @@ http_interactions:
67
69
  encoding=\"iso8601\">20111028110535.0</recordChangeDate>\n <recordIdentifier>16819621</recordIdentifier>\n
68
70
  \ <recordOrigin>Converted from MARCXML to MODS version 3.4 using MARC21slim2MODS3-4.xsl\n\t\t\t\t(Revision
69
71
  1.94 2014/02/21)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record></zs:records></zs:searchRetrieveResponse>\n"
70
- http_version: '1.1'
71
- recorded_at: Wed, 13 Aug 2014 07:51:03 GMT
72
- recorded_with: VCR 2.9.2
72
+ http_version:
73
+ recorded_at: Thu, 02 Oct 2014 12:13:01 GMT
74
+ recorded_with: VCR 2.9.3
@@ -2,31 +2,33 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&recordSchema=mods&query=bath.lccn=2001315134&version=1.1&operation=searchRetrieve
5
+ uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&operation=searchRetrieve&query=bath.lccn=2001315134&recordSchema=mods&version=1.1
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- accept:
11
- - ! '*/*'
12
- user-agent:
13
- - Ruby
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
14
16
  response:
15
17
  status:
16
18
  code: 200
17
19
  message: OK
18
20
  headers:
19
- content-length:
21
+ Content-Length:
20
22
  - '4304'
21
- server:
23
+ Server:
22
24
  - Metaproxy/1.5.3
23
- connection:
25
+ Connection:
24
26
  - Keep-Alive
25
- content-type:
27
+ Content-Type:
26
28
  - text/xml
27
29
  body:
28
- encoding: US-ASCII
29
- 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
30
+ encoding: UTF-8
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
30
32
  xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
31
33
  version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
32
34
  \ <titleInfo>\n <title>Oversight hearings to examine the laws, policies,
@@ -73,6 +75,6 @@ http_interactions:
73
75
  encoding=\"iso8601\">20030430134501.0</recordChangeDate>\n <recordIdentifier>12277596</recordIdentifier>\n
74
76
  \ <recordOrigin>Converted from MARCXML to MODS version 3.4 using MARC21slim2MODS3-4.xsl\n\t\t\t\t(Revision
75
77
  1.94 2014/02/21)</recordOrigin>\n </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record></zs:records></zs:searchRetrieveResponse>\n"
76
- http_version: '1.1'
77
- recorded_at: Fri, 15 Aug 2014 21:00:41 GMT
78
- recorded_with: VCR 2.9.2
78
+ http_version:
79
+ recorded_at: Thu, 02 Oct 2014 12:13:02 GMT
80
+ recorded_with: VCR 2.9.3
@@ -2,31 +2,33 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&recordSchema=mods&query=bath.lccn=00200486&version=1.1&operation=searchRetrieve
5
+ uri: http://lx2.loc.gov:210/LCDB?maximumRecords=10&operation=searchRetrieve&query=bath.lccn=00200486&recordSchema=mods&version=1.1
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- accept:
11
- - ! '*/*'
12
- user-agent:
13
- - Ruby
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
14
16
  response:
15
17
  status:
16
18
  code: 200
17
19
  message: OK
18
20
  headers:
19
- content-length:
21
+ Content-Length:
20
22
  - '3594'
21
- server:
23
+ Server:
22
24
  - Metaproxy/1.5.3
23
- connection:
25
+ Connection:
24
26
  - Keep-Alive
25
- content-type:
27
+ Content-Type:
26
28
  - text/xml
27
29
  body:
28
- encoding: US-ASCII
29
- 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
30
+ encoding: UTF-8
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
30
32
  xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.loc.gov/mods/v3\"
31
33
  version=\"3.4\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd\">\n
32
34
  \ <titleInfo>\n <title>Science and technology of advanced materials</title>\n
@@ -65,6 +67,6 @@ http_interactions:
65
67
  1.94 2014/02/21)</recordOrigin>\n <languageOfCataloging>\n <languageTerm
66
68
  authority=\"iso639-2b\" type=\"code\">eng</languageTerm>\n </languageOfCataloging>\n
67
69
  \ </recordInfo>\n</mods></zs:recordData><zs:recordPosition>1</zs:recordPosition></zs:record></zs:records></zs:searchRetrieveResponse>\n"
68
- http_version: '1.1'
69
- recorded_at: Fri, 15 Aug 2014 07:51:24 GMT
70
- recorded_with: VCR 2.9.2
70
+ http_version:
71
+ recorded_at: Thu, 02 Oct 2014 12:13:06 GMT
72
+ recorded_with: VCR 2.9.3