zendesk_apps_tools 2.13.0 → 2.13.3

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
- SHA1:
3
- metadata.gz: 3f5e46b86b152ff63208ae4de70d8460d4e2453e
4
- data.tar.gz: 5d46bbd5e461f9a9f04c9c0c5f103065d2e5a15e
2
+ SHA256:
3
+ metadata.gz: a13bdc9979bd64d7f92bab77352c40fd62fe348f5743b3f40de595fa9fb39469
4
+ data.tar.gz: d08e494d45c130d90489faed59246fe6fdd2840ee511d6107ec3d0688607b059
5
5
  SHA512:
6
- metadata.gz: ccdff76604b06838c58fb295404c870ead61d5a90cd6405129d24a0eddfeb39ecde7fc5724ee8ca790a4b3e0ab7663a5e559351d3625559679d17db4117b670f
7
- data.tar.gz: 69d16ff414990f2dffb994746762bf04c9ccb52de5eb3313579d0ab6b1625c446298b534965474c7a0c16d1bb112c164f2e801c0e3e6feb2933184349849a8d5
6
+ metadata.gz: 93f8eb14c4d2c627aee4d1826fc2daddca1f8333ae84ba9edf58ca19618f8a2cf5a6fa209ac483d9859163e1159252f268769dce33b40025d86dcb25ca033556
7
+ data.tar.gz: 1d00f130668cac0f18aeba67f82eacd2ac68a8eaee6d0cd75f5dbbe5e2d1043f4688ca47efd27f5a40c381967cb1cf1edd7059b7930acc48802d36ec1adb37f8
@@ -1,16 +1,20 @@
1
+ <!DOCTYPE html>
1
2
  <html>
2
3
  <head>
3
4
  <meta charset="utf-8">
4
- <!-- http://garden.zendesk.com -->
5
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@zendeskgarden/css-bedrock@7.0" type="text/css">
5
+ <!-- See Using Zendesk Garden:
6
+ https://developer.zendesk.com/apps/docs/developer-guide/setup#using-zendesk-garden
7
+ https://garden.zendesk.com/css-components/bedrock/
8
+ https://garden.zendesk.com/css-components/utilities/typography/
9
+ -->
10
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/combine/npm/@zendeskgarden/css-bedrock@7.0.21,npm/@zendeskgarden/css-utilities@4.3.0">
6
11
  </head>
7
12
  <body>
8
- <h2 class="u-gamma">Hello, World!</h2>
9
- <!-- https://github.com/zendesk/zendesk_app_framework_sdk -->
10
- <script type="text/javascript" src="https://assets.zendesk.com/apps/sdk/2.0/zaf_sdk.js"></script>
13
+ <h2 class="u-semibold u-fs-xl">Hello, World!</h2>
14
+ <script src="https://assets.zendesk.com/apps/sdk/2.0/zaf_sdk.js"></script>
11
15
  <script>
12
- // Initialise the Zendesk JavaScript API client
13
- // https://developer.zendesk.com/apps/docs/apps-v2
16
+ // Initialise Apps framework client. See also:
17
+ // https://developer.zendesk.com/apps/docs/developer-guide/getting_started
14
18
  var client = ZAFClient.init();
15
19
  client.invoke('resize', { width: '100%', height: '200px' });
16
20
  </script>
@@ -7,8 +7,12 @@ module ZendeskAppsTools
7
7
  end
8
8
 
9
9
  def manifest
10
+ require 'zendesk_apps_support'
11
+ require 'zendesk_apps_support/manifest/no_override_hash'
10
12
  begin
11
13
  @manifest ||= app_package.manifest
14
+ rescue JSON::ParserError, ZendeskAppsSupport::Manifest::OverrideError => e
15
+ say_status "error", "Manifest file is incorrectly formatted: #{e.message}", :red and exit 1
12
16
  rescue Errno::ENOENT
13
17
  say_status "error", "Manifest file cannot be found in the given path. Check you are pointing to the path that contains your manifest.json", :red and exit 1
14
18
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ZendeskAppsTools
3
- VERSION = '2.13.0'
3
+ VERSION = '2.13.3'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zendesk_apps_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.0
4
+ version: 2.13.3
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: 2019-03-19 00:00:00.000000000 Z
14
+ date: 2019-05-03 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: thor
@@ -103,14 +103,14 @@ dependencies:
103
103
  requirements:
104
104
  - - "~>"
105
105
  - !ruby/object:Gem::Version
106
- version: 4.12.4
106
+ version: 4.15.0
107
107
  type: :runtime
108
108
  prerelease: false
109
109
  version_requirements: !ruby/object:Gem::Requirement
110
110
  requirements:
111
111
  - - "~>"
112
112
  - !ruby/object:Gem::Version
113
- version: 4.12.4
113
+ version: 4.15.0
114
114
  - !ruby/object:Gem::Dependency
115
115
  name: sinatra-cross_origin
116
116
  requirement: !ruby/object:Gem::Requirement
@@ -321,7 +321,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
321
321
  version: 1.3.6
322
322
  requirements: []
323
323
  rubyforge_project:
324
- rubygems_version: 2.6.11
324
+ rubygems_version: 2.7.6
325
325
  signing_key:
326
326
  specification_version: 4
327
327
  summary: Tools to help you develop Zendesk Apps.