Skip to content

Commit

Permalink
Merge pull request #14 from funbox/bugfix-argument-error
Browse files Browse the repository at this point in the history
Fix argument incompatibility with Shrine 3.0
  • Loading branch information
tuwilof authored Oct 19, 2021
2 parents df01bf5 + 1fb4c5e commit 948d37f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/shrine/storage/webdav.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def url(id, host: nil, **options)
path(base_url, id)
end

def open(id)
def open(id, **options)
Down::Http.open(path(@prefixed_host, id)) do |client|
client.timeout(http_timeout) if http_timeout
client.basic_auth(http_basic_auth) if http_basic_auth
Expand Down
2 changes: 1 addition & 1 deletion shrine-webdav.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

Gem::Specification.new do |spec|
spec.name = 'shrine-webdav'
spec.version = '0.2.2'
spec.version = '0.2.3'
spec.authors = ['Ivan Kushmantsev', 'Dmitry Efimov']
spec.email = ['[email protected]', '[email protected]']

Expand Down

0 comments on commit 948d37f

Please sign in to comment.