gitlab_support_readiness 1.0.89 → 1.0.90
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80b4ed778d94e3611d7c5753c988aaa0e6b6e24825ed07a3bc18d66e7e103374
|
4
|
+
data.tar.gz: 1d20221f5950bc0f02139c4a4672c77bd38cab58c83aa93f8de6960f03f32da0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41c8dc7a3911017991183c7d20d069c1bb7728773aa13ede81efebdac61e0fbea7f361ae12215306cc69acb8456b0c9ed5ee1f5439c8e59bcf0c50586f39a814
|
7
|
+
data.tar.gz: 7eea03687ddd63f944ae3b84a88dc268afb8fcba3bfc5780a769072d19150ab9ef3b095f55fc388065b3354dc62c66a1b814032a37489e48097164c3e905430d
|
@@ -46,7 +46,7 @@ module Readiness
|
|
46
46
|
commit_message: 'Creating new macro',
|
47
47
|
actions: [
|
48
48
|
{
|
49
|
-
file_path: path,
|
49
|
+
file_path: "data/#{path.gsub(/md$/, 'yaml')}",
|
50
50
|
content: yaml_contents,
|
51
51
|
action: 'create'
|
52
52
|
}
|
@@ -116,10 +116,13 @@ module Readiness
|
|
116
116
|
actions.push({ 'field' => 'current_tags', 'value' => tag })
|
117
117
|
end
|
118
118
|
if comment == 'Public'
|
119
|
-
actions.push({ 'field' => 'comment_mode_is_public', 'value' => true })
|
119
|
+
actions.push({ 'field' => 'comment_mode_is_public', 'value' => 'true' })
|
120
120
|
end
|
121
121
|
if comment == 'Private'
|
122
|
-
actions.push({ 'field' => 'comment_mode_is_public', 'value' => false })
|
122
|
+
actions.push({ 'field' => 'comment_mode_is_public', 'value' => 'false' })
|
123
|
+
end
|
124
|
+
if comment != 'none'
|
125
|
+
actions.push({ 'field' => 'comment_value', 'value' => 'MANAGED_CONTENT' })
|
123
126
|
end
|
124
127
|
actions
|
125
128
|
end
|