zendesk_apps_tools 1.37.3 → 1.37.4

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: 1f0520020af0509b227a1a5160503c6b43828c43
4
- data.tar.gz: 0ca715cb637232fde3bee2ac61db6d6a6ebd7a72
3
+ metadata.gz: a190145e30db012f33c6e0ebb1273c9c5a105b80
4
+ data.tar.gz: 65f652b2bc0be3bca5fc6d43531952ca8c621ad2
5
5
  SHA512:
6
- metadata.gz: 5e1750d982a7ee2361ed50eed3c28488d627564007858899b1565b9956b9f1e252ebfd14d1a25e8a45f476c9e63dfeb4e043606ef0051c738b4b7eefb77c492f
7
- data.tar.gz: 2158114094b73b80b16d43f5cc21fb8afb1a9a6b4f119ddf83d1fc00c0d59923f5fe5a5ba82e1bf4a010ca50e86beed4abd6e0682c158136a8a770e9ee010ee7
6
+ metadata.gz: d125c9a7a610816d278f98c1438a10c9f09803e462d6a8bfeaeb5a718437215bff37ba04b7fc93529730dae07c620b56ab6598965b5e2db38d4fa2211588f916
7
+ data.tar.gz: 06ab6fd261ea6bfa615e5b57eaa2bf34e78580bd63782359910944ee204774242a7972980030f474a5461bbf148dcd04b813915909061b3b647cd25d8de38d6d
data/bin/zat CHANGED
@@ -1,4 +1,11 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ default_ext = Encoding.default_external
4
+ unless default_ext == Encoding::UTF_8
5
+ Encoding.default_external = Encoding::UTF_8
6
+ puts "Warning: unexpected string encoding: #{default_ext}, zat runs best in UTF-8."
7
+ puts 'Please set the RUBYOPT environment variable to "-E utf-8".'
8
+ end
2
9
  lib_dir = File.expand_path('../../lib', __FILE__)
3
10
  $LOAD_PATH.unshift lib_dir unless $LOAD_PATH.include?(lib_dir)
4
11
  ENV['THOR_SHELL'] = 'Color'
@@ -121,13 +121,13 @@ module ZendeskAppsTools
121
121
  DEFAULT_SERVER_PATH = './'
122
122
  DEFAULT_CONFIG_PATH = './settings.yml'
123
123
  DEFAULT_SERVER_PORT = '4567'
124
- DEFAULT_APP_ID = '0'
124
+ DEFAULT_APP_ID = 0
125
125
 
126
126
  desc 'server', 'Run a http server to serve the local app'
127
127
  shared_options(except: [:clean])
128
128
  method_option :config, default: DEFAULT_CONFIG_PATH, required: false, aliases: '-c'
129
129
  method_option :port, default: DEFAULT_SERVER_PORT, required: false
130
- method_option :app_id, default: DEFAULT_APP_ID, required: false
130
+ method_option :app_id, default: DEFAULT_APP_ID, required: false, type: :numeric
131
131
  method_option :bind, required: false
132
132
  def server
133
133
  setup_path(options[:path])
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ZendeskAppsTools
3
- VERSION = '1.37.3'
3
+ VERSION = '1.37.4'
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.37.3
4
+ version: 1.37.4
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: 2017-01-05 00:00:00.000000000 Z
14
+ date: 2017-02-20 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: thor
@@ -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.5.1
256
+ rubygems_version: 2.6.10
257
257
  signing_key:
258
258
  specification_version: 4
259
259
  summary: Tools to help you develop Zendesk Apps.