enju_ndl 0.1.0.pre37 → 0.1.0.pre38
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/ndl_books_controller.rb +1 -6
- data/lib/enju_ndl/ndl_search.rb +10 -10
- data/lib/enju_ndl/version.rb +1 -1
- data/spec/cassette_library/ImportRequest/should_import_isbn.yml +201 -186
- data/spec/cassette_library/Manifestation/should_imporrt_a_bibliographic_record.yml +864 -848
- data/spec/cassette_library/Manifestation/should_import_isbn.yml +203 -188
- data/spec/cassette_library/Manifestation/should_import_series_statement.yml +850 -820
- data/spec/cassette_library/NdlBook/import/should_get_series_title.yml +36 -13
- data/spec/cassette_library/NdlBook/import/should_get_volume_number.yml +48 -46
- data/spec/cassette_library/NdlBook/import/should_import_audio_cd.yml +10 -10
- data/spec/cassette_library/NdlBook/import/should_import_bibliographic_record.yml +139 -134
- data/spec/cassette_library/NdlBook/import/should_import_bibliographic_record_that_does_not_have_any_classifications.yml +12 -10
- data/spec/cassette_library/NdlBook/import/should_import_map.yml +12 -10
- data/spec/cassette_library/NdlBook/import/should_import_ndc8_classification.yml +152 -149
- data/spec/cassette_library/NdlBook/import/should_import_notated_music.yml +9 -9
- data/spec/cassette_library/NdlBook/import/should_import_painting.yml +10 -10
- data/spec/cassette_library/NdlBook/import/should_import_photograph.yml +10 -10
- data/spec/cassette_library/NdlBook/import/should_import_picture_postcard.yml +12 -10
- data/spec/cassette_library/NdlBook/import/should_import_publication_place.yml +146 -141
- data/spec/cassette_library/NdlBook/import/should_import_pud_date_is_nil.yml +10 -10
- data/spec/cassette_library/NdlBook/import/should_import_series_statement.yml +11 -9
- data/spec/cassette_library/NdlBook/import/should_import_series_statement_if_the_resource_is_serial.yml +12 -10
- data/spec/cassette_library/NdlBook/import/should_import_series_statement_s_creator.yml +184 -179
- data/spec/cassette_library/NdlBook/import/should_import_series_statement_transctiption.yml +143 -143
- data/spec/cassette_library/NdlBook/import/should_import_still_image.yml +117 -113
- data/spec/cassette_library/NdlBook/import/should_import_tactile_text.yml +10 -10
- data/spec/cassette_library/NdlBook/import/should_import_title_alternative.yml +179 -176
- data/spec/cassette_library/NdlBook/import/should_import_url_contain_whitespace.yml +134 -130
- data/spec/cassette_library/NdlBook/import/should_import_video_dvd.yml +10 -10
- data/spec/cassette_library/NdlBook/import/should_import_volume_number_string.yml +132 -130
- data/spec/cassette_library/NdlBook/import/should_not_get_series_title_if_book_has_not_series_title.yml +41 -16
- data/spec/cassette_library/NdlBook/import/should_not_get_volume_number_if_book_has_not_volume.yml +70 -48
- data/spec/cassette_library/NdlBook/search/should_not_distinguish_double_byte_space_from_one-byte_space_in_a_query.yml +649 -597
- data/spec/cassette_library/NdlBook/search/should_search_bibliographic_record.yml +42 -38
- data/spec/cassette_library/NdlBooksController/GET_index/should_get_index.yml +290 -302
- data/spec/cassette_library/NdlBooksController/POST_create/should_create_a_bibliographic_record_if_jpno_is_set.yml +149 -152
- data/spec/cassette_library/NdlBooksController/POST_create/should_create_a_serial_record.yml +12 -10
- data/spec/cassette_library/NdlBooksController/POST_create/should_not_create_a_bibliographic_record_if_jpno_is_not_set.yml +11 -11
- data/spec/cassette_library/Question/should_respond_to_search_crd.yml +209 -303
- data/spec/dummy/app/assets/javascripts/application.js +10 -6
- data/spec/dummy/db/schema.rb +97 -97
- data/spec/models/ndl_book_spec.rb +1 -1
- metadata +15 -15
@@ -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,15 +19,15 @@ http_interactions:
|
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Fri, 06 Nov 2015 15:56:42 GMT
|
23
23
|
Server:
|
24
24
|
- Apache
|
25
25
|
Etag:
|
26
|
-
- '"
|
26
|
+
- '"b0e879259d7e191dd594be9eda606013"'
|
27
27
|
X-Ua-Compatible:
|
28
28
|
- IE=Edge,chrome=1
|
29
29
|
X-Runtime:
|
30
|
-
- '0.
|
30
|
+
- '0.985662'
|
31
31
|
Cache-Control:
|
32
32
|
- max-age=0, private, must-revalidate
|
33
33
|
Status:
|
@@ -35,15 +35,17 @@ http_interactions:
|
|
35
35
|
Content-Type:
|
36
36
|
- application/xml; charset=utf-8
|
37
37
|
Set-Cookie:
|
38
|
-
- _front_session_id=
|
39
|
-
path=/; expires=
|
38
|
+
- _front_session_id=1c94294a65eeacd37ee4cba26c72bb9b; domain=.iss.ndl.go.jp;
|
39
|
+
path=/; expires=Fri, 06-Nov-2015 16:56:43 GMT; HttpOnly
|
40
40
|
- serverid=1101; path=/
|
41
|
-
Vary:
|
42
|
-
- Accept-Encoding,User-Agent
|
43
41
|
X-Content-Type-Options:
|
44
42
|
- nosniff
|
45
43
|
X-Frame-Options:
|
46
44
|
- SAMEORIGIN
|
45
|
+
Content-Length:
|
46
|
+
- '3493'
|
47
|
+
Accept-Ranges:
|
48
|
+
- none
|
47
49
|
Connection:
|
48
50
|
- close
|
49
51
|
body:
|
@@ -63,12 +65,12 @@ http_interactions:
|
|
63
65
|
YnJhcnkgc3lzdGVtIC0g5Zu956uL5Zu95Lya5Zuz5pu46aSo44K144O844OB
|
64
66
|
IE9wZW5TZWFyY2g8L3RpdGxlPgogICAgPGxpbms+aHR0cDovL2lzcy5uZGwu
|
65
67
|
Z28uanAvYXBpL29wZW5zZWFyY2g/YW55PWxpYnJhcnkrc3lzdGVtJmFtcDtt
|
66
|
-
|
68
|
+
ZWRpYXR5cGU9MSZhbXA7ZHBpZD1pc3MtbmRsLW9wYWMmYW1wO2lkeD0xJmFt
|
67
69
|
cDtjbnQ9MTA8L2xpbms+CiAgICA8ZGVzY3JpcHRpb24+U2VhcmNoIHJlc3Vs
|
68
70
|
dHMgZm9yIGFueT1saWJyYXJ5IHN5c3RlbSBtZWRp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YXRlZ29yeT7mnKw8L2NhdGVnb3J5PgogICAgICA8
|
388
390
|
Z3VpZCBpc1Blcm1hTGluaz0idHJ1ZSI+aHR0cDovL2lzcy5uZGwuZ28uanAv
|
389
|
-
|
391
|
+
Ym9va3MvUjEwMDAwMDAwMi1JMDAwMDA2MjEyMjU0LTAwPC9ndWlkPgogICAg
|
390
392
|
ICA8cHViRGF0ZT5TdW4sIDIxIE1hciAyMDA0IDA5OjAwOjAwICswOTAwPC9w
|
391
393
|
dWJEYXRlPgogICAgICA8ZGM6dGl0bGU+VGhlIFNvdmlldCBzeXN0ZW0gb2Yg
|
392
|
-
Z292ZXJubWVudDwvZGM6dGl0bGU+
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
394
|
+
Z292ZXJubWVudDwvZGM6dGl0bGU+CiAgICAgIDxkY25kbDplZGl0aW9uPjNk
|
395
|
+
IGVkLiwgcmV2LiBhbmQgZW5sPC9kY25kbDplZGl0aW9uPgogICAgICA8ZGNu
|
396
|
+
ZGw6c2VyaWVzVGl0bGU+VGhlIENoaWNhZ28gbGlicmFyeSBvZiBjb21wYXJh
|
397
|
+
dGl2ZSBwb2xpdGljczwvZGNuZGw6c2VyaWVzVGl0bGU+CiAgICAgIDxkYzpw
|
398
|
+
dWJsaXNoZXI+VW5pdmVyc2l0eSBvZiBDaGljYWdvIFByZXNzPC9kYzpwdWJs
|
399
|
+
aXNoZXI+CiAgICAgIDxkY3Rlcm1zOmlzc3VlZCB4c2k6dHlwZT0iZGN0ZXJt
|
400
|
+
czpXM0NEVEYiPjE5NjQ8L2RjdGVybXM6aXNzdWVkPgogICAgICA8ZGM6c3Vi
|
401
|
+
amVjdD5Db25zdGl0d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cm1zOmRlc2NyaXB0aW9uPgogICAg
|
417
|
+
ICA8cmRmczpzZWVBbHNvIHJkZjpyZXNvdXJjZT0iaHR0cDovL2lkLm5kbC5n
|
418
|
+
by5qcC9iaWIvMDAwMDA2MjEyMjU0Ii8+CiAgICA8L2l0ZW0+CiAgPC9jaGFu
|
419
|
+
bmVsPgo8L3Jzcz4K
|
416
420
|
http_version:
|
417
|
-
recorded_at:
|
418
|
-
recorded_with: VCR
|
421
|
+
recorded_at: Fri, 06 Nov 2015 15:56:43 GMT
|
422
|
+
recorded_with: VCR 3.0.0
|