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 +4 -4
- data/lib/zendesk_apps_tools/command.rb +3 -1
- data/lib/zendesk_apps_tools/version.rb +2 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a16ff81f2c559975ffe14851772b7ad58d7f267d
|
4
|
+
data.tar.gz: 4fc8871cdf0c0f1b93c3758b528ee19bbb408adc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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')
|
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
|
+
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-
|
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.
|
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.
|
85
|
+
version: 3.1.4
|
86
86
|
- !ruby/object:Gem::Dependency
|
87
87
|
name: sinatra-cross_origin
|
88
88
|
requirement: !ruby/object:Gem::Requirement
|