enju_oai 0.1.0.pre10 → 0.1.0.pre11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/config/initializers/mime_types.rb +1 -1
  3. data/lib/enju_oai/version.rb +1 -1
  4. data/spec/dummy/db/migrate/{001_create_patrons.rb → 001_create_agents.rb} +9 -8
  5. data/spec/dummy/db/migrate/002_devise_create_users.rb +0 -35
  6. data/spec/dummy/db/migrate/005_create_manifestations.rb +7 -18
  7. data/spec/dummy/db/migrate/012_create_owns.rb +2 -2
  8. data/spec/dummy/db/migrate/015_create_creates.rb +2 -2
  9. data/spec/dummy/db/migrate/047_create_produces.rb +2 -2
  10. data/spec/dummy/db/migrate/080_create_library_groups.rb +1 -3
  11. data/spec/dummy/db/migrate/120_create_baskets.rb +12 -0
  12. data/spec/dummy/db/migrate/125_create_donates.rb +2 -2
  13. data/spec/dummy/db/migrate/20080830154109_create_realizes.rb +2 -2
  14. data/spec/dummy/db/migrate/{20080905191442_create_patron_types.rb → 20080905191442_create_agent_types.rb} +2 -2
  15. data/spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb +22 -0
  16. data/spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb +1 -1
  17. data/spec/dummy/db/migrate/{20090812151902_create_patron_relationship_types.rb → 20090812151902_create_agent_relationship_types.rb} +2 -2
  18. data/spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb +2 -2
  19. data/spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb +9 -0
  20. data/spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb +13 -0
  21. data/spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb +11 -0
  22. data/spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb +12 -0
  23. data/spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb +11 -0
  24. data/spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb +0 -2
  25. data/spec/dummy/db/migrate/20120319173203_create_accepts.rb +14 -0
  26. data/spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb +5 -0
  27. data/spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb +5 -0
  28. data/spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb +6 -0
  29. data/spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb +5 -0
  30. data/spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb +5 -0
  31. data/spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb +26 -0
  32. data/spec/dummy/db/migrate/{20100502171926_add_latitude_and_longitude_to_library.rb → 20130412083556_add_latitude_and_longitude_to_library.rb} +1 -6
  33. data/spec/dummy/db/migrate/20130506175834_create_identifiers.rb +1 -0
  34. data/spec/dummy/db/schema.rb +172 -216
  35. data/spec/dummy/db/test.sqlite3 +0 -0
  36. data/spec/dummy/solr/conf/schema.xml +1 -0
  37. data/spec/dummy/solr/data/test/index/{_43.frq → _r.frq} +0 -0
  38. data/spec/dummy/solr/data/test/index/{_43.nrm → _r.nrm} +1 -1
  39. data/spec/dummy/solr/data/test/index/{_43.prx → _r.prx} +0 -0
  40. data/spec/dummy/solr/data/test/index/_r.tii +0 -0
  41. data/spec/dummy/solr/data/test/index/{_43.tis → _r.tis} +0 -0
  42. data/spec/dummy/solr/data/test/index/{_44.frq → _s.frq} +0 -0
  43. data/spec/dummy/solr/data/test/index/{_44.prx → _s.prx} +0 -0
  44. data/spec/dummy/solr/data/test/index/_s.tii +0 -0
  45. data/spec/dummy/solr/data/test/index/{_44.tis → _s.tis} +0 -0
  46. data/spec/dummy/solr/data/test/index/{_45.fnm → _t.fnm} +3 -2
  47. data/spec/dummy/solr/data/test/index/_t.frq +0 -0
  48. data/spec/dummy/solr/data/test/index/{_45.nrm → _t.nrm} +1 -1
  49. data/spec/dummy/solr/data/test/index/_t.prx +0 -0
  50. data/spec/dummy/solr/data/test/index/_t.tii +0 -0
  51. data/spec/dummy/solr/data/test/index/_t.tis +0 -0
  52. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  53. data/spec/dummy/solr/data/test/index/segments_15 +0 -0
  54. data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
  55. data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
  56. data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
  57. data/spec/fixtures/{patron_import_files.yml → agent_import_files.yml} +18 -18
  58. data/spec/fixtures/{patron_import_results.yml → agent_import_results.yml} +7 -7
  59. data/spec/fixtures/{patron_relationship_types.yml → agent_relationship_types.yml} +4 -4
  60. data/spec/fixtures/{patron_relationships.yml → agent_relationships.yml} +4 -4
  61. data/spec/fixtures/{patron_types.yml → agent_types.yml} +4 -4
  62. data/spec/fixtures/{patrons.yml → agents.yml} +46 -46
  63. data/spec/fixtures/creates.yml +8 -8
  64. data/spec/fixtures/donates.yml +4 -4
  65. data/spec/fixtures/manifestations.yml +25 -162
  66. data/spec/fixtures/owns.yml +3 -3
  67. data/spec/fixtures/produces.yml +20 -20
  68. data/spec/fixtures/realizes.yml +11 -11
  69. data/spec/fixtures/user_groups.yml +0 -7
  70. metadata +101 -139
  71. data/spec/dummy/app/models/role.rb +0 -46
  72. data/spec/dummy/app/models/user_has_role.rb +0 -4
  73. data/spec/dummy/db/migrate/20081028083142_create_patron_import_files.rb +0 -22
  74. data/spec/dummy/db/migrate/20100326024214_add_date_index_to_resource.rb +0 -11
  75. data/spec/dummy/db/migrate/20100606073747_create_patron_relationships.rb +0 -13
  76. data/spec/dummy/db/migrate/20100627193848_add_enju_access_key_to_user.rb +0 -10
  77. data/spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb +0 -11
  78. data/spec/dummy/db/migrate/20100919121500_drop_user_email_unique_index.rb +0 -11
  79. data/spec/dummy/db/migrate/20100925074559_create_patron_import_results.rb +0 -12
  80. data/spec/dummy/db/migrate/20101103090330_add_title_to_patron.rb +0 -9
  81. data/spec/dummy/db/migrate/20101103090457_rename_manifestation_identifier_to_identifier.rb +0 -9
  82. data/spec/dummy/db/migrate/20110115022329_add_position_to_library_group.rb +0 -9
  83. data/spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb +0 -11
  84. data/spec/dummy/db/migrate/20110425133109_add_issn_to_series_statement.rb +0 -9
  85. data/spec/dummy/db/migrate/20110618091240_add_periodical_to_series_statement.rb +0 -9
  86. data/spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb +0 -9
  87. data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +0 -12
  88. data/spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb +0 -13
  89. data/spec/dummy/db/migrate/20110820131417_create_series_has_manifestations.rb +0 -13
  90. data/spec/dummy/db/migrate/20110916053430_rename_manifestation_number_list_to_number_string.rb +0 -13
  91. data/spec/dummy/db/migrate/20110927135845_add_missing_since_to_item.rb +0 -9
  92. data/spec/dummy/db/migrate/20111009183423_add_ndc_to_manifestation.rb +0 -9
  93. data/spec/dummy/db/migrate/20111103221239_rename_manifestation_identifier_to_manifestation_identifier.rb +0 -9
  94. data/spec/dummy/db/migrate/20120413161403_add_fingerprint_to_patron_import_file.rb +0 -5
  95. data/spec/dummy/db/migrate/20120413170720_add_error_message_to_patron_import_file.rb +0 -5
  96. data/spec/dummy/db/migrate/20120413225628_add_fingerprint_to_manifestation.rb +0 -5
  97. data/spec/dummy/db/migrate/20120415060308_rename_resource_import_file_imported_at_to_executed_at.rb +0 -9
  98. data/spec/dummy/db/migrate/20120415060323_rename_patron_import_file_imported_at_to_executed_at.rb +0 -9
  99. data/spec/dummy/db/migrate/20120426034355_add_unique_index_to_item_identifier.rb +0 -11
  100. data/spec/dummy/db/migrate/20120426042730_add_unique_index_to_manifestation_identifier.rb +0 -11
  101. data/spec/dummy/db/migrate/20120511072422_add_patron_identifier_to_patron.rb +0 -6
  102. data/spec/dummy/db/migrate/20120602141129_add_edit_mode_to_patron_import_file.rb +0 -5
  103. data/spec/dummy/db/migrate/20120728204337_create_series_statement_relationships.rb +0 -11
  104. data/spec/dummy/solr/data/test/index/_43.tii +0 -0
  105. data/spec/dummy/solr/data/test/index/_44.tii +0 -0
  106. data/spec/dummy/solr/data/test/index/_45.frq +0 -0
  107. data/spec/dummy/solr/data/test/index/_45.prx +0 -0
  108. data/spec/dummy/solr/data/test/index/_45.tii +0 -0
  109. data/spec/dummy/solr/data/test/index/_45.tis +0 -0
  110. data/spec/dummy/solr/data/test/index/segments_5v +0 -0
  111. /data/spec/dummy/solr/data/test/index/{_43.fdt → _r.fdt} +0 -0
  112. /data/spec/dummy/solr/data/test/index/{_43.fdx → _r.fdx} +0 -0
  113. /data/spec/dummy/solr/data/test/index/{_43.fnm → _r.fnm} +0 -0
  114. /data/spec/dummy/solr/data/test/index/{_44.fdt → _s.fdt} +0 -0
  115. /data/spec/dummy/solr/data/test/index/{_44.fdx → _s.fdx} +0 -0
  116. /data/spec/dummy/solr/data/test/index/{_44.fnm → _s.fnm} +0 -0
  117. /data/spec/dummy/solr/data/test/index/{_44.nrm → _s.nrm} +0 -0
  118. /data/spec/dummy/solr/data/test/index/{_45.fdt → _t.fdt} +0 -0
  119. /data/spec/dummy/solr/data/test/index/{_45.fdx → _t.fdx} +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_oai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre10
