zendesk_apps_tools 1.35.12 → 1.36.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
  SHA1:
3
- metadata.gz: be55a0877485f6d34b67d629a6a1ca3562d121f9
4
- data.tar.gz: 56ade4847ce3103595920229fcb26511a622f80a
3
+ metadata.gz: d4a04e88a29dcaa2a870b1a443afb3e67aaa5225
4
+ data.tar.gz: 2d77d3b845a1e4361470424e2db545e58e9994fa
5
5
  SHA512:
6
- metadata.gz: 2a95c5c105d438134efbfe8b3331320af32026f0619cd5870a5679eeaacf51c07dd62a7f5aeeca9f39ab88fa93d7bb725a3a41eff57176a3d71517b0e6352a7a
7
- data.tar.gz: aa19c646749f82cc54480117efd0d6eb026baec280c7fe51b2271f2d5607708511446069d74b2f39043fda2ee2bdfffd2295a782c2709abfdb55aff4db905e16
6
+ metadata.gz: 32c9715b5be560cb19146a2be342806122e4f4e87f2c6c5b7f56dea6f544778214b8a723d78662c28c3c57ca5ad4974e7b6600f08058fa902327db835ce5d252
7
+ data.tar.gz: d2e8daafb278464ea90b2c765e8392a54bdb6ab3e400af258d29480c9221456073ef50589b262a58d47a642abca92ce07b46d485e35b2890c186900e81032eb3
@@ -95,6 +95,9 @@ module ZendeskAppsTools
95
95
  return false unless invoke(:validate, [])
96
96
 
97
97
  setup_path(options[:path])
98
+
99
+ say_status 'warning', 'Please note that the name key of manifest.json is currently only used in development.', :yellow if app_package.manifest.name
100
+
98
101
  archive_path = File.join(tmp_dir, "app-#{Time.now.strftime('%Y%m%d%H%M%S')}.zip")
99
102
 
100
103
  archive_rel_path = relative_to_original_destination_root(archive_path)
@@ -15,7 +15,7 @@ module ZendeskAppsTools
15
15
  settings.parameters = new_settings if new_settings
16
16
 
17
17
  package = ZendeskAppsSupport::Package.new(settings.root, false)
18
- app_name = ENV.fetch('ZAT_APP_NAME', 'Local App')
18
+ app_name = package.manifest.name || 'Local App'
19
19
  installation = ZendeskAppsSupport::Installation.new(
20
20
  id: settings.app_id,
21
21
  app_id: settings.app_id,
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ZendeskAppsTools
3
- VERSION = '1.35.12'
3
+ VERSION = '1.36.0'
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: 1.35.12
4
+ version: 1.36.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: 2016-11-28 00:00:00.000000000 Z
14
+ date: 2016-12-02 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: thor
@@ -75,14 +75,14 @@ dependencies:
75
75
  requirements:
76
76
  - - "~>"
77
77
  - !ruby/object:Gem::Version
78
- version: 3.1.5
78
+ version: 3.2.0
79
79
  type: :runtime
80
80
  prerelease: false
81
81
  version_requirements: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - "~>"
84
84
  - !ruby/object:Gem::Version
85
- version: 3.1.5
85
+ version: 3.2.0
86
86
  - !ruby/object:Gem::Dependency
87
87
  name: sinatra-cross_origin
88
88
  requirement: !ruby/object:Gem::Requirement
@@ -253,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
253
253
  version: 1.3.6
254
254
  requirements: []
255
255
  rubyforge_project:
256
- rubygems_version: 2.6.8
256
+ rubygems_version: 2.4.5.1
257
257
  signing_key:
258
258
  specification_version: 4
259
259
  summary: Tools to help you develop Zendesk Apps.
@@ -265,3 +265,4 @@ test_files:
265
265
  - features/step_definitions/app_steps.rb
266
266
  - features/support/env.rb
267
267
  - features/validate.feature
268
+ has_rdoc: