enju_subject 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. data/app/views/classification_types/index.html.erb +1 -1
  2. data/app/views/classifications/_index.html.erb +1 -1
  3. data/app/views/classifications/_index_subject.html.erb +1 -1
  4. data/app/views/subject_has_classifications/index.html.erb +1 -1
  5. data/app/views/subject_heading_type_has_subjects/index.html.erb +1 -1
  6. data/app/views/subject_heading_types/index.html.erb +1 -1
  7. data/app/views/subject_types/index.html.erb +1 -1
  8. data/app/views/subjects/_index.html.erb +1 -1
  9. data/app/views/subjects/_index_classification.html.erb +1 -1
  10. data/app/views/subjects/_index_work.html.erb +1 -1
  11. data/app/views/subjects/show.html.erb +1 -1
  12. data/app/views/work_has_subjects/index.html.erb +1 -1
  13. data/lib/enju_subject/engine.rb +1 -7
  14. data/lib/enju_subject/expire_editable_fragment.rb +4 -2
  15. data/lib/enju_subject/version.rb +1 -1
  16. data/lib/enju_subject.rb +0 -2
  17. data/spec/dummy/app/models/role.rb +40 -1
  18. data/spec/dummy/app/models/user.rb +29 -0
  19. data/spec/dummy/config/application.rb +2 -1
  20. data/spec/dummy/db/development.sqlite3 +0 -0
  21. data/spec/dummy/db/migrate/001_create_patrons.rb +53 -0
  22. data/spec/dummy/db/migrate/005_create_manifestations.rb +56 -0
  23. data/spec/dummy/db/migrate/006_create_items.rb +28 -0
  24. data/spec/dummy/db/migrate/012_create_owns.rb +12 -0
  25. data/spec/dummy/db/migrate/015_create_creates.rb +12 -0
  26. data/spec/dummy/db/migrate/047_create_produces.rb +12 -0
  27. data/spec/dummy/db/migrate/073_create_carrier_types.rb +1 -5
  28. data/spec/dummy/db/migrate/112_create_frequencies.rb +12 -0
  29. data/spec/dummy/db/migrate/117_create_form_of_works.rb +12 -0
  30. data/spec/dummy/db/migrate/125_create_donates.rb +12 -0
  31. data/spec/dummy/db/migrate/20080830154109_create_realizes.rb +13 -0
  32. data/spec/dummy/db/migrate/20080830172106_create_exemplifies.rb +13 -0
  33. data/spec/dummy/db/migrate/20080905191442_create_patron_types.rb +1 -5
  34. data/spec/dummy/db/migrate/20081025083323_create_countries.rb +28 -0
  35. data/spec/dummy/db/migrate/20081025083905_create_languages.rb +23 -0
  36. data/spec/dummy/db/migrate/20081027150907_create_picture_files.rb +15 -0
  37. data/spec/dummy/db/migrate/20081028083142_create_patron_import_files.rb +22 -0
  38. data/spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb +22 -0
  39. data/spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb +15 -0
  40. data/spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb +15 -0
  41. data/spec/dummy/db/migrate/20090719201843_create_extents.rb +12 -0
  42. data/spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb +12 -0
  43. data/spec/dummy/db/migrate/20090720091429_create_content_types.rb +12 -0
  44. data/spec/dummy/db/migrate/20090812151902_create_patron_relationship_types.rb +12 -0
  45. data/spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb +27 -0
  46. data/spec/dummy/db/migrate/20091025080447_create_licenses.rb +12 -0
  47. data/spec/dummy/db/migrate/20091202124834_create_versions.rb +18 -0
  48. data/spec/dummy/db/migrate/20091214131723_create_series_statements.rb +13 -0
  49. data/spec/dummy/db/migrate/20100129142347_create_import_requests.rb +15 -0
  50. data/spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb +13 -0
  51. data/spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb +10 -0
  52. data/spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb +13 -0
  53. data/spec/dummy/db/migrate/20100606073747_create_patron_relationships.rb +13 -0
  54. data/spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb +12 -0
  55. data/spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb +11 -0
  56. data/spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb +15 -0
  57. data/spec/dummy/db/migrate/20100925074559_create_patron_import_results.rb +12 -0
  58. data/spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb +9 -0
  59. data/spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb +9 -0
  60. data/spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb +11 -0
  61. data/spec/dummy/db/migrate/20110425133109_add_issn_to_series_statement.rb +9 -0
  62. data/spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb +9 -0
  63. data/spec/dummy/db/migrate/20110618091240_add_periodical_to_series_statement.rb +9 -0
  64. data/spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb +9 -0
  65. data/spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb +11 -0
  66. data/spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb +9 -0
  67. data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +12 -0
  68. data/spec/dummy/db/migrate/20110820131417_create_series_has_manifestations.rb +13 -0
  69. data/spec/dummy/db/migrate/20110916053430_rename_manifestation_number_list_to_number_string.rb +13 -0
  70. data/spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb +13 -0
  71. data/spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb +10 -0
  72. data/spec/dummy/db/migrate/20110918161853_rename_series_statement_manifestation_id_to_root_manifestation_id.rb +13 -0
  73. data/spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb +9 -0
  74. data/spec/dummy/db/migrate/20111009183423_add_ndc_to_manifestation.rb +9 -0
  75. data/spec/dummy/db/migrate/20111124110059_create_create_types.rb +12 -0
  76. data/spec/dummy/db/migrate/20111124110319_create_realize_types.rb +12 -0
  77. data/spec/dummy/db/migrate/20111124110355_create_produce_types.rb +12 -0
  78. data/spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb +7 -0
  79. data/spec/dummy/db/migrate/20111201155513_add_devise_to_users.rb +31 -10
  80. data/spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb +6 -0
  81. data/spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb +6 -0
  82. data/spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb +6 -0
  83. data/spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb +5 -0
  84. data/spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb +5 -0
  85. data/spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb +5 -0
  86. data/spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb +5 -0
  87. data/spec/dummy/db/migrate/20120413161403_add_fingerprint_to_patron_import_file.rb +5 -0
  88. data/spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb +5 -0
  89. data/spec/dummy/db/migrate/20120413170720_add_error_message_to_patron_import_file.rb +5 -0
  90. data/spec/dummy/db/migrate/20120415060308_rename_resource_import_file_imported_at_to_executed_at.rb +9 -0
  91. data/spec/dummy/db/migrate/20120415060323_rename_patron_import_file_imported_at_to_executed_at.rb +9 -0
  92. data/spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb +5 -0
  93. data/spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb +5 -0
  94. data/spec/dummy/db/migrate/20120602141129_add_edit_mode_to_patron_import_file.rb +5 -0
  95. data/spec/dummy/db/schema.rb +563 -50
  96. data/spec/dummy/db/test.sqlite3 +0 -0
  97. data/spec/dummy/solr/data/test/index/segments_1 +0 -0
  98. data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
  99. data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
  100. data/spec/requests/subjects_spec.rb +0 -1
  101. metadata +185 -62
  102. data/app/views/classifications/classification_types/_form.html.erb +0 -19
  103. data/app/views/classifications/classification_types/edit.html.erb +0 -13
  104. data/app/views/classifications/classification_types/index.html.erb +0 -45
  105. data/app/views/classifications/classification_types/new.html.erb +0 -12
  106. data/app/views/classifications/classification_types/show.html.erb +0 -30
  107. data/spec/cassette_library/enju_subject/classification_index.yml +0 -30
  108. data/spec/cassette_library/enju_subject/create.yml +0 -49
  109. data/spec/cassette_library/enju_subject/create_subject.yml +0 -82
  110. data/spec/cassette_library/enju_subject/delete.yml +0 -72
  111. data/spec/cassette_library/enju_subject/edit.yml +0 -49
  112. data/spec/cassette_library/enju_subject/index.yml +0 -82
  113. data/spec/cassette_library/enju_subject/show.yml +0 -72
  114. data/spec/cassette_library/enju_subject/update.yml +0 -72
  115. data/spec/dummy/app/models/carrier_type.rb +0 -4
  116. data/spec/dummy/app/models/manifestation.rb +0 -13
  117. data/spec/dummy/db/migrate/20111201115353_create_manifestations.rb +0 -17
  118. data/spec/dummy/db/migrate/20111201115421_create_patrons.rb +0 -14
  119. data/spec/dummy/db/migrate/20111201121636_create_languages.rb +0 -16
  120. data/spec/dummy/lib/localized_name.rb +0 -13
  121. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  122. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  123. data/spec/dummy/tmp/cache/assets/D47/9C0/sprockets%2Fed08c2088e78d59a4fc4ea21b625784b +0 -0
  124. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  125. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  126. data/spec/dummy/tmp/cache/assets/D63/4E0/sprockets%2F0d39549b9e061d4b82c2ba3ac7ec5c31 +0 -0
  127. data/spec/dummy/tmp/cache/assets/DAD/4B0/sprockets%2Fb5993ad241d17bf516c64e9fcd9f68bb +0 -0
  128. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  129. data/spec/dummy/tmp/cache/assets/DFD/1C0/sprockets%2Fbba00f45f706fc39c4fbfc79305c9afb +0 -0
  130. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
Binary file
@@ -1,7 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe "Subjects" do
4
- fixtures :all
5
4
  describe "GET /subjects", :solr => true do
6
5
  it "works! (now write some real specs)" do
7
6
  get subjects_path
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_subject
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-30 00:00:00.000000000 Z
12
+ date: 2012-06-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -188,14 +188,14 @@ dependencies:
188
188
  - !ruby/object:Gem::Version
189
189
  version: 0.1.6
190
190
  - !ruby/object:Gem::Dependency
191
- name: sqlite3
191
+ name: enju_core
192
192
  requirement: !ruby/object:Gem::Requirement
193
193
  none: false
194
194
  requirements:
195
195
  - - ! '>='
196
196
  - !ruby/object:Gem::Version
197
197
  version: '0'
198
- type: :development
198
+ type: :runtime
199
199
  prerelease: false
200
200
  version_requirements: !ruby/object:Gem::Requirement
201
201
  none: false
@@ -204,7 +204,7 @@ dependencies:
204
204
  - !ruby/object:Gem::Version
205
205
  version: '0'
206
206
  - !ruby/object:Gem::Dependency
207
- name: rspec-rails
207
+ name: sqlite3
208
208
  requirement: !ruby/object:Gem::Requirement
209
209
  none: false
210
210
  requirements:
@@ -220,7 +220,7 @@ dependencies:
220
220
  - !ruby/object:Gem::Version
221
221
  version: '0'
222
222
  - !ruby/object:Gem::Dependency
223
- name: factory_girl_rails
223
+ name: rspec-rails
224
224
  requirement: !ruby/object:Gem::Requirement
225
225
  none: false
226
226
  requirements:
@@ -236,7 +236,7 @@ dependencies:
236
236
  - !ruby/object:Gem::Version
237
237
  version: '0'
238
238
  - !ruby/object:Gem::Dependency
239
- name: sunspot-rails-tester
239
+ name: factory_girl_rails
240
240
  requirement: !ruby/object:Gem::Requirement
241
241
  none: false
242
242
  requirements:
@@ -258,7 +258,7 @@ dependencies:
258
258
  requirements:
259
259
  - - ~>
260
260
  - !ruby/object:Gem::Version
261
- version: '2.1'
261
+ version: '2.2'
262
262
  type: :development
263
263
  prerelease: false
264
264
  version_requirements: !ruby/object:Gem::Requirement
@@ -266,7 +266,7 @@ dependencies:
266
266
  requirements:
267
267
  - - ~>
268
268
  - !ruby/object:Gem::Version
269
- version: '2.1'
269
+ version: '2.2'
270
270
  - !ruby/object:Gem::Dependency
271
271
  name: fakeweb
272
272
  requirement: !ruby/object:Gem::Requirement
@@ -283,6 +283,38 @@ dependencies:
283
283
  - - ! '>='
284
284
  - !ruby/object:Gem::Version
285
285
  version: '0'
286
+ - !ruby/object:Gem::Dependency
287
+ name: enju_biblio
288
+ requirement: !ruby/object:Gem::Requirement
289
+ none: false
290
+ requirements:
291
+ - - ! '>='
292
+ - !ruby/object:Gem::Version
293
+ version: '0'
294
+ type: :development
295
+ prerelease: false
296
+ version_requirements: !ruby/object:Gem::Requirement
297
+ none: false
298
+ requirements:
299
+ - - ! '>='
300
+ - !ruby/object:Gem::Version
301
+ version: '0'
302
+ - !ruby/object:Gem::Dependency
303
+ name: enju_manifestation_viewer
304
+ requirement: !ruby/object:Gem::Requirement
305
+ none: false
306
+ requirements:
307
+ - - ! '>='
308
+ - !ruby/object:Gem::Version
309
+ version: '0'
310
+ type: :development
311
+ prerelease: false
312
+ version_requirements: !ruby/object:Gem::Requirement
313
+ none: false
314
+ requirements:
315
+ - - ! '>='
316
+ - !ruby/object:Gem::Version
317
+ version: '0'
286
318
  description: Subject and classification management for Next-L Enju
287
319
  email:
288
320
  - tanabe@mwr.mediacom.keio.ac.jp
@@ -315,11 +347,6 @@ files:
315
347
  - app/views/classifications/_form.html.erb
316
348
  - app/views/classifications/_index.html.erb
317
349
  - app/views/classifications/_index_subject.html.erb
318
- - app/views/classifications/classification_types/_form.html.erb
319
- - app/views/classifications/classification_types/edit.html.erb
320
- - app/views/classifications/classification_types/index.html.erb
321
- - app/views/classifications/classification_types/new.html.erb
322
- - app/views/classifications/classification_types/show.html.erb
323
350
  - app/views/classifications/edit.html.erb
324
351
  - app/views/classifications/index.html.erb
325
352
  - app/views/classifications/new.html.erb
@@ -386,14 +413,6 @@ files:
386
413
  - MIT-LICENSE
387
414
  - Rakefile
388
415
  - README.rdoc
389
- - spec/cassette_library/enju_subject/classification_index.yml
390
- - spec/cassette_library/enju_subject/create.yml
391
- - spec/cassette_library/enju_subject/create_subject.yml
392
- - spec/cassette_library/enju_subject/delete.yml
393
- - spec/cassette_library/enju_subject/edit.yml
394
- - spec/cassette_library/enju_subject/index.yml
395
- - spec/cassette_library/enju_subject/show.yml
396
- - spec/cassette_library/enju_subject/update.yml
397
416
  - spec/controllers/classification_types_controller_spec.rb
398
417
  - spec/controllers/classifications_controller_spec.rb
399
418
  - spec/controllers/subject_has_classifications_controller_spec.rb
@@ -407,8 +426,6 @@ files:
407
426
  - spec/dummy/app/controllers/application_controller.rb
408
427
  - spec/dummy/app/helpers/application_helper.rb
409
428
  - spec/dummy/app/models/ability.rb
410
- - spec/dummy/app/models/carrier_type.rb
411
- - spec/dummy/app/models/manifestation.rb
412
429
  - spec/dummy/app/models/role.rb
413
430
  - spec/dummy/app/models/user.rb
414
431
  - spec/dummy/app/models/user_group.rb
@@ -435,20 +452,87 @@ files:
435
452
  - spec/dummy/config.ru
436
453
  - spec/dummy/db/development.sqlite3
437
454
  - spec/dummy/db/fixtures/roles.yml
455
+ - spec/dummy/db/migrate/001_create_patrons.rb
456
+ - spec/dummy/db/migrate/005_create_manifestations.rb
457
+ - spec/dummy/db/migrate/006_create_items.rb
458
+ - spec/dummy/db/migrate/012_create_owns.rb
459
+ - spec/dummy/db/migrate/015_create_creates.rb
460
+ - spec/dummy/db/migrate/047_create_produces.rb
438
461
  - spec/dummy/db/migrate/073_create_carrier_types.rb
462
+ - spec/dummy/db/migrate/112_create_frequencies.rb
463
+ - spec/dummy/db/migrate/117_create_form_of_works.rb
464
+ - spec/dummy/db/migrate/125_create_donates.rb
465
+ - spec/dummy/db/migrate/20080830154109_create_realizes.rb
466
+ - spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
439
467
  - spec/dummy/db/migrate/20080905191442_create_patron_types.rb
440
- - spec/dummy/db/migrate/20111201115353_create_manifestations.rb
441
- - spec/dummy/db/migrate/20111201115421_create_patrons.rb
442
- - spec/dummy/db/migrate/20111201121636_create_languages.rb
468
+ - spec/dummy/db/migrate/20081025083323_create_countries.rb
469
+ - spec/dummy/db/migrate/20081025083905_create_languages.rb
470
+ - spec/dummy/db/migrate/20081027150907_create_picture_files.rb
471
+ - spec/dummy/db/migrate/20081028083142_create_patron_import_files.rb
472
+ - spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
473
+ - spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb
474
+ - spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb
475
+ - spec/dummy/db/migrate/20090719201843_create_extents.rb
476
+ - spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb
477
+ - spec/dummy/db/migrate/20090720091429_create_content_types.rb
478
+ - spec/dummy/db/migrate/20090812151902_create_patron_relationship_types.rb
479
+ - spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb
480
+ - spec/dummy/db/migrate/20091025080447_create_licenses.rb
481
+ - spec/dummy/db/migrate/20091202124834_create_versions.rb
482
+ - spec/dummy/db/migrate/20091214131723_create_series_statements.rb
483
+ - spec/dummy/db/migrate/20100129142347_create_import_requests.rb
484
+ - spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb
485
+ - spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
486
+ - spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb
487
+ - spec/dummy/db/migrate/20100606073747_create_patron_relationships.rb
488
+ - spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb
489
+ - spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
490
+ - spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb
491
+ - spec/dummy/db/migrate/20100925074559_create_patron_import_results.rb
492
+ - spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb
493
+ - spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb
494
+ - spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb
495
+ - spec/dummy/db/migrate/20110425133109_add_issn_to_series_statement.rb
496
+ - spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb
497
+ - spec/dummy/db/migrate/20110618091240_add_periodical_to_series_statement.rb
498
+ - spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb
499
+ - spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb
500
+ - spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb
501
+ - spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
502
+ - spec/dummy/db/migrate/20110820131417_create_series_has_manifestations.rb
503
+ - spec/dummy/db/migrate/20110916053430_rename_manifestation_number_list_to_number_string.rb
504
+ - spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
505
+ - spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
506
+ - spec/dummy/db/migrate/20110918161853_rename_series_statement_manifestation_id_to_root_manifestation_id.rb
507
+ - spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb
508
+ - spec/dummy/db/migrate/20111009183423_add_ndc_to_manifestation.rb
509
+ - spec/dummy/db/migrate/20111124110059_create_create_types.rb
510
+ - spec/dummy/db/migrate/20111124110319_create_realize_types.rb
511
+ - spec/dummy/db/migrate/20111124110355_create_produce_types.rb
512
+ - spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb
443
513
  - spec/dummy/db/migrate/20111201121844_create_roles.rb
444
514
  - spec/dummy/db/migrate/20111201155456_create_users.rb
445
515
  - spec/dummy/db/migrate/20111201155513_add_devise_to_users.rb
446
516
  - spec/dummy/db/migrate/20111201163342_create_user_groups.rb
447
517
  - spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb
518
+ - spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb
519
+ - spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb
520
+ - spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb
521
+ - spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb
522
+ - spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb
523
+ - spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb
524
+ - spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb
525
+ - spec/dummy/db/migrate/20120413161403_add_fingerprint_to_patron_import_file.rb
526
+ - spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb
527
+ - spec/dummy/db/migrate/20120413170720_add_error_message_to_patron_import_file.rb
528
+ - spec/dummy/db/migrate/20120415060308_rename_resource_import_file_imported_at_to_executed_at.rb
529
+ - spec/dummy/db/migrate/20120415060323_rename_patron_import_file_imported_at_to_executed_at.rb
530
+ - spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb
531
+ - spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
532
+ - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_patron_import_file.rb
448
533
  - spec/dummy/db/schema.rb
449
534
  - spec/dummy/db/seeds.rb
450
535
  - spec/dummy/db/test.sqlite3
451
- - spec/dummy/lib/localized_name.rb
452
536
  - spec/dummy/public/404.html
453
537
  - spec/dummy/public/422.html
454
538
  - spec/dummy/public/500.html
@@ -476,16 +560,7 @@ files:
476
560
  - spec/dummy/test/unit/user_group_test.rb
477
561
  - spec/dummy/test/unit/user_has_role_test.rb
478
562
  - spec/dummy/test/unit/user_test.rb
479
- - spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
480
- - spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
481
- - spec/dummy/tmp/cache/assets/D47/9C0/sprockets%2Fed08c2088e78d59a4fc4ea21b625784b
482
- - spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
483
- - spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
484
- - spec/dummy/tmp/cache/assets/D63/4E0/sprockets%2F0d39549b9e061d4b82c2ba3ac7ec5c31
485
- - spec/dummy/tmp/cache/assets/DAD/4B0/sprockets%2Fb5993ad241d17bf516c64e9fcd9f68bb
486
- - spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
487
- - spec/dummy/tmp/cache/assets/DFD/1C0/sprockets%2Fbba00f45f706fc39c4fbfc79305c9afb
488
- - spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
563
+ - spec/dummy/tmp/cache/4F7/F90/default_role
489
564
  - spec/factories/classification.rb
490
565
  - spec/factories/classification_type.rb
491
566
  - spec/factories/manifestation.rb
@@ -554,14 +629,6 @@ signing_key:
554
629
  specification_version: 3
555
630
  summary: enju_subject plugin
556
631
  test_files:
557
- - spec/cassette_library/enju_subject/classification_index.yml
558
- - spec/cassette_library/enju_subject/create.yml
559
- - spec/cassette_library/enju_subject/create_subject.yml
560
- - spec/cassette_library/enju_subject/delete.yml
561
- - spec/cassette_library/enju_subject/edit.yml
562
- - spec/cassette_library/enju_subject/index.yml
563
- - spec/cassette_library/enju_subject/show.yml
564
- - spec/cassette_library/enju_subject/update.yml
565
632
  - spec/controllers/classification_types_controller_spec.rb
566
633
  - spec/controllers/classifications_controller_spec.rb
567
634
  - spec/controllers/subject_has_classifications_controller_spec.rb
@@ -575,8 +642,6 @@ test_files:
575
642
  - spec/dummy/app/controllers/application_controller.rb
576
643
  - spec/dummy/app/helpers/application_helper.rb
577
644
  - spec/dummy/app/models/ability.rb
578
- - spec/dummy/app/models/carrier_type.rb
579
- - spec/dummy/app/models/manifestation.rb
580
645
  - spec/dummy/app/models/role.rb
581
646
  - spec/dummy/app/models/user.rb
582
647
  - spec/dummy/app/models/user_group.rb
@@ -603,20 +668,87 @@ test_files:
603
668
  - spec/dummy/config.ru
604
669
  - spec/dummy/db/development.sqlite3
605
670
  - spec/dummy/db/fixtures/roles.yml
671
+ - spec/dummy/db/migrate/001_create_patrons.rb
672
+ - spec/dummy/db/migrate/005_create_manifestations.rb
673
+ - spec/dummy/db/migrate/006_create_items.rb
674
+ - spec/dummy/db/migrate/012_create_owns.rb
675
+ - spec/dummy/db/migrate/015_create_creates.rb
676
+ - spec/dummy/db/migrate/047_create_produces.rb
606
677
  - spec/dummy/db/migrate/073_create_carrier_types.rb
678
+ - spec/dummy/db/migrate/112_create_frequencies.rb
679
+ - spec/dummy/db/migrate/117_create_form_of_works.rb
680
+ - spec/dummy/db/migrate/125_create_donates.rb
681
+ - spec/dummy/db/migrate/20080830154109_create_realizes.rb
682
+ - spec/dummy/db/migrate/20080830172106_create_exemplifies.rb
607
683
  - spec/dummy/db/migrate/20080905191442_create_patron_types.rb
608
- - spec/dummy/db/migrate/20111201115353_create_manifestations.rb
609
- - spec/dummy/db/migrate/20111201115421_create_patrons.rb
610
- - spec/dummy/db/migrate/20111201121636_create_languages.rb
684
+ - spec/dummy/db/migrate/20081025083323_create_countries.rb
685
+ - spec/dummy/db/migrate/20081025083905_create_languages.rb
686
+ - spec/dummy/db/migrate/20081027150907_create_picture_files.rb
687
+ - spec/dummy/db/migrate/20081028083142_create_patron_import_files.rb
688
+ - spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
689
+ - spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb
690
+ - spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb
691
+ - spec/dummy/db/migrate/20090719201843_create_extents.rb
692
+ - spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb
693
+ - spec/dummy/db/migrate/20090720091429_create_content_types.rb
694
+ - spec/dummy/db/migrate/20090812151902_create_patron_relationship_types.rb
695
+ - spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb
696
+ - spec/dummy/db/migrate/20091025080447_create_licenses.rb
697
+ - spec/dummy/db/migrate/20091202124834_create_versions.rb
698
+ - spec/dummy/db/migrate/20091214131723_create_series_statements.rb
699
+ - spec/dummy/db/migrate/20100129142347_create_import_requests.rb
700
+ - spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb
701
+ - spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb
702
+ - spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb
703
+ - spec/dummy/db/migrate/20100606073747_create_patron_relationships.rb
704
+ - spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb
705
+ - spec/dummy/db/migrate/20100814091104_add_position_to_patron_relationship.rb
706
+ - spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb
707
+ - spec/dummy/db/migrate/20100925074559_create_patron_import_results.rb
708
+ - spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb
709
+ - spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb
710
+ - spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_patron.rb
711
+ - spec/dummy/db/migrate/20110425133109_add_issn_to_series_statement.rb
712
+ - spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb
713
+ - spec/dummy/db/migrate/20110618091240_add_periodical_to_series_statement.rb
714
+ - spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb
715
+ - spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb
716
+ - spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb
717
+ - spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb
718
+ - spec/dummy/db/migrate/20110820131417_create_series_has_manifestations.rb
719
+ - spec/dummy/db/migrate/20110916053430_rename_manifestation_number_list_to_number_string.rb
720
+ - spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb
721
+ - spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb
722
+ - spec/dummy/db/migrate/20110918161853_rename_series_statement_manifestation_id_to_root_manifestation_id.rb
723
+ - spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb
724
+ - spec/dummy/db/migrate/20111009183423_add_ndc_to_manifestation.rb
725
+ - spec/dummy/db/migrate/20111124110059_create_create_types.rb
726
+ - spec/dummy/db/migrate/20111124110319_create_realize_types.rb
727
+ - spec/dummy/db/migrate/20111124110355_create_produce_types.rb
728
+ - spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb
611
729
  - spec/dummy/db/migrate/20111201121844_create_roles.rb
612
730
  - spec/dummy/db/migrate/20111201155456_create_users.rb
613
731
  - spec/dummy/db/migrate/20111201155513_add_devise_to_users.rb
614
732
  - spec/dummy/db/migrate/20111201163342_create_user_groups.rb
615
733
  - spec/dummy/db/migrate/20111201163718_create_user_has_roles.rb
734
+ - spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb
735
+ - spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb
736
+ - spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb
737
+ - spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb
738
+ - spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb
739
+ - spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb
740
+ - spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb
741
+ - spec/dummy/db/migrate/20120413161403_add_fingerprint_to_patron_import_file.rb
742
+ - spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb
743
+ - spec/dummy/db/migrate/20120413170720_add_error_message_to_patron_import_file.rb
744
+ - spec/dummy/db/migrate/20120415060308_rename_resource_import_file_imported_at_to_executed_at.rb
745
+ - spec/dummy/db/migrate/20120415060323_rename_patron_import_file_imported_at_to_executed_at.rb
746
+ - spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb
747
+ - spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb
748
+ - spec/dummy/db/migrate/20120602141129_add_edit_mode_to_patron_import_file.rb
616
749
  - spec/dummy/db/schema.rb
