gitlab_support_readiness 1.0.88 → 1.0.90

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e9057a70ad9cef062f6a7f361ea61039f315e0b2aa3f25737947dc94f018339
4
- data.tar.gz: bfc92891940e54725a794db15f49b67f4f6d44a03925fa70966ef1ecb26267b2
3
+ metadata.gz: 80b4ed778d94e3611d7c5753c988aaa0e6b6e24825ed07a3bc18d66e7e103374
4
+ data.tar.gz: 1d20221f5950bc0f02139c4a4672c77bd38cab58c83aa93f8de6960f03f32da0
5
5
  SHA512:
6
- metadata.gz: 6993482077689597bab8f3b5d5867602075bb6b8abb36c684a6a813b501bd8a996b3f0e437e91c143a46b2c5608ca5b49a1abd4c1cfedb8ad9352188ca119bbf
7
- data.tar.gz: 683c8a3ac2efce0c6b5b61f78478cf3bae2029fcd43f6f6a679887b5bd292f46359c22e3f23ad097071234291006963fba96b99cbef972c03ff1e10a0d7f020c
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
@@ -10,7 +10,7 @@ module Readiness
10
10
  # @author Jason Colyer
11
11
  # @since 1.0.12
12
12
  class TicketFieldOptions < Readiness::Client
13
- attr_accessor :id, :name, :position, :value
13
+ attr_accessor :id, :name, :position, :raw_name, :value
14
14
 
15
15
  ##
16
16
  # Creates a new {Readiness::Zendesk::TicketFieldOptions} instance
@@ -25,6 +25,7 @@ module Readiness
25
25
  @id = object['id']
26
26
  @name = object['name']
27
27
  @position = object['position']
28
+ @raw_name = object['raw_name']
28
29
  @value = object['value']
29
30
  end
30
31
 
@@ -10,7 +10,7 @@ module Readiness
10
10
  # @author Jason Colyer
11
11
  # @since 1.0.0
12
12
  class TicketFields < Readiness::Client
13
- attr_accessor :active, :agent_description, :collapsed_for_agents, :custom_field_options, :description, :editable_in_portal, :id, :key, :position, :regexp_for_validation, :removable, :required, :system_field_options, :tag, :title, :title_in_portal, :type, :visible_in_portal
13
+ attr_accessor :active, :agent_description, :collapsed_for_agents, :custom_field_options, :description, :editable_in_portal, :id, :key, :position, :raw_title_in_portal, :regexp_for_validation, :removable, :required, :system_field_options, :tag, :title, :title_in_portal, :type, :visible_in_portal
14
14
 
15
15
  ##
16
16
  # Creates a new {Readiness::Zendesk::TicketFields} instance
@@ -37,6 +37,7 @@ module Readiness
37
37
  @id = object['id']
38
38
  @key = object['key']
39
39
  @position = object['position']
40
+ @raw_title_in_portal = object['raw_title_in_portal']
40
41
  @regexp_for_validation = object['regexp_for_validation']
41
42
  @removable = object['removable']
42
43
  @required = object['required']
@@ -10,7 +10,7 @@ module Readiness
10
10
  # @author Jason Colyer
11
11
  # @since 1.0.0
12
12
  class TicketForms < Readiness::Client
13
- attr_accessor :active, :agent_conditions, :default, :display_name, :end_user_conditions, :end_user_visible, :id, :in_all_brands, :name, :position, :restricted_brand_ids, :ticket_field_ids
13
+ attr_accessor :active, :agent_conditions, :default, :display_name, :end_user_conditions, :end_user_visible, :id, :in_all_brands, :name, :position, :raw_display_name, :restricted_brand_ids, :ticket_field_ids
14
14
 
15
15
  ##
16
16
  # Creates a new {Readiness::Zendesk::TicketForms} instance
@@ -32,6 +32,7 @@ module Readiness
32
32
  @in_all_brands = object['in_all_brands']
33
33
  @name = object['name']
34
34
  @position = object['position']
35
+ @raw_display_name = object['raw_display_name']
35
36
  @restricted_brand_ids = object['restricted_brand_ids']
36
37
  @ticket_field_ids = object['ticket_field_ids']
37
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab_support_readiness
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.88
4
+ version: 1.0.90
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Colyer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-30 00:00:00.000000000 Z
11
+ date: 2025-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport