hyrax 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +5 -5
  2. data/.github/ISSUE_TEMPLATE.md +1 -1
  3. data/.github/PULL_REQUEST_TEMPLATE.md +5 -0
  4. data/.rubocop.yml +8 -1
  5. data/README.md +3 -11
  6. data/app/actors/hyrax/actors/file_set_actor.rb +6 -1
  7. data/app/assets/javascripts/hyrax.js +1 -1
  8. data/app/assets/javascripts/hyrax/editor.es6 +8 -0
  9. data/app/assets/javascripts/hyrax/save_work/save_work_control.es6 +20 -1
  10. data/app/assets/javascripts/hyrax/save_work/uploaded_files.es6 +1 -0
  11. data/app/assets/stylesheets/hyrax/_breadcrumbs.scss +25 -0
  12. data/app/assets/stylesheets/hyrax/_collections.scss +6 -0
  13. data/app/assets/stylesheets/hyrax/_file-listing.scss +5 -0
  14. data/app/assets/stylesheets/hyrax/_file_upload.scss +14 -0
  15. data/app/assets/stylesheets/hyrax/_form-progress.scss +6 -0
  16. data/app/assets/stylesheets/hyrax/_hyrax.scss +1 -1
  17. data/app/assets/stylesheets/hyrax/_styles.scss +6 -0
  18. data/app/assets/stylesheets/hyrax/dashboard.scss +4 -5
  19. data/app/builders/hyrax/bootstrap_breadcrumbs_builder.rb +10 -4
  20. data/app/controllers/concerns/hyrax/admin/stats_behavior.rb +25 -1
  21. data/app/controllers/concerns/hyrax/breadcrumbs_for_collections.rb +6 -2
  22. data/app/controllers/concerns/hyrax/controller.rb +1 -1
  23. data/app/controllers/concerns/hyrax/deny_access_override_behavior.rb +1 -1
  24. data/app/controllers/concerns/hyrax/works_controller_behavior.rb +1 -1
  25. data/app/controllers/hyrax/admin/admin_sets_controller.rb +1 -1
  26. data/app/controllers/hyrax/dashboard/collections_controller.rb +2 -2
  27. data/app/controllers/hyrax/downloads_controller.rb +1 -1
  28. data/app/controllers/hyrax/featured_works_controller.rb +1 -5
  29. data/app/controllers/hyrax/homepage_controller.rb +1 -1
  30. data/app/controllers/hyrax/single_use_links_controller.rb +1 -1
  31. data/app/controllers/hyrax/transfers_controller.rb +1 -1
  32. data/app/controllers/hyrax/users_controller.rb +1 -0
  33. data/app/helpers/hyrax/citations_behaviors/publication_behavior.rb +2 -2
  34. data/app/helpers/hyrax/collections_helper.rb +1 -1
  35. data/app/helpers/hyrax/hyrax_helper_behavior.rb +2 -2
  36. data/app/jobs/characterize_job.rb +1 -1
  37. data/app/jobs/fixity_check_job.rb +1 -1
  38. data/app/jobs/import_url_job.rb +12 -1
  39. data/app/models/checksum_audit_log.rb +1 -1
  40. data/app/models/concerns/hyrax/ability.rb +1 -1
  41. data/app/models/hyrax/collection_type.rb +1 -1
  42. data/app/models/hyrax/operation.rb +4 -6
  43. data/app/models/hyrax/permission_template_access.rb +5 -5
  44. data/app/models/sipity/entity.rb +1 -1
  45. data/app/presenters/hyrax/admin_set_presenter.rb +9 -2
  46. data/app/presenters/hyrax/admin_stats_presenter.rb +52 -6
  47. data/app/presenters/hyrax/inspect_work_presenter.rb +1 -1
  48. data/app/presenters/hyrax/workflow_presenter.rb +1 -1
  49. data/app/search_builders/hyrax/dashboard/nested_collections_search_builder.rb +3 -5
  50. data/app/search_builders/hyrax/filter_suppressed_with_roles.rb +5 -1
  51. data/app/search_builders/hyrax/my/works_search_builder.rb +2 -1
  52. data/app/services/hyrax/collection_size_service.rb +12 -0
  53. data/app/services/hyrax/collections/nested_collection_query_service.rb +2 -2
  54. data/app/services/hyrax/graph_exporter.rb +6 -1
  55. data/app/services/hyrax/license_service.rb +1 -9
  56. data/app/services/hyrax/qa_select_service.rb +28 -0
  57. data/app/services/hyrax/rights_statement_service.rb +1 -1
  58. data/app/services/hyrax/tolerant_select_service.rb +23 -0
  59. data/app/services/hyrax/workflow/permission_query.rb +1 -1
  60. data/app/services/hyrax/workflow/sipity_actions_generator.rb +1 -1
  61. data/app/strategies/hyrax/strategies/yaml_strategy.rb +1 -1
  62. data/app/views/_logo.html.erb +1 -1
  63. data/app/views/catalog/_search_form.html.erb +1 -1
  64. data/app/views/hyrax/admin/collection_types/index.html.erb +1 -1
  65. data/app/views/hyrax/admin/workflow_roles/index.html.erb +4 -2
  66. data/app/views/hyrax/admin/workflows/index.html.erb +1 -1
  67. data/app/views/hyrax/base/_form_files.html.erb +7 -7
  68. data/app/views/hyrax/base/_form_progress.html.erb +10 -5
  69. data/app/views/hyrax/base/_share_with.html.erb +3 -11
  70. data/app/views/hyrax/base/_show_actions.html.erb +1 -3
  71. data/app/views/hyrax/batch_edits/_check_all.html.erb +15 -7
  72. data/app/views/hyrax/collections/_list_collections.html.erb +1 -1
  73. data/app/views/hyrax/dashboard/_index_partials/_transfers.html.erb +1 -1
  74. data/app/views/hyrax/dashboard/collections/_default_group.html.erb +7 -2
  75. data/app/views/hyrax/dashboard/collections/_edit_actions.html.erb +1 -2
  76. data/app/views/hyrax/dashboard/collections/_form.html.erb +1 -1
  77. data/app/views/hyrax/dashboard/collections/_form_branding.html.erb +6 -6
  78. data/app/views/hyrax/dashboard/collections/_list_collections.html.erb +1 -1
  79. data/app/views/hyrax/dashboard/collections/_show_actions.html.erb +1 -2
  80. data/app/views/hyrax/dashboard/collections/_show_add_items_actions.html.erb +1 -2
  81. data/app/views/hyrax/dashboard/sidebar/_repository_content.html.erb +1 -2
  82. data/app/views/hyrax/dashboard/works/_default_group.html.erb +1 -1
  83. data/app/views/hyrax/file_sets/_actions.html.erb +1 -1
  84. data/app/views/hyrax/file_sets/_form.html.erb +3 -3
  85. data/app/views/hyrax/file_sets/_permission.html.erb +2 -2
  86. data/app/views/hyrax/file_sets/_permission_form.html.erb +10 -10
  87. data/app/views/hyrax/file_sets/_show_actions.html.erb +1 -4
  88. data/app/views/hyrax/file_sets/_single_use_links.html.erb +5 -0
  89. data/app/views/hyrax/file_sets/_versioning.html.erb +9 -7
  90. data/app/views/hyrax/file_sets/edit.html.erb +6 -6
  91. data/app/views/hyrax/file_sets/media_display/_audio.html.erb +1 -1
  92. data/app/views/hyrax/file_sets/media_display/_image.html.erb +1 -1
  93. data/app/views/hyrax/file_sets/media_display/_office_document.html.erb +0 -1
  94. data/app/views/hyrax/file_sets/media_display/_pdf.html.erb +0 -1
  95. data/app/views/hyrax/file_sets/media_display/_video.html.erb +1 -1
  96. data/app/views/hyrax/my/collections/_default_group.html.erb +8 -3
  97. data/app/views/hyrax/my/collections/_list_collections.html.erb +1 -1
  98. data/app/views/hyrax/my/works/_batch_actions.html.erb +1 -1
  99. data/app/views/hyrax/my/works/_tabs.html.erb +3 -3
  100. data/app/views/hyrax/single_use_links_viewer/show.html.erb +1 -1
  101. data/app/views/hyrax/uploads/_js_templates.html.erb +11 -11
  102. data/app/views/hyrax/uploads/_js_templates_branding.html.erb +2 -2
  103. data/app/views/layouts/_head_tag_content.html.erb +1 -1
  104. data/app/views/layouts/hyrax.html.erb +1 -1
  105. data/app/views/layouts/hyrax/dashboard.html.erb +1 -1
  106. data/app/views/records/edit_fields/_license.html.erb +1 -1
  107. data/app/views/records/edit_fields/_rights_statement.html.erb +2 -1
  108. data/config/features.rb +4 -0
  109. data/config/locales/hyrax.de.yml +1 -0
  110. data/config/locales/hyrax.en.yml +39 -1
  111. data/config/locales/hyrax.es.yml +1 -0
  112. data/config/locales/hyrax.fr.yml +1 -0
  113. data/config/locales/hyrax.it.yml +1 -0
  114. data/config/locales/hyrax.pt-BR.yml +1 -0
  115. data/config/locales/hyrax.zh.yml +1 -0
  116. data/hyrax.gemspec +5 -2
  117. data/lib/generators/hyrax/templates/mediated_deposit_workflow.json.erb +1 -0
  118. data/lib/hyrax.rb +7 -1
  119. data/lib/hyrax/arkivo/create_subscription_job.rb +1 -1
  120. data/lib/hyrax/redis_event_store.rb +1 -1
  121. data/lib/hyrax/resource_sync/change_list_writer.rb +2 -2
  122. data/lib/hyrax/version.rb +1 -1
  123. data/spec/actors/hyrax/actors/file_set_actor_spec.rb +1 -1
  124. data/spec/controllers/hyrax/admin/stats_controller_spec.rb +31 -1
  125. data/spec/controllers/hyrax/collections_controller_spec.rb +2 -2
  126. data/spec/controllers/hyrax/dashboard/collections_controller_spec.rb +2 -2
  127. data/spec/controllers/hyrax/generic_works_controller_spec.rb +19 -3
  128. data/spec/controllers/hyrax/homepage_controller_spec.rb +1 -1
  129. data/spec/controllers/hyrax/users_controller_spec.rb +58 -0
  130. data/spec/features/batch_create_spec.rb +1 -1
  131. data/spec/features/create_work_spec.rb +22 -2
  132. data/spec/features/dashboard/collection_spec.rb +3 -3
  133. data/spec/features/homepage_spec.rb +20 -4
  134. data/spec/javascripts/save_work_spec.js +50 -0
  135. data/spec/jobs/import_url_job_spec.rb +10 -8
  136. data/spec/lib/hyrax_spec.rb +9 -0
  137. data/spec/models/flipflop_spec.rb +8 -0
  138. data/spec/models/solr_document_spec.rb +2 -2
  139. data/spec/presenters/hyrax/admin_stats_presenter_spec.rb +73 -0
  140. data/spec/search_builders/hyrax/my/works_search_builder_spec.rb +0 -2
  141. data/spec/services/hyrax/graph_exporter_spec.rb +18 -0
  142. data/spec/services/hyrax/qa_select_service_spec.rb +40 -17
  143. data/spec/services/hyrax/tolerant_select_service_spec.rb +80 -0
  144. data/spec/support/fakes/fake_authority.rb +13 -0
  145. data/spec/support/logging_formatter.rb +1 -1
  146. data/spec/support/matchers/collection_type_property_matchers.rb +5 -5
  147. data/spec/views/hyrax/base/_form_progress.html.erb_spec.rb +11 -1
  148. data/spec/views/hyrax/file_sets/_show_actions.html.erb_spec.rb +0 -1
  149. data/spec/views/hyrax/file_sets/_single_use_links.html.erb_spec.rb +4 -0
  150. data/spec/views/hyrax/single_use_links_viewer/show.html.erb_spec.rb +0 -4
  151. data/template.rb +1 -1
  152. metadata +24 -11
  153. data/app/views/kaminari/blacklight_compact/_paginator.html.erb +0 -22
@@ -0,0 +1,80 @@
1
+ RSpec.describe Hyrax::TolerantSelectService do
2
+ subject(:select_service) { described_class.new(authority_name) }
3
+
4
+ let(:authority) { FakeAuthority }
5
+ let(:authority_name) { 'fake_authority' }
6
+ let(:authority_map) { [] }
7
+
8
+ before do
9
+ allow(Qa::Authorities::Local)
10
+ .to receive(:subauthority_for)
11
+ .with(authority_name)
12
+ .and_return(authority.new(authority_map))
13
+ end
14
+
15
+ shared_context 'with terms' do
16
+ let(:authority_map) do
17
+ [HashWithIndifferentAccess.new(term: 'Active Label', label: 'Active Label', id: 'active-id', active: true),
18
+ HashWithIndifferentAccess.new(term: 'Inactive Label', label: 'Inactive Label', id: 'inactive-id', active: false),
19
+ HashWithIndifferentAccess.new(label: 'Active No Term', id: 'active-no-term-id', active: true),
20
+ HashWithIndifferentAccess.new(term: 'No Active Flag Term', label: 'No Active Flag Label', id: 'no-active-flag-id')]
21
+ end
22
+ end
23
+
24
+ describe '#active?' do
25
+ it 'is false for missing id' do
26
+ expect(select_service.active?('fake_id')).to be_falsey
27
+ end
28
+
29
+ context 'with terms' do
30
+ include_context 'with terms'
31
+
32
+ it 'is true for an active term' do
33
+ expect(select_service.active?('active-id')).to be true
34
+ end
35
+
36
+ it 'is false for an inactive term' do
37
+ expect(select_service.active?('inactive-id')).to be_falsey
38
+ end
39
+
40
+ it 'defaults to true for a term with no flag' do
41
+ expect(select_service.active?('no-active-flag-id')).to be true
42
+ end
43
+ end
44
+ end
45
+
46
+ describe '#select_all_options' do
47
+ it 'is empty' do
48
+ expect(select_service.select_all_options).to be_empty
49
+ end
50
+
51
+ context 'with terms' do
52
+ include_context 'with terms'
53
+
54
+ it 'contains all labels and ids' do
55
+ expect(select_service.select_all_options)
56
+ .to contain_exactly(['Active Label', 'active-id'],
57
+ ['Inactive Label', 'inactive-id'],
58
+ ['Active No Term', 'active-no-term-id'],
59
+ ['No Active Flag Label', 'no-active-flag-id'])
60
+ end
61
+ end
62
+ end
63
+
64
+ describe '#select_active_options' do
65
+ it 'is empty' do
66
+ expect(select_service.select_active_options).to be_empty
67
+ end
68
+
69
+ context 'with terms' do
70
+ include_context 'with terms'
71
+
72
+ it 'contains active labels and ids' do
73
+ expect(select_service.select_active_options)
74
+ .to contain_exactly(['Active Label', 'active-id'],
75
+ ['Active No Term', 'active-no-term-id'],
76
+ ['No Active Flag Label', 'no-active-flag-id'])
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,13 @@
1
+ class FakeAuthority
2
+ def initialize(map)
3
+ @map = map
4
+ end
5
+
6
+ def all
7
+ @map
8
+ end
9
+
10
+ def find(id)
11
+ @map.detect { |item| item[:id] == id }
12
+ end
13
+ end
@@ -47,7 +47,7 @@ class LoggingFormatter < RSpec::Core::Formatters::ProgressFormatter
47
47
  output.puts "Examples with the most LDP requests"
