jruby-rack 1.1.13.2 → 1.1.13.3

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.1.13.3 (13/11/13)
2
+
3
+ - restore compatibility with JRuby < 1.6.7
4
+
1
5
  == 1.1.13.2 (02/04/13)
2
6
 
3
7
  - fix warning in Rack::Utils::Response#write_headers
@@ -14,44 +18,44 @@
14
18
  - bundle (latest) rack 1.4.2
15
19
  - make sure out custom (env) Hash sub-classes behave more Hash-y (#134)
16
20
  - support for setting a custom JRuby-Rack Response class (e.g. due #send_file)
17
- - explicit support for sending file bodies with the possibility to re-define
21
+ - explicit support for sending file bodies with the possibility to re-define
18
22
  #send_file per app-server
19
23
  - make sure we still maintain 2.3 compatibility (fix for #138)
20
24
  - fix send_file not being able to handle large > 2GB files (#133)
21
25
  - review chunked support - changed default behavior into patching Rack::Chunked
22
26
  the old behavior still works by setting jruby.rack.response.chunked = true
23
27
  - handle empty (null) strings when parsing (Ruby) magic comments e.g. config.ru
24
- - versioning review - make sure versions are always "valid" even for SNAPSHOTs
28
+ - versioning review - make sure versions are always "valid" even for SNAPSHOTs
25
29
 
26
30
  == 1.1.12 (28/11/12)
27
31
 
28
- - make (Default)Env to be the environment Hash instance itself since we need
32
+ - make (Default)Env to be the environment Hash instance itself since we need
29
33
  to handle custom lazy-bound keys but can not use a default proc (#132)
30
34
  - support the renew (and skip) session option with servlet store (#131)
31
35
  - improve ENV isolation with booted Ruby runtimes
32
36
  - jruby.rack.env replaces jruby.rack.ignore.env (now deprecated)
33
- - make sure RUBYOPT is ignored (with backwards compat)
34
- - jruby.rack.env.rubyopt for finer RUBYOPT behavior control
37
+ - make sure RUBYOPT is ignored (with backwards compat)
38
+ - jruby.rack.env.rubyopt for finer RUBYOPT behavior control
35
39
  - allow env value to be specified from config
36
40
  - solve the rackup "chicken - egg" problem with a plain Rack app
37
41
  - with a magic comment in config.ru # rack.version: ~>1.3.6
38
42
  - for bundle exec "emulation" use # rack.version: bundler
39
- - (temporarily) introduce RackEnvironment.ToIO to avoid instance vars
43
+ - (temporarily) introduce RackEnvironment.ToIO to avoid instance vars
40
44
  on non-persistent Java types (JRuby 1.7 warning)
41
45
  - add a JRuby::Rack::Helpers module for helper functions
42
46
  - decorating factories (e.g. pooling factory) can now be distinguished
43
47
  - refactored / updated error handling :
44
48
  - move the decision about throwing the init error into the listener
45
- - unify exception handling across decorating app factories with support
49
+ - unify exception handling across decorating app factories with support
46
50
  for configuring exception handling with the *jruby.rack.error* option
47
51
  - make sure init errors are thrown from pooling factory's init
48
52
  - added an ErrorApplication marker interface
49
53
  - dispatcher might now decide what status to return (or throw)
50
54
  - let the servlet container deal with null response header values
51
55
  - expose the rack context using JRuby::Rack.context= in embed scenario
52
- - rely less on booter and $servlet_context whenever possible
53
- - moved Booter#logger into JRuby::Rack.logger
54
- - boot! now 'exports' JRuby::Rack.app_path and public_path
56
+ - rely less on booter and $servlet_context whenever possible
57
+ - moved Booter#logger into JRuby::Rack.logger
58
+ - boot! now 'exports' JRuby::Rack.app_path and public_path
55
59
  - changed $servlet_context refs to JRuby::Rack.context
56
60
  - maven + rake (joint) build review
57
61
  run mvn compile on rake compile instead of custom javac
@@ -59,23 +63,23 @@
59
63
  - removed LoggerConfigurationException used with Commons-Logging
60
64
  - fix invalid /tmp detected jruby home LOAD_PATH on 1.7.0
61
65
  - support setting compat version 2.0 (on JRuby 1.7.x)
62
- - application layout (JRuby::Rack::AppLayout) improvements :
66
+ - application layout (JRuby::Rack::AppLayout) improvements :
63
67
  - introduce app.root context param (similar to rails.root)
64
- - RailsWebInfLayout is now the same as WebInfLayout
65
- - added (generic) FileSystemLayout (handles rails apps as well)
66
- - RailsFilesystemLayout is FileSystemLayout for compatibility
67
- - make sure paths are expanded when using a FS layout
68
+ - RailsWebInfLayout is now the same as WebInfLayout
69
+ - added (generic) FileSystemLayout (handles rails apps as well)
70
+ - RailsFilesystemLayout is FileSystemLayout for compatibility
71
+ - make sure paths are expanded when using a FS layout
68
72
  - moved change_working_directory code to happen within Booter
69
73
  - fix Booter failing to boot! when layout.gem_path nil (or empty)
70
74
  - Rails booter's RAILS_ENV should default to RACK_ENV if set
71
75
  - make sure original rack body gets always closed with optimized send_file
72
76
  might lead to side-effects such as not releasing database connections (#123)
73
- - some more useful Servlet API Ruby extensions ('attribute' managing objects
77
+ - some more useful Servlet API Ruby extensions ('attribute' managing objects
74
78
  such as ServletContext behave similar to Hash)
75
79
 
76
80
  == 1.1.10 (04/09/12)
77
81
 
78
- - correctly dechunk data from response and handle flushing,
82
+ - correctly dechunk data from response and handle flushing,
79
83
  finally Rails 3.1+ `render stream: true` support (#117)
80
84
  - initial compatibility with Rails master (getting torwards 4.0.0.beta)
81
85
  known issues: ActionController::Live seems to end up with a dead-lock
@@ -90,30 +94,30 @@
90
94
  == 1.1.8 (17/08/12)
91
95
 
92
96
  - introduced ServletEnv for cases when it's desirable to fully use the servlet
93
- environment to create the rack env (and not let Rack::Request parse params
97
+ environment to create the rack env (and not let Rack::Request parse params
94
98
  but rely on the parameters already parsed and available from the servlet
95
- request #110). this is an experimental feature that might change in the
99
+ request #110). this is an experimental feature that might change in the
96
100
  future and requires setting 'jruby.rack.handler.env' param to 'servlet' !
97
101
  - separated out Env (LazyEnv) into a separate file :
98
- - Env got refactored into DefaultEnv (with lazyness built-in)
99
- - LazyEnv got removed as it is not longer necessary
100
- - Rack::Handler::Servlet.env sets the used env conversion class
102
+ - Env got refactored into DefaultEnv (with lazyness built-in)
103
+ - LazyEnv got removed as it is not longer necessary
104
+ - Rack::Handler::Servlet.env sets the used env conversion class
101
105
  - introduce a generic getNumberProperty on RackConfig
102
- - introduce a base RackException and add a custom AcquireTimeoutException for
106
+ - introduce a base RackException and add a custom AcquireTimeoutException for
103
107
  pool timeouts (related to jruby.runtime.acquire.timeout parameter)
104
- - RackInitializationException changed to unchecked as it inherits from
108
+ - RackInitializationException changed to unchecked as it inherits from
105
109
  RackException now
106
110
  - PoolingRackApplication (and related) polishing :
107
- - avoid creating a new application from getApplication when a permit is
111
+ - avoid creating a new application from getApplication when a permit is
108
112
  granted but pool is empty
109
- - support to wait till pool becomes ready by default otherwise wait until
110
- initial application objects are present in the pool before returning
113
+ - support to wait till pool becomes ready by default otherwise wait until
114
+ initial application objects are present in the pool before returning
111
115
  (controlled with the jruby.runtime.init.wait accepting true/false/integer)
112
- - edge case handling where (in case were set to not wait for initialization)
116
+ - edge case handling where (in case were set to not wait for initialization)
113
117
  we should wait for an initializer thread to put an application into the pool
114
118
  - allow acquire timeout (jruby.runtime.acquire.timeout param) to be specified
115
- as a decimal number for finer control and decreased the timeout default
116
- from 30s to 10s (although seems still too high for a default)
119
+ as a decimal number for finer control and decreased the timeout default
120
+ from 30s to 10s (although seems still too high for a default)
117
121
  - jruby runtime pooling for plain Rack applications (not just Rails)
118
122
 
119
123
  == 1.1.7 (21/06/12)
data/lib/jruby-rack.rb CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  module JRubyJars
3
3
  def self.jruby_rack_jar_path
4
- File.expand_path("../jruby-rack-1.1.13.2.jar", __FILE__)
4
+ File.expand_path("../jruby-rack-1.1.13.3.jar", __FILE__)
5
5
  end
6
6
  require jruby_rack_jar_path if defined?(JRUBY_VERSION)
7
7
  end
@@ -7,6 +7,6 @@
7
7
 
8
8
  module JRuby
9
9
  module Rack
10
- VERSION = '1.1.13.2'
10
+ VERSION = '1.1.13.3'
11
11
  end
12
12
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: jruby-rack
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.13.2
5
+ version: 1.1.13.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nick Sieger
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2013-04-02 00:00:00 Z
13
+ date: 2013-11-13 00:00:00 Z
14
14
  dependencies: []
15
15
 
16
16
  description: JRuby-Rack is a combined Java and Ruby library that adapts the Java Servlet API to Rack. For JRuby only.
@@ -26,7 +26,7 @@ files:
26
26
  - History.txt
27
27
  - LICENSE.txt
28
28
  - README.md
29
- - lib/jruby-rack-1.1.13.2.jar
29
+ - lib/jruby-rack-1.1.13.3.jar
30
30
  - lib/jruby-rack.rb
31
31
  - lib/jruby/rack/version.rb
32
32
  homepage: http://jruby.org