4
+ version: 0.1.0.pre11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-01 00:00:00.000000000 Z
11
+ date: 2013-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -139,10 +139,8 @@ files:
139
139
  - spec/dummy/app/controllers/application_controller.rb
140
140
  - spec/dummy/app/helpers/application_helper.rb
141
141
  - spec/dummy/app/models/ability.rb
142
- - spec/dummy/app/models/role.rb
143
142
  - spec/dummy/app/models/setting.rb
144
143
  - spec/dummy/app/models/user.rb
145
- - spec/dummy/app/models/user_has_role.rb
146
144
  - spec/dummy/app/views/layouts/application.html.erb
147
145
  - spec/dummy/config/application.rb
148
146
  - spec/dummy/config/application.yml
@@ -163,7 +161,7 @@ files:
163
161
  - spec/dummy/config/routes.rb
164
162
  - spec/dummy/config.ru
165
163
  - spec/dummy/db/development.sqlite3
166
- - spec/dummy/db/migrate/001_create_patrons.rb
164
+ - spec/dummy/db/migrate/001_create_agents.rb
167
165
  - spec/dummy/db/migrate/002_devise_create_users.rb
168
166
  - spec/dummy/db/migrate/005_create_manifestations.rb
169
167
  - spec/dummy/db/migrate/006_create_items.rb