48
48
  top = @profile.sort_by { |hash| hash[:count] }.last(10)
49
49
  top.each do |hash|
50
- result = hash[:count_by_name].select { |_, v| v > 0 }
50
+ result = hash[:count_by_name].select { |_, v| v.positive? }
51
51
  next if result.empty?
52
52
  output.puts " #{hash[:description]}"
53
53
  output.puts " #{hash[:location]}"
@@ -1,29 +1,29 @@
1
1
  RSpec::Matchers.define :require_membership do
2
2
  match do |actual|
3
- actual && actual.require_membership?
3
+ actual&.require_membership?
4
4
  end
5
5
  end
6
6
 
7
7
  RSpec::Matchers.define :allow_multiple_membership do
8
8
  match do |actual|
9
- actual && actual.allow_multiple_membership?
9
+ actual&.allow_multiple_membership?
10
10
  end
11
11
  end
12
12
 
13
13
  RSpec::Matchers.define :assign_visibility do
14
14
  match do |actual|
15
- actual && actual.assigns_visibility?
15
+ actual&.assigns_visibility?
16
16
  end
17
17
  end
18
18
 
19
19
  RSpec::Matchers.define :assign_workflow do
20
20
  match do |actual|
21
- actual && actual.assigns_workflow?
21
+ actual&.assigns_workflow?
22
22
  end
23
23
  end
24
24
 
25
25
  RSpec::Matchers.define :have_collections do
26
26
  match do |actual|
27
- actual && actual.collections?
27
+ actual&.collections?
28
28
  end
29
29
  end
@@ -99,6 +99,17 @@ RSpec.describe 'hyrax/base/_form_progress.html.erb', type: :view do
99
99
  expect(page).not_to have_link 'Deposit Agreement', href: '/agreement'
100
100
  end
101
101
  end
102
+
103
+ context "with active deposit acceptance but no show deposit agreement" do
104
+ before do
105
+ allow(Flipflop).to receive(:show_deposit_agreement?).and_return(false)
106
+ allow(Flipflop).to receive(:active_deposit_agreement_acceptance?)
107
+ .and_return(true)
108
+ end
109
+ it "does not display the deposit agreement in the requirements" do
110
+ expect(page).not_to have_selector("#required-agreement")
111
+ end
112
+ end
102
113
  end
103
114
 
104
115
  context "when the work has been saved before" do
@@ -115,7 +126,6 @@ RSpec.describe 'hyrax/base/_form_progress.html.erb', type: :view do
115
126
  it "renders the deposit agreement already checked and the version" do
116
127
  expect(page).to have_selector("#agreement[checked]")
117
128
  expect(page).to have_selector("input#generic_work_version[value=\"123456\"]", visible: false)
118
- expect(page).to have_link("Cancel", href: polymorphic_path([main_app, work]))
119
129
  end
120
130
  end
121
131
  end
@@ -57,7 +57,6 @@ RSpec.describe 'hyrax/file_sets/_show_actions.html.erb', type: :view do
57
57
  it 'renders actions for the user' do
58
58
  expect(page).to have_link("Edit This File")
59
59
  expect(page).to have_link("Delete This File")
60
- expect(page).to have_link("Single-Use Link to File")
61
60
  end
62
61
  end
63
62
  end
@@ -27,5 +27,9 @@ RSpec.describe 'hyrax/file_sets/_single_use_links.html.erb', type: :view do
27
27
  it "renders a table with links" do
28
28
  expect(rendered).to include("Link sha2ha expires in 23 hours")
29
29
  end
30
+
31
+ it "renders the single use link button" do
32
+ expect(rendered).to have_link("Create Single-Use Link")
33
+ end
30
34
  end
31
35
  end
@@ -14,8 +14,4 @@ RSpec.describe 'hyrax/single_use_links_viewer/show.html.erb' do
14
14
  it "contains a download link" do
15
15
  expect(rendered).to have_selector "a[href^='/single_use_link/download/']"
16
16
  end
17
-
18
- it "has turbolinks disabled in the download link" do
19
- expect(rendered).to have_selector "a[data-turbolinks^='false'][href^='/single_use_link/download/']"
20
- end
21
17
  end
@@ -1,4 +1,4 @@
1
- gem 'hyrax', '2.1.0'
1
+ gem 'hyrax', '2.2.0'
2
2
  run 'bundle install'
3
3
  generate 'hyrax:install', '-f'
4
4
  rails_command 'db:migrate'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyrax
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2018-05-31 00:00:00.000000000 Z
17
+ date: 2018-08-15 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: rails
@@ -124,16 +124,16 @@ dependencies:
124
124
  name: browse-everything
125
125
  requirement: !ruby/object:Gem::Requirement
126
126
  requirements:
127
- - - ">="
127
+ - - "<"
128
128
  - !ruby/object:Gem::Version
129
- version: 0.10.5
129
+ version: '0.16'
130
130
  type: :runtime
131
131
  prerelease: false
132
132
  version_requirements: !ruby/object:Gem::Requirement
133
133
  requirements:
134
- - - ">="
134
+ - - "<"
135
135
  - !ruby/object:Gem::Version
136
- version: 0.10.5
136
+ version: '0.16'
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: carrierwave
139
139
  requirement: !ruby/object:Gem::Requirement
@@ -914,16 +914,22 @@ dependencies:
914
914
  name: solr_wrapper
915
915
  requirement: !ruby/object:Gem::Requirement
916
916
  requirements:
917
- - - "~>"
917
+ - - ">="
918
918
  - !ruby/object:Gem::Version
919
919
  version: '1.1'
920
+ - - "<"
921
+ - !ruby/object:Gem::Version
922
+ version: '3.0'
920
923
  type: :development
921
924
  prerelease: false
922
925
  version_requirements: !ruby/object:Gem::Requirement
923
926
  requirements:
924
- - - "~>"
927
+ - - ">="
925
928
  - !ruby/object:Gem::Version
926
929
  version: '1.1'
930
+ - - "<"
931
+ - !ruby/object:Gem::Version
932
+ version: '3.0'
927
933
  - !ruby/object:Gem::Dependency
928
934
  name: i18n_yaml_sorter
929
935
  requirement: !ruby/object:Gem::Requirement
@@ -1184,6 +1190,7 @@ files:
1184
1190
  - app/assets/stylesheets/fileupload/jquery.fileupload-ui.scss
1185
1191
  - app/assets/stylesheets/hyrax/_accessibility.scss
1186
1192
  - app/assets/stylesheets/hyrax/_batch-edit.scss
1193
+ - app/assets/stylesheets/hyrax/_breadcrumbs.scss
1187
1194
  - app/assets/stylesheets/hyrax/_browse_everything_overrides.scss
1188
1195
  - app/assets/stylesheets/hyrax/_buttons.scss
1189
1196
  - app/assets/stylesheets/hyrax/_catalog.scss
@@ -1664,6 +1671,7 @@ files:
1664
1671
  - app/services/hyrax/statistics/works/over_time.rb
1665
1672
  - app/services/hyrax/thumbnail_path_service.rb
1666
1673
  - app/services/hyrax/time_service.rb
1674
+ - app/services/hyrax/tolerant_select_service.rb
1667
1675
  - app/services/hyrax/user_stat_importer.rb
1668
1676
  - app/services/hyrax/versioning_service.rb
1669
1677
  - app/services/hyrax/work_form_service.rb
@@ -2053,7 +2061,6 @@ files:
2053
2061
  - app/views/hyrax/users/index.html.erb
2054
2062
  - app/views/hyrax/users/index.json.jbuilder
2055
2063
  - app/views/hyrax/users/show.html.erb
2056
- - app/views/kaminari/blacklight_compact/_paginator.html.erb
2057
2064
  - app/views/layouts/_head_tag_content.html.erb
2058
2065
  - app/views/layouts/error.html.erb
2059
2066
  - app/views/layouts/homepage.html.erb
@@ -2581,6 +2588,7 @@ files:
2581
2588
  - spec/lib/hyrax/search_state_spec.rb
2582
2589
  - spec/lib/hyrax/zotero/config_spec.rb
2583
2590
  - spec/lib/hyrax/zotero_spec.rb
2591
+ - spec/lib/hyrax_spec.rb
2584
2592
  - spec/models/admin_set_spec.rb
2585
2593
  - spec/models/batch_upload_item_spec.rb
2586
2594
  - spec/models/checksum_audit_log_spec.rb
@@ -2773,6 +2781,7 @@ files:
2773
2781
  - spec/services/hyrax/statistics/works/count_spec.rb
2774
2782
  - spec/services/hyrax/statistics/works/over_time_spec.rb
2775
2783
  - spec/services/hyrax/thumbnail_path_service_spec.rb