617
750
  - spec/dummy/db/seeds.rb
618
751
  - spec/dummy/db/test.sqlite3
619
- - spec/dummy/lib/localized_name.rb
620
752
  - spec/dummy/public/404.html
621
753
  - spec/dummy/public/422.html
622
754
  - spec/dummy/public/500.html
@@ -644,16 +776,7 @@ test_files:
644
776
  - spec/dummy/test/unit/user_group_test.rb
645
777
  - spec/dummy/test/unit/user_has_role_test.rb
646
778
  - spec/dummy/test/unit/user_test.rb
647
- - spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
648
- - spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
649
- - spec/dummy/tmp/cache/assets/D47/9C0/sprockets%2Fed08c2088e78d59a4fc4ea21b625784b
650
- - spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
651
- - spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
652
- - spec/dummy/tmp/cache/assets/D63/4E0/sprockets%2F0d39549b9e061d4b82c2ba3ac7ec5c31
653
- - spec/dummy/tmp/cache/assets/DAD/4B0/sprockets%2Fb5993ad241d17bf516c64e9fcd9f68bb
654
- - spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
655
- - spec/dummy/tmp/cache/assets/DFD/1C0/sprockets%2Fbba00f45f706fc39c4fbfc79305c9afb
656
- - spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
779
+ - spec/dummy/tmp/cache/4F7/F90/default_role
657
780
  - spec/factories/classification.rb
658
781
  - spec/factories/classification_type.rb
659
782
  - spec/factories/manifestation.rb
