enju_inter_library_loan 0.1.0.pre7 → 0.1.0.pre8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. checksums.yaml +4 -4
  2. data/app/views/inter_library_loans/edit.html.erb +2 -2
  3. data/app/views/inter_library_loans/index.html.erb +2 -2
  4. data/app/views/inter_library_loans/new.html.erb +2 -2
  5. data/app/views/inter_library_loans/show.html.erb +2 -2
  6. data/lib/enju_inter_library_loan/engine.rb +1 -1
  7. data/lib/enju_inter_library_loan/version.rb +1 -1
  8. data/spec/dummy/app/controllers/application_controller.rb +3 -67
  9. data/spec/dummy/config/application.rb +3 -0
  10. data/spec/dummy/config/application.yml +42 -0
  11. data/spec/dummy/config/initializers/devise.rb +2 -0
  12. data/spec/dummy/db/migrate/{001_create_patrons.rb → 001_create_agents.rb} +9 -18
  13. data/spec/dummy/db/migrate/005_create_manifestations.rb +11 -34
  14. data/spec/dummy/db/migrate/006_create_items.rb +1 -9
  15. data/spec/dummy/db/migrate/012_create_owns.rb +12 -0
  16. data/spec/dummy/db/migrate/015_create_creates.rb +12 -0
  17. data/spec/dummy/db/migrate/029_create_subjects.rb +27 -0
  18. data/spec/dummy/db/migrate/032_create_checkins.rb +17 -0
  19. data/spec/dummy/db/migrate/033_create_checkouts.rb +25 -0
  20. data/spec/dummy/db/migrate/035_create_reserves.rb +27 -0
  21. data/spec/dummy/db/migrate/047_create_produces.rb +12 -0
  22. data/spec/dummy/db/migrate/055_create_bookmarks.rb +22 -0
  23. data/spec/dummy/db/migrate/059_create_libraries.rb +1 -7
  24. data/spec/dummy/db/migrate/069_create_shelves.rb +1 -5
  25. data/spec/dummy/db/migrate/073_create_carrier_types.rb +11 -0
  26. data/spec/dummy/db/migrate/077_create_user_groups.rb +16 -0
  27. data/spec/dummy/db/migrate/080_create_library_groups.rb +1 -6
  28. data/spec/dummy/db/migrate/112_create_frequencies.rb +12 -0
  29. data/spec/dummy/db/migrate/113_create_events.rb +23 -0
  30. data/spec/dummy/db/migrate/114_create_event_categories.rb +16 -0
  31. data/spec/dummy/db/migrate/117_create_form_of_works.rb +12 -0
  32. data/spec/dummy/db/migrate/120_create_baskets.rb +12 -0
  33. data/spec/dummy/db/migrate/121_create_checked_items.rb +17 -0
  34. data/spec/dummy/db/migrate/124_create_bookstores.rb +17 -0
  35. data/spec/dummy/db/migrate/125_create_donates.rb +12 -0
  36. data/spec/dummy/db/migrate/127_create_use_restrictions.rb +16 -0
  37. data/spec/dummy/db/migrate/129_create_item_has_use_restrictions.rb +16 -0
  38. data/spec/dummy/db/migrate/130_create_request_status_types.rb +12 -0
  39. data/spec/dummy/db/migrate/131_create_request_types.rb +12 -0
  40. data/spec/dummy/db/migrate/132_create_circulation_statuses.rb +16 -0
  41. data/spec/dummy/db/migrate/142_create_classifications.rb +19 -0
  42. data/spec/dummy/db/migrate/144_create_classification_types.rb +16 -0
  43. data/spec/dummy/db/migrate/145_create_subject_heading_types.rb +16 -0
  44. data/spec/dummy/db/migrate/{20080905191442_create_patron_types.rb → 146_create_subject_types.rb} +3 -3
  45. data/spec/dummy/db/migrate/149_create_message_templates.rb +18 -0
  46. data/spec/dummy/db/migrate/154_create_messages.rb +24 -0
  47. data/spec/dummy/db/migrate/20080606052544_create_work_has_subjects.rb +18 -0
  48. data/spec/dummy/db/migrate/20080819181903_create_message_requests.rb +20 -0
  49. data/spec/dummy/db/migrate/20080830154109_create_realizes.rb +13 -0
  50. data/spec/dummy/db/migrate/20080830172106_create_exemplifies.rb +13 -0
  51. data/spec/dummy/db/migrate/20080905191442_create_agent_types.rb +12 -0
  52. data/spec/dummy/db/migrate/20081023092436_create_search_engines.rb +17 -0
  53. data/spec/dummy/db/migrate/20081025083323_create_countries.rb +28 -0
  54. data/spec/dummy/db/migrate/20081025083905_create_languages.rb +23 -0
  55. data/spec/dummy/db/migrate/20081027150907_create_picture_files.rb +15 -0
  56. data/spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb +22 -0
  57. data/spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb +22 -0
  58. data/spec/dummy/db/migrate/20081028093607_create_event_import_files.rb +27 -0
  59. data/spec/dummy/db/migrate/20081030023412_create_checkout_types.rb +17 -0
  60. data/spec/dummy/db/migrate/20081030023518_create_user_group_has_checkout_types.rb +25 -0
  61. data/spec/dummy/db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb +18 -0
  62. data/spec/dummy/db/migrate/20081117143156_create_inventory_files.rb +18 -0
  63. data/spec/dummy/db/migrate/20081117143455_create_inventories.rb +17 -0
  64. data/spec/dummy/db/migrate/20081212075554_create_checkout_stat_has_manifestations.rb +17 -0
  65. data/spec/dummy/db/migrate/20081212080038_create_manifestation_checkout_stats.rb +16 -0
  66. data/spec/dummy/db/migrate/20081212151614_create_bookmark_stats.rb +16 -0
  67. data/spec/dummy/db/migrate/20081212151820_create_bookmark_stat_has_manifestations.rb +13 -0
  68. data/spec/dummy/db/migrate/20081215094302_create_user_checkout_stats.rb +16 -0
  69. data/spec/dummy/db/migrate/20081215094955_create_checkout_stat_has_users.rb +17 -0
  70. data/spec/dummy/db/migrate/20081216190517_create_reserve_stat_has_manifestations.rb +17 -0
  71. data/spec/dummy/db/migrate/20081216190724_create_manifestation_reserve_stats.rb +16 -0
  72. data/spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb +16 -0
  73. data/spec/dummy/db/migrate/20081220034117_create_reserve_stat_has_users.rb +17 -0
  74. data/spec/dummy/db/migrate/20090208044541_create_subject_heading_type_has_subjects.rb +16 -0
  75. data/spec/dummy/db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb +27 -0
  76. data/spec/dummy/db/migrate/20090519203307_create_participates.rb +17 -0
  77. data/spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb +15 -0
  78. data/spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb +15 -0
  79. data/spec/dummy/db/migrate/20090706125521_add_attachments_inventory_to_inventory_file.rb +15 -0
  80. data/spec/dummy/db/migrate/20090719201843_create_extents.rb +12 -0
  81. data/spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb +12 -0
  82. data/spec/dummy/db/migrate/20090720091429_create_content_types.rb +12 -0
  83. data/spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb +12 -0
  84. data/spec/dummy/db/migrate/20090831220301_create_lending_policies.rb +21 -0
  85. data/spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb +27 -0
  86. data/spec/dummy/db/migrate/20091025080447_create_licenses.rb +12 -0
  87. data/spec/dummy/db/migrate/20091202124834_create_versions.rb +18 -0
  88. data/spec/dummy/db/migrate/20091214131723_create_series_statements.rb +13 -0
  89. data/spec/dummy/db/migrate/20100129142347_create_import_requests.rb +15 -0
  90. data/spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb +13 -0
  91. data/spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb +10 -0
  92. data/spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb +13 -0
  93. data/spec/dummy/db/migrate/20100525171356_acts_as_taggable_on_migration.rb +30 -0
  94. data/spec/dummy/db/migrate/20100527113752_create_delayed_jobs.rb +21 -0
  95. data/spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb +13 -0
  96. data/spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb +12 -0
  97. data/spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb +11 -0
  98. data/spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb +15 -0
  99. data/spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb +12 -0
  100. data/spec/dummy/db/migrate/20100925074639_create_event_import_results.rb +15 -0
  101. data/spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb +9 -0
  102. data/spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb +9 -0
  103. data/spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb +11 -0
  104. data/spec/dummy/db/migrate/20110301134521_add_expire_date_to_reserve.rb +9 -0
  105. data/spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb +13 -0
  106. data/spec/dummy/db/migrate/20110328130826_add_current_checkout_count_to_user_group_has_checkout_type.rb +9 -0
  107. data/spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb +9 -0
  108. data/spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb +9 -0
  109. data/spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb +11 -0
  110. data/spec/dummy/db/migrate/20110621093332_remove_expire_date_from_reserve.rb +9 -0
  111. data/spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb +9 -0
  112. data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +12 -0
  113. data/spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb +13 -0
  114. data/spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb +11 -0
  115. data/spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb +11 -0
  116. data/spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb +13 -0
  117. data/spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb +10 -0
  118. data/spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb +9 -0
  119. data/spec/dummy/db/migrate/20111124110059_create_create_types.rb +12 -0
  120. data/spec/dummy/db/migrate/20111124110319_create_realize_types.rb +12 -0
  121. data/spec/dummy/db/migrate/20111124110355_create_produce_types.rb +12 -0
  122. data/spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb +7 -0
  123. data/spec/dummy/db/migrate/20111201155456_create_users.rb +3 -0
  124. data/spec/dummy/db/migrate/20111201155513_add_devise_to_users.rb +8 -16
  125. data/spec/dummy/db/migrate/20111217234412_add_save_checkout_history_to_user.rb +5 -0
  126. data/spec/dummy/db/migrate/20111218002349_add_checkout_icalendar_token_to_user.rb +6 -0
  127. data/spec/dummy/db/migrate/20111231145823_add_share_bookmarks_to_user.rb +5 -0
  128. data/spec/dummy/db/migrate/20120105101944_add_queue_to_delayed_jobs.rb +9 -0
  129. data/spec/dummy/db/migrate/20120125050502_add_depth_to_message.rb +6 -0
  130. data/spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb +6 -0
  131. data/spec/dummy/db/migrate/20120129014038_create_budget_types.rb +12 -0
  132. data/spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb +6 -0
  133. data/spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb +6 -0
  134. data/spec/dummy/db/migrate/20120406020752_add_url_to_subject.rb +5 -0
  135. data/spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb +5 -0
  136. data/spec/dummy/db/migrate/20120413051535_add_event_import_fingerprint_to_event_import_file.rb +5 -0
  137. data/spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb +5 -0
  138. data/spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb +5 -0
  139. data/spec/dummy/db/migrate/20120413100431_add_fingerprint_to_inventory_file.rb +5 -0
  140. data/spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb +5 -0
  141. data/spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb +5 -0
  142. data/spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb +5 -0
  143. data/spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb +5 -0
  144. data/spec/dummy/db/migrate/20120413170734_add_error_message_to_event_import_file.rb +5 -0
  145. data/spec/dummy/db/migrate/20120415060342_rename_event_import_file_imported_at_to_executed_at.rb +9 -0
  146. data/spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb +5 -0
  147. data/spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb +5 -0
  148. data/spec/dummy/db/migrate/20120424103932_add_librarian_id_to_checked_item.rb +5 -0
  149. data/spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb +5 -0
  150. data/spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb +6 -0
  151. data/spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb +5 -0
  152. data/spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb +5 -0
  153. data/spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb +6 -0
  154. data/spec/dummy/db/migrate/20130303104849_add_state_index_to_reserve.rb +5 -0
  155. data/spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb +5 -0
  156. data/spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb +5 -0
  157. data/spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb +8 -0
  158. data/spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb +5 -0
  159. data/spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb +7 -0
  160. data/spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb +5 -0
  161. data/spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb +6 -0
  162. data/spec/dummy/db/migrate/20130504133816_add_manifestation_id_to_subject.rb +6 -0
  163. data/spec/dummy/db/migrate/20130504143515_add_manifestation_id_to_classification.rb +6 -0
  164. data/spec/dummy/db/migrate/20130504195916_add_subject_heading_type_id_to_subject.rb +5 -0
  165. data/spec/dummy/db/migrate/20130506175303_create_identifier_types.rb +12 -0
  166. data/spec/dummy/db/migrate/20130506175834_create_identifiers.rb +15 -0
  167. data/spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb +5 -0
  168. data/spec/dummy/db/schema.rb +1191 -143
  169. data/spec/dummy/db/test.sqlite3 +0 -0
  170. data/spec/factories/item.rb +1 -1
  171. data/spec/factories/manifestation.rb +1 -0
  172. data/spec/fixtures/{patron_types.yml → agent_types.yml} +4 -4
  173. data/spec/fixtures/{patrons.yml → agents.yml} +46 -46
  174. data/spec/fixtures/carrier_types.yml +51 -0
  175. data/spec/fixtures/checkout_types.yml +34 -0
  176. data/spec/fixtures/circulation_statuses.yml +120 -0
  177. data/spec/fixtures/languages.yml +1901 -0
  178. data/spec/fixtures/libraries.yml +25 -33
  179. metadata +382 -62
  180. data/spec/dummy/app/models/item.rb +0 -7
  181. data/spec/dummy/app/models/library.rb +0 -128
  182. data/spec/dummy/app/models/library_group.rb +0 -86
  183. data/spec/dummy/app/models/manifestation.rb +0 -6
  184. data/spec/dummy/app/models/patron.rb +0 -167
  185. data/spec/dummy/app/models/patron_type.rb +0 -19
  186. data/spec/dummy/app/models/role.rb +0 -5
  187. data/spec/dummy/app/models/shelf.rb +0 -54
  188. data/spec/dummy/app/models/user_has_role.rb +0 -4
  189. data/spec/dummy/db/development.sqlite3 +0 -0
  190. data/spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb +0 -9
  191. data/spec/dummy/db/migrate/20110115022329_add_position_to_library_group.rb +0 -9
  192. data/spec/dummy/db/migrate/20111020063828_remove_dsbl_from_library_group.rb +0 -11
Binary file
@@ -1,7 +1,7 @@
1
1
  FactoryGirl.define do
2
2
  factory :item do |f|
3
3
  f.sequence(:item_identifier){|n| "item_#{n}"}
4
- f.circulation_status_id{CirculationStatus.find(1).id} if defined?(EnjuCircuation)
4
+ f.circulation_status_id{CirculationStatus.find(1).id}
5
5
  f.manifestation_id{FactoryGirl.create(:manifestation).id}
6
6
  end
7
7
  end
@@ -1,5 +1,6 @@
1
1
  FactoryGirl.define do
2
2
  factory :manifestation do |f|
3
3
  f.sequence(:original_title){|n| "manifestation_title_#{n}"}
4
+ f.carrier_type_id{CarrierType.find(1).id}
4
5
  end
5
6
  end
@@ -1,19 +1,19 @@
1
1
  ---
2
- patron_type_00001:
2
+ agent_type_00001:
3
3
  id: 1
4
4
  name: Person
5
5
  display_name: Person
6
6
  note:
7
7
  position: 1
8
8
 
9
- patron_type_00002:
9
+ agent_type_00002:
10
10
  id: 2
11
11
  name: CorporateBody
12
12
  display_name: CorporateBody
13
13
  note:
14
14
  position: 2
15
15
 
16
- patron_type_00003:
16
+ agent_type_00003:
17
17
  id: 3
18
18
  name: Conference
19
19
  display_name: Conference
@@ -22,7 +22,7 @@ patron_type_00003:
22
22
 
23
23
  # == Schema Information
24
24
  #
25
- # Table name: patron_types
25
+ # Table name: agent_types
26
26
  #
27
27
  # id :integer not null, primary key
28
28
  # name :string(255) not null
@@ -1,5 +1,5 @@
1
1
  ---
2
- patron_00001:
2
+ agent_00001:
3
3
  place: ""
4
4
  last_name: Administrator
5
5
  first_name:
@@ -12,11 +12,11 @@ patron_00001:
12
12
  address_1:
13
13
  language_id: 1
14
14
  country_id: 1
15
- patron_type_id: 1
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
18
  user_id: 1
19
- patron_00002:
19
+ agent_00002:
20
20
  place: ""
21
21
  last_name: Librarian1
22
22
  first_name:
@@ -29,11 +29,11 @@ patron_00002:
29
29
  address_1:
30
30
  language_id: 1
31
31
  country_id: 1
32
- patron_type_id: 1
32
+ agent_type_id: 1
33
33
  required_role_id: 4
34
34
  created_at: 2007-11-19 17:06:07.724517 +09:00
35
35
  user_id: 2
36
- patron_00003:
36
+ agent_00003:
37
37
  place:
38
38
  last_name: Kosuke
39
39
  first_name: Tanabe
@@ -46,11 +46,11 @@ patron_00003:
46
46
  address_1:
47
47
  language_id: 1
48
48
  country_id: 1
49
- patron_type_id: 1
49
+ agent_type_id: 1
50
50
  required_role_id: 3
51
51
  created_at: 2007-12-04 16:25:01.523618 +09:00
52
52
  user_id: 3
53
- patron_00004:
53
+ agent_00004:
54
54
  place:
55
55
  last_name: Librarian2
56
56
  first_name:
@@ -63,11 +63,11 @@ patron_00004:
63
63
  address_1:
64
64
  language_id: 1
65
65
  country_id: 1
66
- patron_type_id: 1
66
+ agent_type_id: 1
67
67
  required_role_id: 1
68
68
  created_at: 2007-12-04 16:25:01.785027 +09:00
69
69
  user_id: 4
70
- patron_00005:
70
+ agent_00005:
71
71
  place: ""
72
72
  last_name: User2
73
73
  first_name:
@@ -80,15 +80,15 @@ patron_00005:
80
80
  address_1:
81
81
  language_id: 1
82
82
  country_id: 1
