zendesk_apps_support 1.22.0 → 1.22.1
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: 838d3e4ddc17abe2d67d032c27f61e605f32b074
|
|
4
|
+
data.tar.gz: 461798b1797da8aa3a38d8dd8ecbe684b43f82f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c72139b36e06e03a63a26ef3ac3091de834699a7d456fa9ae3aa9e56a0404e94dc6169dfe87205e225083a38744a5086bd1913a80e56c5c72d096b1392a7f4f
|
|
7
|
+
data.tar.gz: ee97a2debbd15242fe926ba57ba8c0c44ab3f2ec5c89608e660059eaed0397951f09eae69cb7cac665fcbbedec1a1c8fd89a50ea04175d37cfbb4d8ca57a2299
|
|
@@ -105,7 +105,7 @@ module ZendeskAppsSupport
|
|
|
105
105
|
manifest_location.find do |host, locations|
|
|
106
106
|
error = if !Location.hosts.include?(host)
|
|
107
107
|
ValidationError.new(:invalid_host, host_name: host)
|
|
108
|
-
elsif (invalid_locations = locations - Location.names_for(host
|
|
108
|
+
elsif (invalid_locations = locations - Location.names_for(host)).any?
|
|
109
109
|
ValidationError.new(:invalid_location, invalid_locations: invalid_locations.join(', '), host_name: host, count: invalid_locations.length)
|
|
110
110
|
end
|
|
111
111
|
break error if error
|
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: 1.22.
|
|
4
|
+
version: 1.22.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: 2016-01-
|
|
14
|
+
date: 2016-01-21 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: i18n
|