torqbox 0.1.1-java → 0.1.2-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/torqbox/cli.rb +4 -0
- data/lib/torqbox/version.rb +1 -1
- data/lib/wunderboss-rack.jar +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df8a0bea8590ce465f35bb5235472d3d064609b1
|
4
|
+
data.tar.gz: da165a0a4ac1341c905a69678c9be4e1ea4813c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4737779dc3eb3157bce56ab908f719200f7643b778899f0aaabfe75fae09c90ddd2e531875a651633ee826537366970e187463c9ca61fa32423455156ebd22e7
|
7
|
+
data.tar.gz: 7311e6d992d3e86a910a1a6ccd0ea67b41f7a24870056f42aa437126e1b905fcbcb6af67f4c6cd0204b0ea1fc0a0713ffcdc6d97b372622aa69e2803e52ee03d
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## 0.1.2
|
2
|
+
|
3
|
+
* Add torqbox -E <development/test/production> option to control the
|
4
|
+
RACK_ENV and RAILS_ENV
|
5
|
+
|
6
|
+
* Bundled wunderboss-rack.jar commit
|
7
|
+
4fcdf2c1dc9d5665b8f94e97dd0c93d8d64607be which improves web
|
8
|
+
performance
|
9
|
+
|
1
10
|
## 0.1.1
|
2
11
|
|
3
12
|
* Fix an issue that prevented `rails s torqbox` from working because
|
data/lib/torqbox/cli.rb
CHANGED
@@ -24,6 +24,7 @@ module TorqBox
|
|
24
24
|
def initialize(argv)
|
25
25
|
@boot_options = {}
|
26
26
|
@app_options = {}
|
27
|
+
ENV['RACK_ENV'] = ENV['RAILS_ENV'] = 'development'
|
27
28
|
OptionParser.new do |opts|
|
28
29
|
opts.banner = 'Usage: torqbox [options] [rackup file]'
|
29
30
|
|
@@ -33,6 +34,9 @@ module TorqBox
|
|
33
34
|
opts.on '--dir DIR', 'Change directory before starting' do |arg|
|
34
35
|
@app_options[:root] = arg
|
35
36
|
end
|
37
|
+
opts.on '-E', '--env ENVIRONMENT', 'Environment to run under (default: development)' do |arg|
|
38
|
+
ENV['RACK_ENV'] = ENV['RAILS_ENV'] = arg
|
39
|
+
end
|
36
40
|
opts.on '-p', '--port PORT', 'HTTP port to listen on' do |arg|
|
37
41
|
@boot_options[:port] = arg
|
38
42
|
end
|
data/lib/torqbox/version.rb
CHANGED
data/lib/wunderboss-rack.jar
CHANGED
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.
|
4
|
+
version: 0.1.2
|
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: 2013-11-
|
11
|
+
date: 2013-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -100,3 +100,4 @@ signing_key:
|
|
100
100
|
specification_version: 4
|
101
101
|
summary: Prototype of the next-generation TorqueBox
|
102
102
|
test_files: []
|
103
|
+
has_rdoc:
|