torqbox 0.1.0-java → 0.1.1-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: 5faf09617133477156fe3413dc221b39bb0641bd
4
- data.tar.gz: 0fb9ef89948593d849f4c0fc151cd641898e49f6
3
+ metadata.gz: 95b09b97969916e5fd407377ed4f553bcf0a1397
4
+ data.tar.gz: 1e732b0a6ae9e5d9a81657ab0b9df107e08125ef
5
5
  SHA512:
6
- metadata.gz: 0256aac1c3a4846c21b44f449f96c6b35e937d318a4c7e7ba84a9863512714f84d1fae498fb853f0fa09fa0456e21a0e598c73ac2eea8b2dc359f48b2a9eb78e
7
- data.tar.gz: 9aead0c72a6d22375afec508104119637e0c3992803bafdf9755a43ad6735672ed3027fde64f3f88e76ec5d67df98dd4b1dab61c53dbe218c96c69e745c683b5
6
+ metadata.gz: 852ee9c49f019fc2ed0d55cee3ac90184ce4fddf365362afe7f7a6e25087bcfb1fa0b8e1deeecc280892e76f0d83b6a919e16bec79ef6c0a39cc8e877837bbf7
7
+ data.tar.gz: bb3dbba79bc53b6cbd8a0fe7bb0d7d87043b82d32f3dcf2877cd419120cbfcc9fc817a0aeb8102c3793af8d230a1994d09e6f029e0f83ed113a41dd6c4dfe85b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 0.1.1
2
+
3
+ * Fix an issue that prevented `rails s torqbox` from working because
4
+ Rails thought the server stopped immediately after starting
5
+
6
+ * wunderboss-all.jar renamed to wunderboss-rack.jar, updated to commit
7
+ 498d5badcaefffa19e0c529caa62c490497f3079 which improves overall
8
+ throughput by rewriting our Rack implementation from a Servlet
9
+ adapter to an Undertow HttpHandler
10
+
1
11
  ## 0.1.0
2
12
 
3
13
  * Initial release
@@ -11,9 +11,12 @@ module Rack
11
11
  yield server if block_given?
12
12
 
13
13
  server.start(:rack_app => app)
14
+ thread = Thread.current
14
15
  Signal.trap("INT") do
15
16
  server.stop
17
+ thread.wakeup
16
18
  end
19
+ sleep
17
20
  end
18
21
 
19
22
  def self.valid_options
@@ -15,7 +15,7 @@
15
15
  # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
16
16
  # 02110-1301 USA, or see the FSF site: http://www.fsf.org.
17
17
 
18
- require 'wunderboss-all.jar'
18
+ require 'wunderboss-rack.jar'
19
19
 
20
20
  module TorqBox
21
21
  class Server
@@ -38,7 +38,6 @@ module TorqBox
38
38
  @container.log_level = options[:log_level]
39
39
  @container.register_language('ruby', Java::OrgProjectoddWunderbossRuby::RubyLanguage.new)
40
40
  @container.register_component('web', Java::OrgProjectoddWunderbossWeb::WebComponent.new)
41
- @container.register_component('servlet', Java::OrgProjectoddWunderbossWeb::ServletComponent.new)
42
41
  @container.register_component('rack', Java::OrgProjectoddWunderbossRubyRack::RackComponent.new)
43
42
  @container.configure('web', 'host' => options[:host], 'port' => options[:port].to_s)
44
43
  @logger = @container.get_logger('TorqBox::Server')
@@ -16,5 +16,5 @@
16
16
  # 02110-1301 USA, or see the FSF site: http://www.fsf.org.
17
17
 
18
18
  module TorqBox
19
- VERSION = '0.1.0'
19
+ VERSION = '0.1.1'
20
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torqbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: java
6
6
  authors:
7
7
  - The TorqueBox Team
@@ -69,8 +69,8 @@ files:
69
69
  - README.md
70
70
  - LICENSE
71
71
  - bin/torqbox
72
- - lib/wunderboss-all.jar
73
72
  - lib/torqbox.rb
73
+ - lib/wunderboss-rack.jar
74
74
  - lib/rack/handler/torqbox.rb
75
75
  - lib/torqbox/cli.rb
76
76
  - lib/torqbox/server.rb