83
- patron_type_id: 1
83
+ agent_type_id: 1
84
84
  required_role_id: 2
85
85
  created_at: 2007-11-19 17:24:50.153417 +09:00
86
86
  user_id: 5
87
- patron_00006:
87
+ agent_00006:
88
88
  place: ""
89
- last_name: New patron 1
89
+ last_name: New agent 1
90
90
  first_name:
91
- full_name: New patron 1
91
+ full_name: New agent 1
92
92
  updated_at: 2007-11-21 22:02:35.579396 +09:00
93
93
  other_designation: ""
94
94
  id: 6
@@ -97,14 +97,14 @@ patron_00006:
97
97
  address_1:
98
98
  language_id: 1
99
99
  country_id: 1
100
- patron_type_id: 1
100
+ agent_type_id: 1
101
101
  required_role_id: 1
102
102
  created_at: 2007-11-19 17:24:50.153417 +09:00
103
- patron_00007:
103
+ agent_00007:
104
104
  place: ""
105
- last_name: New patron 2
105
+ last_name: New agent 2
106
106
  first_name:
107
- full_name: New patron 2
107
+ full_name: New agent 2
108
108
  updated_at: 2007-11-21 22:02:35.579396 +09:00
109
109
  other_designation: ""
110
110
  id: 7
@@ -113,14 +113,14 @@ patron_00007:
113
113
  address_1:
114
114
  language_id: 1
115
115
  country_id: 1
116
- patron_type_id: 1
116
+ agent_type_id: 1
117
117
  required_role_id: 1
118
118
  created_at: 2007-11-19 17:24:50.153417 +09:00
119
- patron_00008:
119
+ agent_00008:
120
120
  place: ""
121
- last_name: New patron 3
121
+ last_name: New agent 3
122
122
  first_name:
123
- full_name: New patron 3
123
+ full_name: New agent 3
124
124
  updated_at: 2007-11-21 22:02:35.579396 +09:00
125
125
  other_designation: ""
126
126
  id: 8
