peoplegroup-connectors 0.1.58 → 0.1.59
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/peoplegroup/connectors/gitlab.rb +2 -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: 880e9b3fac40c4640e8e0c50ab2935e9874a1bd8f3d9fa19484288e7c6af6600
|
4
|
+
data.tar.gz: '0898dfefe0c405e442a0624e5c1289f266fc8fa9c8c3b2c8b4d1cf2a4974d48c'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bfcda95570803256348e6f85931969dccc927381ccd9e2f9fdaf4776d47eb35209c32e8ba3d074b1c49846d55b84890834c542feadf9c5a84d66172dbeb94a9
|
7
|
+
data.tar.gz: 5aedbfc3d6661e1b5a0ddae90bd498a548ed27368d983414f7cd36f13cc99422c1d7ca12b66cc38d6867850228260ff2dc8d8c63e14f1ee40fcc0c2a5d7aab47
|
@@ -121,7 +121,7 @@ module PeopleGroup
|
|
121
121
|
end
|
122
122
|
|
123
123
|
def commit_change_to_new_merge_request(project_id, branch_name, file_path, file_with_change, commit_message, description = nil)
|
124
|
-
retry_on_error { @client.create_branch(project_id, branch_name,
|
124
|
+
retry_on_error { @client.create_branch(project_id, branch_name, 'master') }
|
125
125
|
actions = [
|
126
126
|
{
|
127
127
|
action: 'update',
|
@@ -131,7 +131,7 @@ module PeopleGroup
|
|
131
131
|
]
|
132
132
|
retry_on_error { @client.create_commit(project_id, branch_name, commit_message, actions) }
|
133
133
|
|
134
|
-
options = { source_branch: branch_name, target_branch:
|
134
|
+
options = { source_branch: branch_name, target_branch: 'master', remove_source_branch: true }
|
135
135
|
options[:description] = description if description
|
136
136
|
retry_on_error { @client.create_merge_request(project_id, commit_message, options) }
|
137
137
|
end
|