Skip to content

Commit 0ae96b6

Browse files
committed
Fix DispatcherBase; modify argument order and defaults in APTrustDispatcher, BagCourier
1 parent 958b7c0 commit 0ae96b6

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

lib/bag_courier.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ def initialize(
3434
tags:,
3535
data_transfer:,
3636
validator:,
37+
detect_hidden:,
3738
target_client:,
3839
status_event_repo:,
3940
working_dir:,
4041
export_dir:,
4142
dry_run:,
42-
remove_export:,
43-
detect_hidden:
43+
remove_export:
4444
)
4545
@bag_id = bag_id
4646
@bag_info = bag_info

lib/dispatcher.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ class DispatcherBase
99
def dispatch(
1010
object_metadata:,
1111
data_transfer:,
12-
context: nil,
13-
validator: nil,
14-
extra_bag_info_data: nil
12+
validator: nil
1513
)
1614
raise NotImplementedError
1715
end

0 commit comments

Comments
 (0)