@@ -129,14 +129,14 @@ patron_00008:
129
129
  address_1:
130
130
  language_id: 1
131
131
  country_id: 1
132
- patron_type_id: 1
132
+ agent_type_id: 1
133
133
  required_role_id: 1
134
134
  created_at: 2007-11-19 17:24:50.153417 +09:00
135
- patron_00009:
135
+ agent_00009:
136
136
  place: ""
137
- last_name: New patron 4
137
+ last_name: New agent 4
138
138
  first_name:
139
- full_name: New patron 4
139
+ full_name: New agent 4
140
140
  updated_at: 2007-11-21 22:02:35.579396 +09:00
141
141
  other_designation: ""
142
142
  id: 9
@@ -145,14 +145,14 @@ patron_00009:
145
145
  address_1:
146
146
  language_id: 1
147
147
  country_id: 1
148
- patron_type_id: 1
148
+ agent_type_id: 1
149
149
  required_role_id: 1
150
150
  created_at: 2007-11-19 17:24:50.153417 +09:00
151
- patron_00010:
151
+ agent_00010:
152
152
  place: ""
153
- last_name: New patron 5
153
+ last_name: New agent 5
154
154
  first_name:
155
- full_name: New patron 5
155
+ full_name: New agent 5
156
156
  updated_at: 2007-11-21 22:02:35.579396 +09:00
157
157
  other_designation: ""
158
158
  id: 10
@@ -161,10 +161,10 @@ patron_00010:
161
161
  address_1:
162
162
  language_id: 1
163
163
  country_id: 1
164
- patron_type_id: 1
164
+ agent_type_id: 1
165
165
  required_role_id: 1
166
166
  created_at: 2007-11-19 17:24:50.153417 +09:00
167
- patron_00011:
167
+ agent_00011:
168
168
  place: ""
169
169
  last_name: User3
170
170
  first_name:
@@ -177,11 +177,11 @@ patron_00011:
177
177
  address_1:
178
178
  language_id: 1
179
179
  country_id: 1
180
- patron_type_id: 1
180
+ agent_type_id: 1
181
181
  required_role_id: 1
182
182
  created_at: 2007-11-19 17:24:50.153417 +09:00
183
183
  user_id: 6
184
- patron_00101:
184
+ agent_00101:
185
185
  place: ""
186
186
  last_name: テスト名字
187
187
  first_name: テスト名前
@@ -194,10 +194,10 @@ patron_00101:
194
194
  address_1:
195
195
  language_id: 1
196
196
  country_id: 1
197
- patron_type_id: 1
197
+ agent_type_id: 1
198
198
  required_role_id: 1
199
199
  created_at: 2010-03-03 17:00:00.579396 +09:00
200
- patron_00102:
200
+ agent_00102:
201
201
  place: ""
202
202
  last_name:
203
203
  first_name:
@@ -210,10 +210,10 @@ patron_00102:
210
210
  address_1:
211
211
  language_id: 1
212
212
  country_id: 1
213
- patron_type_id: 1
213
+ agent_type_id: 1
214
214
  required_role_id: 1
215
215
  created_at: 2010-03-03 17:00:00.579396 +09:00
216
- patron_00103:
216
+ agent_00103:
217
217
  place: ""
218
218
  last_name:
219
219
  first_name:
@@ -226,10 +226,10 @@ patron_00103:
226
226
  address_1:
227
227
  language_id: 1
228
228
  country_id: 1
229
- patron_type_id: 1
229
+ agent_type_id: 1
230
230
  required_role_id: 1
231
231
  created_at: 2010-03-16 19:00:00.579396 +09:00
232
- patron_00104:
232
+ agent_00104:
233
233
  place: ""
234
234
  last_name:
235
235
  first_name:
@@ -242,10 +242,10 @@ patron_00104:
242
242
  address_1:
243
243
  language_id: 1
244
244
  country_id: 1
245
- patron_type_id: 1
245
+ agent_type_id: 1
246
246
  required_role_id: 1
247
247
  created_at: 2010-03-16 19:00:00.579396 +09:00
248
- patron_00201:
248
+ agent_00201:
249
249
  place: ""
250
250
  last_name:
251
251
  first_name:
@@ -258,10 +258,10 @@ patron_00201:
258
258
  address_1:
259
259
  language_id: 1
260
260
  country_id: 1
261
- patron_type_id: 1
261
+ agent_type_id: 1
262
262
  required_role_id: 1
263
263
  created_at: 2010-03-15 17:00:00.579396 +09:00
264
- patron_00202:
264
+ agent_00202:
265
265
  place: ""
266
266
  last_name:
267
267
  first_name:
@@ -274,7 +274,7 @@ patron_00202:
274
274
  address_1:
275
275
  language_id: 1
276
276
  country_id: 1
277
- patron_type_id: 1
277
+ agent_type_id: 1
278
278
  required_role_id: 1
279
279
  created_at: 2010-03-15 17:00:00.579396 +09:00
280
280
 
@@ -285,7 +285,7 @@ patron_00202:
285
285
 
286
286
  # == Schema Information
287
287
  #
288
- # Table name: patrons
288
+ # Table name: agents
289
289
  #
290
290
  # id :integer not null, primary key
291
291
  # user_id :integer
@@ -322,7 +322,7 @@ patron_00202:
322
322
  # date_of_death :datetime
323
323
  # language_id :integer default(1), not null
324
324
  # country_id :integer default(1), not null
325
- # patron_type_id :integer default(1), not null
325
+ # agent_type_id :integer default(1), not null
326
326
  # lock_version :integer default(0), not null
327
327
  # note :text
328
328
  # required_role_id :integer default(1), not null
@@ -0,0 +1,51 @@
1
+ ---
2
+ carrier_type_00004:
3
+ name: file
4
+ display_name: file
5
+ updated_at: 2007-12-24 01:30:50.637433 +09:00
6
+ id: 4
7
+ note: !binary |
8
+ 44Kz44Oz44OU44Ol44O844K/44Gu44OV44Kh44Kk44Or44Gn44GZ44CC
9
+
10
+ created_at: 2007-12-24 01:30:50.637433 +09:00
11
+ position: 4
12
+ carrier_type_00001:
13
+ name: print
14
+ display_name: print
15
+ updated_at: 2007-11-20 16:04:29.853828 +09:00
16
+ id: 1
17
+ note: !binary |
18
+ 5pys44Gn44GZ44CC
19
+
20
+ created_at: 2007-11-20 15:47:03.641530 +09:00
21
+ position: 1
22
+ carrier_type_00002:
23
+ name: CD
24
+ display_name: CD
25
+ updated_at: 2007-12-19 01:45:26.040674 +09:00
26
+ id: 2
27
+ note: "\xE9\x9F\xB3\xE6\xA5\xBDCD\xE3\x81\xA7\xE3\x81\x99\xE3\x80\x82"
28
+ created_at: 2007-12-19 01:45:26.040674 +09:00
29
+ position: 2
30
+ carrier_type_00003:
31
+ name: DVD
32
+ display_name: DVD
33
+ updated_at: 2007-12-23 04:24:23.151410 +09:00
34
+ id: 3
35
+ note: "DVD\xE3\x81\xA7\xE3\x81\x99\xE3\x80\x82"
36
+ created_at: 2007-12-23 04:24:23.151410 +09:00
37
+ position: 3
38
+
39
+ # == Schema Information
40
+ #
41
+ # Table name: carrier_types
42
+ #
43
+ # id :integer not null, primary key
44
+ # name :string(255) not null
45
+ # display_name :text
46
+ # note :text
47
+ # position :integer
48
+ # created_at :datetime not null
49
+ # updated_at :datetime not null
50
+ #
51
+
@@ -0,0 +1,34 @@
1
+ # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
+
3
+ checkout_type_00001:
4
+ id: 1
5
+ name: book
6
+ display_name: book
7
+ note:
8
+ position: 1
9
+ checkout_type_00002:
10
+ id: 2
11
+ name: serial
12
+ display_name: serial
13
+ note:
14
+ position: 2
15
+ checkout_type_00003:
16
+ id: 3
17
+ name: cd
18
+ display_name: cd
19
+ note:
20
+ position: 3
21
+
22
+ # == Schema Information
23
+ #
24
+ # Table name: checkout_types
25
+ #
26
+ # id :integer not null, primary key
27
+ # name :string(255) not null
28
+ # display_name :text
29
+ # note :text
30
+ # position :integer
31
+ # created_at :datetime not null
32
+ # updated_at :datetime not null
33
+ #
34
+
@@ -0,0 +1,120 @@
1
+ ---
2
+ circulation_status_00001:
3
+ name: Available For Pickup
4
+ display_name: "en: Available For Pickup\r\n\
5
+ ja: 持ち出し可能"
6
+ id: 1
7
+ note: ""
8
+ position: 1
9
+ circulation_status_00002:
10
+ name: Available On Shelf
11
+ display_name: "en: Available on Shelf\r\n\
12
+ ja: 在架(利用可能)"
13
+ id: 2
14
+ note: ""
15
+ position: 2
16
+ circulation_status_00003:
17
+ name: Circulation Status Undefined
18
+ display_name: Circulation Status Undefined
19
+ id: 3
20
+ note: ""
21
+ position: 3
22
+ circulation_status_00004:
23
+ name: Claimed Returned Or Never Borrowed
24
+ display_name: Claimed Returned Or Never Borrowed
25
+ id: 4
26
+ note: ""
27
+ position: 4
28
+ circulation_status_00005:
29
+ name: In Process
30
+ display_name: "en: In Process\r\n\
31
+ ja: 作業中"
32
+ id: 5
33
+ note: ""
34
+ position: 5
35
+ circulation_status_00006:
36
+ name: In Transit Between Library Locations
37
+ display_name: In Transit Between Library Locations
38
+ id: 6
39
+ note: ""
40
+ position: 6
41
+ circulation_status_00007:
42
+ name: Lost
43
+ display_name: "en: Lost\r\n\
44
+ ja: 紛失"
45
+ id: 7
46
+ note: ""
47
+ position: 7
48
+ circulation_status_00008:
49
+ name: Missing
50
+ display_name: "en: Missing\r\n\
51
+ ja: 行方不明"
52
+ id: 8
53
+ note: ""
54
+ position: 8
55
+ circulation_status_00009:
56
+ name: Not Available
57
+ display_name: "en: Not Available\r\n\
58
+ ja: 利用不可"
59
+ id: 9
60
+ note: ""
61
+ position: 9
62
+ circulation_status_00010:
63
+ name: On Loan
64
+ display_name: "en: On Loan\r\n\
65
+ ja: 貸出中"
66
+ id: 10
67
+ note: ""
68
+ position: 10
69
+ circulation_status_00011:
70
+ name: On Order
71
+ display_name: On Order
72
+ id: 11
73
+ note: ""
74
+ position: 11
75
+ circulation_status_00012:
76
+ name: Pending Transfer
77
+ display_name: Pending Transfer
78
+ id: 12
79
+ note: ""
80
+ position: 12
81
+ circulation_status_00013:
82
+ name: Recalled
83
+ display_name: Recalled
84
+ id: 13
85
+ note: ""
86
+ position: 13
87
+ circulation_status_00014:
88
+ name: Waiting To Be Reshelved
89
+ display_name: Waiting To Be Reshelved
90
+ id: 14
91
+ note: ""
92
+ position: 14
93
+ circulation_status_00015:
94
+ name: Not arrived
95
+ display_name: "en: Not arrived\r\n\
96
+ ja: 未着"
97
+ id: 15
98
+ note: ""
99
+ position: 15
100
+ circulation_status_00016:
101
+ name: Removed
102
+ display_name: "en: Removed\r\n\
103
+ ja: 除籍済み"
104
+ id: 16
105
+ note: ""
106
+ position: 16
107
+
108
+ # == Schema Information
109
+ #
110
+ # Table name: circulation_statuses
111
+ #
112
+ # id :integer not null, primary key
113
+ # name :string(255) not null
114
+ # display_name :text
115
+ # note :text
116
+ # position :integer
117
+ # created_at :datetime not null
118
+ # updated_at :datetime not null
119
+ #
120
+