peoplegroup-connectors 2.2.0 → 2.3.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 +4 -2
- 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: 6d5d2e96f7a3e4eaf412bf2d54558eda7be3d2db63eedb3f9727f87d681fde41
|
|
4
|
+
data.tar.gz: 74b4f4d79bcd04d9ea9ecb7af19e63cd7deced767490005625ec4e030dea139c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 88382373392d846c96781c9360216eedf27e352a14b8624eb338260e6015f0ca1ec2ef105ded08c5fc115d8f5f0cbd5fe84d5cb16f699dc3dd907cdd89d185b7
|
|
7
|
+
data.tar.gz: 80fe6d5d282e97b5f6108d7056f91820ec4e9d6d8b6746cb13c19e2ca269438bf71134618f80721a60c03f166f98664dbaaa66c36980a9a11f0199b054c32dd5
|
|
@@ -169,7 +169,7 @@ module PeopleGroup
|
|
|
169
169
|
epic || create_epic(group_id, title, options)
|
|
170
170
|
end
|
|
171
171
|
|
|
172
|
-
def commit_new_files_to_new_merge_request(project_id, branch_name, new_files, commit_message, description = nil, target_branch: 'master', assign_group: nil)
|
|
172
|
+
def commit_new_files_to_new_merge_request(project_id, branch_name, new_files, commit_message, description = nil, target_branch: 'master', assign_group: nil, labels: nil)
|
|
173
173
|
create_branch(project_id, branch_name, target_branch)
|
|
174
174
|
|
|
175
175
|
actions = []
|
|
@@ -191,6 +191,7 @@ module PeopleGroup
|
|
|
191
191
|
|
|
192
192
|
options[:description] = description if description
|
|
193
193
|
options[:assignee_ids] = group_member_ids(assign_group) if assign_group
|
|
194
|
+
options[:labels] = labels if labels
|
|
194
195
|
|
|
195
196
|
create_merge_request(project_id, commit_message, options)
|
|
196
197
|
end
|
|
@@ -198,7 +199,7 @@ module PeopleGroup
|
|
|
198
199
|
# rubocop:disable Metrics/ParameterLists
|
|
199
200
|
def commit_change_to_new_merge_request_v3(
|
|
200
201
|
project_id, branch_name, commit_message, description, files_to_delete: [], files_to_update: [], files_to_add: [], target_branch: 'master',
|
|
201
|
-
assign_group: nil)
|
|
202
|
+
assign_group: nil, labels: nil)
|
|
202
203
|
actions = []
|
|
203
204
|
|
|
204
205
|
files_to_delete.each do |file|
|
|
@@ -234,6 +235,7 @@ module PeopleGroup
|
|
|
234
235
|
}
|
|
235
236
|
|
|
236
237
|
options[:assignee_ids] = group_member_ids(assign_group) if assign_group
|
|
238
|
+
options[:labels] = labels if labels
|
|
237
239
|
|
|
238
240
|
create_merge_request(project_id, commit_message, options)
|
|
239
241
|
end
|