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
Binary file
@@ -6,42 +6,38 @@ agent_import_file_00001:
6
6
  agent_import_file_size: 1
7
7
  user_id: 1
8
8
  agent_import_content_type: text/csv
9
- state: completed
10
9
  agent_import_file_00002:
11
10
  id: 2
12
11
  agent_import_file_name: MyString
13
12
  agent_import_file_size: 1
14
13
  user_id: 1
15
14
  agent_import_content_type: text/csv
16
- state: pending
17
15
  agent_import_file_00003:
18
16
  id: 3
19
17
  agent_import_file_name: MyString
20
18
  agent_import_file_size: 1
21
19
  user_id: 1
22
20
  agent_import_content_type: text/csv
23
- state: pending
24
21
 
25
22
  # == Schema Information
26
23
  #
27
24
  # Table name: agent_import_files
28
25
  #
29
- # id :integer not null, primary key
30
- # parent_id :integer
31
- # content_type :string(255)
32
- # size :integer
33
- # user_id :integer
34
- # note :text
35
- # executed_at :datetime
36
- # state :string(255)
26
+ # id :integer not null, primary key
27
+ # parent_id :integer
28
+ # content_type :string(255)
29
+ # size :integer
30
+ # user_id :integer
31
+ # note :text
32
+ # executed_at :datetime
37
33
  # agent_import_file_name :string(255)
38
34
  # agent_import_content_type :string(255)
39
35
  # agent_import_file_size :integer
40
36
  # agent_import_updated_at :datetime
41
- # created_at :datetime not null
42
- # updated_at :datetime not null
37
+ # created_at :datetime not null
38
+ # updated_at :datetime not null
43
39
  # agent_import_fingerprint :string(255)
44
- # error_message :text
45
- # edit_mode :string(255)
40
+ # error_message :text
41
+ # edit_mode :string(255)
42
+ # user_encoding :string(255)
46
43
  #
47
-
@@ -18,12 +18,12 @@ two:
18
18
  #
19
19
  # Table name: agent_import_results
20
20
  #
21
- # id :integer not null, primary key
21
+ # id :integer not null, primary key
22
22
  # agent_import_file_id :integer
23
23
  # agent_id :integer
24
- # user_id :integer
25
- # body :text
26
- # created_at :datetime
27
- # updated_at :datetime
24
+ # user_id :integer
25
+ # body :text
26
+ # created_at :datetime not null
27
+ # updated_at :datetime not null
28
28
  #
29
29
 
@@ -2,19 +2,19 @@
2
2
 
3
3
  agent_relationship_type_00001:
4
4
  id: 1
5
- name: See also
5
+ name: see_also
6
6
  display_name: See also
7
7
  note:
8
8
  position: 1
9
9
  agent_relationship_type_00002:
10
10
  id: 2
11
- name: Member
11
+ name: member
12
12
  display_name: Member
13
13
  note:
14
14
  position: 2
15
15
  agent_relationship_type_00003:
16
16
  id: 3
17
- name: Child
17
+ name: child
18
18
  display_name: Child
19
19
  note:
20
20
  position: 3
@@ -23,12 +23,12 @@ agent_relationship_type_00003:
23
23
  #
24
24
  # Table name: agent_relationship_types
25
25
  #
26
- # id :integer not null, primary key
27
- # name :string(255) not null
26
+ # id :integer not null, primary key
27
+ # name :string(255) not null
28
28
  # display_name :text
29
29
  # note :text
30
30
  # position :integer
31
- # created_at :datetime
32
- # updated_at :datetime
31
+ # created_at :datetime not null
32
+ # updated_at :datetime not null
33
33
  #
34
34
 
@@ -14,12 +14,12 @@ two:
14
14
  #
15
15
  # Table name: agent_relationships
16
16
  #
17
- # id :integer not null, primary key
18
- # parent_id :integer
19
- # child_id :integer
17
+ # id :integer not null, primary key
18
+ # parent_id :integer
19
+ # child_id :integer
20
20
  # agent_relationship_type_id :integer
21
- # created_at :datetime
22
- # updated_at :datetime
23
- # position :integer
21
+ # created_at :datetime not null
22
+ # updated_at :datetime not null
23
+ # position :integer
24
24
  #
25
25
 
@@ -1,21 +1,21 @@
1
1
  ---
2
2
  agent_type_00001:
3
3
  id: 1
4
- name: Person
4
+ name: person
5
5
  display_name: Person
6
6
  note:
7
7
  position: 1
8
8
 
9
9
  agent_type_00002:
10
10
  id: 2
11
- name: CorporateBody
11
+ name: corporate_body
12
12
  display_name: CorporateBody
13
13
  note:
14
14
  position: 2
15
15
 
16
16
  agent_type_00003:
17
17
  id: 3
18
- name: Conference
18
+ name: conference
19
19
  display_name: Conference
20
20
  note:
21
21
  position: 3
@@ -24,12 +24,12 @@ agent_type_00003:
24
24
  #
25
25
  # Table name: agent_types
26
26
  #
27
- # id :integer not null, primary key
28
- # name :string(255) not null
27
+ # id :integer not null, primary key
28
+ # name :string(255) not null
29
29
  # display_name :text
30
30
  # note :text
31
31
  # position :integer
32
- # created_at :datetime
33
- # updated_at :datetime
32
+ # created_at :datetime not null
33
+ # updated_at :datetime not null
34
34
  #
35
35
 
@@ -15,7 +15,6 @@ agent_00001:
15
15
  agent_type_id: 1
16
16
  required_role_id: 1
17
17
  created_at: 2007-11-19 17:06:06.507237 +09:00
18
- user_id: 1
19
18
  agent_00002:
20
19
  place: ""
21
20
  last_name: Librarian1
@@ -32,7 +31,6 @@ agent_00002:
32
31
  agent_type_id: 1
33
32
  required_role_id: 4
34
33
  created_at: 2007-11-19 17:06:07.724517 +09:00
35
- user_id: 2
36
34
  agent_00003:
37
35
  place:
38
36
  last_name: Kosuke
@@ -49,7 +47,6 @@ agent_00003:
49
47
  agent_type_id: 1
50
48
  required_role_id: 3
51
49
  created_at: 2007-12-04 16:25:01.523618 +09:00
52
- user_id: 3
53
50
  agent_00004:
54
51
  place:
55
52
  last_name: Librarian2
@@ -66,7 +63,6 @@ agent_00004:
66
63
  agent_type_id: 1
67
64
  required_role_id: 1
68
65
  created_at: 2007-12-04 16:25:01.785027 +09:00
69
- user_id: 4
70
66
  agent_00005:
71
67
  place: ""
72
68
  last_name: User2
@@ -83,7 +79,6 @@ agent_00005:
83
79
  agent_type_id: 1
84
80
  required_role_id: 2
85
81
  created_at: 2007-11-19 17:24:50.153417 +09:00
86
- user_id: 5
87
82
  agent_00006:
88
83
  place: ""
89
84
  last_name: New agent 1
@@ -180,7 +175,6 @@ agent_00011:
180
175
  agent_type_id: 1
181
176
  required_role_id: 1
182
177
  created_at: 2007-11-19 17:24:50.153417 +09:00
183
- user_id: 6
184
178
  agent_00101:
185
179
  place: ""
186
180
  last_name: テスト名字
@@ -278,17 +272,11 @@ agent_00202:
278
272
  required_role_id: 1
279
273
  created_at: 2010-03-15 17:00:00.579396 +09:00
280
274
 
281
-
282
-
283
-
284
-
285
-
286
275
  # == Schema Information
287
276
  #
288
277
  # Table name: agents
289
278
  #
290
- # id :integer not null, primary key
291
- # user_id :integer
279
+ # id :integer not null, primary key
292
280
  # last_name :string(255)
293
281
  # middle_name :string(255)
294
282
  # first_name :string(255)
@@ -300,8 +288,8 @@ agent_00202:
300
288
  # full_name :string(255)
301
289
  # full_name_transcription :text
302
290
  # full_name_alternative :text
303
- # created_at :datetime not null
304
- # updated_at :datetime not null
291
+ # created_at :datetime not null
292
+ # updated_at :datetime not null
305
293
  # deleted_at :datetime
306
294
  # zip_code_1 :string(255)
307
295
  # zip_code_2 :string(255)
@@ -321,18 +309,17 @@ agent_00202:
321
309
  # region :text
322
310
  # date_of_birth :datetime
323
311
  # date_of_death :datetime
324
- # language_id :integer default(1), not null
325
- # country_id :integer default(1), not null
326
- # agent_type_id :integer default(1), not null
327
- # lock_version :integer default(0), not null
312
+ # language_id :integer default(1), not null
313
+ # country_id :integer default(1), not null
314
+ # agent_type_id :integer default(1), not null
315
+ # lock_version :integer default(0), not null
328
316
  # note :text
329
- # required_role_id :integer default(1), not null
330
- # required_score :integer default(0), not null
331
- # state :string(255)
317
+ # required_role_id :integer default(1), not null
318
+ # required_score :integer default(0), not null
332
319
  # email :text
333
320
  # url :text
334
321
  # full_name_alternative_transcription :text
335
322
  # birth_date :string(255)
336
323
  # death_date :string(255)
324
+ # agent_identifier :string(255)
337
325
  #
338
-
@@ -0,0 +1,80 @@
1
+ ---
2
+ basket_00001:
3
+ updated_at: 2008-01-21 17:21:58.554146 +09:00
4
+ id: 1
5
+ note:
6
+ user_id: 1
7
+ created_at: 2008-01-21 17:21:58.554146 +09:00
8
+ basket_00002:
9
+ updated_at: 2008-01-21 17:26:14.585596 +09:00
10
+ id: 2
11
+ note:
12
+ user_id: 2
13
+ created_at: 2008-01-21 17:26:14.585596 +09:00
14
+ basket_00003:
15
+ updated_at: 2008-01-21 17:26:14.585596 +09:00
16
+ id: 3
17
+ note:
18
+ user_id: 3
19
+ created_at: 2008-01-21 17:26:14.585596 +09:00
20
+ basket_00004:
21
+ updated_at: 2008-01-21 17:26:14.585596 +09:00
22
+ id: 4
23
+ note:
24
+ user_id: 2
25
+ created_at: 2008-01-21 17:26:14.585596 +09:00
26
+ basket_00005:
27
+ updated_at: 2008-01-21 17:26:14.585596 +09:00
28
+ id: 5
29
+ note:
30
+ user_id: 1
31
+ created_at: 2008-01-21 17:26:14.585596 +09:00
32
+ basket_00006:
33
+ updated_at: 2008-01-21 17:26:14.585596 +09:00
34
+ id: 6
35
+ note:
36
+ user_id: 2
37
+ created_at: 2008-01-21 17:26:14.585596 +09:00
38
+ basket_00007:
39
+ updated_at: 2008-01-21 17:26:14.585596 +09:00
40
+ id: 7
41
+ note:
42
+ user_id: 3
43
+ created_at: 2008-01-21 17:26:14.585596 +09:00
44
+ basket_00008:
45
+ updated_at: 2008-01-21 17:26:14.585596 +09:00
46
+ id: 8
47
+ note:
48
+ user_id: 3
49
+ created_at: 2008-01-21 17:26:14.585596 +09:00
50
+ basket_00009:
51
+ updated_at: 2008-01-21 17:26:14.585596 +09:00
52
+ id: 9
53
+ note:
54
+ user_id: 2
55
+ created_at: 2008-01-21 17:26:14.585596 +09:00
56
+ basket_00010:
57
+ updated_at: 2008-01-21 17:26:14.585596 +09:00
58
+ id: 10
59
+ note:
60
+ user_id: 3
61
+ created_at: 2008-01-21 17:26:14.585596 +09:00
62
+ basket_00011:
63
+ updated_at: 2008-01-21 17:26:14.585596 +09:00
64
+ id: 11
65
+ note:
66
+ user_id: 4
67
+ created_at: 2008-01-21 17:26:14.585596 +09:00
68
+
69
+ # == Schema Information
70
+ #
71
+ # Table name: baskets
72
+ #
73
+ # id :integer not null, primary key
74
+ # user_id :integer
75
+ # note :text
76
+ # lock_version :integer default(0), not null
77
+ # created_at :datetime not null
78
+ # updated_at :datetime not null
79
+ #
80
+
@@ -20,7 +20,7 @@ carrier_type_00001:
20
20
  created_at: 2007-11-20 15:47:03.641530 +09:00
21
21
  position: 1
22
22
  carrier_type_00002:
23
- name: CD
23
+ name: cd
24
24
  display_name: CD
25
25
  updated_at: 2007-12-19 01:45:26.040674 +09:00
26
26
  id: 2
@@ -28,7 +28,7 @@ carrier_type_00002:
28
28
  created_at: 2007-12-19 01:45:26.040674 +09:00
29
29
  position: 2
30
30
  carrier_type_00003:
31
- name: DVD
31
+ name: dvd
32
32
  display_name: DVD
33
33
  updated_at: 2007-12-23 04:24:23.151410 +09:00
34
34
  id: 3
@@ -40,12 +40,12 @@ carrier_type_00003:
40
40
  #
41
41
  # Table name: carrier_types
42
42
  #
43
- # id :integer not null, primary key
44
- # name :string(255) not null
43
+ # id :integer not null, primary key
44
+ # name :string(255) not null
45
45
  # display_name :text
46
46
  # note :text
47
47
  # position :integer
48
- # created_at :datetime
49
- # updated_at :datetime
48
+ # created_at :datetime not null
49
+ # updated_at :datetime not null
50
50
  #
51
51
 
@@ -0,0 +1,136 @@
1
+ ---
2
+ circulation_status_00005:
3
+ name: In Process
4
+ display_name: In Process
5
+ updated_at: 2008-02-15 17:31:42.422676 +09:00
6
+ id: 5
7
+ note: ""
8
+ created_at: 2008-02-15 17:31:42.422676 +09:00
9
+ position: 5
10
+ circulation_status_00006:
11
+ name: In Transit Between Library Locations
12
+ display_name: In Transit Between Library Locations
13
+ updated_at: 2008-02-15 17:31:51.227056 +09:00
14
+ id: 6
15
+ note: ""
16
+ created_at: 2008-02-15 17:31:51.227056 +09:00
17
+ position: 6
18
+ circulation_status_00007:
19
+ name: Lost
20
+ display_name: Lost
21
+ updated_at: 2008-02-15 17:31:58.627987 +09:00
22
+ id: 7
23
+ note: ""
24
+ created_at: 2008-02-15 17:31:58.627987 +09:00
25
+ position: 7
26
+ circulation_status_00008:
27
+ name: Missing
28
+ display_name: Missing
29
+ updated_at: 2008-02-15 17:32:07.006541 +09:00
30
+ id: 8
31
+ note: ""
32
+ created_at: 2008-02-15 17:32:07.006541 +09:00
33
+ position: 8
34
+ circulation_status_00010:
35
+ name: On Loan
36
+ display_name: On Loan
37
+ updated_at: 2008-02-15 17:32:22.969896 +09:00
38
+ id: 10
39
+ note: ""
40
+ created_at: 2008-02-15 17:32:22.969896 +09:00
41
+ position: 10
42
+ circulation_status_00009:
43
+ name: Not Available
44
+ display_name: Not Available
45
+ updated_at: 2008-02-15 17:32:15.454067 +09:00
46
+ id: 9
47
+ note: ""
48
+ created_at: 2008-02-15 17:32:15.454067 +09:00
49
+ position: 9
50
+ circulation_status_00011:
51
+ name: On Order
52
+ display_name: On Order
53
+ updated_at: 2008-02-15 17:32:30.675735 +09:00
54
+ id: 11
55
+ note: ""
56
+ created_at: 2008-02-15 17:32:30.675735 +09:00
57
+ position: 11
58
+ circulation_status_00012:
59
+ name: Pending Transfer
60
+ display_name: Pending Transfer
61
+ updated_at: 2008-02-15 17:32:39.395000 +09:00
62
+ id: 12
63
+ note: ""
64
+ created_at: 2008-02-15 17:32:39.395000 +09:00
65
+ position: 12
66
+ circulation_status_00001:
67
+ name: Available For Pickup
68
+ display_name: Available For Pickup
69
+ updated_at: 2008-02-15 17:31:10.588524 +09:00
70
+ id: 1
71
+ note: ""
72
+ created_at: 2008-02-15 17:31:10.588524 +09:00
73
+ position: 1
74
+ circulation_status_00002:
75
+ name: Available On Shelf
76
+ display_name: Available On Shelf
77
+ updated_at: 2008-02-15 17:31:18.946298 +09:00
78
+ id: 2
79
+ note: ""
80
+ created_at: 2008-02-15 17:31:18.946298 +09:00
81
+ position: 2
82
+ circulation_status_00013:
83
+ name: Recalled
84
+ display_name: Recalled
85
+ updated_at: 2008-02-15 17:32:48.355304 +09:00
86
+ id: 13
87
+ note: ""
88
+ created_at: 2008-02-15 17:32:48.355304 +09:00
89
+ position: 13
90
+ circulation_status_00014:
91
+ name: Waiting To Be Reshelved
92
+ display_name: Waiting To Be Reshelved
93
+ updated_at: 2008-02-15 17:32:59.078750 +09:00
94
+ id: 14
95
+ note: ""
96
+ created_at: 2008-02-15 17:32:59.078750 +09:00
97
+ position: 14
98
+ circulation_status_00003:
99
+ name: Circulation Status Undefined
100
+ display_name: Circulation Status Undefined
101
+ updated_at: 2008-02-15 17:31:26.564769 +09:00
102
+ id: 3
103
+ note: ""
104
+ created_at: 2008-02-15 17:31:26.564769 +09:00
105
+ position: 3
106
+ circulation_status_00004:
107
+ name: Claimed Returned Or Never Borrowed
108
+ display_name: Claimed Returned Or Never Borrowed
109
+ updated_at: 2008-02-15 17:31:35.786404 +09:00
110
+ id: 4
111
+ note: ""
112
+ created_at: 2008-02-15 17:31:35.786404 +09:00
113
+ position: 4
114
+ circulation_status_00015:
115
+ name: Removed
116
+ display_name: "en: Removed\r\n\
117
+ ja: 除籍済み"
118
+ id: 15
119
+ updated_at: 2008-02-15 17:31:35.786404 +09:00
120
+ note: ""
121
+ created_at: 2008-02-15 17:31:35.786404 +09:00
122
+ position: 15
123
+
124
+ # == Schema Information
125
+ #
126
+ # Table name: circulation_statuses
127
+ #
128
+ # id :integer not null, primary key
129
+ # name :string(255) not null
130
+ # display_name :text
131
+ # note :text
132
+ # position :integer
133
+ # created_at :datetime
134
+ # updated_at :datetime
135
+ #
136
+
@@ -25,12 +25,12 @@ three:
25
25
  #
