zendesk_apps_tools 1.35.4 → 1.35.6

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: 4342a16a235ffb9c17d645b0b4671daf9af7ca82
4
- data.tar.gz: fd5be11e0931293a51a78b53238cde0922895873
3
+ metadata.gz: a16ff81f2c559975ffe14851772b7ad58d7f267d
4
+ data.tar.gz: 4fc8871cdf0c0f1b93c3758b528ee19bbb408adc
5
5
  SHA512:
6
- metadata.gz: 7b39f3699022df810613fdf8604e29592d5203e93ec185edf549649e3fbdcfbb70bda50e268e7c98dec94d5a9ee3c5af908b43f8aa83a5a729debfb206ad0127
7
- data.tar.gz: 9c66857e215dac587315f9eb2ae699635be503219abc3ab83ff59df20fb4cd946a249e93b836ef256f0774affaee5f36fc3658b8b493d438d59cb183fc481240
6
+ metadata.gz: b788e2e60e376a44be8f6381a128760d555af0b2be885f77877d4fe7a6b84ca38b72bad030ab10d611c7360df1b72fd8041f35124a20e5f8221d249db929e76a
7
+ data.tar.gz: 3703cf757451fff4a303841b70cbacde79cb1a49c120157562e0f1bb1a07f930daccc8bf80bdb76e3545fa69b2c4ec4f86cb34f13078ff4c01ada8b8fb290c6a
@@ -78,7 +78,7 @@ module ZendeskAppsTools
78
78
  say_status 'validate', 'OK'
79
79
  else
80
80
  errors.each do |e|
81
- say_status 'validate', e.to_s
81
+ say_status 'validate', e.to_s, :red
82
82
  end
83
83
  end
84
84
 
@@ -123,6 +123,7 @@ module ZendeskAppsTools
123
123
  method_option :config, default: DEFAULT_CONFIG_PATH, required: false, aliases: '-c'
124
124
  method_option :port, default: DEFAULT_SERVER_PORT, required: false
125
125
  method_option :app_id, default: DEFAULT_APP_ID, required: false
126
+ method_option :bind, default: "127.0.0.1", required: false
126
127
  def server
127
128
  setup_path(options[:path])
128
129
  manifest = app_package.manifest
@@ -139,6 +140,7 @@ module ZendeskAppsTools
139
140
  require 'zendesk_apps_tools/server'
140
141
  ZendeskAppsTools::Server.tap do |server|
141
142
  server.set :settings_helper, settings_helper
143
+ server.set :bind, options[:bind]
142
144
  server.set :port, options[:port]
143
145
  server.set :root, options[:path]
144
146
  server.set :public_folder, File.join(options[:path], 'assets')
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module ZendeskAppsTools
2
- VERSION = "1.35.4"
3
+ VERSION = '1.35.6'
3
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.4
4
+ version: 1.35.6
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-10-13 00:00:00.000000000 Z
14
+ date: 2016-10-25 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.1
78
+ version: 3.1.4
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.1
85
+ version: 3.1.4
86
86
  - !ruby/object:Gem::Dependency
87
87
  name: sinatra-cross_origin
88
88
  requirement: !ruby/object:Gem::Requirement