@@ -1,19 +0,0 @@
1
- <%= form_for(@classification_type) do |f| %>
2
- <%= f.error_messages %>
3
-
4
- <div class="field">
5
- <%= f.label :name %><br />
6
- <%= f.text_field :name, :class => 'short_name' %>
7
- </div>
8
- <div class="field">
9
- <%= f.label :display_name %><br />
10
- <%= f.text_area :display_name, :class => 'resource_textarea' %>
11
- </div>
12
- <div class="field">
13
- <%= f.label :note %><br />
14
- <%= f.text_area :note, :class => 'resource_textarea' %>
15
- </div>
16
- <div class="actions">
17
- <%= f.submit %>
18
- </div>
19
- <% end %>
@@ -1,13 +0,0 @@
1
- <div id="content_detail" class="ui-corner-all">
2
- <h1 class="title"><%= t('page.editing', :model => t('activerecord.models.classification_type')) -%></h1>
3
- <div id="content_list">
4
- <%= render 'form' %>
5
- </div>
6
- </div>
7
-
8
- <div id="submenu" class="ui-corner-all">
9
- <ul>
10
- <li><%= link_to t('page.show'), @classification_type -%></li>
11
- <li><%= link_to t('page.back'), classification_types_path -%></li>
12
- </ul>
13
- </div>
@@ -1,45 +0,0 @@
1
- <div id="content_detail" class="ui-corner-all">
2
- <h1 class="title"><%= t('page.listing', :model => t('activerecord.models.classification_type')) -%></h1>
3
- <div id="content_list">
4
-
5
- <table class="index">
6
- <tr>
7
- <th id="position"></th>
8
- <th><%= t('activerecord.attributes.classification_type.name') -%></th>
9
- <th><%= t('activerecord.attributes.classification_type.display_name') -%></th>
10
- <th><%= t('activerecord.attributes.classification_type.note') -%></th>
11
- <th></th>
12
- </tr>
13
-
14
- <%- @classification_types.each do |classification_type| -%>
15
- <tr class="line<%= cycle("0", "1") -%>">
16
- <td>
17
- <%- if can? :update, classification_type -%>
18
- <%= move_position(classification_type) -%>
19
- <%- end -%>
20
- </td>
21
- <td><%= link_to classification_type.name, classification_type -%></td>
22
- <td><%= link_to classification_type.display_name.localize, classification_type -%></td>
23
- <td><%= classification_type.note -%></td>
24
- <td>
25
- <%- if can? :update, classification_type -%>
26
- <%= link_to t('page.edit'), edit_classification_type_path(classification_type) -%>
27
- <% end %>
28
- <%- if can? :destroy, classification_type -%>
29
- <%= link_to t('page.destroy'), classification_type, :confirm => t('page.are_you_sure'), :method => :delete -%>
30
- <%- end -%>
31
- </td>
32
- </tr>
33
- <%- end -%>
34
- </table>
35
-
36
- </div>
37
- </div>
38
-
39
- <div id="submenu" class="ui-corner-all">
40
- <ul>
41
- <%- if can? :create, ClassificationType -%>
42
- <li><%= link_to t('page.new', :model => t('activerecord.models.classification_type')), new_classification_type_path -%></li>
43
- <%- end -%>
44
- </ul>
45
- </div>
@@ -1,12 +0,0 @@
1
- <div id="content_detail" class="ui-corner-all">
2
- <h1 class="title"><%= t('page.new', :model => t('activerecord.models.classification_type')) -%></h1>
3
- <div id="content_list">
4
- <%= render 'form' %>
5
- </div>
6
- </div>
7
-
8
- <div id="submenu" class="ui-corner-all">
9
- <ul>
10
- <li><%= link_to t('page.back'), classification_types_path -%></li>
11
- </ul>
12
- </div>
@@ -1,30 +0,0 @@
1
- <div id="content_detail" class="ui-corner-all">
2
- <h1 class="title"><%= t('page.showing', :model => t('activerecord.models.classification_type')) -%></h1>
3
- <div id="content_list">
4
- <p id="notice"><%= notice %></p>
5
-
6
- <p>
7
- <strong><%= t('activerecord.attributes.classification_type.name') -%>:</strong>
8
- <%= @classification_type.name -%>
9
- </p>
10
-
11
- <p>
12
- <strong><%= t('activerecord.attributes.classification_type.display_name') -%>:</strong>
13
- <%= @classification_type.display_name.localize -%>
14
- </p>
15
-
16
- <p>
17
- <strong><%= t('activerecord.attributes.classification_type.note') -%>:</strong>
18
- <%= @classification_type.note -%>
19
- </p>
20
-
21
- </div>
22
- </div>
23
-
24
- <div id="submenu" class="ui-corner-all">
25
- <ul>
26
- <li><%= link_to t('page.listing', :model => t('activerecord.models.classification')), classification_type_classifications_path(@classification_type) -%></li>
27
- <li><%= link_to t('page.edit'), edit_classification_type_path(@classification_type) -%></li>
28
- <li><%= back_to_index(flash[:page_info]) -%></li>
29
- </ul>
30
- </div>
@@ -1,30 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://localhost:8981/solr/select?wt=ruby
6
- body: ''
7
- headers:
8
- content-type:
9
- - application/x-www-form-urlencoded
10
- connection:
11
- - close
12
- response:
13
- status:
14
- code: 200
15
- message: OK
16
- headers:
17
- content-type:
18
- - text/plain; charset=utf-8
19
- connection:
20
- - close
21
- server:
22
- - Jetty(6.1.3)
23
- body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>1,''params''=>{''wt''=>''ruby'',''start''=>''0'',''fq''=>''type:Classification'',''q''=>''*:*'',''rows''=>''10''}},''response''=>{''numFound''=>10,''start''=>0,''docs''=>[{''id''=>''Classification
24
- 1''},{''id''=>''Classification 2''},{''id''=>''Classification 3''},{''id''=>''Classification
25
- 4''},{''id''=>''Classification 5''},{''id''=>''Classification 6''},{''id''=>''Classification
26
- 7''},{''id''=>''Classification 8''},{''id''=>''Classification 9''},{''id''=>''Classification
27
- 10''}]}}'
28
- http_version: '1.1'
29
- recorded_at: Thu, 01 Dec 2011 18:13:01 GMT
30
- recorded_with: VCR 2.0.0.beta2
@@ -1,49 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: http://localhost:8981/solr/update?wt=ruby
6
- body: ''
7
- headers:
8
- content-type:
9
- - text/xml
10
- connection:
11
- - close
12
- response:
13
- status:
14
- code: 200
15
- message: OK
16
- headers:
17
- content-type:
18
- - text/plain; charset=utf-8
19
- connection:
20
- - close
21
- server:
22
- - Jetty(6.1.3)
23
- body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>3}}'
24
- http_version: '1.1'
25
- recorded_at: Thu, 01 Dec 2011 17:47:56 GMT
26
- - request:
27
- method: post
28
- uri: http://localhost:8981/solr/update?wt=ruby
29
- body: ''
30
- headers:
31
- content-type:
32
- - text/xml
33
- connection:
34
- - close
35
- response:
36
- status:
37
- code: 200
38
- message: OK
39
- headers:
40
- content-type:
41
- - text/plain; charset=utf-8
42
- connection:
43
- - close
44
- server:
45
- - Jetty(6.1.3)
46
- body: ! '{''responseHeader''=>{''status''=>0,''QTime''=>3}}'
47
- http_version: '1.1'
48
- recorded_at: Thu, 01 Dec 2011 17:55:03 GMT
49
- recorded_with: VCR 2.0.0.beta2