zendesk_apps_tools 3.5.0 → 3.5.1

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: 1796c94cfcc98fbd695733bde6d7c06bbb883eafc6e80d5363be3adfb0c0d5b2
4
- data.tar.gz: 12116a3f65c2a21af03befc899eac41cf57595cc97395609aef1b6e7e6ef0a5c
3
+ metadata.gz: 4959c96d64f0077245a9182c71ffc9b1e6aeb2229053a47a6d78fad5d6caae2b
4
+ data.tar.gz: 066b2c9c9f2ec5971b80a28b2754dba6e4cdf73b8d8502ac26ee913c6b00435a
5
5
  SHA512:
6
- metadata.gz: 683ea79d922bfd1978f5ad22dca6acc809c765b31cb4a4568ef37e217abee11f76f5a66a2b48848f9305754af80e05fe76492cbe41f0df83ac7769b34d334153
7
- data.tar.gz: fc0acfad8e5d2e757fc7196d8616b14eb470dc5a1d6f53986f4afc53753a4417c5c176e9d6971572860b2bc0e0ce050d2f4e503680aaec361210f8bbbac205cb
6
+ metadata.gz: 50b5c8b4cefbf374a2625a1266ba2800a76f90f159eae6c477e0aa093b930a37dcc746dd34c5be25a52346e0584cdc7843a71ab0639ab67f694bf572ca7ce81e
7
+ data.tar.gz: 06c6e0b275e9478a899dada79a5a2b1172959b3c9ed4a159401623affbc0922c4ce440eff37845326b00923de08e4e8eba8081c9020b8d33d58460ddd545869e
@@ -96,6 +96,7 @@ module ZendeskAppsTools
96
96
  payload['templates']['js'] = ''
97
97
  payload['templates']['assets'] = assets
98
98
  payload['templates']['variables'] = settings_hash
99
+ payload['templates']['metadata'] = metadata_hash
99
100
  payload
100
101
  end
101
102
 
@@ -45,6 +45,10 @@ module ZendeskAppsTools
45
45
  end
46
46
  end
47
47
 
48
+ def metadata_hash
49
+ { 'api_version' => manifest['api_version'] }
50
+ end
51
+
48
52
  def value_for_setting(variable)
49
53
  return variable.fetch('value') unless variable.fetch('type') == 'file'
50
54
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ZendeskAppsTools
3
- VERSION = '3.5.0'
3
+ VERSION = '3.5.1'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zendesk_apps_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James A. Rosen
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-11-14 00:00:00.000000000 Z
14
+ date: 2019-11-21 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: thor