curation_concerns 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +8 -0
- data/Gemfile +1 -2
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/app/assets/javascripts/curation_concerns/curation_concerns.js +2 -0
- data/app/assets/javascripts/curation_concerns/uploader.js +4 -4
- data/app/assets/stylesheets/curation_concerns/_modules.scss +1 -0
- data/app/assets/stylesheets/curation_concerns/_positioning.scss +3 -0
- data/app/assets/stylesheets/curation_concerns/modules/icons.scss +11 -0
- data/app/controllers/concerns/curation_concerns/api.rb +1 -12
- data/app/controllers/concerns/curation_concerns/application_controller_behavior.rb +20 -6
- data/app/controllers/concerns/curation_concerns/curation_concern_controller.rb +44 -25
- data/app/controllers/concerns/curation_concerns/file_sets_controller_behavior.rb +32 -23
- data/app/controllers/concerns/curation_concerns/parent_container.rb +0 -11
- data/app/controllers/concerns/curation_concerns/single_use_links_controller_behavior.rb +1 -1
- data/app/controllers/concerns/curation_concerns/single_use_links_viewer_controller_behavior.rb +7 -1
- data/app/controllers/concerns/curation_concerns/upload_sets_controller_behavior.rb +19 -7
- data/app/controllers/curation_concerns/permissions_controller.rb +1 -1
- data/app/forms/curation_concerns/forms/collection_edit_form.rb +6 -2
- data/app/forms/curation_concerns/forms/work_form.rb +14 -3
- data/app/forms/curation_concerns/upload_set_form.rb +43 -0
- data/app/helpers/curation_concerns/ability_helper.rb +12 -18
- data/app/helpers/curation_concerns/file_set_helper.rb +1 -1
- data/app/helpers/curation_concerns/main_app_helpers.rb +1 -0
- data/app/helpers/curation_concerns/permissions_helper.rb +20 -0
- data/app/helpers/curation_concerns/url_helper.rb +3 -11
- data/app/inputs/multi_value_with_help_input.rb +8 -0
- data/app/inputs/select_with_help_input.rb +3 -0
- data/app/inputs/select_with_modal_help_input.rb +36 -0
- data/app/inputs/with_help_icon.rb +34 -0
- data/app/presenters/curation_concerns/collection_presenter.rb +9 -0
- data/app/presenters/curation_concerns/file_set_presenter.rb +2 -1
- data/app/presenters/curation_concerns/presents_attributes.rb +16 -0
- data/app/presenters/curation_concerns/work_show_presenter.rb +3 -2
- data/app/renderers/curation_concerns/attribute_renderer.rb +22 -4
- data/app/renderers/curation_concerns/configured_microdata.rb +40 -0
- data/app/services/curation_concerns/parent_service.rb +1 -1
- data/app/views/catalog/_action_menu_partials/_default.html.erb +2 -2
- data/app/views/collections/_form.html.erb +8 -9
- data/app/views/collections/_sort_and_per_page.html.erb +25 -23
- data/app/views/collections/show.html.erb +1 -1
- data/app/views/curation_concerns/base/_attributes.html.erb +1 -1
- data/app/views/curation_concerns/base/_form.html.erb +6 -7
- data/app/views/curation_concerns/base/_form_permission.html.erb +3 -0
- data/app/views/curation_concerns/base/_multiple_upload.html.erb +3 -0
- data/app/views/curation_concerns/base/_show_actions.html.erb +2 -2
- data/app/views/curation_concerns/base/_versioning.html.erb +1 -1
- data/app/views/curation_concerns/base/_visibility.html.erb +17 -0
- data/app/views/curation_concerns/base/show.html.erb +1 -1
- data/app/views/curation_concerns/classify_concerns/new.html.erb +1 -1
- data/app/views/curation_concerns/file_sets/_actions.html.erb +2 -2
- data/app/views/curation_concerns/file_sets/_form.html.erb +1 -1
- data/app/views/curation_concerns/file_sets/_rights_modal.html.erb +41 -0
- data/app/views/curation_concerns/file_sets/media_display/_default.html.erb +4 -1
- data/app/views/curation_concerns/file_sets/media_display/_image.html.erb +9 -8
- data/app/views/curation_concerns/file_sets/media_display/_office_document.html.erb +9 -7
- data/app/views/curation_concerns/file_sets/media_display/_pdf.html.erb +7 -5
- data/app/views/curation_concerns/file_sets/show.html.erb +2 -2
- data/app/views/curation_concerns/file_sets/upload/_alerts.html.erb +3 -3
- data/app/views/curation_concerns/file_sets/upload/_form.html.erb +1 -1
- data/app/views/curation_concerns/file_sets/upload/_script_templates.html.erb +1 -1
- data/app/views/curation_concerns/permissions/confirm.html.erb +1 -1
- data/app/views/curation_concerns/single_use_links_viewer/show.html.erb +1 -1
- data/app/views/embargoes/edit.html.erb +4 -4
- data/app/views/layouts/curation_concerns.html.erb +1 -1
- data/app/views/leases/edit.html.erb +3 -3
- data/app/views/shared/_add_works.html.erb +6 -3
- data/app/views/upload_sets/_base_metadata.html.erb +12 -0
- data/app/views/upload_sets/_metadata.html.erb +3 -13
- data/app/views/upload_sets/edit.html.erb +1 -1
- data/config/locales/curation_concerns.en.yml +46 -0
- data/curation_concerns.gemspec +5 -4
- data/lib/curation_concerns/engine.rb +5 -0
- data/lib/curation_concerns/form_builder.rb +16 -0
- data/lib/curation_concerns/rails/routes.rb +7 -5
- data/lib/generators/curation_concerns/install_generator.rb +1 -1
- data/lib/generators/curation_concerns/work/work_generator.rb +1 -1
- data/spec/actors/curation_concerns/file_set_actor_spec.rb +26 -16
- data/spec/controllers/curation_concerns/file_sets_controller_json_spec.rb +14 -4
- data/spec/controllers/curation_concerns/file_sets_controller_spec.rb +3 -3
- data/spec/controllers/curation_concerns/generic_works_controller_json_spec.rb +4 -4
- data/spec/controllers/curation_concerns/generic_works_controller_spec.rb +21 -0
- data/spec/controllers/curation_concerns/single_use_links_controller_spec.rb +2 -2
- data/spec/controllers/curation_concerns/single_use_links_viewer_controller_spec.rb +1 -1
- data/spec/controllers/upload_sets_controller_spec.rb +20 -27
- data/spec/factories/file_sets.rb +1 -0
- data/spec/factories/generic_works.rb +1 -0
- data/spec/factories/users.rb +0 -12
- data/spec/features/collection_spec.rb +1 -3
- data/spec/forms/collection_edit_form_spec.rb +16 -1
- data/spec/forms/upload_set_form_spec.rb +55 -0
- data/spec/forms/work_form_spec.rb +68 -3
- data/spec/helpers/curation_concerns/ability_helper_spec.rb +45 -0
- data/spec/helpers/curation_concerns/permissions_helper_spec.rb +12 -0
- data/spec/helpers/url_helper_spec.rb +0 -3
- data/spec/indexers/collection_indexer_spec.rb +5 -0
- data/spec/indexers/{file_set_indexing_service_spec.rb → file_set_indexer_spec.rb} +40 -2
- data/spec/indexers/{generic_work_indexing_service_spec.rb → work_indexer_spec.rb} +1 -1
- data/spec/inputs/multi_value_with_help_input_spec.rb +32 -0
- data/spec/inputs/select_with_help_input_spec.rb +43 -0
- data/spec/inputs/select_with_modal_help_input_spec.rb +21 -0
- data/spec/jobs/import_url_job_spec.rb +33 -1
- data/spec/jobs/ingest_file_job_spec.rb +29 -16
- data/spec/jobs/upload_set_update_job_spec.rb +24 -11
- data/spec/lib/curation_concerns/messages_spec.rb +2 -2
- data/spec/lib/curation_concerns/name_spec.rb +20 -0
- data/spec/lib/curation_concerns/null_logger_spec.rb +10 -0
- data/spec/models/curation_concerns/collection_behavior_spec.rb +41 -10
- data/spec/models/curation_concerns/work_behavior_spec.rb +1 -13
- data/spec/models/file_set_spec.rb +19 -4
- data/spec/models/generic_work_spec.rb +7 -2
- data/spec/models/quick_classification_query_spec.rb +35 -0
- data/spec/models/upload_set_spec.rb +5 -7
- data/spec/presenters/curation_concerns/collection_presenter_spec.rb +20 -0
- data/spec/presenters/curation_concerns/file_set_presenter_spec.rb +10 -3
- data/spec/presenters/curation_concerns/work_show_presenter_spec.rb +13 -1
- data/spec/renderers/curation_concerns/attribute_renderer_spec.rb +41 -8
- data/spec/routing/curation_concerns/routes_spec.rb +2 -2
- data/spec/routing/route_spec.rb +1 -1
- data/spec/services/file_set_audit_service_spec.rb +46 -4
- data/spec/spec_helper.rb +5 -7
- data/spec/views/collections/_sort_and_per_page.html.erb_spec.rb +32 -0
- data/spec/views/curation_concerns/base/_attributes.html.erb_spec.rb +8 -1
- data/spec/views/curation_concerns/base/show.html.erb_spec.rb +36 -2
- data/spec/views/curation_concerns/file_sets/_file_set.html.erb_spec.rb +3 -2
- data/spec/views/curation_concerns/file_sets/show.html.erb_spec.rb +56 -0
- data/spec/views/curation_concerns/single_use_links_viewer/show.html.erb_spec.rb +19 -0
- data/spec/views/shared/_add_content.html.erb_spec.rb +3 -3
- data/spec/views/single_use_links/new_download.html.erb_spec.rb +1 -1
- data/spec/views/upload_sets/_metadata.html.erb_spec.rb +28 -0
- metadata +80 -50
- data/app/assets/stylesheets/curation_concerns/help_requests.scss +0 -3
- data/app/controllers/concerns/curation_concerns/without_namespace.rb +0 -16
- data/app/controllers/registrations_controller.rb +0 -19
- data/app/controllers/sessions_controller.rb +0 -4
- data/app/views/curation_concerns/file_sets/_multiple_upload.html.erb +0 -3
- data/spec/fixtures/Example.ogg +0 -0
- data/spec/fixtures/charter.docx +0 -0
- data/spec/fixtures/countdown.avi +0 -0
- data/spec/fixtures/curation_concerns_generic_stub.txt +0 -1
- data/spec/fixtures/empty_file.txt +0 -0
- data/spec/fixtures/files/image.png +0 -0
- data/spec/fixtures/image.jp2 +0 -0
- data/spec/fixtures/image.jpg +0 -0
- data/spec/fixtures/piano_note.wav +0 -0
- data/spec/fixtures/sample_mpeg4.mp4 +0 -0
- data/spec/fixtures/small_file.txt +0 -1
- data/spec/fixtures/spoken-text.m4a +0 -0
- data/spec/fixtures/test.pdf +0 -0
- data/spec/fixtures/test4.pdf +0 -0
- data/spec/fixtures/test5.mp3 +0 -0
- data/spec/fixtures/world.png +0 -0
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: curation_concerns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Zumwalt
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-11
|
13
|
+
date: 2015-12-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: hydra-head
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 2.3
|
35
|
+
version: '2.3'
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 2.3
|
42
|
+
version: '2.3'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: jquery-ui-rails
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,28 +60,28 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 3.1
|
63
|
+
version: '3.1'
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 3.1
|
70
|
+
version: '3.1'
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: curation_concerns-models
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
75
|
- - '='
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.
|
77
|
+
version: 0.4.0
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - '='
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: 0.
|
84
|
+
version: 0.4.0
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: hydra-editor
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,6 +116,20 @@ dependencies:
|
|
116
116
|
- - "<"
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '6.0'
|
119
|
+
- !ruby/object:Gem::Dependency
|
120
|
+
name: rails_autolink
|
121
|
+
requirement: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
type: :runtime
|
127
|
+
prerelease: false
|
128
|
+
version_requirements: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
119
133
|
- !ruby/object:Gem::Dependency
|
120
134
|
name: devise
|
121
135
|
requirement: !ruby/object:Gem::Requirement
|
@@ -298,6 +312,20 @@ dependencies:
|
|
298
312
|
- - "<"
|
299
313
|
- !ruby/object:Gem::Version
|
300
314
|
version: 1.1.0
|
315
|
+
- !ruby/object:Gem::Dependency
|
316
|
+
name: mida
|
317
|
+
requirement: !ruby/object:Gem::Requirement
|
318
|
+
requirements:
|
319
|
+
- - "~>"
|
320
|
+
- !ruby/object:Gem::Version
|
321
|
+
version: 0.3.4
|
322
|
+
type: :development
|
323
|
+
prerelease: false
|
324
|
+
version_requirements: !ruby/object:Gem::Requirement
|
325
|
+
requirements:
|
326
|
+
- - "~>"
|
327
|
+
- !ruby/object:Gem::Version
|
328
|
+
version: 0.3.4
|
301
329
|
description: 'A Rails Engine that allows an application to CRUD CurationConcern objects
|
302
330
|
(a.k.a. "Works") '
|
303
331
|
email:
|
@@ -343,7 +371,6 @@ files:
|
|
343
371
|
- app/assets/stylesheets/curation_concerns/fileupload.scss
|
344
372
|
- app/assets/stylesheets/curation_concerns/fileupload/jquery.fileupload-ui.scss
|
345
373
|
- app/assets/stylesheets/curation_concerns/fileupload/thumbnail-scaling.css
|
346
|
-
- app/assets/stylesheets/curation_concerns/help_requests.scss
|
347
374
|
- app/assets/stylesheets/curation_concerns/modules/accessibility.scss
|
348
375
|
- app/assets/stylesheets/curation_concerns/modules/accordion.scss
|
349
376
|
- app/assets/stylesheets/curation_concerns/modules/attributes.scss
|
@@ -351,6 +378,7 @@ files:
|
|
351
378
|
- app/assets/stylesheets/curation_concerns/modules/embargoes.scss
|
352
379
|
- app/assets/stylesheets/curation_concerns/modules/emphatic_action_area.scss
|
353
380
|
- app/assets/stylesheets/curation_concerns/modules/forms.scss
|
381
|
+
- app/assets/stylesheets/curation_concerns/modules/icons.scss
|
354
382
|
- app/assets/stylesheets/curation_concerns/modules/multi_value_fields.scss
|
355
383
|
- app/assets/stylesheets/curation_concerns/modules/pagination.scss
|
356
384
|
- app/assets/stylesheets/curation_concerns/modules/search_results.scss
|
@@ -373,7 +401,6 @@ files:
|
|
373
401
|
- app/controllers/concerns/curation_concerns/themed_layout_controller.rb
|
374
402
|
- app/controllers/concerns/curation_concerns/upload_sets_controller_behavior.rb
|
375
403
|
- app/controllers/concerns/curation_concerns/welcome_controller_behavior.rb
|
376
|
-
- app/controllers/concerns/curation_concerns/without_namespace.rb
|
377
404
|
- app/controllers/curation_concerns/application_controller.rb
|
378
405
|
- app/controllers/curation_concerns/classify_concerns_controller.rb
|
379
406
|
- app/controllers/curation_concerns/file_sets_controller.rb
|
@@ -383,13 +410,12 @@ files:
|
|
383
410
|
- app/controllers/downloads_controller.rb
|
384
411
|
- app/controllers/embargoes_controller.rb
|
385
412
|
- app/controllers/leases_controller.rb
|
386
|
-
- app/controllers/registrations_controller.rb
|
387
|
-
- app/controllers/sessions_controller.rb
|
388
413
|
- app/controllers/upload_sets_controller.rb
|
389
414
|
- app/controllers/welcome_controller.rb
|
390
415
|
- app/forms/curation_concerns/forms/collection_edit_form.rb
|
391
416
|
- app/forms/curation_concerns/forms/file_set_edit_form.rb
|
392
417
|
- app/forms/curation_concerns/forms/work_form.rb
|
418
|
+
- app/forms/curation_concerns/upload_set_form.rb
|
393
419
|
- app/helpers/curation_concerns/ability_helper.rb
|
394
420
|
- app/helpers/curation_concerns/catalog_helper.rb
|
395
421
|
- app/helpers/curation_concerns/collections_helper.rb
|
@@ -397,11 +423,16 @@ files:
|
|
397
423
|
- app/helpers/curation_concerns/file_set_helper.rb
|
398
424
|
- app/helpers/curation_concerns/lease_helper.rb
|
399
425
|
- app/helpers/curation_concerns/main_app_helpers.rb
|
426
|
+
- app/helpers/curation_concerns/permissions_helper.rb
|
400
427
|
- app/helpers/curation_concerns/render_constraints_helper.rb
|
401
428
|
- app/helpers/curation_concerns/search_paths_helper.rb
|
402
429
|
- app/helpers/curation_concerns/title_helper.rb
|
403
430
|
- app/helpers/curation_concerns/url_helper.rb
|
431
|
+
- app/inputs/multi_value_with_help_input.rb
|
404
432
|
- app/inputs/multifile_input.rb
|
433
|
+
- app/inputs/select_with_help_input.rb
|
434
|
+
- app/inputs/select_with_modal_help_input.rb
|
435
|
+
- app/inputs/with_help_icon.rb
|
405
436
|
- app/jobs/visibility_copy_job.rb
|
406
437
|
- app/presenters/curation_concerns/collection_presenter.rb
|
407
438
|
- app/presenters/curation_concerns/embargo_presenter.rb
|
@@ -415,6 +446,7 @@ files:
|
|
415
446
|
- app/presenters/curation_concerns/version_presenter.rb
|
416
447
|
- app/presenters/curation_concerns/work_show_presenter.rb
|
417
448
|
- app/renderers/curation_concerns/attribute_renderer.rb
|
449
|
+
- app/renderers/curation_concerns/configured_microdata.rb
|
418
450
|
- app/search_builders/curation_concerns/deactivated_embargo_search_builder.rb
|
419
451
|
- app/search_builders/curation_concerns/deactivated_lease_search_builder.rb
|
420
452
|
- app/search_builders/curation_concerns/embargo_search_builder.rb
|
@@ -484,10 +516,12 @@ files:
|
|
484
516
|
- app/views/curation_concerns/base/_form_supplementary_fields.html.erb
|
485
517
|
- app/views/curation_concerns/base/_form_thumbnail.html.erb
|
486
518
|
- app/views/curation_concerns/base/_legally_binding_text.html.erb
|
519
|
+
- app/views/curation_concerns/base/_multiple_upload.html.erb
|
487
520
|
- app/views/curation_concerns/base/_related_files.html.erb
|
488
521
|
- app/views/curation_concerns/base/_representative_media.html.erb
|
489
522
|
- app/views/curation_concerns/base/_show_actions.html.erb
|
490
523
|
- app/views/curation_concerns/base/_versioning.html.erb
|
524
|
+
- app/views/curation_concerns/base/_visibility.html.erb
|
491
525
|
- app/views/curation_concerns/base/edit.html.erb
|
492
526
|
- app/views/curation_concerns/base/new.html.erb
|
493
527
|
- app/views/curation_concerns/base/show.html.erb
|
@@ -499,7 +533,7 @@ files:
|
|
499
533
|
- app/views/curation_concerns/file_sets/_actions.html.erb
|
500
534
|
- app/views/curation_concerns/file_sets/_file_set.html.erb
|
501
535
|
- app/views/curation_concerns/file_sets/_form.html.erb
|
502
|
-
- app/views/curation_concerns/file_sets/
|
536
|
+
- app/views/curation_concerns/file_sets/_rights_modal.html.erb
|
503
537
|
- app/views/curation_concerns/file_sets/edit.html.erb
|
504
538
|
- app/views/curation_concerns/file_sets/jq_upload.json.jbuilder
|
505
539
|
- app/views/curation_concerns/file_sets/media_display/_audio.html.erb
|
@@ -550,6 +584,7 @@ files:
|
|
550
584
|
- app/views/shared/_site_actions.html.erb
|
551
585
|
- app/views/shared/_site_search.html.erb
|
552
586
|
- app/views/shared/_title_bar.html.erb
|
587
|
+
- app/views/upload_sets/_base_metadata.html.erb
|
553
588
|
- app/views/upload_sets/_edit.js.erb
|
554
589
|
- app/views/upload_sets/_metadata.html.erb
|
555
590
|
- app/views/upload_sets/_more_metadata.html.erb
|
@@ -565,6 +600,7 @@ files:
|
|
565
600
|
- lib/curation_concerns/callbacks/registry.rb
|
566
601
|
- lib/curation_concerns/controller_resource.rb
|
567
602
|
- lib/curation_concerns/engine.rb
|
603
|
+
- lib/curation_concerns/form_builder.rb
|
568
604
|
- lib/curation_concerns/rails/routes.rb
|
569
605
|
- lib/curation_concerns/single_use_error.rb
|
570
606
|
- lib/curation_concerns/spec_support.rb
|
@@ -623,35 +659,25 @@ files:
|
|
623
659
|
- spec/features/lease_spec.rb
|
624
660
|
- spec/features/update_file_spec.rb
|
625
661
|
- spec/features/work_generator_spec.rb
|
626
|
-
- spec/fixtures/Example.ogg
|
627
|
-
- spec/fixtures/charter.docx
|
628
|
-
- spec/fixtures/countdown.avi
|
629
|
-
- spec/fixtures/curation_concerns_generic_stub.txt
|
630
|
-
- spec/fixtures/empty_file.txt
|
631
|
-
- spec/fixtures/files/image.png
|
632
|
-
- spec/fixtures/image.jp2
|
633
|
-
- spec/fixtures/image.jpg
|
634
|
-
- spec/fixtures/piano_note.wav
|
635
|
-
- spec/fixtures/sample_mpeg4.mp4
|
636
|
-
- spec/fixtures/small_file.txt
|
637
|
-
- spec/fixtures/spoken-text.m4a
|
638
|
-
- spec/fixtures/test.pdf
|
639
|
-
- spec/fixtures/test4.pdf
|
640
|
-
- spec/fixtures/test5.mp3
|
641
|
-
- spec/fixtures/world.png
|
642
662
|
- spec/forms/collection_edit_form_spec.rb
|
643
663
|
- spec/forms/file_set_edit_form_spec.rb
|
664
|
+
- spec/forms/upload_set_form_spec.rb
|
644
665
|
- spec/forms/work_form_spec.rb
|
645
666
|
- spec/helpers/catalog_helper_spec.rb
|
646
667
|
- spec/helpers/configuration_helper_spec.rb
|
668
|
+
- spec/helpers/curation_concerns/ability_helper_spec.rb
|
647
669
|
- spec/helpers/curation_concerns/collections_helper_spec.rb
|
648
670
|
- spec/helpers/curation_concerns/file_set_helper_spec.rb
|
671
|
+
- spec/helpers/curation_concerns/permissions_helper_spec.rb
|
649
672
|
- spec/helpers/render_constraints_helper_spec.rb
|
650
673
|
- spec/helpers/url_helper_spec.rb
|
651
674
|
- spec/indexers/collection_indexer_spec.rb
|
652
|
-
- spec/indexers/
|
653
|
-
- spec/indexers/
|
675
|
+
- spec/indexers/file_set_indexer_spec.rb
|
676
|
+
- spec/indexers/work_indexer_spec.rb
|
677
|
+
- spec/inputs/multi_value_with_help_input_spec.rb
|
654
678
|
- spec/inputs/multifile_input_spec.rb
|
679
|
+
- spec/inputs/select_with_help_input_spec.rb
|
680
|
+
- spec/inputs/select_with_modal_help_input_spec.rb
|
655
681
|
- spec/jobs/active_fedora_id_based_job_spec.rb
|
656
682
|
- spec/jobs/audit_job_spec.rb
|
657
683
|
- spec/jobs/characterize_job_spec.rb
|
@@ -664,6 +690,8 @@ files:
|
|
664
690
|
- spec/lib/curation_concerns/callbacks/registry_spec.rb
|
665
691
|
- spec/lib/curation_concerns/callbacks_spec.rb
|
666
692
|
- spec/lib/curation_concerns/messages_spec.rb
|
693
|
+
- spec/lib/curation_concerns/name_spec.rb
|
694
|
+
- spec/lib/curation_concerns/null_logger_spec.rb
|
667
695
|
- spec/lib/curation_concerns/readable_permissions_spec.rb
|
668
696
|
- spec/lib/curation_concerns/writable_permissions_spec.rb
|
669
697
|
- spec/matchers.rb
|
@@ -675,6 +703,7 @@ files:
|
|
675
703
|
- spec/models/curation_concerns/work_behavior_spec.rb
|
676
704
|
- spec/models/file_set_spec.rb
|
677
705
|
- spec/models/generic_work_spec.rb
|
706
|
+
- spec/models/quick_classification_query_spec.rb
|
678
707
|
- spec/models/single_use_link_spec.rb
|
679
708
|
- spec/models/solr_document_spec.rb
|
680
709
|
- spec/models/upload_set_spec.rb
|
@@ -722,19 +751,23 @@ files:
|
|
722
751
|
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
723
752
|
- spec/views/catalog/_action_menu_partials/_default.html.erb_spec.rb
|
724
753
|
- spec/views/catalog/index.html.erb_spec.rb
|
754
|
+
- spec/views/collections/_sort_and_per_page.html.erb_spec.rb
|
725
755
|
- spec/views/curation_concerns/base/_attributes.html.erb_spec.rb
|
726
756
|
- spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
|
727
757
|
- spec/views/curation_concerns/base/show.html.erb_spec.rb
|
728
758
|
- spec/views/curation_concerns/base/show.json.jbuilder_spec.rb
|
729
759
|
- spec/views/curation_concerns/file_sets/_file_set.html.erb_spec.rb
|
760
|
+
- spec/views/curation_concerns/file_sets/show.html.erb_spec.rb
|
730
761
|
- spec/views/curation_concerns/file_sets/show.json.jbuilder_spec.rb
|
731
762
|
- spec/views/curation_concerns/permissions/confirm.html.erb_spec.rb
|
763
|
+
- spec/views/curation_concerns/single_use_links_viewer/show.html.erb_spec.rb
|
732
764
|
- spec/views/error/single_use_error.html.erb_spec.rb
|
733
765
|
- spec/views/layouts/error.html.erb_spec.rb
|
734
766
|
- spec/views/shared/_add_content.html.erb_spec.rb
|
735
767
|
- spec/views/shared/_my_actions.html.erb_spec.rb
|
736
768
|
- spec/views/single_use_links/new_download.html.erb_spec.rb
|
737
769
|
- spec/views/single_use_links_viewer/show.html.erb_spec.rb
|
770
|
+
- spec/views/upload_sets/_metadata.html.erb_spec.rb
|
738
771
|
- tasks/jetty.rake
|
739
772
|
- tasks/release.rake
|
740
773
|
- vendor/assets/images/ui-bg_glass_100_fdf5ce_1x400.png
|
@@ -765,7 +798,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
765
798
|
version: '0'
|
766
799
|
requirements: []
|
767
800
|
rubyforge_project:
|
768
|
-
rubygems_version: 2.
|
801
|
+
rubygems_version: 2.5.0
|
769
802
|
signing_key:
|
770
803
|
specification_version: 4
|
771
804
|
summary: A Rails Engine that allows an application to CRUD CurationConcern objects
|
@@ -808,35 +841,25 @@ test_files:
|
|
808
841
|
- spec/features/lease_spec.rb
|
809
842
|
- spec/features/update_file_spec.rb
|
810
843
|
- spec/features/work_generator_spec.rb
|
811
|
-
- spec/fixtures/Example.ogg
|
812
|
-
- spec/fixtures/charter.docx
|
813
|
-
- spec/fixtures/countdown.avi
|
814
|
-
- spec/fixtures/curation_concerns_generic_stub.txt
|
815
|
-
- spec/fixtures/empty_file.txt
|
816
|
-
- spec/fixtures/files/image.png
|
817
|
-
- spec/fixtures/image.jp2
|
818
|
-
- spec/fixtures/image.jpg
|
819
|
-
- spec/fixtures/piano_note.wav
|
820
|
-
- spec/fixtures/sample_mpeg4.mp4
|
821
|
-
- spec/fixtures/small_file.txt
|
822
|
-
- spec/fixtures/spoken-text.m4a
|
823
|
-
- spec/fixtures/test.pdf
|
824
|
-
- spec/fixtures/test4.pdf
|
825
|
-
- spec/fixtures/test5.mp3
|
826
|
-
- spec/fixtures/world.png
|
827
844
|
- spec/forms/collection_edit_form_spec.rb
|
828
845
|
- spec/forms/file_set_edit_form_spec.rb
|
846
|
+
- spec/forms/upload_set_form_spec.rb
|
829
847
|
- spec/forms/work_form_spec.rb
|
830
848
|
- spec/helpers/catalog_helper_spec.rb
|
831
849
|
- spec/helpers/configuration_helper_spec.rb
|
850
|
+
- spec/helpers/curation_concerns/ability_helper_spec.rb
|
832
851
|
- spec/helpers/curation_concerns/collections_helper_spec.rb
|
833
852
|
- spec/helpers/curation_concerns/file_set_helper_spec.rb
|
853
|
+
- spec/helpers/curation_concerns/permissions_helper_spec.rb
|
834
854
|
- spec/helpers/render_constraints_helper_spec.rb
|
835
855
|
- spec/helpers/url_helper_spec.rb
|
836
856
|
- spec/indexers/collection_indexer_spec.rb
|
837
|
-
- spec/indexers/
|
838
|
-
- spec/indexers/
|
857
|
+
- spec/indexers/file_set_indexer_spec.rb
|
858
|
+
- spec/indexers/work_indexer_spec.rb
|
859
|
+
- spec/inputs/multi_value_with_help_input_spec.rb
|
839
860
|
- spec/inputs/multifile_input_spec.rb
|
861
|
+
- spec/inputs/select_with_help_input_spec.rb
|
862
|
+
- spec/inputs/select_with_modal_help_input_spec.rb
|
840
863
|
- spec/jobs/active_fedora_id_based_job_spec.rb
|
841
864
|
- spec/jobs/audit_job_spec.rb
|
842
865
|
- spec/jobs/characterize_job_spec.rb
|
@@ -849,6 +872,8 @@ test_files:
|
|
849
872
|
- spec/lib/curation_concerns/callbacks/registry_spec.rb
|
850
873
|
- spec/lib/curation_concerns/callbacks_spec.rb
|
851
874
|
- spec/lib/curation_concerns/messages_spec.rb
|
875
|
+
- spec/lib/curation_concerns/name_spec.rb
|
876
|
+
- spec/lib/curation_concerns/null_logger_spec.rb
|
852
877
|
- spec/lib/curation_concerns/readable_permissions_spec.rb
|
853
878
|
- spec/lib/curation_concerns/writable_permissions_spec.rb
|
854
879
|
- spec/matchers.rb
|
@@ -860,6 +885,7 @@ test_files:
|
|
860
885
|
- spec/models/curation_concerns/work_behavior_spec.rb
|
861
886
|
- spec/models/file_set_spec.rb
|
862
887
|
- spec/models/generic_work_spec.rb
|
888
|
+
- spec/models/quick_classification_query_spec.rb
|
863
889
|
- spec/models/single_use_link_spec.rb
|
864
890
|
- spec/models/solr_document_spec.rb
|
865
891
|
- spec/models/upload_set_spec.rb
|
@@ -907,16 +933,20 @@ test_files:
|
|
907
933
|
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
908
934
|
- spec/views/catalog/_action_menu_partials/_default.html.erb_spec.rb
|
909
935
|
- spec/views/catalog/index.html.erb_spec.rb
|
936
|
+
- spec/views/collections/_sort_and_per_page.html.erb_spec.rb
|
910
937
|
- spec/views/curation_concerns/base/_attributes.html.erb_spec.rb
|
911
938
|
- spec/views/curation_concerns/base/_form_permission.html.erb_spec.rb
|
912
939
|
- spec/views/curation_concerns/base/show.html.erb_spec.rb
|
913
940
|
- spec/views/curation_concerns/base/show.json.jbuilder_spec.rb
|
914
941
|
- spec/views/curation_concerns/file_sets/_file_set.html.erb_spec.rb
|
942
|
+
- spec/views/curation_concerns/file_sets/show.html.erb_spec.rb
|
915
943
|
- spec/views/curation_concerns/file_sets/show.json.jbuilder_spec.rb
|
916
944
|
- spec/views/curation_concerns/permissions/confirm.html.erb_spec.rb
|
945
|
+
- spec/views/curation_concerns/single_use_links_viewer/show.html.erb_spec.rb
|
917
946
|
- spec/views/error/single_use_error.html.erb_spec.rb
|
918
947
|
- spec/views/layouts/error.html.erb_spec.rb
|
919
948
|
- spec/views/shared/_add_content.html.erb_spec.rb
|
920
949
|
- spec/views/shared/_my_actions.html.erb_spec.rb
|
921
950
|
- spec/views/single_use_links/new_download.html.erb_spec.rb
|
922
951
|
- spec/views/single_use_links_viewer/show.html.erb_spec.rb
|
952
|
+
- spec/views/upload_sets/_metadata.html.erb_spec.rb
|
@@ -1,16 +0,0 @@
|
|
1
|
-
module CurationConcerns
|
2
|
-
# Including WithoutNamespace on a controller allows us to prepend the default namespace to the params[:id]
|
3
|
-
module WithoutNamespace
|
4
|
-
extend ActiveSupport::Concern
|
5
|
-
|
6
|
-
included do
|
7
|
-
prepend_before_action :normalize_identifier, except: [:index, :create, :new]
|
8
|
-
end
|
9
|
-
|
10
|
-
protected
|
11
|
-
|
12
|
-
def normalize_identifier
|
13
|
-
params[:id] = CurationConcerns::Noid.namespaceize(params[:id])
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
class RegistrationsController < Devise::RegistrationsController
|
2
|
-
include CurationConcerns::ThemedLayoutController
|
3
|
-
with_themed_layout '1_column'
|
4
|
-
|
5
|
-
# protected
|
6
|
-
|
7
|
-
# def after_update_path_for(resource)
|
8
|
-
# resource.update_column(:user_does_not_require_profile_update, true)
|
9
|
-
# super
|
10
|
-
# end
|
11
|
-
|
12
|
-
# def resource_class
|
13
|
-
# Account
|
14
|
-
# end
|
15
|
-
|
16
|
-
# def sign_up(resource_name, resource)
|
17
|
-
# sign_in(resource_name, resource.user)
|
18
|
-
# end
|
19
|
-
end
|
@@ -1,3 +0,0 @@
|
|
1
|
-
<%= render partial: 'curation_concerns/file_sets/upload/alerts', presenter: @presenter %>
|
2
|
-
<%= render partial: 'curation_concerns/file_sets/upload/form', presenter: @presenter %>
|
3
|
-
<%= render partial: 'curation_concerns/file_sets/upload/script_templates', presenter: @presenter %>
|
data/spec/fixtures/Example.ogg
DELETED
Binary file
|
data/spec/fixtures/charter.docx
DELETED
Binary file
|
data/spec/fixtures/countdown.avi
DELETED
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
This is a test fixture for curation_concerns: <%= @id %>.
|
File without changes
|
Binary file
|
data/spec/fixtures/image.jp2
DELETED
Binary file
|
data/spec/fixtures/image.jpg
DELETED
Binary file
|
Binary file
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
small
|
Binary file
|
data/spec/fixtures/test.pdf
DELETED
Binary file
|
data/spec/fixtures/test4.pdf
DELETED
Binary file
|
data/spec/fixtures/test5.mp3
DELETED
Binary file
|
data/spec/fixtures/world.png
DELETED
Binary file
|