2784
+ - spec/services/hyrax/tolerant_select_service_spec.rb
2776
2785
  - spec/services/hyrax/user_stat_importer_spec.rb
2777
2786
  - spec/services/hyrax/versioning_service_spec.rb
2778
2787
  - spec/services/hyrax/work_query_service_spec.rb
@@ -2804,6 +2813,7 @@ files:
2804
2813
  - spec/strategies/hyrax/strategies/yaml_strategy_spec.rb
2805
2814
  - spec/support/controller_level_helpers.rb
2806
2815
  - spec/support/factory_helpers.rb
2816
+ - spec/support/fakes/fake_authority.rb
2807
2817
  - spec/support/features.rb
2808
2818
  - spec/support/features/batch_edit_actions.rb
2809
2819
  - spec/support/features/session_helpers.rb
@@ -2987,7 +2997,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
2987
2997
  requirements:
2988
2998
  - - ">="
2989
2999
  - !ruby/object:Gem::Version
2990
- version: '0'
3000
+ version: '2.3'
2991
3001
  required_rubygems_version: !ruby/object:Gem::Requirement
2992
3002
  requirements:
2993
3003
  - - ">="
@@ -2995,7 +3005,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2995
3005
  version: '0'
2996
3006
  requirements: []
2997
3007
  rubyforge_project:
2998
- rubygems_version: 2.6.14
3008
+ rubygems_version: 2.7.7
2999
3009
  signing_key:
3000
3010
  specification_version: 4
3001
3011
  summary: Hyrax is a front-end based on the robust Samvera framework, providing a user
@@ -3309,6 +3319,7 @@ test_files:
3309
3319
  - spec/lib/hyrax/search_state_spec.rb
3310
3320
  - spec/lib/hyrax/zotero/config_spec.rb
3311
3321
  - spec/lib/hyrax/zotero_spec.rb
3322
+ - spec/lib/hyrax_spec.rb
3312
3323
  - spec/models/admin_set_spec.rb
3313
3324
  - spec/models/batch_upload_item_spec.rb
3314
3325
  - spec/models/checksum_audit_log_spec.rb
@@ -3501,6 +3512,7 @@ test_files:
3501
3512
  - spec/services/hyrax/statistics/works/count_spec.rb
3502
3513
  - spec/services/hyrax/statistics/works/over_time_spec.rb
3503
3514
  - spec/services/hyrax/thumbnail_path_service_spec.rb
3515
+ - spec/services/hyrax/tolerant_select_service_spec.rb
3504
3516
  - spec/services/hyrax/user_stat_importer_spec.rb
3505
3517
  - spec/services/hyrax/versioning_service_spec.rb
3506
3518
  - spec/services/hyrax/work_query_service_spec.rb
@@ -3532,6 +3544,7 @@ test_files:
3532
3544
  - spec/strategies/hyrax/strategies/yaml_strategy_spec.rb
3533
3545
  - spec/support/controller_level_helpers.rb
3534
3546
  - spec/support/factory_helpers.rb
3547
+ - spec/support/fakes/fake_authority.rb
3535
3548
  - spec/support/features.rb
3536
3549
  - spec/support/features/batch_edit_actions.rb
3537
3550
  - spec/support/features/session_helpers.rb
@@ -1,22 +0,0 @@
1
- <%# This is copied from blacklight-5.5.3/app/views/kaminari/blacklight_compact/_paginator.html.erb
2
- so we can add a aria-hidden="true" attribute around it. If that gets added into
3
- Blacklight, this file can be removed -%>
4
- <% if total_pages > 1 -%>
5
- <%# #render checks if total_pages > 1, so we can't put our fallback
6
- in here .. -%>
7
- <%= paginator.render do -%>
8
- <div aria-hidden="true" class="page_links">
9
- <%= prev_page_tag %> |
10
- <span class="page_entries">
11
- <%= page_entries_info %>
12
- </span> |
13
- <%= next_page_tag %>
14
- </div>
15
- <% end -%>
16
- <% else -%>
17
- <div aria-hidden="true" class="page_links">
18
- <span class="page_entries">
19
- <%= page_entries_info %>
20
- </span>
21
- </div>
22
- <% end -%>