zendesk_apps_support 3.3.1 → 3.3.2

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: 3a1d4762759c095666773057863636dd265660b4
4
- data.tar.gz: db3af1a717e997011b0923282de990f6c90d1112
3
+ metadata.gz: c18dad0a88a0050882a95ef6dab859c2a986771e
4
+ data.tar.gz: 581026a5b94705833c2aa8730768cbf1f0d41fb6
5
5
  SHA512:
6
- metadata.gz: d69521929f65a21a69aba7ab2ec3be6328b2337a8acd191c38d9858609a13ae45825debea2fd404ffbda0400b55625243adf17991883d1660402171b40b8084c
7
- data.tar.gz: 4442c141c1a0b58afed6d95c6232d6d3bb026481adf668ea155a905f87714f5da0c984dcab4be0d6ec4f40bdce68e7dac711abad5755aabb8435cfa78237f63e
6
+ metadata.gz: 55bcb995135adb86d47c323b1240930e8f6635be741fbc5a3953f88cdf3e18e655181c291134978f162c3c6218728fa933ab78e63fd9e73c642cd527e14d82d5
7
+ data.tar.gz: 2043571958b3add67fdbd1047ab18093a05cef6cb94642c2751fed978c21d9d604ecf2a3f0909c53114c87408dac4dc7396a59a1731fda45221aaa2bb05b78c7
@@ -47,9 +47,13 @@ module ZendeskAppsSupport
47
47
 
48
48
  def products
49
49
  @products ||=
50
- location_options.map { |lo| lo.location.product_code }
51
- .uniq
52
- .map { |code| Product.find_by(code: code) }
50
+ if requirements_only?
51
+ [ Product::SUPPORT ]
52
+ else
53
+ location_options.map { |lo| lo.location.product_code }
54
+ .uniq
55
+ .map { |code| Product.find_by(code: code) }
56
+ end
53
57
  end
54
58
 
55
59
  def location_options
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: 3.3.1
4
+ version: 3.3.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: 2016-12-13 00:00:00.000000000 Z
14
+ date: 2016-12-16 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: i18n
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
216
  version: 1.3.6
217
217
  requirements: []
218
218
  rubyforge_project:
219
- rubygems_version: 2.5.1
219
+ rubygems_version: 2.6.8
220
220
  signing_key:
221
221
  specification_version: 4
222
222
  summary: Support to help you develop Zendesk Apps.