nimbu 0.9 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nimbu/command/server.rb +3 -0
- data/lib/nimbu/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbf38f8c4132fc7d8efae8ac632494faa53f522d
|
4
|
+
data.tar.gz: 11cea0622652660ec14607f2dd59405fb9647b72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dd0ebc11a19f9666b8d333044f157762f08797929a14941722798b8332e621507b5992682e8953727c326febfbe1fef8cb18615e67368f616ecf6c24feec9ee
|
7
|
+
data.tar.gz: 959befb9220d3ea1a80f0bf7d4a2433b8858bcd84cd91ebe8c0420ad8a5a489f30b06601a9a719e6473c017e6283f319f73ef7f8d861d5bd4d953cdcb6c35398
|
data/lib/nimbu/command/server.rb
CHANGED
@@ -13,6 +13,7 @@ class Nimbu::Command::Server < Nimbu::Command::Base
|
|
13
13
|
# starts a local development server, using the data from the Nimbu cloud in real time.
|
14
14
|
#
|
15
15
|
# -p PORT, --port PORT # set the port on which to start the http server
|
16
|
+
# --host HOST # set the host on which to start the http server
|
16
17
|
# -h, --haml # start local HAML watcher
|
17
18
|
# -c, --compass # start local Compass watcher
|
18
19
|
# -d, --debug # enable debugging output
|
@@ -107,6 +108,7 @@ class Nimbu::Command::Server < Nimbu::Command::Base
|
|
107
108
|
:Port => options[:port] || 4567,
|
108
109
|
:DocumentRoot => Dir.pwd
|
109
110
|
}
|
111
|
+
server_options.merge!({:Host => options[:host]}) if options[:host]
|
110
112
|
Rack::Handler::Thin.run Nimbu::Server::Base, server_options do |server|
|
111
113
|
[:INT, :TERM].each { |sig| trap(sig) { server.respond_to?(:stop!) ? server.stop! : server.stop } }
|
112
114
|
end
|
@@ -154,6 +156,7 @@ class Nimbu::Command::Server < Nimbu::Command::Base
|
|
154
156
|
:Port => options[:port] || 4567,
|
155
157
|
:DocumentRoot => Dir.pwd
|
156
158
|
}
|
159
|
+
server_options.merge!({:Host => options[:host]}) if options[:host]
|
157
160
|
Rack::Handler::Thin.run Nimbu::Server::Base, server_options do |server|
|
158
161
|
[:INT, :TERM].each { |sig| trap(sig) { server.respond_to?(:stop!) ? server.stop! : server.stop } }
|
159
162
|
end
|
data/lib/nimbu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nimbu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zenjoy BVBA
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: term-ansicolor
|
@@ -325,7 +325,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
325
325
|
version: '0'
|
326
326
|
requirements: []
|
327
327
|
rubyforge_project:
|
328
|
-
rubygems_version: 2.
|
328
|
+
rubygems_version: 2.4.5
|
329
329
|
signing_key:
|
330
330
|
specification_version: 4
|
331
331
|
summary: Client library and CLI to design websites on the Nimbu platform.
|