Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails / Hyrax Upgrade #39

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ def manifest

json = iiif_manifest_builder.manifest_for(presenter: iiif_manifest_presenter, iiif_manifest_factory: manifest_factory)

respond_to do |wants|
wants.json { render json: json }
wants.html { render json: json }
end
render json: json
end

private
Expand Down
6 changes: 3 additions & 3 deletions hyrax-iiif_av.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ Gem::Specification.new do |s|
s.license = 'Apache-2.0'

s.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
f.match(%r{^(test|spec|features)/}) || f == 'bin/rails'
end

s.add_dependency "rails", "~>5.1"
s.add_dependency "rails", ">= 5.1", "< 8.0"
s.add_dependency "blacklight"
s.add_dependency "hyrax", ">= 2.9", "< 4.0"
s.add_dependency "hyrax", ">= 3.5", "< 6.0"
s.add_dependency "iiif_manifest", "> 0.5"

s.add_development_dependency 'bixby'
Expand Down