enju_oai 0.1.0.pre13 → 0.1.0.pre14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. checksums.yaml +4 -4
  2. data/app/views/manifestations/identify.oai.builder +2 -2
  3. data/app/views/manifestations/index.oai.builder +1 -1
  4. data/app/views/manifestations/list_identifiers.oai.builder +2 -2
  5. data/app/views/manifestations/list_metadata_formats.oai.builder +1 -1
  6. data/app/views/manifestations/list_records.oai.builder +2 -2
  7. data/app/views/manifestations/list_sets.oai.builder +1 -1
  8. data/app/views/manifestations/show.oai.builder +1 -1
  9. data/lib/enju_oai/version.rb +1 -1
  10. data/spec/dummy/app/models/user.rb +5 -91
  11. data/spec/dummy/db/migrate/001_create_agents.rb +0 -3
  12. data/spec/dummy/db/migrate/002_devise_create_users.rb +16 -6
  13. data/spec/dummy/db/migrate/005_create_manifestations.rb +0 -1
  14. data/spec/dummy/db/migrate/006_create_items.rb +0 -3
  15. data/spec/dummy/db/migrate/029_create_subjects.rb +27 -0
  16. data/spec/dummy/db/migrate/032_create_checkins.rb +17 -0
  17. data/spec/dummy/db/migrate/033_create_checkouts.rb +25 -0
  18. data/spec/dummy/db/migrate/035_create_reserves.rb +26 -0
  19. data/spec/dummy/db/migrate/080_create_library_groups.rb +0 -1
  20. data/spec/dummy/db/migrate/113_create_events.rb +23 -0
  21. data/spec/dummy/db/migrate/114_create_event_categories.rb +16 -0
  22. data/spec/dummy/db/migrate/121_create_checked_items.rb +17 -0
  23. data/spec/dummy/db/migrate/127_create_use_restrictions.rb +16 -0
  24. data/spec/dummy/db/migrate/129_create_item_has_use_restrictions.rb +16 -0
  25. data/spec/dummy/db/migrate/132_create_circulation_statuses.rb +16 -0
  26. data/spec/dummy/db/migrate/142_create_classifications.rb +19 -0
  27. data/spec/dummy/db/migrate/144_create_classification_types.rb +16 -0
  28. data/spec/dummy/db/migrate/145_create_subject_heading_types.rb +16 -0
  29. data/spec/dummy/db/migrate/146_create_subject_types.rb +16 -0
  30. data/spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb +0 -2
  31. data/spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb +0 -2
  32. data/spec/dummy/db/migrate/20081028093607_create_event_import_files.rb +25 -0
  33. data/spec/dummy/db/migrate/20081030023412_create_checkout_types.rb +17 -0
  34. data/spec/dummy/db/migrate/20081030023518_create_user_group_has_checkout_types.rb +25 -0
  35. data/spec/dummy/db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb +18 -0
  36. data/spec/dummy/db/migrate/20081212075554_create_checkout_stat_has_manifestations.rb +17 -0
  37. data/spec/dummy/db/migrate/20081212080038_create_manifestation_checkout_stats.rb +15 -0
  38. data/spec/dummy/db/migrate/20081215094302_create_user_checkout_stats.rb +15 -0
  39. data/spec/dummy/db/migrate/20081215094955_create_checkout_stat_has_users.rb +17 -0
  40. data/spec/dummy/db/migrate/20081216190517_create_reserve_stat_has_manifestations.rb +17 -0
  41. data/spec/dummy/db/migrate/20081216190724_create_manifestation_reserve_stats.rb +15 -0
  42. data/spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb +15 -0
  43. data/spec/dummy/db/migrate/20081220034117_create_reserve_stat_has_users.rb +17 -0
  44. data/spec/dummy/db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb +23 -0
  45. data/spec/dummy/db/migrate/20090519203307_create_participates.rb +17 -0
  46. data/spec/dummy/db/migrate/20090831220301_create_lending_policies.rb +21 -0
  47. data/spec/dummy/db/migrate/20100129142347_create_import_requests.rb +0 -1
  48. data/spec/dummy/db/migrate/20100925074639_create_event_import_results.rb +15 -0
  49. data/spec/dummy/db/migrate/20110301134521_add_expire_date_to_reserve.rb +9 -0
  50. data/spec/dummy/db/migrate/20110328130826_add_current_checkout_count_to_user_group_has_checkout_type.rb +9 -0
  51. data/spec/dummy/db/migrate/20110621093332_remove_expire_date_from_reserve.rb +9 -0
  52. data/spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb +9 -0
  53. data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +12 -0
  54. data/spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb +13 -0
  55. data/spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb +11 -0
  56. data/spec/dummy/db/migrate/20111217234412_add_save_checkout_history_to_user.rb +5 -0
  57. data/spec/dummy/db/migrate/20111218002349_add_checkout_icalendar_token_to_user.rb +6 -0
  58. data/spec/dummy/db/migrate/20120406020752_add_url_to_subject.rb +5 -0
  59. data/spec/dummy/db/migrate/20120413051535_add_event_import_fingerprint_to_event_import_file.rb +5 -0
  60. data/spec/dummy/db/migrate/20120413170734_add_error_message_to_event_import_file.rb +5 -0
  61. data/spec/dummy/db/migrate/20120415060342_rename_event_import_file_imported_at_to_executed_at.rb +9 -0
  62. data/spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb +5 -0
  63. data/spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb +0 -10
  64. data/spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb +5 -0
  65. data/spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb +5 -0
  66. data/spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb +8 -0
  67. data/spec/dummy/db/migrate/20130504133816_add_manifestation_id_to_subject.rb +6 -0
  68. data/spec/dummy/db/migrate/20130504143515_add_manifestation_id_to_classification.rb +6 -0
  69. data/spec/dummy/db/migrate/20130504195916_add_subject_heading_type_id_to_subject.rb +5 -0
  70. data/spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb +5 -0
  71. data/spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb +5 -0
  72. data/spec/dummy/db/migrate/20140110122216_create_user_import_files.rb +18 -0
  73. data/spec/dummy/db/migrate/20140110131010_create_user_import_results.rb +11 -0
  74. data/spec/dummy/db/migrate/20140122054321_create_profiles.rb +20 -0
  75. data/spec/dummy/db/migrate/20140518050147_create_reserve_transitions.rb +14 -0
  76. data/spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb +14 -0
  77. data/spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb +14 -0
  78. data/spec/dummy/db/migrate/20140523171309_create_event_import_file_transitions.rb +14 -0
  79. data/spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb +14 -0
  80. data/spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb +14 -0
  81. data/spec/dummy/db/migrate/20140528045518_create_user_checkout_stat_transitions.rb +14 -0
  82. data/spec/dummy/db/migrate/20140528045539_create_user_reserve_stat_transitions.rb +14 -0
  83. data/spec/dummy/db/migrate/20140528045600_create_manifestation_checkout_stat_transitions.rb +14 -0
  84. data/spec/dummy/db/migrate/20140528045617_create_manifestation_reserve_stat_transitions.rb +14 -0
  85. data/spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb +11 -0
  86. data/spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb +11 -0
  87. data/spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb +14 -0
  88. data/spec/dummy/db/migrate/20140628071719_add_user_encoding_to_event_import_file.rb +5 -0
  89. data/spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb +5 -0
  90. data/spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb +5 -0
  91. data/spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb +5 -0
  92. data/spec/dummy/db/migrate/20140709113413_create_user_export_files.rb +11 -0
  93. data/spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb +14 -0
  94. data/spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb +8 -0
  95. data/spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb +5 -0
  96. data/spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb +5 -0
  97. data/spec/dummy/db/migrate/20140720192418_add_default_library_id_to_event_import_file.rb +5 -0
  98. data/spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb +5 -0
  99. data/spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb +6 -0
  100. data/spec/dummy/db/migrate/20140810061942_add_user_id_to_user_checkout_stat.rb +12 -0
  101. data/spec/dummy/db/migrate/20140810091231_add_checkout_icalendar_token_to_profile.rb +6 -0
  102. data/spec/dummy/db/migrate/20140810091417_add_save_checkout_history_to_profile.rb +5 -0
  103. data/spec/dummy/db/migrate/20140811031145_add_expired_at_to_profile.rb +5 -0
  104. data/spec/dummy/db/migrate/20140812152348_create_event_export_files.rb +11 -0
  105. data/spec/dummy/db/migrate/20140812153137_create_event_export_file_transitions.rb +14 -0
  106. data/spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb +5 -0
  107. data/spec/dummy/db/migrate/20140814070854_add_default_event_category_id_to_event_import_file.rb +5 -0
  108. data/spec/dummy/db/schema.rb +678 -42
  109. data/spec/dummy/db/test.sqlite3 +0 -0
  110. data/spec/dummy/solr/default/data/index/_6y.fdt +0 -0
  111. data/spec/dummy/solr/default/data/index/{_5a.si → _6y.si} +0 -0
  112. data/spec/dummy/solr/default/data/index/{_5a_Lucene41_0.tim → _6y_Lucene41_0.tim} +0 -0
  113. data/spec/dummy/solr/default/data/index/_6y_Lucene41_0.tip +0 -0
  114. data/spec/dummy/solr/default/data/index/_6z.fdt +0 -0
  115. data/spec/dummy/solr/default/data/index/{_5b.si → _6z.si} +0 -0
  116. data/spec/dummy/solr/default/data/index/{_5b_Lucene41_0.tim → _6z_Lucene41_0.tim} +0 -0
  117. data/spec/dummy/solr/default/data/index/_6z_Lucene41_0.tip +0 -0
  118. data/spec/dummy/solr/default/data/index/_70.fdt +0 -0
  119. data/spec/dummy/solr/default/data/index/_70.nvd +0 -0
  120. data/spec/dummy/solr/default/data/index/{_5c.si → _70.si} +0 -0
  121. data/spec/dummy/solr/default/data/index/_70_Lucene41_0.doc +0 -0
  122. data/spec/dummy/solr/default/data/index/_70_Lucene41_0.pos +0 -0
  123. data/spec/dummy/solr/default/data/index/_70_Lucene41_0.tim +0 -0
  124. data/spec/dummy/solr/default/data/index/_70_Lucene41_0.tip +0 -0
  125. data/spec/dummy/solr/default/data/index/segments.gen +0 -0
  126. data/spec/dummy/solr/default/data/index/segments_9l +0 -0
  127. data/spec/dummy/solr/default/data/tlog/{tlog.0000000000000000261 → tlog.0000000000000000341} +0 -0
  128. data/spec/dummy/solr/default/data/tlog/{tlog.0000000000000000262 → tlog.0000000000000000342} +0 -0
  129. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000343 +0 -0
  130. data/spec/fixtures/agent_import_files.yml +12 -16
  131. data/spec/fixtures/agent_import_results.yml +5 -5
  132. data/spec/fixtures/agent_relationship_types.yml +7 -7
  133. data/spec/fixtures/agent_relationships.yml +6 -6
  134. data/spec/fixtures/agent_types.yml +7 -7
  135. data/spec/fixtures/agents.yml +10 -23
  136. data/spec/fixtures/baskets.yml +80 -0
  137. data/spec/fixtures/carrier_types.yml +6 -6
  138. data/spec/fixtures/circulation_statuses.yml +136 -0
  139. data/spec/fixtures/content_types.yml +4 -4
  140. data/spec/fixtures/countries.yml +2 -2
  141. data/spec/fixtures/create_types.yml +3 -3
  142. data/spec/fixtures/creates.yml +5 -6
  143. data/spec/fixtures/donates.yml +5 -5
  144. data/spec/fixtures/event_categories.yml +55 -0
  145. data/spec/fixtures/events.yml +142 -0
  146. data/spec/fixtures/exemplifies.yml +5 -6
  147. data/spec/fixtures/extents.yml +4 -4
  148. data/spec/fixtures/form_of_works.yml +4 -4
  149. data/spec/fixtures/frequencies.yml +4 -4
  150. data/spec/fixtures/identifier_types.yml +7 -0
  151. data/spec/fixtures/import_requests.yml +3 -7
  152. data/spec/fixtures/item_has_use_restrictions.yml +61 -0
  153. data/spec/fixtures/items.yml +93 -19
  154. data/spec/fixtures/languages.yml +3 -3
  155. data/spec/fixtures/library_groups.yml +0 -2
  156. data/spec/fixtures/licenses.yml +4 -4
  157. data/spec/fixtures/manifestation_relationship_types.yml +4 -4
  158. data/spec/fixtures/manifestation_relationships.yml +3 -3
  159. data/spec/fixtures/manifestations.yml +1 -2
  160. data/spec/fixtures/medium_of_performances.yml +4 -4
  161. data/spec/fixtures/owns.yml +5 -5
  162. data/spec/fixtures/picture_files.yml +4 -4
  163. data/spec/fixtures/produce_types.yml +3 -3
  164. data/spec/fixtures/produces.yml +5 -6
  165. data/spec/fixtures/profiles.yml +98 -0
  166. data/spec/fixtures/realize_types.yml +3 -3
  167. data/spec/fixtures/realizes.yml +5 -6
  168. data/spec/fixtures/series_statements.yml +15 -2
  169. data/spec/fixtures/user_group_has_checkout_types.yml +111 -0
  170. data/spec/fixtures/user_groups.yml +10 -3
  171. data/spec/fixtures/users.yml +0 -42
  172. data/spec/spec_helper.rb +5 -0
  173. metadata +282 -82
  174. data/spec/dummy/solr/default/data/index/_5a.fdt +0 -0
  175. data/spec/dummy/solr/default/data/index/_5a_Lucene41_0.tip +0 -0
  176. data/spec/dummy/solr/default/data/index/_5b.fdt +0 -0
  177. data/spec/dummy/solr/default/data/index/_5b_Lucene41_0.tip +0 -0
  178. data/spec/dummy/solr/default/data/index/_5c.fdt +0 -0
  179. data/spec/dummy/solr/default/data/index/_5c.nvd +0 -0
  180. data/spec/dummy/solr/default/data/index/_5c_Lucene41_0.doc +0 -0
  181. data/spec/dummy/solr/default/data/index/_5c_Lucene41_0.pos +0 -0
  182. data/spec/dummy/solr/default/data/index/_5c_Lucene41_0.tim +0 -0
  183. data/spec/dummy/solr/default/data/index/_5c_Lucene41_0.tip +0 -0
  184. data/spec/dummy/solr/default/data/index/segments_7d +0 -0
  185. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000263 +0 -0
  186. data/spec/fixtures/resource_import_files.yml +0 -47
  187. data/spec/fixtures/resource_import_results.yml +0 -29
  188. /data/spec/dummy/solr/default/data/index/{_5a.fdx → _6y.fdx} +0 -0
  189. /data/spec/dummy/solr/default/data/index/{_5a.fnm → _6y.fnm} +0 -0
  190. /data/spec/dummy/solr/default/data/index/{_5a.nvd → _6y.nvd} +0 -0
  191. /data/spec/dummy/solr/default/data/index/{_5a.nvm → _6y.nvm} +0 -0
  192. /data/spec/dummy/solr/default/data/index/{_5a_Lucene41_0.doc → _6y_Lucene41_0.doc} +0 -0
  193. /data/spec/dummy/solr/default/data/index/{_5a_Lucene41_0.pos → _6y_Lucene41_0.pos} +0 -0
  194. /data/spec/dummy/solr/default/data/index/{_5b.fdx → _6z.fdx} +0 -0
  195. /data/spec/dummy/solr/default/data/index/{_5b.fnm → _6z.fnm} +0 -0
  196. /data/spec/dummy/solr/default/data/index/{_5b.nvd → _6z.nvd} +0 -0
  197. /data/spec/dummy/solr/default/data/index/{_5b.nvm → _6z.nvm} +0 -0
  198. /data/spec/dummy/solr/default/data/index/{_5b_Lucene41_0.doc → _6z_Lucene41_0.doc} +0 -0
  199. /data/spec/dummy/solr/default/data/index/{_5b_Lucene41_0.pos → _6z_Lucene41_0.pos} +0 -0
  200. /data/spec/dummy/solr/default/data/index/{_5c.fdx → _70.fdx} +0 -0
  201. /data/spec/dummy/solr/default/data/index/{_5c.fnm → _70.fnm} +0 -0
  202. /data/spec/dummy/solr/default/data/index/{_5c.nvm → _70.nvm} +0 -0
