torqbox 0.1.6-java → 0.1.7-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7d16593699fceb6c46b6209c1c80ea4939bb8b30
4
- data.tar.gz: 5f05cbb6245b347c7c33ffd4dfe5496c1712b254
3
+ metadata.gz: 1f6cc698aaac887bf1e3396125eae2b8059780a4
4
+ data.tar.gz: bb866bd83ece10e0089a831528031db4c85c8dc9
5
5
  SHA512:
6
- metadata.gz: a9b6e7a8c7fb136cb0ce030d930899e888b6b38853b5284cf87ba06a851c8d516092dab0d9d5c5435d49c3784dc30cf2d57e1e3196856b0b3b128051b2d699eb
7
- data.tar.gz: b90017cd2dc6c7bb2e325f0a634ca3f3909befa3db79de4707bce0e32520478155d7bcca961d87c12997848041ea2b0b26fe5385a1df02cc3244f6cb742a6391
6
+ metadata.gz: 384928054e028536a61ea1ddea5f75d82286389bd42cb899c7fdc10b1d8cb2831fb06966833d7b4af2c8d7d463c36e03fdd9fb9461a9a590207a0f2e81853b55
7
+ data.tar.gz: a362371de000a05bfdb563265d530dc0793cb43c476b795ab11d0592235f5d636e93ede6f06ae77be9a20c3305838176f530136f6454ba293db3d8cfbcad8215
@@ -1,8 +1,15 @@
1
+ ## 0.1.7
2
+
3
+ * Bundled wunderboss-rack commit
4
+ fc2378dfe02394fa406e1aba1ac2efe07305cadd that upgrades to Undertow
5
+ 1.0.0.Beta30
6
+
1
7
  ## 0.1.6
2
8
 
3
9
  * Bundled wunderboss-rack commit
4
- 7e51cba42dd720d01c01c00203a4d01bebe340d8 to fix a bug preventing
5
- Rails 3.2 apps from working
10
+ 7bce2a980976cb215ff28548d2eef19c48a7410f to fix a bug preventing
11
+ Rails 3.2 apps from working and some Ruby runtime creation/destory
12
+ changes to get our specs passing again
6
13
 
7
14
  ## 0.1.5
8
15
 
@@ -32,7 +32,7 @@ module TorqBox
32
32
  @boot_options[:host] = arg
33
33
  end
34
34
  opts.on '--dir DIR', 'Change directory before starting' do |arg|
35
- @app_options[:root] = arg
35
+ @boot_options[:root] = arg
36
36
  end
37
37
  opts.on '-E', '--env ENVIRONMENT', 'Environment to run under (default: development)' do |arg|
38
38
  ENV['RACK_ENV'] = ENV['RAILS_ENV'] = arg
@@ -24,18 +24,18 @@ module TorqBox
24
24
  SERVER_DEFAULT_OPTIONS = {
25
25
  :host => 'localhost',
26
26
  :port => 8080,
27
- :log_level => 'INFO'
27
+ :log_level => 'INFO',
28
+ :root => '.'
28
29
  }
29
30
  APP_DEFAULT_OPTIONS = {
30
31
  :context => '/',
31
- :root => '.',
32
32
  :rackup => 'config.ru',
33
33
  :rack_app => nil
34
34
  }
35
35
 
36
36
  def initialize(options)
37
37
  options = SERVER_DEFAULT_OPTIONS.merge(options)
38
- @container = WunderBoss.container
38
+ @container = WunderBoss.container('root' => options[:root])
39
39
  @container.log_level = options[:log_level]
40
40
  @container.register_language('ruby', Java::OrgProjectoddWunderbossRuby::RubyLanguage.new)
41
41
  @container.register_component('web', Java::OrgProjectoddWunderbossWeb::WebComponent.new)
@@ -47,15 +47,15 @@ module TorqBox
47
47
  def start(options)
48
48
  options = APP_DEFAULT_OPTIONS.merge(options)
49
49
  @logger.info("TorqBox #{::TorqBox::VERSION} starting...")
50
- app = @container.new_application('ruby')
51
- app.start('rack', 'context' => options[:context],
52
- 'root' => options[:root],
53
- 'rackup' => options[:rackup],
54
- 'rack_app' => options[:rack_app])
50
+ @app = @container.new_application('ruby')
51
+ @app.start('rack', 'context' => options[:context],
52
+ 'rackup' => options[:rackup],
53
+ 'rack_app' => options[:rack_app])
55
54
  end
56
55
 
57
56
  def stop
58
57
  @logger.info("Stopping TorqBox...")
58
+ @app.stop
59
59
  @container.stop
60
60
  end
61
61
  end
@@ -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.6'
19
+ VERSION = '0.1.7'
20
20
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torqbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
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: 2014-01-06 00:00:00.000000000 Z
11
+ date: 2014-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack