peoplegroup-connectors 2.1.2 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/peoplegroup/connectors/gitlab.rb +7 -1
- data/lib/peoplegroup/connectors/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7b69b7520aca5b3903f60f3683d79b004ecf53dd8b823f1e4cf521a038c02bb8
|
|
4
|
+
data.tar.gz: f754e9c6c65a09c677fd3a208a3afb02a4a8b65ae38156a339e7a7a3dd3a3fe9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 327a44faa46877ff3abc1a11947d326b491b330590e43a7feb4a5828ae7d236b1b1cf72673a72d8566cda02de9e6de0b2480606de77564cfbdc0b4f3aa591ded
|
|
7
|
+
data.tar.gz: ad91cca3059d89cd997fd824a51791ff247cdd2b8c1316ecf7bb57e3488acd5549a6a922681817b6bdfb995b00997841dcd8fcceaf9031f1df51fd5acf712c56
|
|
@@ -195,7 +195,10 @@ module PeopleGroup
|
|
|
195
195
|
create_merge_request(project_id, commit_message, options)
|
|
196
196
|
end
|
|
197
197
|
|
|
198
|
-
|
|
198
|
+
# rubocop:disable Metrics/ParameterLists
|
|
199
|
+
def commit_change_to_new_merge_request_v3(
|
|
200
|
+
project_id, branch_name, commit_message, description, files_to_delete: [], files_to_update: [], files_to_add: [], target_branch: 'master',
|
|
201
|
+
assign_group: nil)
|
|
199
202
|
actions = []
|
|
200
203
|
|
|
201
204
|
files_to_delete.each do |file|
|
|
@@ -230,8 +233,11 @@ module PeopleGroup
|
|
|
230
233
|
remove_source_branch: true
|
|
231
234
|
}
|
|
232
235
|
|
|
236
|
+
options[:assignee_ids] = group_member_ids(assign_group) if assign_group
|
|
237
|
+
|
|
233
238
|
create_merge_request(project_id, commit_message, options)
|
|
234
239
|
end
|
|
240
|
+
# rubocop:enable Metrics/ParameterLists
|
|
235
241
|
|
|
236
242
|
def commit_change_to_new_merge_request_v2(project_id, branch_name, commit_message, description = nil, files_to_delete = [], files_to_update = [], target_branch: 'master', assign_group: nil)
|
|
237
243
|
actions = []
|