zendesk_apps_support 4.12.4 → 4.13.0

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: 3eb4635d9bd29053020081f567838eefda3d18b2
4
- data.tar.gz: 2f189502819902a4b80436b473df8e1b5c2c8a7b
2
+ SHA256:
3
+ metadata.gz: 581a43b465d4a87f23a25f82245b128b29dbe9efb83d7e9dc9dd46accf2429fe
4
+ data.tar.gz: 6bee12747cb1db644323fc7423decf48f1c12e4bec748fb55e9ff5fffcd1a717
5
5
  SHA512:
6
- metadata.gz: 848a34910212f017ba57bd1088316fe53f30799d22f9f8750a58c69fb08f0dec8221bce1b30cfe30cd4cee928adc4185845fc9816e48d9cdbca7d624371ec41b
7
- data.tar.gz: 89d6007ac3ec6b749248688ad2dc90f5439a00cf320f4fc1d679458862dcc61ac188aab2544c6693a5660cf82c82e76dbbb167284cc0df865d8e142fe15a95cb
6
+ metadata.gz: 57eede12800d8eef353d6c05fb853970dcb949ea70a02536a926b522be5330c5950a1dd7f0927a4f8fffc246ad7ddc98f3cf6fad3a0e0f23ff88e5687d0fd9b1
7
+ data.tar.gz: 95fc48134343679e50f9fb527baf8f83322f63dd2118fe60c91552516148e4215c6c12a13dd836908fd18244b6ba29954f677289e08df1d2158bf7b2189d5527
@@ -4,8 +4,8 @@
4
4
  <% end %>
5
5
 
6
6
  <% installations.each do |installation| %>
7
- if (ZendeskApps[<%= installation.app_name.to_json %>]) {
8
- ZendeskApps[<%= installation.app_name.to_json %>].install(<%= installation.to_json %>);
7
+ if (ZendeskApps[<%= installation.app_id.to_json %>]) {
8
+ ZendeskApps[<%= installation.app_id.to_json %>].install(<%= installation.to_json %>);
9
9
  }
10
10
  <% end %>
11
11
 
@@ -34,4 +34,4 @@ var app = ZendeskApps.defineApp(<%= iframe_only ? 'null' : 'source' %>)
34
34
  frameworkVersion: <%= framework_version.to_json %>
35
35
  });
36
36
 
37
- ZendeskApps[<%= name.to_json %>] = app;
37
+ ZendeskApps[<%= id.to_json %>] = app;
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'erubis'
4
+ require 'json'
4
5
 
5
6
  module ZendeskAppsSupport
6
7
  class Installed
@@ -122,6 +122,7 @@ module ZendeskAppsSupport
122
122
  templates = manifest.no_template == true ? {} : compiled_templates(app_id, asset_url_prefix)
123
123
 
124
124
  SRC_TEMPLATE.result(
125
+ id: app_id,
125
126
  name: name,
126
127
  version: manifest.version,
127
128
  source: source,
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: 4.12.4
4
+ version: 4.13.0
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-13 00:00:00.000000000 Z
14
+ date: 2019-03-21 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: i18n
@@ -97,6 +97,20 @@ dependencies:
97
97
  - - ">="
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
+ - !ruby/object:Gem::Dependency
101
+ name: rb-inotify
102
+ requirement: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - "<"
105
+ - !ruby/object:Gem::Version
106
+ version: 0.10.0
107
+ type: :runtime
108
+ prerelease: false
109
+ version_requirements: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - "<"
112
+ - !ruby/object:Gem::Version
113
+ version: 0.10.0
100
114
  - !ruby/object:Gem::Dependency
101
115
  name: jshintrb
102
116
  requirement: !ruby/object:Gem::Requirement
@@ -266,7 +280,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
266
280
  requirements:
267
281
  - - ">="
268
282
  - !ruby/object:Gem::Version
269
- version: '2.0'
283
+ version: '2.1'
270
284
  required_rubygems_version: !ruby/object:Gem::Requirement
271
285
  requirements:
272
286
  - - ">="
@@ -274,7 +288,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
274
288
  version: 1.3.6
275
289
  requirements: []
276
290
  rubyforge_project:
277
- rubygems_version: 2.6.8
291
+ rubygems_version: 2.7.6
278
292
  signing_key:
279
293
  specification_version: 4
280
294
  summary: Support to help you develop Zendesk Apps.