enju_oai 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. data/app/views/manifestations/list_identifiers.oai.builder +1 -1
  2. data/app/views/manifestations/list_records.oai.builder +1 -1
  3. data/lib/enju_oai/oai_controller.rb +32 -0
  4. data/lib/enju_oai/version.rb +1 -1
  5. data/spec/controllers/manifestations_controller_spec.rb +45 -0
  6. data/spec/dummy/README.rdoc +261 -0
  7. data/spec/dummy/Rakefile +7 -0
  8. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  9. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  10. data/spec/dummy/app/controllers/application_controller.rb +76 -0
  11. data/spec/dummy/app/controllers/manifestations_controller.rb +519 -0
  12. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  13. data/spec/dummy/app/models/ability.rb +29 -0
  14. data/spec/dummy/app/models/carrier_type.rb +33 -0
  15. data/spec/dummy/app/models/create.rb +38 -0
  16. data/spec/dummy/app/models/exemplify.rb +45 -0
  17. data/spec/dummy/app/models/item.rb +276 -0
  18. data/spec/dummy/app/models/manifestation.rb +631 -0
  19. data/spec/dummy/app/models/patron.rb +290 -0
  20. data/spec/dummy/app/models/produce.rb +39 -0
  21. data/spec/dummy/app/models/realize.rb +38 -0
  22. data/spec/dummy/app/models/role.rb +46 -0
  23. data/spec/dummy/app/models/search_engine.rb +51 -0
  24. data/spec/dummy/app/models/user.rb +94 -0
  25. data/spec/dummy/app/models/user_has_role.rb +4 -0
  26. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  27. data/spec/dummy/config/application.rb +57 -0
  28. data/spec/dummy/config/boot.rb +10 -0
  29. data/spec/dummy/config/configatron/cucumber.rb +4 -0
  30. data/spec/dummy/config/configatron/defaults.rb +28 -0
  31. data/spec/dummy/config/configatron/development.rb +4 -0
  32. data/spec/dummy/config/configatron/production.rb.sample +12 -0
  33. data/spec/dummy/config/configatron/test.rb +7 -0
  34. data/spec/dummy/config/database.yml +25 -0
  35. data/spec/dummy/config/environment.rb +5 -0
  36. data/spec/dummy/config/environments/development.rb +37 -0
  37. data/spec/dummy/config/environments/production.rb +67 -0
  38. data/spec/dummy/config/environments/test.rb +37 -0
  39. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  40. data/spec/dummy/config/initializers/configatron.rb +2 -0
  41. data/spec/dummy/config/initializers/devise.rb +209 -0
  42. data/spec/dummy/config/initializers/inflections.rb +15 -0
  43. data/spec/dummy/config/initializers/mime_types.rb +14 -0
  44. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  45. data/spec/dummy/config/initializers/session_store.rb +8 -0
  46. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  47. data/spec/dummy/config/locales/en.yml +5 -0
  48. data/spec/dummy/config/routes.rb +60 -0
  49. data/spec/dummy/config.ru +4 -0
  50. data/spec/dummy/db/migrate/001_create_patrons.rb +53 -0
  51. data/spec/dummy/db/migrate/002_devise_create_users.rb +71 -0
  52. data/spec/dummy/db/migrate/005_create_manifestations.rb +59 -0
  53. data/spec/dummy/db/migrate/006_create_items.rb +28 -0
  54. data/spec/dummy/db/migrate/012_create_owns.rb +14 -0
  55. data/spec/dummy/db/migrate/015_create_creates.rb +14 -0
  56. data/spec/dummy/db/migrate/041_create_roles.rb +13 -0
  57. data/spec/dummy/db/migrate/047_create_produces.rb +14 -0
  58. data/spec/dummy/db/migrate/059_create_libraries.rb +30 -0
  59. data/spec/dummy/db/migrate/073_create_carrier_types.rb +11 -0
  60. data/spec/dummy/db/migrate/077_create_user_groups.rb +12 -0
  61. data/spec/dummy/db/migrate/080_create_library_groups.rb +21 -0
  62. data/spec/dummy/db/migrate/112_create_frequencies.rb +12 -0
  63. data/spec/dummy/db/migrate/117_create_form_of_works.rb +12 -0
  64. data/spec/dummy/db/migrate/20080830154109_create_realizes.rb +15 -0
  65. data/spec/dummy/db/migrate/20080830172106_create_exemplifies.rb +15 -0
  66. data/spec/dummy/db/migrate/20080905191442_create_patron_types.rb +12 -0
  67. data/spec/dummy/db/migrate/20081023092436_create_search_engines.rb +17 -0
  68. data/spec/dummy/db/migrate/20081025083323_create_countries.rb +28 -0
  69. data/spec/dummy/db/migrate/20081025083905_create_languages.rb +23 -0
  70. data/spec/dummy/db/migrate/20090719201843_create_extents.rb +12 -0
  71. data/spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb +12 -0
  72. data/spec/dummy/db/migrate/20090720091429_create_content_types.rb +12 -0
  73. data/spec/dummy/db/migrate/20090812151902_create_patron_relationship_types.rb +12 -0
  74. data/spec/dummy/db/migrate/20091025080447_create_licenses.rb +12 -0
  75. data/spec/dummy/db/migrate/20091202124834_create_versions.rb +18 -0
  76. data/spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb +9 -0
  77. data/spec/dummy/db/migrate/20100326024214_add_date_index_to_resource.rb +11 -0
  78. data/spec/dummy/db/migrate/20100502171926_add_latitude_and_longitude_to_library.rb +11 -0
  79. data/spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb +13 -0
  80. data/spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb +12 -0
  81. data/spec/dummy/db/migrate/20100606073747_create_patron_relationships.rb +13 -0
  82. data/spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb +12 -0
  83. data/spec/dummy/db/migrate/20100627193848_add_enju_access_key_to_user.rb +10 -0
  84. data/spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb +11 -0
  85. data/spec/dummy/db/migrate/20100919121500_drop_user_email_unique_index.rb +11 -0
  86. data/spec/dummy/db/migrate/20101103090330_add_title_to_patron.rb +9 -0
  87. data/spec/dummy/db/migrate/20101103090457_rename_manifestation_identifier_to_identifier.rb +9 -0
  88. data/spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb +9 -0
  89. data/spec/dummy/db/migrate/20101228081401_rename_postal_code_to_zip_code.rb +11 -0
  90. data/spec/dummy/db/migrate/20110115022329_add_position_to_library_group.rb +9 -0
  91. data/spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb +9 -0
  92. data/spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb +9 -0
  93. data/spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb +11 -0
  94. data/spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb +13 -0
  95. data/spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb +9 -0
  96. data/spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb +13 -0
  97. data/spec/dummy/db/migrate/20110916053430_rename_manifestation_number_list_to_number_string.rb +13 -0
  98. data/spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb +13 -0
  99. data/spec/dummy/db/migrate/20110927135845_add_missing_since_to_item.rb +9 -0
  100. data/spec/dummy/db/migrate/20111103221239_rename_manifestation_identifier_to_manifestation_identifier.rb +9 -0
  101. data/spec/dummy/db/migrate/20111124110059_create_create_types.rb +12 -0
  102. data/spec/dummy/db/migrate/20111124110319_create_realize_types.rb +12 -0
  103. data/spec/dummy/db/migrate/20111124110355_create_produce_types.rb +12 -0
  104. data/spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb +7 -0
  105. data/spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb +5 -0
  106. data/spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb +6 -0
  107. data/spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb +5 -0
  108. data/spec/dummy/db/migrate/20120413225628_add_fingerprint_to_manifestation.rb +5 -0
  109. data/spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb +5 -0
  110. data/spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb +5 -0
  111. data/spec/dummy/db/migrate/20120426034355_add_unique_index_to_item_identifier.rb +11 -0
  112. data/spec/dummy/db/migrate/20120426042730_add_unique_index_to_manifestation_identifier.rb +11 -0
  113. data/spec/dummy/db/schema.rb +564 -0
  114. data/spec/dummy/db/test.sqlite3 +0 -0
  115. data/spec/dummy/lib/enju_leaf/calculate_stat.rb +30 -0
  116. data/spec/dummy/lib/enju_leaf/expire_editable_fragment.rb +30 -0
  117. data/spec/dummy/lib/enju_leaf/expire_fragment_cache.rb +17 -0
  118. data/spec/dummy/lib/enju_leaf/import_file.rb +13 -0
  119. data/spec/dummy/lib/enju_leaf/localized_name.rb +13 -0
  120. data/spec/dummy/lib/enju_leaf/master_model.rb +19 -0
  121. data/spec/dummy/lib/enju_leaf/url_validator.rb +10 -0
  122. data/spec/dummy/lib/enju_leaf.rb +8 -0
  123. data/spec/dummy/public/404.html +26 -0
  124. data/spec/dummy/public/422.html +26 -0
  125. data/spec/dummy/public/500.html +25 -0
  126. data/spec/dummy/public/favicon.ico +0 -0
  127. data/spec/dummy/script/rails +6 -0
  128. data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
  129. data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
  130. data/spec/factories/manifestation.rb +6 -0
  131. data/spec/factories/user.rb +34 -0
  132. data/spec/fixtures/carrier_types.yml +51 -0
  133. data/spec/fixtures/creates.yml +66 -0
  134. data/spec/fixtures/exemplifies.yml +156 -0
  135. data/spec/fixtures/items.yml +262 -0
  136. data/spec/fixtures/libraries.yml +109 -0
  137. data/spec/fixtures/library_groups.yml +36 -0
  138. data/spec/fixtures/manifestations.yml +2024 -0
  139. data/spec/fixtures/patron_types.yml +41 -0
  140. data/spec/fixtures/patrons.yml +338 -0
  141. data/spec/fixtures/produces.yml +150 -0
  142. data/spec/fixtures/realizes.yml +87 -0
  143. data/spec/fixtures/roles.yml +21 -0
  144. data/spec/fixtures/user_has_roles.yml +41 -0
  145. data/spec/fixtures/users.yml +93 -0
  146. data/spec/spec_helper.rb +38 -0
  147. data/spec/support/controller_macros.rb +48 -0
  148. data/spec/support/devise.rb +4 -0
  149. metadata +290 -6
  150. data/test/enju_oai_test.rb +0 -7
  151. data/test/test_helper.rb +0 -15
