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: 2c8835592aa238eb94c87735d75b0843b1b818763c5216d5f459760207c223ff
4
- data.tar.gz: 53fb22b156d00e5591453c9c3bf1e7810bb26ddf9ed613afcea9a93420014e1e
3
+ metadata.gz: 80b4ed778d94e3611d7c5753c988aaa0e6b6e24825ed07a3bc18d66e7e103374
4
+ data.tar.gz: 1d20221f5950bc0f02139c4a4672c77bd38cab58c83aa93f8de6960f03f32da0
5
5
  SHA512:
6
- metadata.gz: 6171098ac8c59bd806af5b37a062e32f9ad539f43c5ed84a9a21f3d925cfbdf0037297517dd99abdd2c87f31e97b0fe1003edff8aea411419abbb7ae9f70ccd4
7
- data.tar.gz: 47e02859ee9f1430b4a9ae8bd60ff3f2e6553cd1f1b3c953ce21c3f46c9ada88f235c77809f477d089f77362cf7b6520fd81a87f09b2007e7305d188bb24f02a
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab_support_readiness
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.89
4
+ version: 1.0.90
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Colyer