@@ -0,0 +1,55 @@
1
+ ---
2
+ event_category_00002:
3
+ name: closed
4
+ display_name: 休館日
5
+ updated_at: 2008-01-01 16:24:32.561469 +09:00
6
+ id: 2
7
+ note: ""
8
+ created_at: 2008-01-01 16:17:34.642433 +09:00
9
+ position: 2
10
+ event_category_00003:
11
+ name: おはなし会
12
+ display_name: おはなし会
13
+ updated_at: 2008-01-01 16:24:45.267241 +09:00
14
+ id: 3
15
+ note: ""
16
+ created_at: 2008-01-01 16:17:45.415487 +09:00
17
+ position: 3
18
+ event_category_00004:
19
+ name: 上映会
20
+ display_name: 上映会
21
+ updated_at: 2008-01-01 16:24:55.261682 +09:00
22
+ id: 4
23
+ note: ""
24
+ created_at: 2008-01-01 16:18:08.868680 +09:00
25
+ position: 4
26
+ event_category_00005:
27
+ name: 講演会
28
+ display_name: 講演会
29
+ updated_at: 2008-01-01 16:25:04.251141 +09:00
30
+ id: 5
31
+ note: ""
32
+ created_at: 2008-01-01 16:25:04.251141 +09:00
33
+ position: 5
34
+ event_category_00001:
35
+ name: unknown
36
+ display_name: (not specified)
37
+ updated_at: 2008-01-01 16:24:17.869192 +09:00
38
+ id: 1
39
+ note: ""
40
+ created_at: 2008-01-01 16:17:12.549565 +09:00
41
+ position: 1
42
+
43
+ # == Schema Information
44
+ #
45
+ # Table name: event_categories
46
+ #
47
+ # id :integer not null, primary key
48
+ # name :string(255) not null
49
+ # display_name :text
50
+ # note :text
51
+ # position :integer
52
+ # created_at :datetime
53
+ # updated_at :datetime
54
+ #
55
+
@@ -0,0 +1,142 @@
1
+ ---
2
+ event_00001:
3
+ updated_at: 2008-01-13 02:54:43.764011 +09:00
4
+ event_category_id: 1
5
+ end_at: 2008-01-14 02:54:00 +09:00
6
+ name: !binary |
7
+ 5LuV5LqL5aeL44KB
8
+
9
+ display_name: !binary |
10
+ 5LuV5LqL5aeL44KB
11
+
12
+ deleted_at:
13
+ start_at: 2008-01-13 02:54:00 +09:00
14
+ id: 1
15
+ note: !binary |
16
+ 44Gq44KT44Go44GL44GL44KT44Go44GL
17
+
18
+ library_id: 2
19
+ created_at: 2008-01-01 16:20:54.372729 +09:00
20
+ event_00002:
21
+ updated_at: 2008-01-13 02:54:21.134175 +09:00
22
+ event_category_id: 2
23
+ end_at: 2008-01-14 02:54:00 +09:00
24
+ name: !binary |
25
+ 44OG44K544OI
26
+
27
+ display_name: !binary |
28
+ 44OG44K544OI
29
+
30
+ deleted_at:
31
+ start_at: 2008-01-13 02:54:00 +09:00
32
+ id: 2
33
+ note: !binary |
34
+ 44OG44K544OI55So44Gu44Kk44OZ44Oz44OI44Gn44GZ44CC
35
+
36
+ library_id: 2
37
+ created_at: 2008-01-01 20:54:25.803201 +09:00
38
+ event_00003:
39
+ updated_at: 2008-02-05 20:00:35.319131 +09:00
40
+ event_category_id: 1
41
+ end_at: 2008-02-05 00:00:00 +09:00
42
+ name: !binary |
43
+ 44Of44O844OG44Kj44Oz44Kw
44
+
45
+ display_name: !binary |
46
+ 44Of44O844OG44Kj44Oz44Kw
47
+
48
+ deleted_at:
49
+ start_at: 2008-01-13 00:00:00 +09:00
50
+ id: 3
51
+ note: ""
52
+ library_id: 2
53
+ created_at: 2008-01-13 02:51:10.642395 +09:00
54
+ event_00004:
55
+ updated_at: 2008-02-05 15:43:42.617670 +09:00
56
+ event_category_id: 4
57
+ end_at: 2008-02-06 00:00:00 +09:00
58
+ name: !binary |
59
+ 44OG44K544OI
60
+
61
+ display_name: !binary |
62
+ 44OG44K544OI
63
+
64
+ deleted_at:
65
+ start_at: 2008-02-05 00:00:00 +09:00
66
+ id: 4
67
+ note: !binary |
68
+ 44Gq44KT44Go44GL44GL44KT44Go44GL
69
+
70
+ library_id: 3
71
+ created_at: 2008-02-05 15:43:42.617670 +09:00
72
+ event_00005:
73
+ updated_at: 2008-02-05 20:41:50.533164 +09:00
74
+ event_category_id: 1
75
+ end_at: 2008-02-08 00:00:00 +09:00
76
+ name: test
77
+ display_name: test
78
+ deleted_at:
79
+ start_at: 2008-02-05 00:00:00 +09:00
80
+ id: 5
81
+ note: ""
82
+ library_id: 2
83
+ created_at: 2008-02-05 20:41:50.533164 +09:00
84
+ event_00006:
85
+ updated_at: 2008-02-05 23:52:06.315285 +09:00
86
+ event_category_id: 2
87
+ end_at: 2008-02-08 00:00:00 +09:00
88
+ name: !binary |
89
+ 44Gq44KT44Go44GL44GL44KT44Go44GL
90
+
91
+ display_name: !binary |
92
+ 44Gq44KT44Go44GL44GL44KT44Go44GL
93
+
94
+ deleted_at:
95
+ start_at: 2008-02-05 00:00:00 +09:00
96
+ id: 6
97
+ note: ""
98
+ library_id: 2
99
+ created_at: 2008-02-05 20:50:26.651371 +09:00
100
+ event_00007:
101
+ updated_at: 2008-02-05 21:00:53.926050 +09:00
102
+ event_category_id: 1
103
+ end_at: 2008-02-08 00:00:00 +09:00
104
+ name: test
105
+ display_name: test
106
+ deleted_at:
107
+ start_at: 2008-02-05 00:00:00 +09:00
108
+ id: 7
109
+ note: test
110
+ library_id: 2
111
+ created_at: 2008-02-05 21:00:53.926050 +09:00
112
+ event_00008:
113
+ updated_at: 2008-02-05 21:00:53.926050 +09:00
114
+ event_category_id: 1
115
+ end_at: 2008-02-05 15:00:00 +09:00
116
+ name: test
117
+ display_name: test
118
+ deleted_at:
119
+ start_at: 2008-02-05 15:00:00 +09:00
120
+ id: 8
121
+ note: test
122
+ library_id: 2
123
+ created_at: 2008-02-05 21:00:53.926050 +09:00
124
+
125
+ # == Schema Information
126
+ #
127
+ # Table name: events
128
+ #
129
+ # id :integer not null, primary key
130
+ # library_id :integer default(1), not null
131
+ # event_category_id :integer default(1), not null
132
+ # name :string(255)
133
+ # note :text
134
+ # start_at :datetime
135
+ # end_at :datetime
136
+ # all_day :boolean default(FALSE), not null
137
+ # deleted_at :datetime
138
+ # created_at :datetime
139
+ # updated_at :datetime
140
+ # display_name :text
141
+ #
142
+
@@ -146,16 +146,15 @@ exemplify_00023:
146
146
  id: 23
147
147
  created_at: 2008-01-11 02:44:37.135721 +09:00
148
148
 
149
-
150
149
  # == Schema Information
151
150
  #
152
151
  # Table name: exemplifies
153
152
  #
154
- # id :integer not null, primary key
155
- # manifestation_id :integer not null
156
- # item_id :integer not null
153
+ # id :integer not null, primary key
154
+ # manifestation_id :integer not null
155
+ # item_id :integer not null
157
156
  # position :integer
158
- # created_at :datetime not null
159
- # updated_at :datetime not null
157
+ # created_at :datetime not null
158
+ # updated_at :datetime not null
160
159
  #
161
160
 
@@ -18,12 +18,12 @@ two:
18
18
  #
19
19
  # Table name: extents
20
20
  #
21
- # id :integer not null, primary key
22
- # name :string(255) not null
21
+ # id :integer not null, primary key
22
+ # name :string(255) not null
23
23
  # display_name :text
24
24
  # note :text
25
25
  # position :integer
26
- # created_at :datetime
27
- # updated_at :datetime
26
+ # created_at :datetime not null
27
+ # updated_at :datetime not null
28
28
  #
29
29
 
@@ -28,12 +28,12 @@ form_of_work_00003:
28
28
  #
29
29
  # Table name: form_of_works
30
30
  #
31
- # id :integer not null, primary key
32
- # name :string(255) not null
31
+ # id :integer not null, primary key
32
+ # name :string(255) not null
33
33
  # display_name :text
34
34
  # note :text
35
35
  # position :integer
36
- # created_at :datetime
37
- # updated_at :datetime
36
+ # created_at :datetime not null
37
+ # updated_at :datetime not null
38
38
  #
39
39
 
@@ -74,12 +74,12 @@ frequency_00006:
74
74
  #
75
75
  # Table name: frequencies
76
76
  #
77
- # id :integer not null, primary key
78
- # name :string(255) not null
77
+ # id :integer not null, primary key
78
+ # name :string(255) not null
79
79
  # display_name :text
80
80
  # note :text
81
81
  # position :integer
82
- # created_at :datetime
83
- # updated_at :datetime
82
+ # created_at :datetime not null
83
+ # updated_at :datetime not null
84
84
  #
85
85
 
@@ -14,6 +14,13 @@ two:
14
14
  position: 2
15
15
  id: 2
16
16
 
17
+ three:
18
+ name: jpno
19
+ display_name: JPNO
20
+ note:
21
+ position: 3
22
+ id: 3
23
+
17
24
  # == Schema Information
18
25
  #
19
26
  # Table name: identifier_types
@@ -2,13 +2,11 @@
2
2
 
3
3
  one:
4
4
  isbn: '978-4774142043'
5
- state: pending
6
5
  manifestation_id: 1
7
6
  user_id: 1
8
7
 
9
8
  two:
10
9
  isbn: '978-4774141640'
11
- state: pending
12
10
  manifestation_id: 2
13
11
  user_id: 1
14
12
 
@@ -16,12 +14,10 @@ two:
16
14
  #
17
15
  # Table name: import_requests
18
16
  #
19
- # id :integer not null, primary key
17
+ # id :integer not null, primary key
20
18
  # isbn :string(255)
21
- # state :string(255)
22
19
  # manifestation_id :integer
23
20
  # user_id :integer
24
- # created_at :datetime
25
- # updated_at :datetime
21
+ # created_at :datetime not null
22
+ # updated_at :datetime not null
26
23
  #
27
-
@@ -0,0 +1,61 @@
1
+ ---
2
+ item_has_use_restriction_00001:
3
+ item_id: 1
4
+ updated_at: 2008-02-13 12:29:36.013448 +09:00
5
+ id: 1
6
+ use_restriction_id: 10
7
+ created_at: 2008-02-13 12:29:36.013448 +09:00
8
+ item_has_use_restriction_00002:
9
+ item_id: 2
10
+ updated_at: 2008-02-13 17:58:37.527556 +09:00
11
+ id: 2
12
+ use_restriction_id: 2
13
+ created_at: 2008-02-13 17:58:37.527556 +09:00
14
+ item_has_use_restriction_00003:
15
+ item_id: 3
16
+ updated_at: 2008-02-13 17:58:49.490086 +09:00
17
+ id: 3
18
+ use_restriction_id: 3
19
+ created_at: 2008-02-13 17:58:49.490086 +09:00
20
+ item_has_use_restriction_00004:
21
+ item_id: 17
22
+ updated_at: 2008-02-13 12:29:36.013448 +09:00
23
+ id: 4
24
+ use_restriction_id: 6
25
+ created_at: 2008-02-13 12:29:36.013448 +09:00
26
+ item_has_use_restriction_00005:
27
+ item_id: 21
28
+ updated_at: 2008-02-13 12:29:36.013448 +09:00
29
+ id: 5
30
+ use_restriction_id: 6
31
+ created_at: 2008-02-13 12:29:36.013448 +09:00
32
+ item_has_use_restriction_00006:
33
+ item_id: 11
34
+ updated_at: 2008-02-13 12:29:36.013448 +09:00
35
+ id: 6
36
+ use_restriction_id: 6
37
+ created_at: 2008-02-13 12:29:36.013448 +09:00
38
+ item_has_use_restriction_00007:
39
+ item_id: 6
40
+ updated_at: 2008-02-13 12:29:36.013448 +09:00
41
+ id: 7
42
+ use_restriction_id: 6
43
+ created_at: 2008-02-13 12:29:36.013448 +09:00
44
+ item_has_use_restriction_00008:
45
+ item_id: 23
46
+ updated_at: 2008-02-13 12:29:36.013448 +09:00
47
+ id: 8
48
+ use_restriction_id: 6
49
+ created_at: 2008-02-13 12:29:36.013448 +09:00
50
+
51
+ # == Schema Information
52
+ #
53
+ # Table name: item_has_use_restrictions
54
+ #
55
+ # id :integer not null, primary key
56
+ # item_id :integer not null
57
+ # use_restriction_id :integer not null
58
+ # created_at :datetime
59
+ # updated_at :datetime
60
+ #
61
+
@@ -2,208 +2,282 @@
2
2
  item_00001:
3
3
  updated_at: 2007-08-24 23:46:00.484813 +09:00
4
4
  item_identifier: '00001'
5
+ circulation_status_id: 2
6
+ checkout_type_id: 1
5
7
  shelf_id: 1
6
8
  call_number:
9
+ manifestation_id: 1
7
10
  id: 1
8
11
  include_supplements: false
9
12
  created_at: 2007-08-24 23:46:00.484813 +09:00
10
13
  item_00002:
11
14
  updated_at: 2007-08-24 23:46:01.641413 +09:00
12
15
  item_identifier: '00002'
16
+ circulation_status_id: 2
17
+ checkout_type_id: 1
13
18
  shelf_id: 1
14
19
  call_number:
20
+ manifestation_id: 2
15
21
  id: 2
16
22
  include_supplements: false
17
23
  created_at: 2007-08-24 23:46:01.641413 +09:00
18
24
  item_00003:
19
25
  updated_at: 2007-08-24 23:46:02.502569 +09:00
20
26
  item_identifier: '00003'
27
+ circulation_status_id: 2
28
+ checkout_type_id: 2
21
29
  shelf_id: 1
22
30
  call_number:
31
+ manifestation_id: 3
23
32
  id: 3
24
33
  include_supplements: false
25
34
  created_at: 2007-08-24 23:46:02.502569 +09:00
26
35
  item_00004:
27
36
  updated_at: 2007-08-24 23:46:03.520781 +09:00
28
37
  item_identifier: '00004'
38
+ circulation_status_id: 2
39
+ checkout_type_id: 1
29
40
  shelf_id: 1
30
41
  call_number:
42
+ manifestation_id: 1
31
43
  id: 4
32
44
  include_supplements: true
33
45
  created_at: 2007-08-24 23:46:03.520781 +09:00
34
46
  item_00005:
35
47
  updated_at: 2007-08-24 23:46:04.538073 +09:00
36
48
  item_identifier: '00005'
49
+ circulation_status_id: 2
50
+ checkout_type_id: 2
37
51
  shelf_id: 1
38
52
  call_number:
53
+ manifestation_id: 2
39
54
  id: 5
40
55
  include_supplements: false
41
56
  created_at: 2007-08-24 23:46:04.538073 +09:00
42
57
  item_00006:
43
58
  updated_at: 2007-08-24 23:46:05.555353 +09:00
44
59
  item_identifier: '00006'
60
+ circulation_status_id: 2
61
+ checkout_type_id: 2
45
62
  shelf_id: 1
46
63
  call_number:
64
+ manifestation_id: 3
47
65
  id: 6
48
66
  include_supplements: true
49
67
  created_at: 2007-08-24 23:46:05.555353 +09:00
50
68
  item_00007:
51
69
  updated_at: 2007-08-24 23:46:06.572631 +09:00
52
70
  item_identifier: '00007'
71
+ circulation_status_id: 2
72
+ checkout_type_id: 1
53
73
  shelf_id: 1
54
74
  call_number:
75
+ manifestation_id: 1
55
76
  id: 7
56
77
  include_supplements: false
57
78
  created_at: 2007-08-24 23:46:06.572631 +09:00
58
79
  item_00008:
59
80
  updated_at: 2007-08-24 23:46:07.589909 +09:00
60
81
  item_identifier: '00008'
82
+ circulation_status_id: 2
83
+ checkout_type_id: 2
61
84
  shelf_id: 1
62
85
  call_number:
86
+ manifestation_id: 2
63
87
  id: 8
64
88
  include_supplements: true
65
89
  created_at: 2007-08-24 23:46:07.589909 +09:00
66
90
  item_00009:
67
91
  updated_at: 2007-08-24 23:46:08.607081 +09:00
68
92
  item_identifier: '00009'
93
+ circulation_status_id: 2
94
+ checkout_type_id: 1
69
95
  shelf_id: 4
70
96
  call_number:
97
+ manifestation_id: 3
71
98
  id: 9
72
99
  include_supplements: false
73
100
  created_at: 2007-08-24 23:46:08.607081 +09:00
74
101
  item_00010:
75
102
  updated_at: 2007-08-24 23:46:09.624281 +09:00
76
103
  item_identifier: '00010'
104
+ circulation_status_id: 2
105
+ checkout_type_id: 2
77
106
  shelf_id: 1
78
107
  call_number:
108
+ manifestation_id: 1
79
109
  id: 10
80
110
  include_supplements: false
81
111
  created_at: 2007-08-24 23:46:09.624281 +09:00
82
112
  item_00011:
83
113
  updated_at: 2007-08-24 23:46:10.484813 +09:00
84
114
  item_identifier: '00011'
115
+ circulation_status_id: 2
116
+ checkout_type_id: 1
85
117
  shelf_id: 1
86
118
  call_number:
119
+ manifestation_id: 1
87
120
  id: 11
88
121
  include_supplements: false
89
122
  created_at: 2007-08-24 23:46:10.484813 +09:00
90
123
  item_00012:
91
124
  updated_at: 2007-08-24 23:46:11.484813 +09:00
92
125
  item_identifier: '00012'
126
+ circulation_status_id: 3
127
+ checkout_type_id: 2
93
128
  shelf_id: 1
94
129
  call_number:
130
+ manifestation_id: 2
95
131
  id: 12
96
132
  include_supplements: false
97
133
  created_at: 2007-08-24 23:46:11.484813 +09:00
98
134
  item_00013:
99
135
  updated_at: 2007-08-24 23:46:12.484813 +09:00
100
136
  item_identifier: '00013'
137
+ circulation_status_id: 10
138
+ checkout_type_id: 1
101
139
  shelf_id: 1
102
140
  call_number:
141
+ manifestation_id: 2
103
142
  id: 13
104
143
  include_supplements: false
105
144
  created_at: 2007-08-24 23:46:12.484813 +09:00
106
145
  item_00014:
107
146
  updated_at: 2007-08-24 23:46:13.484813 +09:00
108
147
  item_identifier: '00014'
148
+ circulation_status_id: 10
149
+ checkout_type_id: 2
109
150
  shelf_id: 1
110
151
  call_number:
152
+ manifestation_id: 2
111
153
  id: 14
112
154
  include_supplements: false
113
155
  created_at: 2007-08-24 23:46:13.484813 +09:00
114
156
  item_00015:
115
157
  updated_at: 2007-08-24 23:46:14.484813 +09:00
116
158
  item_identifier: '00015'
159
+ circulation_status_id: 10
160
+ checkout_type_id: 3
117
161
  shelf_id: 1
118
162
  call_number:
163
+ manifestation_id: 2
119
164
  id: 15
120
165
  include_supplements: false
121
166
  created_at: 2007-08-24 23:46:14.484813 +09:00
122
167
  item_00016:
123
168
  updated_at: 2007-08-24 23:46:15.484813 +09:00
124
169
  item_identifier: '00016'
170
+ circulation_status_id: 10
171
+ checkout_type_id: 2
125
172
  shelf_id: 1
126
173
  call_number:
174
+ manifestation_id: 3
127
175
  id: 16
128
176
  include_supplements: true
129
177
  created_at: 2007-08-24 23:46:15.484813 +09:00
130
178
  item_00017:
131
179
  updated_at: 2007-08-24 23:46:16.484813 +09:00
132
180
  item_identifier: '00017'
181
+ circulation_status_id: 10
182
+ checkout_type_id: 3
133
183
  shelf_id: 1
134
184
  call_number:
185
+ manifestation_id: 3
135
186
  id: 17
136
187
  include_supplements: false
137
188
  created_at: 2007-08-24 23:46:16.484813 +09:00
138
189
  item_00018:
139
190
  updated_at: 2007-08-24 23:46:17.484813 +09:00
140
191
  item_identifier: '00018'
192
+ circulation_status_id: 10
193
+ checkout_type_id: 3
141
194
  shelf_id: 1
142
195
  call_number:
196
+ manifestation_id: 1
143
197
  id: 18
144
198
  include_supplements: false
145
199
  created_at: 2007-08-24 23:46:17.484813 +09:00
146
200
  item_00019:
147
201
  updated_at: 2007-08-24 23:46:18.484813 +09:00
148
202
  item_identifier: '00019'
203
+ circulation_status_id: 2
204
+ checkout_type_id: 3
149
205
  shelf_id: 1
150
206
  call_number:
207
+ manifestation_id: 1
151
208
  id: 19
152
209
  include_supplements: false
153
210
  created_at: 2007-08-24 23:46:18.484813 +09:00
154
211
  item_00020:
155
212
  updated_at: 2007-08-24 23:46:19.484813 +09:00
156
213
  item_identifier: '00020'
214
+ circulation_status_id: 13
215
+ checkout_type_id: 3
157
216
  shelf_id: 1
158
217
  call_number:
218
+ manifestation_id: 1
159
219
  id: 20
160
220
  include_supplements: false
161
221
  created_at: 2007-08-24 23:46:19.484813 +09:00
162
222
  item_00021:
163
223
  updated_at: 2007-08-24 23:46:20.484813 +09:00
164
224
  item_identifier: '00021'
225
+ circulation_status_id: 2
226
+ checkout_type_id: 3
165
227
  shelf_id: 1
166
228
  call_number:
229
+ manifestation_id: 11
167
230
  id: 21
168
231
  include_supplements: false
169
232
  created_at: 2007-08-24 23:46:20.484813 +09:00
170
233
  item_00022:
171
234
  updated_at: 2007-08-24 23:46:20.484813 +09:00
172
235
  item_identifier: '00022'
236
+ circulation_status_id: 2
237
+ checkout_type_id: 3
173
238
  shelf_id: 1
174
239
  call_number:
240
+ manifestation_id: 11
175
241
  id: 22
176
242
  include_supplements: false
177
243
  created_at: 2007-08-24 23:46:20.484813 +09:00
178
244
  item_00023:
179
245
  updated_at: 2007-08-24 23:46:20.484813 +09:00
180
246
  item_identifier: '00023'
247
+ circulation_status_id: 15
248
+ checkout_type_id: 3
181
249
  shelf_id: 2
182
250
  call_number:
251
+ manifestation_id: 11
183
252
  id: 23
184
253
  include_supplements: false
185
254
  created_at: 2007-08-24 23:46:20.484813 +09:00
255
+
186
256
  # == Schema Information
187
257
  #
188
258
  # Table name: items
189
259
  #
190
- # id :integer not null, primary key
191
- # call_number :string(255)
192
- # item_identifier :string(255)
193
- # created_at :datetime not null
194
- # updated_at :datetime not null
195
- # deleted_at :datetime
196
- # shelf_id :integer default(1), not null
197
- # include_supplements :boolean default(FALSE), not null
198
- # note :text
199
- # url :string(255)
200
- # price :integer
201
- # lock_version :integer default(0), not null
202
- # required_role_id :integer default(1), not null
203
- # state :string(255)
204
- # required_score :integer default(0), not null
205
- # acquired_at :datetime
206
- # bookstore_id :integer
207
- # budget_type_id :integer
260
+ # id :integer not null, primary key
261
+ # call_number :string(255)
262
+ # item_identifier :string(255)
263
+ # created_at :datetime not null
264
+ # updated_at :datetime not null
265
+ # deleted_at :datetime
266
+ # shelf_id :integer default(1), not null
267
+ # include_supplements :boolean default(FALSE), not null
268
+ # note :text
269
+ # url :string(255)
270
+ # price :integer
271
+ # lock_version :integer default(0), not null
272
+ # required_role_id :integer default(1), not null
273
+ # required_score :integer default(0), not null
274
+ # acquired_at :datetime
275
+ # bookstore_id :integer
276
+ # budget_type_id :integer
277
+ # circulation_status_id :integer default(5), not null
278
+ # checkout_type_id :integer default(1), not null
279
+ # binding_item_identifier :string(255)
280
+ # binding_call_number :string(255)
281
+ # binded_at :datetime
282
+ # manifestation_id :integer
208
283
  #
209
-
@@ -1882,14 +1882,14 @@ language_00140:
1882
1882
  iso_639_3: srd
1883
1883
  id: 140
1884
1884
  note:
1885
- native_name:
1885
+ native_name:
1886
1886
 
1887
1887
  # == Schema Information
1888
1888
  #
1889
1889
  # Table name: languages
1890
1890
  #
1891
- # id :integer not null, primary key
1892
- # name :string(255) not null
1891
+ # id :integer not null, primary key
1892
+ # name :string(255) not null
1893
1893
  # native_name :string(255)
1894
1894
  # display_name :text
1895
1895
  # iso_639_1 :string(255)