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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 95b09b97969916e5fd407377ed4f553bcf0a1397
4
- data.tar.gz: 1e732b0a6ae9e5d9a81657ab0b9df107e08125ef
3
+ metadata.gz: df8a0bea8590ce465f35bb5235472d3d064609b1
4
+ data.tar.gz: da165a0a4ac1341c905a69678c9be4e1ea4813c1
5
5
  SHA512:
6
- metadata.gz: 852ee9c49f019fc2ed0d55cee3ac90184ce4fddf365362afe7f7a6e25087bcfb1fa0b8e1deeecc280892e76f0d83b6a919e16bec79ef6c0a39cc8e877837bbf7
7
- data.tar.gz: bb3dbba79bc53b6cbd8a0fe7bb0d7d87043b82d32f3dcf2877cd419120cbfcc9fc817a0aeb8102c3793af8d230a1994d09e6f029e0f83ed113a41dd6c4dfe85b
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
@@ -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.1'
19
+ VERSION = '0.1.2'
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.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-15 00:00:00.000000000 Z
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: