zendesk_apps_tools 2.13.5 → 2.14.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: f66640c25a46c2e452fd45a2e6201278464b7037
4
- data.tar.gz: 833db842480a73a3363a45a6b6336117c4000f9e
2
+ SHA256:
3
+ metadata.gz: 5512e9cd00b690f2827469adb06f55481a8fcf01147547dbc96ebb6c45fa371a
4
+ data.tar.gz: 54914ac71ea8943a58626b6012b274465e48f3f4eb3e0e58dbbe7a2fbdce735f
5
5
  SHA512:
6
- metadata.gz: 2762b0720c268813726dbc9e221d9be735675390cfa124e523aee671c98ea889c5df26a57a3c01841bc58597a5297da05aadf1c093e991d88a450f142384b4fd
7
- data.tar.gz: e4a93d34010f2b20fdbcf64dd8c686b3634f135fdea472c94f2a55ab406b3f1d77bf546f16f74fefd59b17248c3a5b43e58ab74b66f6f18627d093dcffb21fc0
6
+ metadata.gz: e1546fb1398bca4b03b3f4a862f55db1806c92cf48aa348b069ba03fc3cf0824fee1f148a8c82b8c55dc5239f3d435a154496030d703ef893e5c9b8a8532f911
7
+ data.tar.gz: 2e749cfa1b06ac6323abad57d95c9918211608b910fd76fcf5e589c02a708152d93025f3e04f2095c517150ab7f6f270fcf03d8c911102acb113eee8915f665a
data/README.md CHANGED
@@ -39,6 +39,8 @@ Improvements are always welcome. To contribute:
39
39
  * Put up a PR into the master branch.
40
40
  * CC and get two +1 from @zendesk/vegemite.
41
41
 
42
+ This repo contains the ZAT documentation published on the developer portal at https://developer.zendesk.com. Please cc **@zendesk/documentation** on any PR that adds or updates the documentation.
43
+
42
44
  ## Bugs
43
45
  You can report bugs as issues here on GitHub. You can also submit a bug to support@zendesk.com. Mention "zendesk_apps_tools" in the ticket so it can be assigned to the right team.
44
46
 
@@ -102,14 +102,12 @@ module ZendeskAppsTools
102
102
  valid = errors.none?
103
103
 
104
104
  if valid
105
- app_package.warnings.each { |w| say w.to_s, :yellow }
105
+ app_package.warnings.each { |w| say_status 'warning', w.to_s, :yellow }
106
106
  # clean when all apps are upgraded
107
107
  run_deprecation_checks unless options[:'unattended']
108
108
  say_status 'validate', 'OK'
109
109
  else
110
- errors.each do |e|
111
- say_status 'validate', e.to_s, :red
112
- end
110
+ errors.each { |e| say_status 'validate', e.to_s, :red }
113
111
  end
114
112
 
115
113
  @destination_stack.pop if options[:path]
@@ -124,7 +122,10 @@ module ZendeskAppsTools
124
122
 
125
123
  setup_path(options[:path])
126
124
 
127
- say_status 'warning', 'Please note that the name key of manifest.json is currently only used in development.', :yellow if app_package.manifest.name
125
+ if app_package.manifest.name
126
+ warning = 'Please note that the name key of manifest.json is currently only used in development.'
127
+ say_status 'warning', warning, :yellow
128
+ end
128
129
 
129
130
  archive_path = File.join(tmp_dir, "app-#{Time.now.strftime('%Y%m%d%H%M%S')}.zip")
130
131
 
@@ -162,7 +163,8 @@ module ZendeskAppsTools
162
163
  def server
163
164
  setup_path(options[:path])
164
165
  if app_package.has_file?('assets/app.js')
165
- say 'Warning: creating assets/app.js causes zat server to behave badly.', :yellow
166
+ warning = 'Warning: creating assets/app.js causes zat server to behave badly.'
167
+ say_status 'warning', warning, :yellow
166
168
  end
167
169
 
168
170
  require 'zendesk_apps_tools/server'
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ZendeskAppsTools
3
- VERSION = '2.13.5'
3
+ VERSION = '2.14.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: 2.13.5
4
+ version: 2.14.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-05-16 00:00:00.000000000 Z
14
+ date: 2019-07-01 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.15.1
106
+ version: 4.17.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.15.1
113
+ version: 4.17.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.4.5.4
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.