@@ -0,0 +1,41 @@
1
+ ---
2
+ patron_type_00001:
3
+ id: 1
4
+ name: Person
5
+ display_name: Person
6
+ note:
7
+ position: 1
8
+ created_at: <%= Time.zone.now %>
9
+ updated_at: <%= Time.zone.now %>
10
+
11
+ patron_type_00002:
12
+ id: 2
13
+ name: CorporateBody
14
+ display_name: CorporateBody
15
+ note:
16
+ position: 2
17
+ created_at: <%= Time.zone.now %>
18
+ updated_at: <%= Time.zone.now %>
19
+
20
+ patron_type_00003:
21
+ id: 3
22
+ name: Conference
23
+ display_name: Conference
24
+ note:
25
+ position: 3
26
+ created_at: <%= Time.zone.now %>
27
+ updated_at: <%= Time.zone.now %>
28
+
29
+ # == Schema Information
30
+ #
31
+ # Table name: patron_types
32
+ #
33
+ # id :integer not null, primary key
34
+ # name :string(255) not null
35
+ # display_name :text
36
+ # note :text
37
+ # position :integer
38
+ # created_at :datetime
39
+ # updated_at :datetime
40
+ #
41
+
@@ -0,0 +1,338 @@
1
+ ---
2
+ patron_00001:
3
+ place: ""
4
+ last_name: Administrator
5
+ first_name:
6
+ full_name: Administrator
7
+ updated_at: 2007-11-21 22:01:56.137409 +09:00
8
+ other_designation: ""
9
+ id: 1
10
+ date_of_birth: 2000-01-01
11
+ date_of_death:
12
+ address_1:
13
+ language_id: 1
14
+ country_id: 1
15
+ patron_type_id: 1
16
+ required_role_id: 1
17
+ created_at: 2007-11-19 17:06:06.507237 +09:00
18
+ user_id: 1
19
+ patron_00002:
20
+ place: ""
21
+ last_name: Librarian1
22
+ first_name:
23
+ full_name: Librarian1
24
+ updated_at: 2007-11-21 22:02:10.359793 +09:00
25
+ other_designation: ""
26
+ id: 2
27
+ date_of_birth: 2000-01-01
28
+ date_of_death:
29
+ address_1:
30
+ language_id: 1
31
+ country_id: 1
32
+ patron_type_id: 1
33
+ required_role_id: 4
34
+ created_at: 2007-11-19 17:06:07.724517 +09:00
35
+ user_id: 2
36
+ patron_00003:
37
+ place:
38
+ last_name: Kosuke
39
+ first_name: Tanabe
40
+ full_name: Kosuke Tanabe
41
+ updated_at: 2007-12-04 16:25:01.523618 +09:00
42
+ other_designation:
43
+ id: 3
44
+ date_of_birth: 2000-01-01
45
+ date_of_death:
46
+ address_1:
47
+ language_id: 1
48
+ country_id: 1
49
+ patron_type_id: 1
50
+ required_role_id: 3
51
+ created_at: 2007-12-04 16:25:01.523618 +09:00
52
+ user_id: 3
53
+ patron_00004:
54
+ place:
55
+ last_name: Librarian2
56
+ first_name:
57
+ full_name: Librarian2
58
+ updated_at: 2007-12-04 16:25:01.785027 +09:00
59
+ other_designation:
60
+ id: 4
61
+ date_of_birth: 2000-01-01
62
+ date_of_death:
63
+ address_1:
64
+ language_id: 1
65
+ country_id: 1
66
+ patron_type_id: 1
67
+ required_role_id: 1
68
+ created_at: 2007-12-04 16:25:01.785027 +09:00
69
+ user_id: 4
70
+ patron_00005:
71
+ place: ""
72
+ last_name: User2
73
+ first_name:
74
+ full_name: User2
75
+ updated_at: 2007-11-21 22:02:35.579396 +09:00
76
+ other_designation: ""
77
+ id: 5
78
+ date_of_birth: 2000-01-01
79
+ date_of_death:
80
+ address_1:
81
+ language_id: 1
82
+ country_id: 1
83
+ patron_type_id: 1
84
+ required_role_id: 2
85
+ created_at: 2007-11-19 17:24:50.153417 +09:00
86
+ user_id: 5
87
+ patron_00006:
88
+ place: ""
89
+ last_name: New patron 1
90
+ first_name:
91
+ full_name: New patron 1
92
+ updated_at: 2007-11-21 22:02:35.579396 +09:00
93
+ other_designation: ""
94
+ id: 6
95
+ date_of_birth: 2000-01-01
96
+ date_of_death:
97
+ address_1:
98
+ language_id: 1
99
+ country_id: 1
100
+ patron_type_id: 1
101
+ required_role_id: 1
102
+ created_at: 2007-11-19 17:24:50.153417 +09:00
103
+ patron_00007:
104
+ place: ""
105
+ last_name: New patron 2
106
+ first_name:
107
+ full_name: New patron 2
108
+ updated_at: 2007-11-21 22:02:35.579396 +09:00
109
+ other_designation: ""
110
+ id: 7
111
+ date_of_birth: 2000-01-01
112
+ date_of_death:
113
+ address_1:
114
+ language_id: 1
115
+ country_id: 1
116
+ patron_type_id: 1
117
+ required_role_id: 1
118
+ created_at: 2007-11-19 17:24:50.153417 +09:00
119
+ patron_00008:
120
+ place: ""
121
+ last_name: New patron 3
122
+ first_name:
123
+ full_name: New patron 3
124
+ updated_at: 2007-11-21 22:02:35.579396 +09:00
125
+ other_designation: ""
126
+ id: 8
127
+ date_of_birth: 2000-01-01
128
+ date_of_death:
129
+ address_1:
130
+ language_id: 1
131
+ country_id: 1
132
+ patron_type_id: 1
133
+ required_role_id: 1
134
+ created_at: 2007-11-19 17:24:50.153417 +09:00
135
+ patron_00009:
136
+ place: ""
137
+ last_name: New patron 4
138
+ first_name:
139
+ full_name: New patron 4
140
+ updated_at: 2007-11-21 22:02:35.579396 +09:00
141
+ other_designation: ""
142
+ id: 9
143
+ date_of_birth: 2000-01-01
144
+ date_of_death:
145
+ address_1:
146
+ language_id: 1
147
+ country_id: 1
148
+ patron_type_id: 1
149
+ required_role_id: 1
150
+ created_at: 2007-11-19 17:24:50.153417 +09:00
151
+ patron_00010:
152
+ place: ""
153
+ last_name: New patron 5
154
+ first_name:
155
+ full_name: New patron 5
156
+ updated_at: 2007-11-21 22:02:35.579396 +09:00
157
+ other_designation: ""
158
+ id: 10
159
+ date_of_birth: 2000-01-01
160
+ date_of_death:
161
+ address_1:
162
+ language_id: 1
163
+ country_id: 1
164
+ patron_type_id: 1
165
+ required_role_id: 1
166
+ created_at: 2007-11-19 17:24:50.153417 +09:00
167
+ patron_00011:
168
+ place: ""
169
+ last_name: User3
170
+ first_name:
171
+ full_name: User3
172
+ updated_at: 2007-11-21 22:02:35.579396 +09:00
173
+ other_designation: ""
174
+ id: 11
175
+ date_of_birth: 2000-01-01
176
+ date_of_death:
177
+ address_1:
178
+ language_id: 1
179
+ country_id: 1
180
+ patron_type_id: 1
181
+ required_role_id: 1
182
+ created_at: 2007-11-19 17:24:50.153417 +09:00
183
+ user_id: 6
184
+ patron_00101:
185
+ place: ""
186
+ last_name: テスト名字
187
+ first_name: テスト名前
188
+ full_name: テスト正式名称
189
+ updated_at: 2010-03-03 17:00:00.579396 +09:00
190
+ other_designation: ""
191
+ id: 101
192
+ date_of_birth: 2000-01-01
193
+ date_of_death:
194
+ address_1:
195
+ language_id: 1
196
+ country_id: 1
197
+ patron_type_id: 1
198
+ required_role_id: 1
199
+ created_at: 2010-03-03 17:00:00.579396 +09:00
200
+ patron_00102:
201
+ place: ""
202
+ last_name:
203
+ first_name:
204
+ full_name: 出版社テスト
205
+ updated_at: 2010-03-03 17:00:00.579396 +09:00
206
+ other_designation: ""
207
+ id: 102
208
+ date_of_birth:
209
+ date_of_death:
210
+ address_1:
211
+ language_id: 1
212
+ country_id: 1
213
+ patron_type_id: 1
214
+ required_role_id: 1
215
+ created_at: 2010-03-03 17:00:00.579396 +09:00
216
+ patron_00103:
217
+ place: ""
218
+ last_name:
219
+ first_name:
220
+ full_name: 作者ダミー
221
+ updated_at: 2010-03-16 19:00:00.579396 +09:00
222
+ other_designation: ""
223
+ id: 103
224
+ date_of_birth:
225
+ date_of_death:
226
+ address_1:
227
+ language_id: 1
228
+ country_id: 1
229
+ patron_type_id: 1
230
+ required_role_id: 1
231
+ created_at: 2010-03-16 19:00:00.579396 +09:00
232
+ patron_00104:
233
+ place: ""
234
+ last_name:
235
+ first_name:
236
+ full_name: 試験用会社
237
+ updated_at: 2010-03-16 19:00:00.579396 +09:00
238
+ other_designation: ""
239
+ id: 104
240
+ date_of_birth:
241
+ date_of_death:
242
+ address_1:
243
+ language_id: 1
244
+ country_id: 1
245
+ patron_type_id: 1
246
+ required_role_id: 1
247
+ created_at: 2010-03-16 19:00:00.579396 +09:00
248
+ patron_00201:
249
+ place: ""
250
+ last_name:
251
+ first_name:
252
+ full_name: オーム社
253
+ updated_at: 2010-03-15 17:00:00.579396 +09:00
254
+ other_designation: ""
255
+ id: 201
256
+ date_of_birth:
257
+ date_of_death:
258
+ address_1:
259
+ language_id: 1
260
+ country_id: 1
261
+ patron_type_id: 1
262
+ required_role_id: 1
263
+ created_at: 2010-03-15 17:00:00.579396 +09:00
264
+ patron_00202:
265
+ place: ""
266
+ last_name:
267
+ first_name:
268
+ full_name: Ruby社
269
+ updated_at: 2010-03-15 17:00:00.579396 +09:00
270
+ other_designation: ""
271
+ id: 202
272
+ date_of_birth:
273
+ date_of_death:
274
+ address_1:
275
+ language_id: 1
276
+ country_id: 1
277
+ patron_type_id: 1
278
+ required_role_id: 1
279
+ created_at: 2010-03-15 17:00:00.579396 +09:00
280
+
281
+
282
+
283
+
284
+
285
+
286
+ # == Schema Information
287
+ #
288
+ # Table name: patrons
289
+ #
290
+ # id :integer not null, primary key
291
+ # user_id :integer
292
+ # last_name :string(255)
293
+ # middle_name :string(255)
294
+ # first_name :string(255)
295
+ # last_name_transcription :string(255)
296
+ # middle_name_transcription :string(255)
297
+ # first_name_transcription :string(255)
298
+ # corporate_name :string(255)
299
+ # corporate_name_transcription :string(255)
300
+ # full_name :string(255)
301
+ # full_name_transcription :text
302
+ # full_name_alternative :text
303
+ # created_at :datetime
304
+ # updated_at :datetime
305
+ # deleted_at :datetime
306
+ # zip_code_1 :string(255)
307
+ # zip_code_2 :string(255)
308
+ # address_1 :text
309
+ # address_2 :text
310
+ # address_1_note :text
311
+ # address_2_note :text
312
+ # telephone_number_1 :string(255)
313
+ # telephone_number_2 :string(255)
314
+ # fax_number_1 :string(255)
315
+ # fax_number_2 :string(255)
316
+ # other_designation :text
317
+ # place :text
318
+ # street :text
319
+ # locality :text
320
+ # region :text
321
+ # date_of_birth :datetime
322
+ # date_of_death :datetime
323
+ # language_id :integer default(1), not null
324
+ # country_id :integer default(1), not null
325
+ # patron_type_id :integer default(1), not null
326
+ # lock_version :integer default(0), not null
327
+ # note :text
328
+ # required_role_id :integer default(1), not null
329
+ # required_score :integer default(0), not null
330
+ # state :string(255)
331
+ # email :text
332
+ # url :text
333
+ # full_name_alternative_transcription :text
334
+ # title :string(255)
335
+ # birth_date :string(255)
336
+ # death_date :string(255)
337
+ #
338
+
@@ -0,0 +1,150 @@
1
+ ---
2
+ produce_00001:
3
+ updated_at: 2008-01-11 23:28:19.277110 +09:00
4
+ manifestation_id: 1
5
+ patron_id: 1
6
+ id: 1
7
+ position: 1
8
+ created_at: 2008-01-11 23:28:19.277110 +09:00
9
+ produce_00002:
10
+ updated_at: 2008-01-11 23:28:57.068191 +09:00
11
+ manifestation_id: 2
12
+ patron_id: 2
13
+ id: 2
14
+ position: 1
15
+ created_at: 2008-01-11 23:28:57.068191 +09:00
16
+ produce_00003:
17
+ updated_at: 2008-01-11 23:32:03.701425 +09:00
18
+ manifestation_id: 3
19
+ patron_id: 3
20
+ id: 3
21
+ position: 1
22
+ created_at: 2008-01-11 23:32:03.701425 +09:00
23
+ produce_00004:
24
+ updated_at: 2008-01-11 02:34:20.183962 +09:00
25
+ manifestation_id: 4
26
+ patron_id: 1
27
+ id: 4
28
+ position: 1
29
+ created_at: 2008-01-11 02:34:20.183962 +09:00
30
+ produce_00005:
31
+ updated_at: 2008-01-11 02:34:32.352223 +09:00
32
+ manifestation_id: 5
33
+ patron_id: 2
34
+ id: 5
35
+ position: 2
36
+ created_at: 2008-01-11 02:34:32.352223 +09:00
37
+ produce_00006:
38
+ updated_at: 2008-01-11 23:35:36.467584 +09:00
39
+ manifestation_id: 1
40
+ patron_id: 3
41
+ id: 6
42
+ position: 2
43
+ created_at: 2008-01-11 23:35:36.467584 +09:00
44
+ produce_00007:
45
+ updated_at: 2008-01-11 02:40:24.038276 +09:00
46
+ manifestation_id: 2
47
+ patron_id: 1
48
+ id: 7
49
+ position: 1
50
+ created_at: 2008-01-11 02:40:24.038276 +09:00
51
+ produce_00008:
52
+ updated_at: 2008-01-11 02:40:40.316742 +09:00
53
+ manifestation_id: 3
54
+ patron_id: 2
55
+ id: 8
56
+ position: 2
57
+ created_at: 2008-01-11 02:40:40.316742 +09:00
58
+ produce_00009:
59
+ updated_at: 2008-01-11 02:40:55.664604 +09:00
60
+ manifestation_id: 4
61
+ patron_id: 3
62
+ id: 9
63
+ position: 3
64
+ created_at: 2008-01-11 02:40:55.664604 +09:00
65
+ produce_00010:
66
+ updated_at: 2008-01-11 02:44:37.135721 +09:00
67
+ manifestation_id: 5
68
+ patron_id: 1
69
+ id: 10
70
+ position: 1
71
+ created_at: 2008-01-11 02:44:37.135721 +09:00
72
+ produce_00101:
73
+ updated_at: 2010-03-03 20:00:00.135721 +09:00
74
+ manifestation_id: 207
75
+ patron_id: 102
76
+ id: 101
77
+ position: 1
78
+ created_at: 2010-03-03 20:00:00.135721 +09:00
79
+ produce_00102:
80
+ updated_at: 2010-03-03 20:00:00.135721 +09:00
81
+ manifestation_id: 201
82
+ patron_id: 102
83
+ id: 102
84
+ position: 1
85
+ created_at: 2010-03-03 20:00:00.135721 +09:00
86
+ produce_00103:
87
+ updated_at: 2010-03-03 20:00:00.135721 +09:00
88
+ manifestation_id: 202
89
+ patron_id: 102
90
+ id: 103
91
+ position: 1
92
+ created_at: 2010-03-03 20:00:00.135721 +09:00
93
+ produce_00104:
94
+ updated_at: 2010-03-16 11:00:00.135721 +09:00
95
+ manifestation_id: 208
96
+ patron_id: 101
97
+ id: 104
98
+ position: 1
99
+ created_at: 2010-03-16 11:00:00.135721 +09:00
100
+ produce_00105:
101
+ updated_at: 2010-03-16 19:00:00.135721 +09:00
102
+ manifestation_id: 204
103
+ patron_id: 104
104
+ id: 105
105
+ position: 1
106
+ created_at: 2010-03-16 19:00:00.135721 +09:00
107
+ produce_00106:
108
+ updated_at: 2010-03-16 19:00:00.135721 +09:00
109
+ manifestation_id: 205
110
+ patron_id: 104
111
+ id: 106
112
+ position: 1
113
+ created_at: 2010-03-16 19:00:00.135721 +09:00
114
+ produce_00107:
115
+ updated_at: 2010-03-16 19:00:00.135721 +09:00
116
+ manifestation_id: 206
117
+ patron_id: 104
118
+ id: 107
119
+ position: 1
120
+ created_at: 2010-03-16 19:00:00.135721 +09:00
121
+ produce_00201:
122
+ updated_at: 2010-03-15 20:00:00.135721 +09:00
123
+ manifestation_id: 120
124
+ patron_id: 201
125
+ id: 201
126
+ position: 1
127
+ created_at: 2010-03-15 20:00:00.135721 +09:00
128
+ produce_00202:
129
+ updated_at: 2010-03-15 20:00:00.135721 +09:00
130
+ manifestation_id: 198
131
+ patron_id: 202
132
+ id: 202
133
+ position: 1
134
+ created_at: 2010-03-15 20:00:00.135721 +09:00
135
+
136
+
137
+ # == Schema Information
138
+ #
139
+ # Table name: produces
140
+ #
141
+ # id :integer not null, primary key
142
+ # patron_id :integer not null
143
+ # manifestation_id :integer not null
144
+ # position :integer
145
+ # type :string(255)
146
+ # created_at :datetime
147
+ # updated_at :datetime
148
+ # produce_type_id :integer
149
+ #
150
+
@@ -0,0 +1,87 @@
1
+ ---
2
+ realize_00001:
3
+ updated_at: 2008-01-11 23:28:19.277110 +09:00
4
+ expression_id: 1
5
+ patron_id: 1
6
+ id: 1
7
+ position: 1
8
+ created_at: 2008-01-11 23:28:19.277110 +09:00
9
+ realize_00002:
10
+ updated_at: 2008-01-11 23:28:57.068191 +09:00
11
+ expression_id: 2
12
+ patron_id: 2
13
+ id: 2
14
+ position: 2
15
+ created_at: 2008-01-11 23:28:57.068191 +09:00
16
+ realize_00003:
17
+ updated_at: 2008-01-11 23:32:03.701425 +09:00
18
+ expression_id: 3
19
+ patron_id: 3
20
+ id: 3
21
+ position: 1
22
+ created_at: 2008-01-11 23:32:03.701425 +09:00
23
+ realize_00004:
24
+ updated_at: 2008-01-11 02:34:20.183962 +09:00
25
+ expression_id: 4
26
+ patron_id: 1
27
+ id: 4
28
+ position: 1
29
+ created_at: 2008-01-11 02:34:20.183962 +09:00
30
+ realize_00005:
31
+ updated_at: 2008-01-11 02:34:32.352223 +09:00
32
+ expression_id: 5
33
+ patron_id: 2
34
+ id: 5
35
+ position: 1
36
+ created_at: 2008-01-11 02:34:32.352223 +09:00
37
+ realize_00006:
38
+ updated_at: 2008-01-11 23:35:36.467584 +09:00
39
+ expression_id: 1
40
+ patron_id: 3
41
+ id: 6
42
+ position: 2
43
+ created_at: 2008-01-11 23:35:36.467584 +09:00
44
+ realize_00007:
45
+ updated_at: 2008-01-11 02:40:24.038276 +09:00
46
+ expression_id: 2
47
+ patron_id: 1
48
+ id: 7
49
+ position: 2
50
+ created_at: 2008-01-11 02:40:24.038276 +09:00
51
+ realize_00008:
52
+ updated_at: 2008-01-11 02:40:40.316742 +09:00
53
+ expression_id: 3
54
+ patron_id: 2
55
+ id: 8
56
+ position: 2
57
+ created_at: 2008-01-11 02:40:40.316742 +09:00
58
+ realize_00009:
59
+ updated_at: 2008-01-11 02:40:55.664604 +09:00
60
+ expression_id: 4
61
+ patron_id: 3
62
+ id: 9
63
+ position: 2
64
+ created_at: 2008-01-11 02:40:55.664604 +09:00
65
+ realize_00010:
66
+ updated_at: 2008-01-11 02:44:37.135721 +09:00
67
+ expression_id: 5
68
+ patron_id: 1
69
+ id: 10
70
+ position: 2
71
+ created_at: 2008-01-11 02:44:37.135721 +09:00
72
+
73
+
74
+ # == Schema Information
75
+ #
76
+ # Table name: realizes
77
+ #
78
+ # id :integer not null, primary key
79
+ # patron_id :integer not null
80
+ # expression_id :integer not null
81
+ # position :integer
82
+ # type :string(255)
83
+ # created_at :datetime
84
+ # updated_at :datetime
85
+ # realize_type_id :integer
86
+ #
87
+
@@ -0,0 +1,21 @@
1
+ ---
2
+ role_00001:
3
+ name: Guest
4
+ display_name: Guest
5
+ id: 1
6
+ note:
7
+ role_00002:
8
+ name: User
9
+ display_name: User
10
+ id: 2
11
+ note:
12
+ role_00003:
13
+ name: Librarian
14
+ display_name: Librarian
15
+ id: 3
16
+ note:
17
+ role_00004:
18
+ name: Administrator
19
+ display_name: Administrator
20
+ id: 4
21
+ note:
@@ -0,0 +1,41 @@
1
+ # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
2
+
3
+ admin:
4
+ user_id: 1
5
+ role_id: 4
6
+
7
+ librarian1:
8
+ user_id: 2
9
+ role_id: 3
10
+
11
+ user1:
12
+ user_id: 3
13
+ role_id: 2
14
+
15
+ librarian2:
16
+ user_id: 4
17
+ role_id: 3
18
+
19
+ user2:
20
+ user_id: 5
21
+ role_id: 2
22
+
23
+ user3:
24
+ user_id: 6
25
+ role_id: 2
26
+
27
+ user4:
28
+ user_id: 7
29
+ role_id: 2
30
+
31
+ # == Schema Information
32
+ #
33
+ # Table name: user_has_roles
34
+ #
35
+ # id :integer not null, primary key
36
+ # user_id :integer
37
+ # role_id :integer
38
+ # created_at :datetime
39
+ # updated_at :datetime
40
+ #
41
+