nutcracker-web 0.0.13 → 0.0.14

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: 4a5a9d68115d7e3f3ab30624bf6a3bed0b86ed1d
4
- data.tar.gz: 74ee53b346e61799ac30a1411fe8c37ca8065e30
3
+ metadata.gz: 7794d17b7f2eeb1931b42dd98ed1f49e278a6163
4
+ data.tar.gz: 23fa427c30e6787a49036c520e1246ae23dc19d2
5
5
  SHA512:
6
- metadata.gz: 207cc18fc16b52cf2c5d3f1c16569338cf47207f432a4f03d1d76e84ff36e7152e777dec6a7e6a0617d58e0aa02a29d4935e986a7965e7062bf749d6a9415cdd
7
- data.tar.gz: e40fb8863e96dcb610aecac46bff163369d7588a793b6b2be7f46f6f9c8f7c0ab49990ea7dddc6a368a04eca45197e997e3da54231f456b1ba55027c5c26f93b
6
+ metadata.gz: 528b1c7a71faf006d83c6a765c6c6d404c0999ba31ff8abf55fe1327f71b0aaf22e44444eda3c67e84498b48361e675237b36c19219cf4aba1049bf166aecfcc
7
+ data.tar.gz: c7156551bcc9eb8dfae5e178cdaba89cb5c3ca59c20e07d4693034fbe83c9b4e94abea503d81e7ec3f8dbda42b1ca59ac5a874ef88a93f33511237e0ce791c30
data/bin/nutcracker-web CHANGED
@@ -10,7 +10,7 @@ require 'socket'
10
10
  require 'open3'
11
11
  require 'uri'
12
12
 
13
- options = { stats_uri: URI("tcp://localhost:22222"), context: "/"}
13
+ options = { stats_uri: URI("tcp://localhost:22222") }
14
14
 
15
15
  OptionParser.new do |opts|
16
16
  opts.set_summary_indent " "
@@ -6,7 +6,7 @@ module Nutcracker
6
6
  @thread = Thread.new do
7
7
  Thread.current.abort_on_exception=true
8
8
 
9
- app = Rack::URLMap.new(o[:context] =>
9
+ app = Rack::URLMap.new(o.fetch(:context,"/") =>
10
10
  App.new(nutcracker, o.fetch(:external_servers,[])))
11
11
 
12
12
  Rack::Server.start(
@@ -1,5 +1,5 @@
1
1
  module Nutcracker
2
2
  module Web
3
- VERSION="0.0.13"
3
+ VERSION="0.0.14"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nutcracker-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eran Barak Levi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-23 00:00:00.000000000 Z
11
+ date: 2017-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  version: '0'
145
145
  requirements: []
146
146
  rubyforge_project: ruby-nutcracker-web
147
- rubygems_version: 2.4.6
147
+ rubygems_version: 2.6.10
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: Nutcracker Web Interface