zendesk_apps_support 4.6.1 → 4.6.2
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 45992fa4944c849d21b3520e9c30876cb5fb2f90
|
|
4
|
+
data.tar.gz: c55fa1f788097d2bae83513551330978c41b318e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 973e63b7b9337a61df53bc55156bf8d2cbd3048e5efd340e08bffa8fde43621b93cc5d1a232cd4cdda822e9ef2939465cfb7a6868773fb5a49ff5eab610d33f3
|
|
7
|
+
data.tar.gz: db1cfe07a3f274b225521c6eb9eab6fa54f2d16fc4d5ed768d8763182f229fb7c64607545039a2fd8e7dfb15b82851f8bc9631e9dd1889efde6e99dc44c58ac2
|
data/config/locales/en.yml
CHANGED
|
@@ -22,7 +22,7 @@ en:
|
|
|
22
22
|
no_app_js_required: Do not set your app to requirements only if you need
|
|
23
23
|
app.js
|
|
24
24
|
manifest_not_json: manifest is not proper JSON. %{errors}
|
|
25
|
-
duplicate_manifest_keys:
|
|
25
|
+
duplicate_manifest_keys: Duplicate keys are specified in the manifest.json
|
|
26
26
|
file. %{errors}
|
|
27
27
|
missing_manifest: Could not find manifest.json
|
|
28
28
|
nested_manifest: Could not find manifest.json in the root of the zip file,
|
|
@@ -59,7 +59,7 @@ en:
|
|
|
59
59
|
banner:
|
|
60
60
|
invalid_format: Banner image must be a PNG file.
|
|
61
61
|
invalid_size: Invalid banner image dimensions. Must be %{required_banner_width}x%{required_banner_height}px.
|
|
62
|
-
dirty_svg: "%{svg} contains invalid markup and
|
|
62
|
+
dirty_svg: "%{svg} contains invalid markup and could not be automatically
|
|
63
63
|
regenerated."
|
|
64
64
|
oauth_keys:
|
|
65
65
|
missing:
|
|
@@ -124,5 +124,5 @@ en:
|
|
|
124
124
|
deprecated_version: You are targeting a deprecated version of the framework.
|
|
125
125
|
Your app will work, but it might break when the new framework version
|
|
126
126
|
is deployed.
|
|
127
|
-
sanitised_svg: The markup in %{svg} has been edited for use in Zendesk
|
|
127
|
+
sanitised_svg: The markup in %{svg} has been edited for use in Zendesk
|
|
128
128
|
and may not display as intended.
|
|
@@ -46,8 +46,8 @@ parts:
|
|
|
46
46
|
value: "manifest is not proper JSON. %{errors}"
|
|
47
47
|
- translation:
|
|
48
48
|
key: "txt.apps.admin.error.app_build.duplicate_manifest_keys"
|
|
49
|
-
title: "App builder job: duplicate keys in manifest"
|
|
50
|
-
value: "
|
|
49
|
+
title: "App builder job: duplicate keys in manifest.json file (do not localize file name). Placeholders loads errors"
|
|
50
|
+
value: "Duplicate keys are specified in the manifest.json file. %{errors}"
|
|
51
51
|
- translation:
|
|
52
52
|
key: "txt.apps.admin.error.app_build.missing_manifest"
|
|
53
53
|
title: "App builder job: missing manifest error"
|
|
@@ -230,7 +230,7 @@ module ZendeskAppsSupport
|
|
|
230
230
|
def invalid_location_error(package)
|
|
231
231
|
errors = []
|
|
232
232
|
package.manifest.location_options.each do |location_options|
|
|
233
|
-
if location_options.url && !location_options.url.empty?
|
|
233
|
+
if location_options.url.is_a?(String) && !location_options.url.empty?
|
|
234
234
|
errors << invalid_location_uri_error(package, location_options.url)
|
|
235
235
|
elsif location_options.auto_load?
|
|
236
236
|
errors << ValidationError.new(:blank_location_uri, location: location_options.location.name)
|
|
@@ -242,7 +242,7 @@ module ZendeskAppsSupport
|
|
|
242
242
|
next if invalid_locations.empty?
|
|
243
243
|
errors << ValidationError.new(:invalid_location,
|
|
244
244
|
invalid_locations: invalid_locations.join(', '),
|
|
245
|
-
host_name: product.name,
|
|
245
|
+
host_name: product.name.capitalize,
|
|
246
246
|
count: invalid_locations.length)
|
|
247
247
|
end
|
|
248
248
|
|
|
@@ -81,7 +81,7 @@ module ZendeskAppsSupport
|
|
|
81
81
|
return ValidationError.new(
|
|
82
82
|
'translation.missing_required_key_for_product',
|
|
83
83
|
file: file_path,
|
|
84
|
-
product: product,
|
|
84
|
+
product: product.capitalize,
|
|
85
85
|
missing_key: missing_keys.join(', ')
|
|
86
86
|
)
|
|
87
87
|
end
|
|
@@ -94,8 +94,8 @@ module ZendeskAppsSupport
|
|
|
94
94
|
ValidationError.new(
|
|
95
95
|
'translation.products_do_not_match_manifest_products',
|
|
96
96
|
file: file_path,
|
|
97
|
-
translation_products: products.join(', '),
|
|
98
|
-
manifest_products: manifest_products.join(', ')
|
|
97
|
+
translation_products: products.map(&:capitalize).join(', '),
|
|
98
|
+
manifest_products: manifest_products.map(&:capitalize).join(', ')
|
|
99
99
|
)
|
|
100
100
|
end
|
|
101
101
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zendesk_apps_support
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.6.
|
|
4
|
+
version: 4.6.2
|
|
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: 2017-
|
|
14
|
+
date: 2017-11-01 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: i18n
|