zendesk_apps_support 4.2.0 → 4.2.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fe5bdb5612e8bb4a6a19203bac397d803344e56
|
4
|
+
data.tar.gz: f26d674ecd167f9e89d105c709ebc87d065a4144
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4182a52d6006ddf7bc3e408ba6c9c6b7385dcbf5c87170ff1d73267df409701676cb19d7705dacc475ead01320f386a9e3a3602fb2e52731b3ef0b57cfe84c1b
|
7
|
+
data.tar.gz: be090702051d35c47de0a4a01ca65dafb86231b0163d02e435579cd32d337a1a4a61e4c5fa8828bac7c9cc45c31333bc8f110e873c44ab60d377ee246ba6c338
|
data/config/locales/en.yml
CHANGED
@@ -78,7 +78,7 @@ parts:
|
|
78
78
|
value: "Could not find requirements.json"
|
79
79
|
- translation:
|
80
80
|
key: "txt.apps.admin.error.app_build.requirements_not_supported"
|
81
|
-
title: "App builder job: requirements not supported error"
|
81
|
+
title: "App builder job: requirements not supported error (for example not supported for apps built only for the product Chat or for marketing purposes."
|
82
82
|
value: "App requirements are not supported for marketing-only or Chat-only apps"
|
83
83
|
- translation:
|
84
84
|
key: "txt.apps.admin.error.app_build.manifest_keys.missing.one"
|
@@ -56,6 +56,12 @@ module ZendeskAppsSupport
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
def products_ignore_locations
|
60
|
+
locations.keys.map do |product_name|
|
61
|
+
Product.find_by(name: product_name)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
59
65
|
def location_options
|
60
66
|
@location_options ||= locations.flat_map do |product_key, locations|
|
61
67
|
product = Product.find_by(name: product_key)
|
@@ -140,12 +146,6 @@ module ZendeskAppsSupport
|
|
140
146
|
.map { |code| Product.find_by(code: code) }
|
141
147
|
end
|
142
148
|
|
143
|
-
def products_ignore_locations
|
144
|
-
locations.keys.map do |product_name|
|
145
|
-
Product.find_by(name: product_name)
|
146
|
-
end
|
147
|
-
end
|
148
|
-
|
149
149
|
def set_locations_and_hosts
|
150
150
|
@locations =
|
151
151
|
case original_locations
|
@@ -36,7 +36,7 @@ module ZendeskAppsSupport
|
|
36
36
|
private
|
37
37
|
|
38
38
|
def supports_requirements(package)
|
39
|
-
!package.manifest.marketing_only? && package.manifest.
|
39
|
+
!package.manifest.marketing_only? && package.manifest.products_ignore_locations != [Product::CHAT]
|
40
40
|
end
|
41
41
|
|
42
42
|
def missing_required_fields(requirements)
|
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.2.
|
4
|
+
version: 4.2.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: 2017-09-
|
14
|
+
date: 2017-09-13 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: i18n
|
@@ -230,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
230
230
|
version: 1.3.6
|
231
231
|
requirements: []
|
232
232
|
rubyforge_project:
|
233
|
-
rubygems_version: 2.6.
|
233
|
+
rubygems_version: 2.6.8
|
234
234
|
signing_key:
|
235
235
|
specification_version: 4
|
236
236
|
summary: Support to help you develop Zendesk Apps.
|