zendesk_apps_support 3.4.3 → 3.4.4

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: bc7e4f061bce5defe5991aa6e539fd9062da466a
4
- data.tar.gz: 3f143fde848b5090338a6f8f702cc437e80ccf3b
3
+ metadata.gz: 210d2c41a69c34a581d90a402ca33633e077a2fc
4
+ data.tar.gz: 49cdbdb923ddb2827e7b9e7cbcd253bf1edf63eb
5
5
  SHA512:
6
- metadata.gz: c005c528443808e6110c69d1fe4b77ad3e1f0d5115864ba7dfdbee01d56b302b918afc8fb2d3d5199c38ecf8528177a825e85b045602597ab1e2167356d63f00
7
- data.tar.gz: 0165b5a3a74eadb81e0d8d226330a0d53145616e0202c7fd21f5804c9e983e75be55757dc3254ce168ca61f4c4a9948cc68a8b58b3904dc71517c38b4427efdc
6
+ metadata.gz: 4e8a419723b0e5305b2a9d5ec751a8a5dd1c21895551e13a0aa9eb17cc4e6127726005c0b7d6b6c494f5109c44712ba0d60c8650d032c489ebb0479d12760846
7
+ data.tar.gz: 4f2762d0fed749825596873f33ec599f2459ffdd83fb3b5bdbd14ce0c849501f805c37f27e6e27edb7b439ff52018849f5913b97e0cd231d8b640b571f37449d
@@ -50,7 +50,7 @@ parts:
50
50
  value: "Could not find manifest.json"
51
51
  - translation:
52
52
  key: "txt.apps.admin.error.app_build.nested_manifest"
53
- title: "App builder job: missing manifest error, but it was found in a subdirectory"
53
+ title: "App builder job: missing manifest.json (file name, leave as is) error, but it was found in a subdirectory (path to correct file is loaded in the placeholder"
54
54
  value: "Could not find manifest.json in the root of the zip file, but %{found_path} was found. Try re-creating the archive from this directory."
55
55
  - translation:
56
56
  key: "txt.apps.admin.error.app_build.symlink_in_zip"
@@ -1,8 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
  module ZendeskAppsSupport
3
- # At any point in time, we support up to three versions:
3
+ # At any point in time, we support up to four versions:
4
4
  # * deprecated -- we will still serve apps targeting the deprecated version,
5
5
  # but newly created or updated apps CANNOT target it
6
+ # * sunsetting -- we will soon be removing support for this version;
7
+ # newly created or updated apps SHOULD target the current version
6
8
  # * current -- we will serve apps targeting the current version;
7
9
  # newly created or updated apps SHOULD target it
8
10
  # * future -- we will serve apps targeting the future version;
@@ -10,15 +12,18 @@ module ZendeskAppsSupport
10
12
  # may change without notice
11
13
  class AppVersion
12
14
  DEPRECATED = '0.5'
13
- CURRENT = '1.0'
14
- FUTURE = '2.0'
15
+ SUNSETTING = '1.0'
16
+ CURRENT = '2.0'
17
+ FUTURE = nil
15
18
 
16
- TO_BE_SERVED = [DEPRECATED, CURRENT, FUTURE].compact.freeze
17
- VALID_FOR_UPDATE = [CURRENT, FUTURE].compact.freeze
19
+ TO_BE_SERVED = [DEPRECATED, SUNSETTING, CURRENT, FUTURE].compact.freeze
20
+ VALID_FOR_UPDATE = [SUNSETTING, CURRENT, FUTURE].compact.freeze
21
+
22
+ attr_reader :current
18
23
 
19
24
  def initialize(version)
20
- @version = version.to_s
21
- @version.freeze
25
+ @version = version.to_s.freeze
26
+ @current = CURRENT
22
27
  freeze
23
28
  end
24
29
 
@@ -34,6 +39,10 @@ module ZendeskAppsSupport
34
39
  @version == DEPRECATED
35
40
  end
36
41
 
42
+ def sunsetting?
43
+ @version == SUNSETTING
44
+ end
45
+
37
46
  def obsolete?
38
47
  !servable?
39
48
  end
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.4.3
4
+ version: 3.4.4
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-03-31 00:00:00.000000000 Z
14
+ date: 2017-06-26 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.10
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.