torquebox-web 4.0.0.beta1-java → 4.0.0.beta2-java

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: 164f47261d59b96948f547d2689a45306d85a46e
4
- data.tar.gz: 33275d3c626a06ce82348c543ccc8ba72a162a9f
3
+ metadata.gz: cf5e3fc2f0041f8abb335f94094ee21cc35ebd62
4
+ data.tar.gz: bec372c1c1ca8ca603a6f571f0e9ccd818d115c0
5
5
  SHA512:
6
- metadata.gz: 285d3eef4722191b94330ea756b064bd1a1575642f20e5e41e23dd3d3f40490b5be76aa11e3546ac1b766582d28be915fd7650c886b3fc7b9b0d737055dbe5fa
7
- data.tar.gz: c28e31a71ee2e20efca16fc3666ca238232fa068265394296ad2d5de43ac7d0d98eca721edbc15d4b9d240534f32deb06a9f0ec84732c26d4752ad25d949287b
6
+ metadata.gz: 4b0fe9947bcf24e21775fc20064f4665aabe470ab80364ccb8cbd8944849573f0be70017208c9367e733e6d526a6b3fa6fd62ad02f6dfcff09a6cedb3483f140
7
+ data.tar.gz: e49b0d1b0f30dacff0ed641aa8420a3f90ce76eef310f37424c7fc84e9e32b62126fd9d843e4e41db7ef4dbbad2d3affff2e84c99d25393d05d5885113a6bd53
@@ -27,7 +27,6 @@ module TorqueBox
27
27
  end
28
28
 
29
29
  def setup_parser(parser, options)
30
- ENV['RACK_ENV'] = ENV['RAILS_ENV'] = 'development'
31
30
  parser.on '-b', '--bind-address IP', 'IP or host to bind to' do |arg|
32
31
  options[:host] = arg
33
32
  end
@@ -321,7 +321,7 @@ module TorqueBox
321
321
  def self.builder(options = {})
322
322
  builder = Java::io.undertow.Undertow.builder
323
323
  host = options[:host] || DEFAULT_SERVER_OPTIONS[:host]
324
- port = options[:port] || DEFAULT_SERVER_OPTIONS[:port]
324
+ port = (options[:port] || DEFAULT_SERVER_OPTIONS[:port]).to_i
325
325
  builder.addHttpListener(port, host)
326
326
  builder.setIoThreads(options[:io_threads]) if options[:io_threads]
327
327
  builder.setWorkerThreads(options[:worker_threads]) if options[:worker_threads]
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torquebox-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.beta1
4
+ version: 4.0.0.beta2
5
5
  platform: java
6
6
  authors:
7
7
  - The TorqueBox Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-10 00:00:00.000000000 Z
11
+ date: 2015-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -36,12 +36,12 @@ dependencies:
36
36
  requirements:
37
37
  - - '='
38
38
  - !ruby/object:Gem::Version
39
- version: 4.0.0.beta1
39
+ version: 4.0.0.beta2
40
40
  requirement: !ruby/object:Gem::Requirement
41
41
  requirements:
42
42
  - - '='
43
43
  - !ruby/object:Gem::Version
44
- version: 4.0.0.beta1
44
+ version: 4.0.0.beta2
45
45
  prerelease: false
46
46
  type: :runtime
47
47
  - !ruby/object:Gem::Dependency
@@ -106,23 +106,23 @@ executables: []
106
106
  extensions: []
107
107
  extra_rdoc_files: []
108
108
  files:
109
+ - lib/wunderboss_rack_response_handler.rb
109
110
  - lib/wunderboss-rack.jar
110
111
  - lib/torquebox-web.rb
111
- - lib/wunderboss_rack_response_handler.rb
112
+ - lib/wunderboss-jars/undertow-core-1.1.0.Final.jar
113
+ - lib/wunderboss-jars/undertow-websockets-jsr-1.1.0.Final.jar
114
+ - lib/wunderboss-jars/xnio-nio-3.3.0.Final.jar
112
115
  - lib/wunderboss-jars/xnio-api-3.3.0.Final.jar
113
116
  - lib/wunderboss-jars/jboss-servlet-api_3.1_spec-1.0.0.Final.jar
114
- - lib/wunderboss-jars/xnio-nio-3.3.0.Final.jar
115
- - lib/wunderboss-jars/jboss-annotations-api_1.2_spec-1.0.0.Final.jar
116
- - lib/wunderboss-jars/jboss-websocket-api_1.1_spec-1.1.0.Final.jar
117
- - lib/wunderboss-jars/undertow-websockets-jsr-1.1.0.Final.jar
118
- - lib/wunderboss-jars/undertow-core-1.1.0.Final.jar
119
117
  - lib/wunderboss-jars/undertow-servlet-1.1.0.Final.jar
120
- - lib/wunderboss-jars/wunderboss-web-0.8.0.jar
118
+ - lib/wunderboss-jars/jboss-annotations-api_1.2_spec-1.0.0.Final.jar
121
119
  - lib/wunderboss-jars/sockjs-servlet-0.1.2.jar
122
- - lib/rack/handler/torquebox.rb
120
+ - lib/wunderboss-jars/wunderboss-web-0.8.0.jar
121
+ - lib/wunderboss-jars/jboss-websocket-api_1.1_spec-1.1.0.Final.jar
123
122
  - lib/torquebox/web.rb
124
123
  - lib/torquebox/web/cli.rb
125
124
  - lib/torquebox/web/server.rb
125
+ - lib/rack/handler/torquebox.rb
126
126
  homepage: http://torquebox.org/4x
127
127
  licenses:
128
128
  - Apache-2.0