@@ -178,27 +176,28 @@ files:
178
176
  - spec/dummy/db/migrate/080_create_library_groups.rb
179
177
  - spec/dummy/db/migrate/112_create_frequencies.rb
180
178
  - spec/dummy/db/migrate/117_create_form_of_works.rb
179
+ - spec/dummy/db/migrate/120_create_baskets.rb
181
180
  - spec/dummy/db/migrate/124_create_bookstores.rb
182
181
  - spec/dummy/db/migrate/125_create_donates.rb
183
182
  - spec/dummy/db/migrate/130_create_request_status_types.rb
184
183
  - spec/dummy/db/migrate/131_create_request_types.rb
185
184
  - spec/dummy/db/migrate/20080830154109_create_realizes.rb
186
185
  - spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
187
- - spec/dummy/db/migrate/20080905191442_create_patron_types.rb
186
+ - spec/dummy/db/migrate/20080905191442_create_agent_types.rb
188
187
  - spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
189
188
  - spec/dummy/db/migrate/20081006093246_create_subscribes.rb
190
189
  - spec/dummy/db/migrate/20081023092436_create_search_engines.rb
191
190
  - spec/dummy/db/migrate/20081025083323_create_countries.rb
192
191
  - spec/dummy/db/migrate/20081025083905_create_languages.rb
193
192
  - spec/dummy/db/migrate/20081027150907_create_picture_files.rb
194
- - spec/dummy/db/migrate/20081028083142_create_patron_import_files.rb
193
+ - spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
195
194
  - spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
196
195
  - spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb
197
196
  - spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb
198
197
  - spec/dummy/db/migrate/20090719201843_create_extents.rb
199
198
  - spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb
200
199
  - spec/dummy/db/migrate/20090720091429_create_content_types.rb
201
- - spec/dummy/db/migrate/20090812151902_create_patron_relationship_types.rb
200
+ - spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb
202
201
  - spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb
203
202
  - spec/dummy/db/migrate/20091025080447_create_licenses.rb
204
203
  - spec/dummy/db/migrate/20091202124834_create_versions.rb
@@ -206,42 +205,26 @@ files:
206
205
  - spec/dummy/db/migrate/20100129142347_create_import_requests.rb
207
206
  - spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb
208
207
  - spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb
208
+ - spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb
209
209
  - spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
210
- - spec/dummy/db/migrate/20100326024214_add_date_index_to_resource.rb
211
- - spec/dummy/db/migrate/20100502171926_add_latitude_and_longitude_to_library.rb
212
210
  - spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb
213
211
  - spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb
214
- - spec/dummy/db/migrate/20100606073747_create_patron_relationships.rb
212
+ - spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb
215
213
  - spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb
216
- - spec/dummy/db/migrate/20100627193848_add_enju_access_key_to_user.rb
217
- - spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
218
- - spec/dummy/db/migrate/20100919121500_drop_user_email_unique_index.rb
214
+ - spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
219
215
  - spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb
220
- - spec/dummy/db/migrate/20100925074559_create_patron_import_results.rb
221
- - spec/dummy/db/migrate/20101103090330_add_title_to_patron.rb
222
- - spec/dummy/db/migrate/20101103090457_rename_manifestation_identifier_to_identifier.rb
216
+ - spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb
223
217
  - spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb
224
- - spec/dummy/db/migrate/20110115022329_add_position_to_library_group.rb
225
218
  - spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
226
219
  - spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb
227
- - spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb
220
+ - spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb
228
221
  - spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
229
- - spec/dummy/db/migrate/20110425133109_add_issn_to_series_statement.rb
230
222
  - spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb
231
- - spec/dummy/db/migrate/20110618091240_add_periodical_to_series_statement.rb
232
223
  - spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb
233
224
  - spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb
234
- - spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb
235
- - spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
236
- - spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
237
- - spec/dummy/db/migrate/20110820131417_create_series_has_manifestations.rb
238
- - spec/dummy/db/migrate/20110916053430_rename_manifestation_number_list_to_number_string.rb
239
225
  - spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
240
226
  - spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
241
227
  - spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb
242
- - spec/dummy/db/migrate/20110927135845_add_missing_since_to_item.rb
243
- - spec/dummy/db/migrate/20111009183423_add_ndc_to_manifestation.rb
244
- - spec/dummy/db/migrate/20111103221239_rename_manifestation_identifier_to_manifestation_identifier.rb
245
228
  - spec/dummy/db/migrate/20111124110059_create_create_types.rb
246
229
  - spec/dummy/db/migrate/20111124110319_create_realize_types.rb
247
230
  - spec/dummy/db/migrate/20111124110355_create_produce_types.rb
@@ -251,25 +234,23 @@ files:
251
234
  - spec/dummy/db/migrate/20120129014038_create_budget_types.rb
252
235
  - spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb
253
236
  - spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb
237
+ - spec/dummy/db/migrate/20120319173203_create_accepts.rb
254
238
  - spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb
255
239
  - spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb
256
240
  - spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb
257
241
  - spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb
258
- - spec/dummy/db/migrate/20120413161403_add_fingerprint_to_patron_import_file.rb
242
+ - spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb
259
243
  - spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb
260
- - spec/dummy/db/migrate/20120413170720_add_error_message_to_patron_import_file.rb
261
- - spec/dummy/db/migrate/20120413225628_add_fingerprint_to_manifestation.rb
262
- - spec/dummy/db/migrate/20120415060308_rename_resource_import_file_imported_at_to_executed_at.rb
263
- - spec/dummy/db/migrate/20120415060323_rename_patron_import_file_imported_at_to_executed_at.rb
244
+ - spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb
264
245
  - spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb
265
246
  - spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
266
- - spec/dummy/db/migrate/20120426034355_add_unique_index_to_item_identifier.rb
267
- - spec/dummy/db/migrate/20120426042730_add_unique_index_to_manifestation_identifier.rb
268
247
  - spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb
269
- - spec/dummy/db/migrate/20120511072422_add_patron_identifier_to_patron.rb
270
- - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_patron_import_file.rb
271
- - spec/dummy/db/migrate/20120728204337_create_series_statement_relationships.rb
248
+ - spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb
249
+ - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb
250
+ - spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb
272
251
  - spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb
252
+ - spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb
253
+ - spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb
273
254
  - spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb
274
255
  - spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
275
256
  - spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb
@@ -296,38 +277,44 @@ files:
296
277
  - spec/dummy/solr/conf/spellings.txt
297
278
  - spec/dummy/solr/conf/stopwords.txt
298
279
  - spec/dummy/solr/conf/synonyms.txt
299
- - spec/dummy/solr/data/test/index/_43.fdt
300
- - spec/dummy/solr/data/test/index/_43.fdx
301
- - spec/dummy/solr/data/test/index/_43.fnm
302
- - spec/dummy/solr/data/test/index/_43.frq
303
- - spec/dummy/solr/data/test/index/_43.nrm
304
- - spec/dummy/solr/data/test/index/_43.prx
305
- - spec/dummy/solr/data/test/index/_43.tii
306
- - spec/dummy/solr/data/test/index/_43.tis
307
- - spec/dummy/solr/data/test/index/_44.fdt
308
- - spec/dummy/solr/data/test/index/_44.fdx
309
- - spec/dummy/solr/data/test/index/_44.fnm
310
- - spec/dummy/solr/data/test/index/_44.frq
311
- - spec/dummy/solr/data/test/index/_44.nrm
312
- - spec/dummy/solr/data/test/index/_44.prx
313
- - spec/dummy/solr/data/test/index/_44.tii
314
- - spec/dummy/solr/data/test/index/_44.tis
315
- - spec/dummy/solr/data/test/index/_45.fdt
316
- - spec/dummy/solr/data/test/index/_45.fdx
317
- - spec/dummy/solr/data/test/index/_45.fnm
318
- - spec/dummy/solr/data/test/index/_45.frq
319
- - spec/dummy/solr/data/test/index/_45.nrm
320
- - spec/dummy/solr/data/test/index/_45.prx
321
- - spec/dummy/solr/data/test/index/_45.tii
322
- - spec/dummy/solr/data/test/index/_45.tis
280
+ - spec/dummy/solr/data/test/index/_r.fdt
281
+ - spec/dummy/solr/data/test/index/_r.fdx
282
+ - spec/dummy/solr/data/test/index/_r.fnm
283
+ - spec/dummy/solr/data/test/index/_r.frq
284
+ - spec/dummy/solr/data/test/index/_r.nrm
285
+ - spec/dummy/solr/data/test/index/_r.prx
286
+ - spec/dummy/solr/data/test/index/_r.tii
287
+ - spec/dummy/solr/data/test/index/_r.tis
288
+ - spec/dummy/solr/data/test/index/_s.fdt
289
+ - spec/dummy/solr/data/test/index/_s.fdx
290
+ - spec/dummy/solr/data/test/index/_s.fnm
291
+ - spec/dummy/solr/data/test/index/_s.frq
292
+ - spec/dummy/solr/data/test/index/_s.nrm
293
+ - spec/dummy/solr/data/test/index/_s.prx
294
+ - spec/dummy/solr/data/test/index/_s.tii
295
+ - spec/dummy/solr/data/test/index/_s.tis
296
+ - spec/dummy/solr/data/test/index/_t.fdt
297
+ - spec/dummy/solr/data/test/index/_t.fdx
298
+ - spec/dummy/solr/data/test/index/_t.fnm
299
+ - spec/dummy/solr/data/test/index/_t.frq
300
+ - spec/dummy/solr/data/test/index/_t.nrm
301
+ - spec/dummy/solr/data/test/index/_t.prx
302
+ - spec/dummy/solr/data/test/index/_t.tii
303
+ - spec/dummy/solr/data/test/index/_t.tis
323
304
  - spec/dummy/solr/data/test/index/segments.gen
324
- - spec/dummy/solr/data/test/index/segments_5v
305
+ - spec/dummy/solr/data/test/index/segments_15
325
306
  - spec/dummy/solr/data/test/spellchecker/segments.gen
326
307
  - spec/dummy/solr/data/test/spellchecker/segments_1
327
308
  - spec/dummy/tmp/cache/4F7/F90/default_role
328
309
  - spec/dummy/tmp/cache/6E4/420/search_engine_all
329
310
  - spec/factories/manifestation.rb
330
311
  - spec/factories/user.rb
312
+ - spec/fixtures/agent_import_files.yml
313
+ - spec/fixtures/agent_import_results.yml
314
+ - spec/fixtures/agent_relationship_types.yml
315
+ - spec/fixtures/agent_relationships.yml
316
+ - spec/fixtures/agent_types.yml
317
+ - spec/fixtures/agents.yml
331
318
  - spec/fixtures/bookstores.yml
332
319
  - spec/fixtures/budget_types.yml
333
320
  - spec/fixtures/carrier_types.yml
@@ -353,12 +340,6 @@ files:
353
340
  - spec/fixtures/manifestations.yml
354
341
  - spec/fixtures/medium_of_performances.yml
355
342
  - spec/fixtures/owns.yml
356
- - spec/fixtures/patron_import_files.yml
357
- - spec/fixtures/patron_import_results.yml
358
- - spec/fixtures/patron_relationship_types.yml
359
- - spec/fixtures/patron_relationships.yml
360
- - spec/fixtures/patron_types.yml
361
- - spec/fixtures/patrons.yml
362
343
  - spec/fixtures/picture_files.yml
363
344
  - spec/fixtures/produce_types.yml
364
345
  - spec/fixtures/produces.yml
@@ -396,7 +377,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
396
377
  version: 1.3.1
397
378
  requirements: []
398
379
  rubyforge_project:
399
- rubygems_version: 2.0.2
380
+ rubygems_version: 2.0.3
400
381
  signing_key:
401
382
  specification_version: 4
402
383
  summary: enju_oai plugin
@@ -407,10 +388,8 @@ test_files:
407
388
  - spec/dummy/app/controllers/application_controller.rb
408
389
  - spec/dummy/app/helpers/application_helper.rb
409
390
  - spec/dummy/app/models/ability.rb
410
- - spec/dummy/app/models/role.rb
411
391
  - spec/dummy/app/models/setting.rb
412
392
  - spec/dummy/app/models/user.rb
413
- - spec/dummy/app/models/user_has_role.rb
414
393
  - spec/dummy/app/views/layouts/application.html.erb
415
394
  - spec/dummy/config/application.rb
416
395
  - spec/dummy/config/application.yml
@@ -431,7 +410,7 @@ test_files:
431
410
  - spec/dummy/config/routes.rb
432
411
  - spec/dummy/config.ru
433
412
  - spec/dummy/db/development.sqlite3
434
- - spec/dummy/db/migrate/001_create_patrons.rb
413
+ - spec/dummy/db/migrate/001_create_agents.rb
435
414
  - spec/dummy/db/migrate/002_devise_create_users.rb
436
415
  - spec/dummy/db/migrate/005_create_manifestations.rb
437
416
  - spec/dummy/db/migrate/006_create_items.rb
@@ -446,27 +425,28 @@ test_files:
446
425
  - spec/dummy/db/migrate/080_create_library_groups.rb
447
426
  - spec/dummy/db/migrate/112_create_frequencies.rb
448
427
  - spec/dummy/db/migrate/117_create_form_of_works.rb
428
+ - spec/dummy/db/migrate/120_create_baskets.rb
449
429
  - spec/dummy/db/migrate/124_create_bookstores.rb
450
430
  - spec/dummy/db/migrate/125_create_donates.rb
451
431
  - spec/dummy/db/migrate/130_create_request_status_types.rb
452
432
  - spec/dummy/db/migrate/131_create_request_types.rb
453
433
  - spec/dummy/db/migrate/20080830154109_create_realizes.rb
454
434
  - spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
455
- - spec/dummy/db/migrate/20080905191442_create_patron_types.rb
435
+ - spec/dummy/db/migrate/20080905191442_create_agent_types.rb
456
436
  - spec/dummy/db/migrate/20081006090811_create_subscriptions.rb
457
437
  - spec/dummy/db/migrate/20081006093246_create_subscribes.rb
458
438
  - spec/dummy/db/migrate/20081023092436_create_search_engines.rb
459
439
  - spec/dummy/db/migrate/20081025083323_create_countries.rb
460
440
  - spec/dummy/db/migrate/20081025083905_create_languages.rb
