hyrax 2.9.5 → 2.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0148443e7ca6987d77b7ccbad46c89c895ae60e226565819b095293884c040cc'
4
- data.tar.gz: 5a2cfda462e5415dc6c736dcbaaf4bb7b7a202fa0afe54c2819026f4559d7942
3
+ metadata.gz: eef9eee3ec09eb7e1d4ce28266b7a925c1d7a8b71a91c2d73241582c8023f6da
4
+ data.tar.gz: 10cd6ddbec25e1e76fb178eb6f58afd65e3d84567ffef55b370cc459424d0c75
5
5
  SHA512:
6
- metadata.gz: faaee31b6dec44292d47981fe77d22bc9f8f40865670b9f2b1a470aca00b10193cb01931c1084a9622cb3a4e6fca5803c1b6a8a77965dca75619cc59f5da1d67
7
- data.tar.gz: b3232036171e55e8166da5d4886d52b91fe6ce3f0c05018508deee6b594491df87b0d7b925b477e4d8a6a5134c0233026433d4df47d9902c28e074614dd3e18d
6
+ metadata.gz: 7e626a4775a4d33d8a73bd758c24975884a54a3dddcfa5b4e4f25e454b68f3ea47f2414e16fe8dab6389f869810e67afc36a40a85861cde73c13c43f0e512818
7
+ data.tar.gz: 550869d00a885866fc5995e36982b862822c0325c2ab0a541e7902fb0b4d78cb7808f231ea330507d06de56e5ae0c3a428ef94600598074219c68415d89e3133
data/.circleci/config.yml CHANGED
@@ -101,7 +101,7 @@ jobs:
101
101
  - attach_workspace:
102
102
  at: ~/
103
103
  - samvera/install_solr_core:
104
- solr_config_path: .internal_test_app/solr/config
104
+ solr_config_path: .internal_test_app/solr/conf
105
105
  # Rerun bundler in case this is a different ruby version than bundle and build steps
106
106
  - samvera/bundle_for_gem:
107
107
  ruby_version: << parameters.ruby_version >>