26
26
  # Table name: content_types
27
27
  #
28
- # id :integer not null, primary key
29
- # name :string(255) not null
28
+ # id :integer not null, primary key
29
+ # name :string(255) not null
30
30
  # display_name :text
31
31
  # note :text
32
32
  # position :integer
33
- # created_at :datetime
34
- # updated_at :datetime
33
+ # created_at :datetime not null
34
+ # updated_at :datetime not null
35
35
  #
36
36
 
@@ -2047,8 +2047,8 @@ country_00170:
2047
2047
  #
2048
2048
  # Table name: countries
2049
2049
  #
2050
- # id :integer not null, primary key
2051
- # name :string(255) not null
2050
+ # id :integer not null, primary key
2051
+ # name :string(255) not null
2052
2052
  # display_name :text
2053
2053
  # alpha_2 :string(255)
2054
2054
  # alpha_3 :string(255)
@@ -36,12 +36,12 @@ illustrator:
36
36
  #
37
37
  # Table name: create_types
38
38
  #
39
- # id :integer not null, primary key
39
+ # id :integer not null, primary key
40
40
  # name :string(255)
41
41
  # display_name :text
42
42
  # note :text
43
43
  # position :integer
44
- # created_at :datetime
45
- # updated_at :datetime
44
+ # created_at :datetime not null
45
+ # updated_at :datetime not null
46
46
  #
47
47
 
@@ -49,17 +49,16 @@ create_00104:
49
49
  position: 2
50
50
  created_at: 2010-03-16 19:00:00.538796 +09:00
51
51
 
52
-
53
52
  # == Schema Information
54
53
  #
55
54
  # Table name: creates
56
55
  #
57
- # id :integer not null, primary key
58
- # agent_id :integer not null
59
- # work_id :integer not null
56
+ # id :integer not null, primary key
57
+ # agent_id :integer not null
58
+ # work_id :integer not null
60
59
  # position :integer
61
- # created_at :datetime not null
62
- # updated_at :datetime not null
60
+ # created_at :datetime not null
61
+ # updated_at :datetime not null
63
62
  # create_type_id :integer
64
63
  #
65
64
 
@@ -22,10 +22,10 @@ donate_00003:
22
22
  #
23
23
  # Table name: donates
24
24
  #
25
- # id :integer not null, primary key
26
- # agent_id :integer not null
27
- # item_id :integer not null
28
- # created_at :datetime
29
- # updated_at :datetime
25
+ # id :integer not null, primary key
26
+ # agent_id :integer not null
27
+ # item_id :integer not null
28
+ # created_at :datetime not null
29
+ # updated_at :datetime not null
30
30
  #
31
31