curation_concerns 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +2 -0
  4. data/Gemfile +4 -0
  5. data/Rakefile +2 -2
  6. data/app/actors/curation_concerns/actors/file_actor.rb +2 -3
  7. data/app/assets/javascripts/curation_concerns/file_manager.es6 +32 -1
  8. data/app/assets/javascripts/curation_concerns/file_manager/member.es6 +6 -0
  9. data/app/assets/stylesheets/curation_concerns/_positioning.scss +3 -2
  10. data/app/assets/stylesheets/curation_concerns/modules/file_manager.scss +14 -0
  11. data/app/controllers/concerns/curation_concerns/curation_concern_controller.rb +3 -3
  12. data/app/controllers/concerns/curation_concerns/single_use_links_controller_behavior.rb +2 -2
  13. data/app/indexers/curation_concerns/admin_set_indexer.rb +13 -0
  14. data/app/indexers/curation_concerns/file_set_indexer.rb +5 -0
  15. data/app/indexers/curation_concerns/work_indexer.rb +3 -0
  16. data/app/models/admin_set.rb +3 -0
  17. data/app/models/concerns/curation_concerns/admin_set_behavior.rb +29 -0
  18. data/app/models/concerns/curation_concerns/file_set/characterization.rb +2 -1
  19. data/app/models/concerns/curation_concerns/in_admin_set.rb +9 -0
  20. data/app/models/concerns/curation_concerns/publishable.rb +19 -0
  21. data/app/models/concerns/curation_concerns/solr_behavior/characterization.rb +106 -0
  22. data/app/models/concerns/curation_concerns/solr_document_behavior.rb +5 -0
  23. data/app/models/concerns/curation_concerns/work_behavior.rb +2 -0
  24. data/app/models/curation_concerns/state_workflow.rb +13 -0
  25. data/app/models/vocab/fedora_resource_status.rb +6 -0
  26. data/app/presenters/curation_concerns/characterization_behavior.rb +84 -0
  27. data/app/presenters/curation_concerns/file_set_presenter.rb +1 -0
  28. data/app/presenters/curation_concerns/work_show_presenter.rb +1 -1
  29. data/app/search_builders/curation_concerns/admin_set_search_builder.rb +22 -0
  30. data/app/services/curation_concerns/admin_set_service.rb +26 -0
  31. data/app/services/curation_concerns/indexes_thumbnails.rb +1 -0
  32. data/app/services/curation_concerns/license_service.rb +8 -0
  33. data/app/services/curation_concerns/qa_select_service.rb +33 -0
  34. data/app/services/curation_concerns/rights_statements.rb +8 -0
  35. data/app/services/rights_service.rb +9 -2
  36. data/app/views/collections/_button_create_collection.html.erb +1 -1
  37. data/app/views/collections/_button_for_update_collection.html.erb +1 -1
  38. data/app/views/curation_concerns/base/_file_manager_actions.html.erb +1 -0
  39. data/app/views/curation_concerns/base/_file_manager_member.html.erb +24 -23
  40. data/app/views/curation_concerns/base/_file_manager_member_resource_options.html.erb +6 -0
  41. data/app/views/curation_concerns/base/_file_manager_resource_form.html.erb +5 -0
  42. data/app/views/curation_concerns/base/_form_rights.html.erb +1 -1
  43. data/app/views/curation_concerns/file_sets/media_display/_default.html.erb +18 -9
  44. data/app/views/curation_concerns/file_sets/media_display/_image.html.erb +18 -13
  45. data/app/views/curation_concerns/file_sets/media_display/_office_document.html.erb +18 -13
  46. data/app/views/curation_concerns/file_sets/media_display/_pdf.html.erb +18 -13
  47. data/config/locales/curation_concerns.en.yml +6 -0
  48. data/curation_concerns.gemspec +2 -2
  49. data/lib/curation_concerns/version.rb +1 -1
  50. data/lib/generators/curation_concerns/install_generator.rb +6 -9
  51. data/lib/generators/curation_concerns/templates/config/authorities/{rights.yml → licenses.yml} +0 -0
  52. data/lib/generators/curation_concerns/templates/config/authorities/rights_statements.yml +37 -0
  53. data/spec/abilities/admin_set_abilities_spec.rb +15 -0
  54. data/spec/actors/curation_concerns/file_actor_spec.rb +1 -2
  55. data/spec/controllers/catalog_controller_spec.rb +9 -11
  56. data/spec/controllers/curation_concerns/classify_concerns_controller_spec.rb +2 -2
  57. data/spec/controllers/curation_concerns/collections_controller_spec.rb +39 -33
  58. data/spec/controllers/curation_concerns/file_sets_controller_json_spec.rb +10 -10
  59. data/spec/controllers/curation_concerns/file_sets_controller_spec.rb +54 -35
  60. data/spec/controllers/curation_concerns/generic_works_controller_json_spec.rb +6 -6
  61. data/spec/controllers/curation_concerns/generic_works_controller_spec.rb +30 -35
  62. data/spec/controllers/curation_concerns/operations_controller_spec.rb +2 -2
  63. data/spec/controllers/curation_concerns/permissions_controller_spec.rb +2 -2
  64. data/spec/controllers/curation_concerns/single_use_links_controller_spec.rb +10 -10
  65. data/spec/controllers/curation_concerns/single_use_links_viewer_controller_spec.rb +7 -12
  66. data/spec/controllers/downloads_controller_spec.rb +15 -19
  67. data/spec/controllers/embargoes_controller_spec.rb +6 -6
  68. data/spec/controllers/leases_controller_spec.rb +6 -6
  69. data/spec/factories/admin_sets.rb +9 -0
  70. data/spec/indexers/file_set_indexer_spec.rb +11 -2
  71. data/spec/indexers/work_indexer_spec.rb +41 -20
  72. data/spec/models/admin_set_spec.rb +78 -0
  73. data/spec/models/curation_concerns/file_set/characterization_spec.rb +1 -1
  74. data/spec/models/file_set_spec.rb +4 -1
  75. data/spec/models/generic_work_spec.rb +24 -1
  76. data/spec/models/solr_document_spec.rb +30 -0
  77. data/spec/presenters/curation_concerns/file_set_presenter_spec.rb +131 -6
  78. data/spec/renderers/curation_concerns/renderers/attribute_renderer_spec.rb +1 -4
  79. data/spec/search_builders/curation_concerns/admin_set_search_builder_spec.rb +17 -0
  80. data/spec/services/curation_concerns/admin_set_service_spec.rb +37 -0
  81. data/spec/services/curation_concerns/license_service_spec.rb +36 -0
  82. data/spec/services/curation_concerns/rights_statements_spec.rb +11 -0
  83. data/spec/services/rights_service_spec.rb +2 -0
  84. data/spec/spec_helper.rb +44 -0
  85. data/spec/support/backport_test.rb +14 -0
  86. data/spec/support/curation_concerns/factory_helpers.rb +3 -1
  87. data/spec/test_app_templates/Gemfile.extra +0 -2
  88. data/spec/views/curation_concerns/base/file_manager.html.erb_spec.rb +13 -1
  89. data/spec/views/curation_concerns/file_sets/show.html.erb_spec.rb +8 -8
  90. metadata +40 -7
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe CurationConcerns::RightsStatements do
4
+ let(:service) { described_class.new }
5
+
6
+ describe "#select_active_options" do
7
+ it "returns active terms" do
8
+ expect(service.select_active_options).to include(["In Copyright", "http://rightsstatements.org/vocab/InC/1.0/"], ["No Known Copyright", "http://rightsstatements.org/vocab/NKC/1.0/"])
9
+ end
10
+ end
11
+ end
@@ -1,5 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
+ Deprecation.default_deprecation_behavior = :silence
3
4
  describe RightsService do
4
5
  before do
5
6
  # Configure QA to use fixtures
@@ -33,3 +34,4 @@ describe RightsService do
33
34
  end
34
35
  end
35
36
  end
37
+ Deprecation.default_deprecation_behavior = :stderr
data/spec/spec_helper.rb CHANGED
@@ -93,6 +93,7 @@ RSpec.configure do |config|
93
93
  config.include(ControllerLevelHelpers, type: :view)
94
94
  config.before(:each, type: :view) { initialize_controller_helpers(view) }
95
95
 
96
+ config.include BackportTest, type: :controller unless Rails.version > '5'
96
97
  config.include Controllers::EngineHelpers, type: :controller
97
98
  config.include Controllers::EngineHelpers, type: :helper
98
99
  config.include ::Rails.application.routes.url_helpers
@@ -103,6 +104,49 @@ RSpec.configure do |config|
103
104
  config.include Capybara::RSpecMatchers, type: :input
104
105
  config.infer_spec_type_from_file_location!
105
106
  config.deprecation_stream
107
+
108
+ config.expect_with :rspec do |expectations|
109
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
110
+ end
111
+
112
+ config.default_formatter = 'doc' if config.files_to_run.one?
113
+
114
+ config.shared_context_metadata_behavior = :apply_to_host_groups
115
+
116
+ # This allows you to limit a spec run to individual examples or groups
117
+ # you care about by tagging them with `:focus` metadata. When nothing
118
+ # is tagged with `:focus`, all examples get run. RSpec also provides
119
+ # aliases for `it`, `describe`, and `context` that include `:focus`
120
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
121
+ config.filter_run_when_matching :focus
122
+
123
+ config.example_status_persistence_file_path = 'spec/examples.txt'
124
+ # Many RSpec users commonly either run the entire suite or an individual
125
+ # file, and it's useful to allow more verbose output when running an
126
+ # individual spec file.
127
+ if config.files_to_run.one?
128
+ # Use the documentation formatter for detailed output,
129
+ # unless a formatter has already been configured
130
+ # (e.g. via a command-line flag).
131
+ config.default_formatter = 'doc'
132
+ end
133
+
134
+ # Print the 10 slowest examples and example groups at the
135
+ # end of the spec run, to help surface which specs are running
136
+ # particularly slow.
137
+ config.profile_examples = 10
138
+
139
+ # Run specs in random order to surface order dependencies. If you find an
140
+ # order dependency and want to debug it, you can fix the order by providing
141
+ # the seed, which is printed after each run.
142
+ # --seed 1234
143
+ config.order = :random
144
+
145
+ # Seed global randomization in this process using the `--seed` CLI option.
146
+ # Setting this allows you to use `--seed` to deterministically reproduce
147
+ # test failures related to randomization by passing the same `--seed` value
148
+ # as the one that triggered the failure.
149
+ Kernel.srand config.seed
106
150
  end
107
151
 
108
152
  if defined?(ClamAV)
@@ -0,0 +1,14 @@
1
+ # Backport the Rails 5 controller test methods to Rails 4
2
+ module BackportTest
3
+ [:delete, :get, :post, :put, :patch].each do |http_action|
4
+ define_method(http_action) do |*args|
5
+ (action, rest) = *args
6
+ rest ||= {}
7
+ if rest[:xhr]
8
+ @request.env['HTTP_X_REQUESTED_WITH'] = 'XMLHttpRequest'
9
+ @request.env['HTTP_ACCEPT'] ||= [Mime::JS, Mime::HTML, Mime::XML, 'text/xml', Mime::ALL].join(', ')
10
+ end
11
+ super(action, rest[:params])
12
+ end
13
+ end
14
+ end
@@ -26,7 +26,9 @@ module CurationConcerns
26
26
  file_title: opts.fetch(:file_title, []),
27
27
  last_modified: opts.fetch(:last_modified, []),
28
28
  original_checksum: opts.fetch(:original_checksum, []),
29
- digest: opts.fetch(:digest, [])
29
+ digest: opts.fetch(:digest, []),
30
+ duration: opts.fetch(:duration, []),
31
+ sample_rate: opts.fetch(:sample_rate, [])
30
32
  )
31
33
  end
32
34
  end
@@ -1,7 +1,5 @@
1
1
  # placeholder to use for pinning against specific gem commit references
2
2
 
3
- gem 'breadcrumbs_on_rails', git: 'https://github.com/weppos/breadcrumbs_on_rails.git'
4
-
5
3
  group :development do
6
4
  gem 'better_errors'
7
5
  gem 'binding_of_caller'
@@ -77,10 +77,22 @@ RSpec.describe "curation_concerns/base/file_manager.html.erb" do
77
77
  end
78
78
 
79
79
  it "renders a form for each member" do
80
- expect(rendered).to have_selector("form", count: members.length)
80
+ expect(rendered).to have_selector("#sortable form", count: members.length)
81
81
  end
82
82
 
83
83
  it "renders an input for titles" do
84
84
  expect(rendered).to have_selector("input[name='file_set[title][]']")
85
85
  end
86
+
87
+ it "renders a resource form for the entire resource" do
88
+ expect(rendered).to have_selector("form#resource-form")
89
+ end
90
+
91
+ it "renders a hidden field for the resource form thumbnail id" do
92
+ expect(rendered).to have_selector("#resource-form input[type=hidden][name='generic_work[thumbnail_id]']", visible: false)
93
+ end
94
+
95
+ it "renders a thumbnail field for each member" do
96
+ expect(rendered).to have_selector("input[name='thumbnail_id']", count: members.length)
97
+ end
86
98
  end
@@ -72,28 +72,28 @@ describe 'curation_concerns/file_sets/show.html.erb', type: :view do
72
72
  context 'with an image' do
73
73
  let(:mime_type) { 'image/tiff' }
74
74
  it 'renders the download link' do
75
- expect(rendered).to have_link('Download the full-sized image')
75
+ expect(rendered).to have_link('Download image')
76
76
  end
77
77
  end
78
78
 
79
79
  context 'with a PDF' do
80
80
  let(:mime_type) { 'application/pdf' }
81
81
  it 'renders the download link' do
82
- expect(rendered).to have_link('Download the full-sized PDF')
82
+ expect(rendered).to have_link('Download PDF')
83
83
  end
84
84
  end
85
85
 
86
86
  context 'with a word document' do
87
87
  let(:mime_type) { 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' }
88
88
  it 'renders the download link' do
89
- expect(rendered).to have_link('Download the document')
89
+ expect(rendered).to have_link('Download file')
90
90
  end
91
91
  end
92
92
 
93
93
  context 'with anything else' do
94
94
  let(:mime_type) { 'application/binary' }
95
95
  it 'renders the download link' do
96
- expect(rendered).to have_link('Download the document')
96
+ expect(rendered).to have_link('Download file')
97
97
  end
98
98
  end
99
99
  end
@@ -107,28 +107,28 @@ describe 'curation_concerns/file_sets/show.html.erb', type: :view do
107
107
  context 'with an image' do
108
108
  let(:mime_type) { 'image/tiff' }
109
109
  it 'does not render the download link' do
110
- expect(rendered).not_to have_link('Download the full-sized image')
110
+ expect(rendered).not_to have_link('Download image')
111
111
  end
112
112
  end
113
113
 
114
114
  context 'with a PDF' do
115
115
  let(:mime_type) { 'application/pdf' }
116
116
  it 'does not render the download link' do
117
- expect(rendered).not_to have_link('Download the full-sized PDF')
117
+ expect(rendered).not_to have_link('Download PDF')
118
118
  end
119
119
  end
120
120
 
121
121
  context 'with a word document' do
122
122
  let(:mime_type) { 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' }
123
123
  it 'does not render the download link' do
124
- expect(rendered).not_to have_link('Download the document')
124
+ expect(rendered).not_to have_link('Download file')
125
125
  end
126
126
  end
127
127
 
128
128
  context 'with anything else' do
129
129
  let(:mime_type) { 'application/binary' }
130
130
  it 'does not render the download link' do
131
- expect(rendered).not_to have_link('Download the document')
131
+ expect(rendered).not_to have_link('Download file')
132
132
  end
133
133
  end
134
134
  end
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: 1.4.0
4
+ version: 1.5.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: 2016-08-17 00:00:00.000000000 Z
13
+ date: 2016-08-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: hydra-head
@@ -38,14 +38,14 @@ dependencies:
38
38
  requirements:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: 11.0.0.rc6
41
+ version: 10.3.0.rc1
42
42
  type: :runtime
43
43
  prerelease: false
44
44
  version_requirements: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: 11.0.0.rc6
48
+ version: 10.3.0.rc1
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: blacklight
51
51
  requirement: !ruby/object:Gem::Requirement
@@ -66,7 +66,7 @@ dependencies:
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.3'
69
+ version: 3.0.1
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
72
  version: '4'
@@ -76,7 +76,7 @@ dependencies:
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: '2.3'
79
+ version: 3.0.1
80
80
  - - "<"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '4'
@@ -772,6 +772,7 @@ files:
772
772
  - app/helpers/curation_concerns/search_paths_helper.rb
773
773
  - app/helpers/curation_concerns/title_helper.rb
774
774
  - app/helpers/curation_concerns/url_helper.rb
775
+ - app/indexers/curation_concerns/admin_set_indexer.rb
775
776
  - app/indexers/curation_concerns/collection_indexer.rb
776
777
  - app/indexers/curation_concerns/file_set_indexer.rb
777
778
  - app/indexers/curation_concerns/work_indexer.rb
@@ -785,9 +786,11 @@ files:
785
786
  - app/jobs/ingest_local_file_job.rb
786
787
  - app/jobs/resolrize_job.rb
787
788
  - app/jobs/visibility_copy_job.rb
789
+ - app/models/admin_set.rb
788
790
  - app/models/checksum_audit_log.rb
789
791
  - app/models/collection.rb
790
792
  - app/models/concerns/curation_concerns/ability.rb
793
+ - app/models/concerns/curation_concerns/admin_set_behavior.rb
791
794
  - app/models/concerns/curation_concerns/basic_metadata.rb
792
795
  - app/models/concerns/curation_concerns/collection.rb
793
796
  - app/models/concerns/curation_concerns/collection_behavior.rb
@@ -799,13 +802,16 @@ files:
799
802
  - app/models/concerns/curation_concerns/file_set_behavior.rb
800
803
  - app/models/concerns/curation_concerns/has_representative.rb
801
804
  - app/models/concerns/curation_concerns/human_readable_type.rb
805
+ - app/models/concerns/curation_concerns/in_admin_set.rb
802
806
  - app/models/concerns/curation_concerns/naming.rb
803
807
  - app/models/concerns/curation_concerns/nested_works.rb
804
808
  - app/models/concerns/curation_concerns/permissions.rb
805
809
  - app/models/concerns/curation_concerns/permissions/readable.rb
806
810
  - app/models/concerns/curation_concerns/permissions/writable.rb
811
+ - app/models/concerns/curation_concerns/publishable.rb
807
812
  - app/models/concerns/curation_concerns/required_metadata.rb
808
813
  - app/models/concerns/curation_concerns/serializers.rb
814
+ - app/models/concerns/curation_concerns/solr_behavior/characterization.rb
809
815
  - app/models/concerns/curation_concerns/solr_document_behavior.rb
810
816
  - app/models/concerns/curation_concerns/user.rb
811
817
  - app/models/concerns/curation_concerns/with_file_sets.rb
@@ -813,8 +819,11 @@ files:
813
819
  - app/models/curation_concerns/classify_concern.rb
814
820
  - app/models/curation_concerns/operation.rb
815
821
  - app/models/curation_concerns/quick_classification_query.rb
822
+ - app/models/curation_concerns/state_workflow.rb
816
823
  - app/models/single_use_link.rb
817
824
  - app/models/version_committer.rb
825
+ - app/models/vocab/fedora_resource_status.rb
826
+ - app/presenters/curation_concerns/characterization_behavior.rb
818
827
  - app/presenters/curation_concerns/collection_presenter.rb
819
828
  - app/presenters/curation_concerns/composite_presenter_factory.rb
820
829
  - app/presenters/curation_concerns/embargo_presenter.rb
@@ -835,6 +844,7 @@ files:
835
844
  - app/renderers/curation_concerns/renderers/linked_attribute_renderer.rb
836
845
  - app/renderers/curation_concerns/renderers/rights_attribute_renderer.rb
837
846
  - app/renderers/renderers.rb
847
+ - app/search_builders/curation_concerns/admin_set_search_builder.rb
838
848
  - app/search_builders/curation_concerns/collection_member_search_builder.rb
839
849
  - app/search_builders/curation_concerns/collection_search_builder.rb
840
850
  - app/search_builders/curation_concerns/deactivated_embargo_search_builder.rb
@@ -852,6 +862,7 @@ files:
852
862
  - app/search_builders/curation_concerns/work_relation.rb
853
863
  - app/search_builders/curation_concerns/work_search_builder.rb
854
864
  - app/services/curation_concerns/actors/actor_factory.rb
865
+ - app/services/curation_concerns/admin_set_service.rb
855
866
  - app/services/curation_concerns/contextual_path.rb
856
867
  - app/services/curation_concerns/curation_concern.rb
857
868
  - app/services/curation_concerns/derivative_path.rb
@@ -860,6 +871,7 @@ files:
860
871
  - app/services/curation_concerns/graph_exporter.rb
861
872
  - app/services/curation_concerns/indexes_thumbnails.rb
862
873
  - app/services/curation_concerns/lease_service.rb
874
+ - app/services/curation_concerns/license_service.rb
863
875
  - app/services/curation_concerns/list_source_exporter.rb
864
876
  - app/services/curation_concerns/local_file_service.rb
865
877
  - app/services/curation_concerns/lock_manager.rb
@@ -868,8 +880,10 @@ files:
868
880
  - app/services/curation_concerns/parent_service.rb
869
881
  - app/services/curation_concerns/persist_derivatives.rb
870
882
  - app/services/curation_concerns/persist_directly_contained_output_file_service.rb
883
+ - app/services/curation_concerns/qa_select_service.rb
871
884
  - app/services/curation_concerns/repository_audit_service.rb
872
885
  - app/services/curation_concerns/restriction_service.rb
886
+ - app/services/curation_concerns/rights_statements.rb
873
887
  - app/services/curation_concerns/thumbnail_path_service.rb
874
888
  - app/services/curation_concerns/time_service.rb
875
889
  - app/services/curation_concerns/versioning_service.rb
@@ -938,7 +952,9 @@ files:
938
952
  - app/views/curation_concerns/base/_file_manager_attributes.html.erb
939
953
  - app/views/curation_concerns/base/_file_manager_extra_tools.html.erb
940
954
  - app/views/curation_concerns/base/_file_manager_member.html.erb
955
+ - app/views/curation_concerns/base/_file_manager_member_resource_options.html.erb
941
956
  - app/views/curation_concerns/base/_file_manager_members.html.erb
957
+ - app/views/curation_concerns/base/_file_manager_resource_form.html.erb
942
958
  - app/views/curation_concerns/base/_file_manager_thumbnail.html.erb
943
959
  - app/views/curation_concerns/base/_form.html.erb
944
960
  - app/views/curation_concerns/base/_form_additional_information.html.erb
@@ -1060,8 +1076,9 @@ files:
1060
1076
  - lib/generators/curation_concerns/templates/app/models/collection.rb
1061
1077
  - lib/generators/curation_concerns/templates/app/models/file_set.rb
1062
1078
  - lib/generators/curation_concerns/templates/catalog_controller.rb
1079
+ - lib/generators/curation_concerns/templates/config/authorities/licenses.yml
1063
1080
  - lib/generators/curation_concerns/templates/config/authorities/resource_types.yml
1064
- - lib/generators/curation_concerns/templates/config/authorities/rights.yml
1081
+ - lib/generators/curation_concerns/templates/config/authorities/rights_statements.yml
1065
1082
  - lib/generators/curation_concerns/templates/config/clamav.rb
1066
1083
  - lib/generators/curation_concerns/templates/config/curation_concerns.rb
1067
1084
  - lib/generators/curation_concerns/templates/config/initializers/simple_form.rb
@@ -1102,6 +1119,7 @@ files:
1102
1119
  - solr/config/xslt/example_atom.xsl
1103
1120
  - solr/config/xslt/example_rss.xsl
1104
1121
  - solr/config/xslt/luke.xsl
1122
+ - spec/abilities/admin_set_abilities_spec.rb
1105
1123
  - spec/abilities/collection_abilities_spec.rb
1106
1124
  - spec/abilities/embargo_and_lease_ability_spec.rb
1107
1125
  - spec/abilities/file_set_abilities_spec.rb
@@ -1132,6 +1150,7 @@ files:
1132
1150
  - spec/controllers/leases_controller_spec.rb
1133
1151
  - spec/controllers/selects_collections_controller_spec.rb
1134
1152
  - spec/controllers/welcome_controller_spec.rb
1153
+ - spec/factories/admin_sets.rb
1135
1154
  - spec/factories/collections.rb
1136
1155
  - spec/factories/create_curation_concern.rb
1137
1156
  - spec/factories/file_sets.rb
@@ -1194,6 +1213,7 @@ files:
1194
1213
  - spec/matchers.rb
1195
1214
  - spec/matchers/metadata_field_matchers.rb
1196
1215
  - spec/matchers/response_matchers.rb
1216
+ - spec/models/admin_set_spec.rb
1197
1217
  - spec/models/checksum_audit_log_spec.rb
1198
1218
  - spec/models/collection_spec.rb
1199
1219
  - spec/models/curation_concerns/collection_behavior_spec.rb
@@ -1224,12 +1244,16 @@ files:
1224
1244
  - spec/renderers/curation_concerns/renderers/rights_attribute_renderer_spec.rb
1225
1245
  - spec/routing/curation_concerns/routes_spec.rb
1226
1246
  - spec/routing/route_spec.rb
1247
+ - spec/search_builders/curation_concerns/admin_set_search_builder_spec.rb
1227
1248
  - spec/search_builders/curation_concerns/embargo_search_builder_spec.rb
1228
1249
  - spec/search_builders/curation_concerns/file_set_search_builder_spec.rb
1229
1250
  - spec/search_builders/curation_concerns/lease_search_builder_spec.rb
1230
1251
  - spec/search_builders/curation_concerns/work_relation_spec.rb
1231
1252
  - spec/search_builders/resource_types_service_spec.rb
1232
1253
  - spec/services/curation_concern_spec.rb
1254
+ - spec/services/curation_concerns/admin_set_service_spec.rb
1255
+ - spec/services/curation_concerns/license_service_spec.rb
1256
+ - spec/services/curation_concerns/rights_statements_spec.rb
1233
1257
  - spec/services/derivative_path_spec.rb
1234
1258
  - spec/services/embargo_service_spec.rb
1235
1259
  - spec/services/file_set_audit_service_spec.rb
@@ -1244,6 +1268,7 @@ files:
1244
1268
  - spec/services/thumbnail_path_service_spec.rb
1245
1269
  - spec/services/versioning_service_spec.rb
1246
1270
  - spec/spec_helper.rb
1271
+ - spec/support/backport_test.rb
1247
1272
  - spec/support/controllers/engine_helpers.rb
1248
1273
  - spec/support/curation_concerns/factory_helpers.rb
1249
1274
  - spec/support/features.rb
@@ -1314,6 +1339,7 @@ specification_version: 4
1314
1339
  summary: A Rails Engine that allows an application to CRUD CurationConcern objects
1315
1340
  (a.k.a. "Works")
1316
1341
  test_files:
1342
+ - spec/abilities/admin_set_abilities_spec.rb
1317
1343
  - spec/abilities/collection_abilities_spec.rb
1318
1344
  - spec/abilities/embargo_and_lease_ability_spec.rb
1319
1345
  - spec/abilities/file_set_abilities_spec.rb
@@ -1344,6 +1370,7 @@ test_files:
1344
1370
  - spec/controllers/leases_controller_spec.rb
1345
1371
  - spec/controllers/selects_collections_controller_spec.rb
1346
1372
  - spec/controllers/welcome_controller_spec.rb
1373
+ - spec/factories/admin_sets.rb
1347
1374
  - spec/factories/collections.rb
1348
1375
  - spec/factories/create_curation_concern.rb
1349
1376
  - spec/factories/file_sets.rb
@@ -1406,6 +1433,7 @@ test_files:
1406
1433
  - spec/matchers.rb
1407
1434
  - spec/matchers/metadata_field_matchers.rb
1408
1435
  - spec/matchers/response_matchers.rb
1436
+ - spec/models/admin_set_spec.rb
1409
1437
  - spec/models/checksum_audit_log_spec.rb
1410
1438
  - spec/models/collection_spec.rb
1411
1439
  - spec/models/curation_concerns/collection_behavior_spec.rb
@@ -1436,12 +1464,16 @@ test_files:
1436
1464
  - spec/renderers/curation_concerns/renderers/rights_attribute_renderer_spec.rb
1437
1465
  - spec/routing/curation_concerns/routes_spec.rb
1438
1466
  - spec/routing/route_spec.rb
1467
+ - spec/search_builders/curation_concerns/admin_set_search_builder_spec.rb
1439
1468
  - spec/search_builders/curation_concerns/embargo_search_builder_spec.rb
1440
1469
  - spec/search_builders/curation_concerns/file_set_search_builder_spec.rb
1441
1470
  - spec/search_builders/curation_concerns/lease_search_builder_spec.rb
1442
1471
  - spec/search_builders/curation_concerns/work_relation_spec.rb
1443
1472
  - spec/search_builders/resource_types_service_spec.rb
1444
1473
  - spec/services/curation_concern_spec.rb
1474
+ - spec/services/curation_concerns/admin_set_service_spec.rb
1475
+ - spec/services/curation_concerns/license_service_spec.rb
1476
+ - spec/services/curation_concerns/rights_statements_spec.rb
1445
1477
  - spec/services/derivative_path_spec.rb
1446
1478
  - spec/services/embargo_service_spec.rb
1447
1479
  - spec/services/file_set_audit_service_spec.rb
@@ -1456,6 +1488,7 @@ test_files:
1456
1488
  - spec/services/thumbnail_path_service_spec.rb
1457
1489
  - spec/services/versioning_service_spec.rb
1458
1490
  - spec/spec_helper.rb
1491
+ - spec/support/backport_test.rb
1459
1492
  - spec/support/controllers/engine_helpers.rb
1460
1493
  - spec/support/curation_concerns/factory_helpers.rb
1461
1494
  - spec/support/features.rb