data/README.md CHANGED
@@ -63,7 +63,7 @@ The Samvera community is here to help. Please see our [support guide](./.github/
63
63
  # Getting started
64
64
 
65
65
  This document contains instructions specific to setting up an app with __Hyrax
66
- v2.5.0__. If you are looking for instructions on installing a different
66
+ v2.9.6__. If you are looking for instructions on installing a different
67
67
  version, be sure to select the appropriate branch or tag from the drop-down
68
68
  menu above.
69
69
 
@@ -158,7 +158,7 @@ NOTE: The steps need to be done in order to create a new Hyrax based app.
158
158
  Generate a new Rails application using the template.
159
159
 
160
160
  ```
161
- rails _5.2.6_ new my_app -m https://raw.githubusercontent.com/samvera/hyrax/v2.9.5/template.rb
161
+ rails _5.2.6_ new my_app -m https://raw.githubusercontent.com/samvera/hyrax/v2.9.6/template.rb
162
162
  ```
163
163
 
164
164
  Generating a new Rails application using Hyrax's template above takes cares of a number of steps for you, including:
@@ -10,11 +10,12 @@ module Hyrax
10
10
  with_themed_layout :decide_layout
11
11
  copy_blacklight_config_from(::CatalogController)
12
12
 
13
- class_attribute :_curation_concern_type, :show_presenter, :work_form_service, :search_builder_class, :iiif_manifest_builder
13
+ class_attribute :_curation_concern_type, :show_presenter, :work_form_service, :search_builder_class
14
+ class_attribute :iiif_manifest_builder, instance_accessor: false
14
15
  self.show_presenter = Hyrax::WorkShowPresenter
15
16
  self.work_form_service = Hyrax::WorkFormService
16
17
  self.search_builder_class = WorkSearchBuilder
17
- self.iiif_manifest_builder = (Flipflop.cache_work_iiif_manifest? ? Hyrax::CachingIiifManifestBuilder.new : Hyrax::ManifestBuilderService.new)
18
+ self.iiif_manifest_builder = nil
18
19
  attr_accessor :curation_concern
19
20
  helper_method :curation_concern, :contextual_path
20
21
 
@@ -140,7 +141,8 @@ module Hyrax
140
141
  private
141
142
 
142
143
  def iiif_manifest_builder
143
- self.class.iiif_manifest_builder
144
+ self.class.iiif_manifest_builder ||
145
+ (Flipflop.cache_work_iiif_manifest? ? Hyrax::CachingIiifManifestBuilder.new : Hyrax::ManifestBuilderService.new)
144
146
  end
145
147
 
146
148
  def iiif_manifest_presenter
@@ -35,9 +35,9 @@
35
35
  <%= link_to t("hyrax.search.form.option.my_collections.label_long"), "#",
36
36
  data: { "search-option" => hyrax.my_collections_path, "search-label" => t("hyrax.search.form.option.my_collections.label_short") } %>
37
37
  </li>
38
- <% end %>
38
+ </ul>
39
+ <% end %>
39
40
 
40
- </ul>
41
41
  </div><!-- /.input-group-btn -->
42
42
  </div><!-- /.input-group -->
43
43
 
data/hyrax.gemspec CHANGED
@@ -30,7 +30,7 @@ SUMMARY
30
30
  # http://guides.rubyonrails.org/maintenance_policy.html
31
31
  spec.add_dependency 'rails', '~> 5.0'
32
32
 
33
- spec.add_dependency 'active-fedora', '>= 11.5.2', '< 12.2'
33
+ spec.add_dependency 'active-fedora', '>= 11.5.2', '< 13'
34
34
  spec.add_dependency 'almond-rails', '~> 0.1'
35
35
  spec.add_dependency 'awesome_nested_set', '~> 3.1'
36
36
  spec.add_dependency 'blacklight', '~> 6.14'
@@ -34,7 +34,7 @@ module Hyrax
34
34
 
35
35
  def run_required_generators
36
36
  say_status('info', '[Hyrax] GENERATING BLACKLIGHT', :blue)
37
- generate 'blacklight:install --devise'
37
+ generate 'blacklight:install --devise --skip-solr'
38
38
  say_status('info', '[Hyrax] GENERATING HYDRA-HEAD', :blue)
39
39
  generate 'hydra:head -f'
40
40
  generate "hyrax:models#{options[:force] ? ' -f' : ''}"
data/lib/hyrax/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Hyrax
2
- VERSION = '2.9.5'.freeze
2
+ VERSION = '2.9.6'.freeze
3
3
  end
data/lib/hyrax.rb CHANGED
@@ -19,6 +19,7 @@ require 'hyrax/version'
19
19
  require 'hyrax/inflections'
20
20
  require 'kaminari_route_prefix'
21
21
  require 'solrizer'
22
+ require 'retriable'
22
23
 
23
24
  module Hyrax
24
25
  extend ActiveSupport::Autoload
data/template.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # Hack for https://github.com/rails/rails/issues/35153
2
2
  gsub_file 'Gemfile', /^gem ["']sqlite3["']$/, 'gem "sqlite3", "~> 1.3.0"'
3
- gem 'hyrax', '2.9.5'
3
+ gem 'hyrax', '2.9.6'
4
4
  run 'bundle install'
5
5
  generate 'hyrax:install', '-f'
6
6
  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.9.5
4
+ version: 2.9.6
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: 2021-05-07 00:00:00.000000000 Z
17
+ date: 2021-09-10 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: rails
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: 11.5.2
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '12.2'
42
+ version: '13'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: 11.5.2
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '12.2'
52
+ version: '13'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: almond-rails
55
55
  requirement: !ruby/object:Gem::Requirement