zendesk_apps_support 1.22.0 → 1.22.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: 4a06daa0f4459f305a6b215168a11d06d304cf8d
4
- data.tar.gz: a35c8073b293511472db0053f8475961277cf45b
3
+ metadata.gz: 838d3e4ddc17abe2d67d032c27f61e605f32b074
4
+ data.tar.gz: 461798b1797da8aa3a38d8dd8ecbe684b43f82f4
5
5
  SHA512:
6
- metadata.gz: bc8ec88d0bd509aeab9e4d6a66e4a85a510a28fb8bf45db7826a50c34a554ed5f63c76f1c07ae64c36a1441191ada7b98a1f87a044ae5c002d1d30e0ab80b1e8
7
- data.tar.gz: 7aeaa373044becb9409257a27016c4af59107893975f6ed8a14200894607fc6f03747cba5c10fceaea05ba54f3800fbecec8a5c5727b6073c70b877eb72699f4
6
+ metadata.gz: 0c72139b36e06e03a63a26ef3ac3091de834699a7d456fa9ae3aa9e56a0404e94dc6169dfe87205e225083a38744a5086bd1913a80e56c5c72d096b1392a7f4f
7
+ data.tar.gz: ee97a2debbd15242fe926ba57ba8c0c44ab3f2ec5c89608e660059eaed0397951f09eae69cb7cac665fcbbedec1a1c8fd89a50ea04175d37cfbb4d8ca57a2299
@@ -21,7 +21,7 @@ module ZendeskAppsSupport
21
21
  LOCATIONS_AVAILABLE.keys
22
22
  end
23
23
 
24
- def names_for(host: host)
24
+ def names_for(host)
25
25
  LOCATIONS_AVAILABLE[host.to_s].keys
26
26
  end
27
27
  end
@@ -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: host)).any?
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.0
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-20 00:00:00.000000000 Z
14
+ date: 2016-01-21 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: i18n