Skip to content

Commit

Permalink
Bump OCFL to 0.5.0 and retrieve files from whole object, not from head
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgiarlo committed May 24, 2024
1 parent e83cfd9 commit d9ac813
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ GEM
ast (2.4.2)
base64 (0.2.0)
bcrypt_pbkdf (1.1.1)
bcrypt_pbkdf (1.1.1-arm64-darwin)
bcrypt_pbkdf (1.1.1-x86_64-darwin)
bigdecimal (3.1.8)
bindex (0.8.1)
Expand Down Expand Up @@ -162,7 +163,7 @@ GEM
concurrent-ruby (~> 1.0)
dry-core (~> 1.0, < 2)
zeitwerk (~> 2.6)
dry-schema (1.13.3)
dry-schema (1.13.4)
concurrent-ruby (~> 1.0)
dry-configurable (~> 1.0, >= 1.0.1)
dry-core (~> 1.0, < 2)
Expand Down Expand Up @@ -235,7 +236,7 @@ GEM
marcel (1.0.4)
matrix (0.4.2)
mini_mime (1.1.5)
minitest (5.22.3)
minitest (5.23.1)
msgpack (1.7.2)
mutex_m (0.2.0)
net-http (0.4.1)
Expand All @@ -262,7 +263,7 @@ GEM
racc (~> 1.4)
nokogiri (1.16.5-x86_64-linux)
racc (~> 1.4)
ocfl (0.4.1)
ocfl (0.6.0)
activesupport (>= 7.0)
dry-monads (~> 1.6)
dry-schema (~> 1.13)
Expand Down
2 changes: 1 addition & 1 deletion app/models/storage_root.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def relative_path
end

def absolute_path
object_root.path(:head, @file_name)
object_root.path(filepath: @file_name)
end

private
Expand Down

0 comments on commit d9ac813

Please sign in to comment.