461
441
  - spec/dummy/db/migrate/20081027150907_create_picture_files.rb
462
- - spec/dummy/db/migrate/20081028083142_create_patron_import_files.rb
442
+ - spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
463
443
  - spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
464
444
  - spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb
465
445
  - spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb
466
446
  - spec/dummy/db/migrate/20090719201843_create_extents.rb
467
447
  - spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb
468
448
  - spec/dummy/db/migrate/20090720091429_create_content_types.rb
469
- - spec/dummy/db/migrate/20090812151902_create_patron_relationship_types.rb
449
+ - spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb
470
450
  - spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb
471
451
  - spec/dummy/db/migrate/20091025080447_create_licenses.rb
472
452
  - spec/dummy/db/migrate/20091202124834_create_versions.rb
@@ -474,42 +454,26 @@ test_files:
474
454
  - spec/dummy/db/migrate/20100129142347_create_import_requests.rb
475
455
  - spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb
476
456
  - spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb
457
+ - spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb
477
458
  - spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
478
- - spec/dummy/db/migrate/20100326024214_add_date_index_to_resource.rb
479
- - spec/dummy/db/migrate/20100502171926_add_latitude_and_longitude_to_library.rb
480
459
  - spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb
481
460
  - spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb
482
- - spec/dummy/db/migrate/20100606073747_create_patron_relationships.rb
461
+ - spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb
483
462
  - spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb
484
- - spec/dummy/db/migrate/20100627193848_add_enju_access_key_to_user.rb
485
- - spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
486
- - spec/dummy/db/migrate/20100919121500_drop_user_email_unique_index.rb
463
+ - spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb
487
464
  - spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb
488
- - spec/dummy/db/migrate/20100925074559_create_patron_import_results.rb
489
- - spec/dummy/db/migrate/20101103090330_add_title_to_patron.rb
490
- - spec/dummy/db/migrate/20101103090457_rename_manifestation_identifier_to_identifier.rb
465
+ - spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb
491
466
  - spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb
492
- - spec/dummy/db/migrate/20110115022329_add_position_to_library_group.rb
493
467
  - spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb
494
468
  - spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb
495
- - spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb
469
+ - spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb
496
470
  - spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb
497
- - spec/dummy/db/migrate/20110425133109_add_issn_to_series_statement.rb
498
471
  - spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb
499
- - spec/dummy/db/migrate/20110618091240_add_periodical_to_series_statement.rb
500
472
  - spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb
501
473
  - spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb
502
- - spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb
503
- - spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
504
- - spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb
505
- - spec/dummy/db/migrate/20110820131417_create_series_has_manifestations.rb
506
- - spec/dummy/db/migrate/20110916053430_rename_manifestation_number_list_to_number_string.rb
507
474
  - spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
508
475
  - spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
509
476
  - spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb
510
- - spec/dummy/db/migrate/20110927135845_add_missing_since_to_item.rb
511
- - spec/dummy/db/migrate/20111009183423_add_ndc_to_manifestation.rb
512
- - spec/dummy/db/migrate/20111103221239_rename_manifestation_identifier_to_manifestation_identifier.rb
513
477
  - spec/dummy/db/migrate/20111124110059_create_create_types.rb
514
478
  - spec/dummy/db/migrate/20111124110319_create_realize_types.rb
515
479
  - spec/dummy/db/migrate/20111124110355_create_produce_types.rb
@@ -519,25 +483,23 @@ test_files:
519
483
  - spec/dummy/db/migrate/20120129014038_create_budget_types.rb
520
484
  - spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb
521
485
  - spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb
486
+ - spec/dummy/db/migrate/20120319173203_create_accepts.rb
522
487
  - spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb
523
488
  - spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb
524
489
  - spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb
525
490
  - spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb
526
- - spec/dummy/db/migrate/20120413161403_add_fingerprint_to_patron_import_file.rb
491
+ - spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb
527
492
  - spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb
528
- - spec/dummy/db/migrate/20120413170720_add_error_message_to_patron_import_file.rb
529
- - spec/dummy/db/migrate/20120413225628_add_fingerprint_to_manifestation.rb
530
- - spec/dummy/db/migrate/20120415060308_rename_resource_import_file_imported_at_to_executed_at.rb
531
- - spec/dummy/db/migrate/20120415060323_rename_patron_import_file_imported_at_to_executed_at.rb
493
+ - spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb
532
494
  - spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb
533
495
  - spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
534
- - spec/dummy/db/migrate/20120426034355_add_unique_index_to_item_identifier.rb
535
- - spec/dummy/db/migrate/20120426042730_add_unique_index_to_manifestation_identifier.rb
536
496
  - spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb
537
- - spec/dummy/db/migrate/20120511072422_add_patron_identifier_to_patron.rb
538
- - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_patron_import_file.rb
539
- - spec/dummy/db/migrate/20120728204337_create_series_statement_relationships.rb
497
+ - spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb
498
+ - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb
499
+ - spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb
540
500
  - spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb
501
+ - spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb
502
+ - spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb
541
503
  - spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb
542
504
  - spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
543
505
  - spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb
@@ -564,38 +526,44 @@ test_files:
564
526
  - spec/dummy/solr/conf/spellings.txt
565
527
  - spec/dummy/solr/conf/stopwords.txt
566
528
  - spec/dummy/solr/conf/synonyms.txt
567
- - spec/dummy/solr/data/test/index/_43.fdt
568
- - spec/dummy/solr/data/test/index/_43.fdx
569
- - spec/dummy/solr/data/test/index/_43.fnm
570
- - spec/dummy/solr/data/test/index/_43.frq
571
- - spec/dummy/solr/data/test/index/_43.nrm
572
- - spec/dummy/solr/data/test/index/_43.prx
573
- - spec/dummy/solr/data/test/index/_43.tii
574
- - spec/dummy/solr/data/test/index/_43.tis
575
- - spec/dummy/solr/data/test/index/_44.fdt
576
- - spec/dummy/solr/data/test/index/_44.fdx
577
- - spec/dummy/solr/data/test/index/_44.fnm
578
- - spec/dummy/solr/data/test/index/_44.frq
579
- - spec/dummy/solr/data/test/index/_44.nrm
580
- - spec/dummy/solr/data/test/index/_44.prx
581
- - spec/dummy/solr/data/test/index/_44.tii
582
- - spec/dummy/solr/data/test/index/_44.tis
583
- - spec/dummy/solr/data/test/index/_45.fdt
584
- - spec/dummy/solr/data/test/index/_45.fdx
585
- - spec/dummy/solr/data/test/index/_45.fnm
586
- - spec/dummy/solr/data/test/index/_45.frq
587
- - spec/dummy/solr/data/test/index/_45.nrm
588
- - spec/dummy/solr/data/test/index/_45.prx
589
- - spec/dummy/solr/data/test/index/_45.tii
590
- - spec/dummy/solr/data/test/index/_45.tis
529
+ - spec/dummy/solr/data/test/index/_r.fdt
530
+ - spec/dummy/solr/data/test/index/_r.fdx
531
+ - spec/dummy/solr/data/test/index/_r.fnm
532
+ - spec/dummy/solr/data/test/index/_r.frq
533
+ - spec/dummy/solr/data/test/index/_r.nrm
534
+ - spec/dummy/solr/data/test/index/_r.prx
535
+ - spec/dummy/solr/data/test/index/_r.tii
536
+ - spec/dummy/solr/data/test/index/_r.tis
537
+ - spec/dummy/solr/data/test/index/_s.fdt
538
+ - spec/dummy/solr/data/test/index/_s.fdx
539
+ - spec/dummy/solr/data/test/index/_s.fnm
540
+ - spec/dummy/solr/data/test/index/_s.frq
541
+ - spec/dummy/solr/data/test/index/_s.nrm
542
+ - spec/dummy/solr/data/test/index/_s.prx
543
+ - spec/dummy/solr/data/test/index/_s.tii
544
+ - spec/dummy/solr/data/test/index/_s.tis
545
+ - spec/dummy/solr/data/test/index/_t.fdt
546
+ - spec/dummy/solr/data/test/index/_t.fdx
547
+ - spec/dummy/solr/data/test/index/_t.fnm
548
+ - spec/dummy/solr/data/test/index/_t.frq
549
+ - spec/dummy/solr/data/test/index/_t.nrm
550
+ - spec/dummy/solr/data/test/index/_t.prx
551
+ - spec/dummy/solr/data/test/index/_t.tii
552
+ - spec/dummy/solr/data/test/index/_t.tis
591
553
  - spec/dummy/solr/data/test/index/segments.gen
592
- - spec/dummy/solr/data/test/index/segments_5v
554
+ - spec/dummy/solr/data/test/index/segments_15
593
555
  - spec/dummy/solr/data/test/spellchecker/segments.gen
594
556
  - spec/dummy/solr/data/test/spellchecker/segments_1
595
557
  - spec/dummy/tmp/cache/4F7/F90/default_role
596
558
  - spec/dummy/tmp/cache/6E4/420/search_engine_all
597
559
  - spec/factories/manifestation.rb
598
560
  - spec/factories/user.rb
561
+ - spec/fixtures/agent_import_files.yml
562
+ - spec/fixtures/agent_import_results.yml
563
+ - spec/fixtures/agent_relationship_types.yml
564
+ - spec/fixtures/agent_relationships.yml
565
+ - spec/fixtures/agent_types.yml
566
+ - spec/fixtures/agents.yml
599
567
  - spec/fixtures/bookstores.yml
600
568
  - spec/fixtures/budget_types.yml
601
569
  - spec/fixtures/carrier_types.yml
@@ -621,12 +589,6 @@ test_files:
621
589
  - spec/fixtures/manifestations.yml
622
590
  - spec/fixtures/medium_of_performances.yml
623
591
  - spec/fixtures/owns.yml
624
- - spec/fixtures/patron_import_files.yml
625
- - spec/fixtures/patron_import_results.yml
626
- - spec/fixtures/patron_relationship_types.yml
627
- - spec/fixtures/patron_relationships.yml
628
- - spec/fixtures/patron_types.yml
629
- - spec/fixtures/patrons.yml
630
592
  - spec/fixtures/picture_files.yml
