Skip to content

Commit

Permalink
Add changelog entry for forwarding upload options in mirroring plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
janko committed Oct 3, 2020
1 parent 7aefe47 commit 8535775
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## master

* `mirroring` – Forward original upload options when mirroring upload (@corneverbruggen)

* `derivation_endpoint` – Apply `version` URL option in derivation endpoint (@janko)

* `s3` – Fix `S3#open` not working on aws-sdk-core 3.104 and above (@janko)
Expand Down
2 changes: 1 addition & 1 deletion test/plugin/mirroring_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
end

it "forwards options to the mirror upload" do
@shrine.expects(:upload).with do |file, mirror, **options|
@shrine.expects(:upload).with do |file, mirror, options|
mirror == :other_store && options[:foo] == "bar"
end

Expand Down

0 comments on commit 8535775

Please sign in to comment.