zendesk_apps_support 4.14.0 → 4.15.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
2
  SHA256:
3
- metadata.gz: 0e7a7bbb2b3cd4e0356373547e4ec5e12dee5ed6f92dbf2f3277578c92233fbd
4
- data.tar.gz: b1d0befb200a07e1e869839d02bb99cf51499dcb6c0c17da296b6122a19cd34a
3
+ metadata.gz: 7ca98e0b546fe0fe89ace8135da0654e6d8c081be3df6c45db03e120b843c0c9
4
+ data.tar.gz: be181f405c088263e9fbbc0aa8f156520e7deb1e20b2f8c79d2a1b664e4a7c0d
5
5
  SHA512:
6
- metadata.gz: abad2984ae088cf5539d969e6129122e487779a3b324d97cbb2092abd652b949e88db757eff543303b4646e17f0b39670fa9504df275e6901651c46931497eb5
7
- data.tar.gz: cf7b2313454297f8ddf70292dd71bf1c7072a46fd8fe50ada61e1c17a36c4aa8cf425da7e910fde752ca57bc2c2049da8bdb91735cd9f9f386c78e8a72671d7e
6
+ metadata.gz: 2e21829f94bd4f12c0edb9f03d6fd6160ee8fc933ed8d282f5ff32dfe67cfd8a7ce144b3f8828131a7cc87e50b924dc8a3f3d1a727c0e39c82195d27b889a6c5
7
+ data.tar.gz: ebe063f71f1de2fc27782e7ad1f755411b66eae44a7b3e5d6279bb2b31c5fbc58c8a9b0bf423d361b3c33d038215e5de2a1656692f0ff21c9a600b7fae21443d
@@ -4,8 +4,8 @@
4
4
  <% end %>
5
5
 
6
6
  <% installations.each do |installation| %>
7
- if (ZendeskApps[<%= installation.app_id.to_json %>]) {
8
- ZendeskApps[<%= installation.app_id.to_json %>].install(<%= installation.to_json %>);
7
+ if (ZendeskApps[<%= installation.app_name.to_json %>]) {
8
+ ZendeskApps[<%= installation.app_name.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[<%= id.to_json %>] = app;
37
+ ZendeskApps[<%= name.to_json %>] = app;
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'erubis'
4
- require 'json'
5
4
 
6
5
  module ZendeskAppsSupport
7
6
  class Installed
@@ -122,7 +122,6 @@ 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,
126
125
  name: name,
127
126
  version: manifest.version,
128
127
  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.14.0
4
+ version: 4.15.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-04-05 00:00:00.000000000 Z
14
+ date: 2019-04-08 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: i18n
@@ -97,20 +97,6 @@ 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
114
100
  - !ruby/object:Gem::Dependency
115
101
  name: jshintrb
116
102
  requirement: !ruby/object:Gem::Requirement
@@ -280,7 +266,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
280
266
  requirements:
281
267
  - - ">="
282
268
  - !ruby/object:Gem::Version
283
- version: '2.1'
269
+ version: '2.0'
284
270
  required_rubygems_version: !ruby/object:Gem::Requirement
285
271
  requirements:
286
272
  - - ">="