631
593
  - spec/fixtures/produce_types.yml
632
594
  - spec/fixtures/produces.yml
@@ -1,46 +0,0 @@
1
- class Role < ActiveRecord::Base
2
- include MasterModel
3
- default_scope :order => "roles.position"
4
- has_many :user_has_roles
5
- has_many :users, :through => :user_has_roles
6
- after_save :clear_all_cache
7
- after_destroy :clear_all_cache
8
-
9
- extend FriendlyId
10
- friendly_id :name
11
-
12
- def localized_name
13
- display_name.localize
14
- end
15
-
16
- def self.all_cache
17
- if Rails.env == 'production'
18
- Rails.cache.fetch('role_all'){Role.select(:name).all}
19
- else
20
- Role.select(:name)
21
- end
22
- end
23
-
24
- def clear_all_cache
25
- Rails.cache.delete('role_all')
26
- end
27
-
28
- def self.default_role
29
- Rails.cache.fetch('default_role'){Role.find('Guest')}
30
- end
31
- end
32
-
33
- # == Schema Information
34
- #
35
- # Table name: roles
36
- #
37
- # id :integer not null, primary key
38
- # name :string(255) not null
39
- # display_name :string(255)
40
- # note :text
41
- # created_at :datetime
42
- # updated_at :datetime
43
- # score :integer default(0), not null
44
- # position :integer
45
- #
46
-
@@ -1,4 +0,0 @@
1
- class UserHasRole < ActiveRecord::Base
2
- belongs_to :user
3
- belongs_to :role
4
- end
@@ -1,22 +0,0 @@
1
- class CreatePatronImportFiles < ActiveRecord::Migration
2
- def change
3
- create_table :patron_import_files do |t|
4
- t.integer :parent_id
5
- t.string :content_type
6
- t.integer :size
7
- t.integer :user_id
8
- t.text :note
9
- t.datetime :imported_at
10
- t.string :state
11
- t.string :patron_import_file_name
12
- t.string :patron_import_content_type
13
- t.integer :patron_import_file_size
14
- t.datetime :patron_import_updated_at
15
-
16
- t.timestamps
17
- end
18
- add_index :patron_import_files, :parent_id
19
- add_index :patron_import_files, :user_id
20
- add_index :patron_import_files, :state
21
- end
22
- end
@@ -1,11 +0,0 @@
1
- class AddDateIndexToResource < ActiveRecord::Migration
2
- def self.up
3
- add_index :manifestations, :created_at
4
- add_index :manifestations, :deleted_at
5
- end
6
-
7
- def self.down
8
- remove_index :manifestations, :created_at
9
- remove_index :manifestations, :deleted_at
10
- end
11
- end
@@ -1,13 +0,0 @@
1
- class CreatePatronRelationships < ActiveRecord::Migration
2
- def change
3
- create_table :patron_relationships do |t|
4
- t.integer :parent_id
5
- t.integer :child_id
6
- t.integer :patron_relationship_type_id
7
-
8
- t.timestamps
9
- end
10
- add_index :patron_relationships, :parent_id
11
- add_index :patron_relationships, :child_id
12
- end
13
- end
@@ -1,10 +0,0 @@
1
- class AddEnjuAccessKeyToUser < ActiveRecord::Migration
2
- def self.up
3
- add_column :users, :enju_access_key, :string
4
- add_index :users, :enju_access_key, :unique => true
5
- end
6
-
7
- def self.down
8
- remove_column :users, :enju_access_key
9
- end
10
- end
@@ -1,11 +0,0 @@
1
- class AddPositionToPatronRelationship < ActiveRecord::Migration
2
- def self.up
3
- add_column :manifestation_relationships, :position, :integer
4
- add_column :patron_relationships, :position, :integer
5
- end
6
-
7
- def self.down
8
- remove_column :patron_relationships, :position
9
- remove_column :manifestation_relationships, :position
10
- end
11
- end
@@ -1,11 +0,0 @@
1
- class DropUserEmailUniqueIndex < ActiveRecord::Migration
2
- def self.up
3
- remove_index :users, :email
4
- add_index :users, :email
5
- end
6
-
7
- def self.down
8
- remove_index :users, :email
9
- add_index :users, :email, :unique => true
10
- end
11
- end
@@ -1,12 +0,0 @@
1
- class CreatePatronImportResults < ActiveRecord::Migration
2
- def change
3
- create_table :patron_import_results do |t|
4
- t.integer :patron_import_file_id
5
- t.integer :patron_id
6
- t.integer :user_id
7
- t.text :body
8
-
9
- t.timestamps
10
- end
11
- end
12
- end
@@ -1,9 +0,0 @@
1
- class AddTitleToPatron < ActiveRecord::Migration
2
- def self.up
3
- add_column :patrons, :title, :string
4
- end
5
-
6
- def self.down
7
- remove_column :patrons, :title
8
- end
9
- end
@@ -1,9 +0,0 @@
1
- class RenameManifestationIdentifierToIdentifier < ActiveRecord::Migration
2
- def self.up
3
- rename_column :manifestations, :manifestation_identifier, :identifier
4
- end
5
-
6
- def self.down
7
- rename_column :manifestations, :identifier, :manifestation_identifier
8
- end
9
- end