hyrax 2.9.5 → 2.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +1 -1
- data/README.md +2 -2
- data/app/controllers/concerns/hyrax/works_controller_behavior.rb +5 -3
- data/app/views/catalog/_search_form.html.erb +2 -2
- data/hyrax.gemspec +1 -1
- data/lib/generators/hyrax/install_generator.rb +1 -1
- data/lib/hyrax/version.rb +1 -1
- data/lib/hyrax.rb +1 -0
- data/template.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eef9eee3ec09eb7e1d4ce28266b7a925c1d7a8b71a91c2d73241582c8023f6da
|
4
|
+
data.tar.gz: 10cd6ddbec25e1e76fb178eb6f58afd65e3d84567ffef55b370cc459424d0c75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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/
|
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.
|
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.
|
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
|
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 =
|
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
|
-
|
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', '<
|
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
data/lib/hyrax.rb
CHANGED
data/template.rb
CHANGED
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.
|
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-
|
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: '
|
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: '
|
52
|
+
version: '13'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: almond-rails
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|