jruby-rack 1.1.21 → 1.2.0

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
- SHA1:
3
- metadata.gz: 42c7cc0d175790121e677fa3dadafa8aace1eaee
4
- data.tar.gz: a83b8565b8c6eb30d39d71e88ed1d58e4bfe13f7
2
+ SHA256:
3
+ metadata.gz: 134a0e023105cb9e48ba4abd8c19b80641ea2be351de89152bc37cb79da25443
4
+ data.tar.gz: f68b392739da19a4d15651fd990dce9c0e5fbaf4f97ae11844b57a72ca5a134d
5
5
  SHA512:
6
- metadata.gz: f39a27e9ce0bf8966aa5bf4d7245e696b1401b44e98cb9b5b5213b9dbf060f9fd1e888b3e8fa7231915e018ee0529bfbd664df9347b2978b23db328919870a1b
7
- data.tar.gz: 20c77adbb39c8f0a9d3b8793a18923f57f2ff39934abb3a9563567095b2d461316b3cf1abcf7752225f70a181faa7261eced8ef7d18958562fb87de89ccb92dd
6
+ metadata.gz: 4df03904efc76deeb79d855d2a500f22457b8b5ed721b145abf233fc8f5f3c955011d8b3a2d1e3df1a59ef93cb03e0a339e9f939ddcfc548384af89e894cf733
7
+ data.tar.gz: 8fac63b42eacac8f504472d71c1fbfd4ca4cf82207854b5b5619de75666b352323b08720557c95561ca65d297be149269c7ab55a0b0fdd1e7ae963677fb1ecae
data/History.md CHANGED
@@ -1,29 +1,3 @@
1
- ## 1.1.21 (17/09/17)
2
-
3
- - update (bundled) rack to 1.6.8
4
- - add Rack::Handler::Servlet::DefaultEnv#get_header (#212)
5
- missing methods to handle ActionController::Base#reset_session
6
- - can only safely stream natively on ActionDispatch <= 3.2 (#210)
7
- (broken Rails streaming for Rails 4.x)
8
- - when handling OPTION calls ignore both 'Date' and 'Allow' headers (#205)
9
-
10
- ## 1.1.20 (22/01/16)
11
-
12
- - pre-maturely avoid Ruby frozen string literals coming at us ... ''.dup meh!
13
- - allow to boot when RAILS_ROOT/public directory does not exist (closes #197)
14
- - for better booter detection - export public path after working dir was changed
15
- - `ActionController::Base` provides a method `servlet_response` to return the
16
- `java.servlet_response` rack env (#201)
17
- - adjust jruby home dir fallback (for default $LOAD_PATH) correctly on 9K and --2.0
18
- - servlet env should behave on `fetch` and `[]` like a Hash (nil value can be set)
19
-
20
- ## 1.1.19 (01/07/15)
21
-
22
- - update (bundled) rack to 1.5.5
23
- - servlet attrs with null/false values should not end up with an '' env value (#195)
24
- - tune ErrorApp + ShowStatus to respect set 'rack.showstatus.detail' (#194)
25
- - allow for more `JRuby::Rack::ErrorApp` customizations + retrieve cause when needed
26
-
27
1
  ## 1.1.18 (13/01/15)
28
2
 
29
3
  - back-port Rack::ShowStatus to be used with out ErrorApp (contains XSS fix #190)
@@ -65,7 +39,7 @@ Changes from 1.1.15 apply since the previous release got yanked due a regression
65
39
  - a work-around for WAS (8.5) failing on `Dir.chdir` while booting (#170)
66
40
  - consider response unhandled when OPTIONS with "Allow" header set (#153)
67
41
  - improved handling for jruby.compat.version (should work with jruby-head)
68
- - start using de.saumya.mojo jruby plugins for mvn (relates to #108 as well)
42
+ - start using org.jruby.maven jruby plugins for mvn (relates to #108 as well)
69
43
  this allows us to work without a GEM_HOME/GEM_PATH (local ruby install)
70
44
  - use ruby-style methods for the servlet api (in our servlet_env handler)
71
45
 
@@ -208,6 +182,7 @@ Changes from 1.1.15 apply since the previous release got yanked due a regression
208
182
  - jruby runtime pooling for plain Rack applications (not just Rails)
209
183
 
210
184
  ## 1.1.7 (21/06/12)
185
+ >>>>>>> 1.1-stable:History.md
211
186
 
212
187
  - support for delegating logs to java.util.logging (jruby.rack.logging: JUL)
213
188
  - extend RackLogger with levels for better logging with underlying log impl
data/LICENSE.txt CHANGED
@@ -1,7 +1,7 @@
1
1
  #--
2
2
  # The MIT License
3
3
  #
4
- # Copyright (c) 2012-2016 Karol Bucek, LTD.
4
+ # Copyright (c) 2012-2014 Karol Bucek, LTD
5
5
  # Copyright (c) 2010-2012 Engine Yard, Inc.
6
6
  # Copyright (c) 2007-2009 Sun Microsystems, Inc.
7
7
  #
data/README.md CHANGED
@@ -6,6 +6,10 @@ JRuby-Rack supports Rails as well as any Rack-compatible Ruby web framework.
6
6
 
7
7
  For more information on Rack, visit http://rack.github.io/.
8
8
 
9
+ **This README (master) targets JRuby-Rack 1.2 (unreleased) please use the
10
+ [1.1-stable](https://github.com/jruby/jruby-rack/tree/1.1-stable) branch for
11
+ current stable 1.1.x releases.**
12
+
9
13
  [![Gem Version](https://badge.fury.io/rb/jruby-rack.png)][8]
10
14
  [![Build Status][9]](http://travis-ci.org/jruby/jruby-rack)
11
15
 
@@ -14,9 +18,13 @@ For more information on Rack, visit http://rack.github.io/.
14
18
  JRuby-Rack 1.1.x aims to be compatible with JRuby >= 1.6.4 (we recommend 1.7.x),
15
19
  Generally, any container that supports Java Servlet >= 2.5 (JEE 5) is supported.
16
20
 
21
+ JRuby-Rack 1.2.x is expected to officially support JRuby >= 1.7.10 and will be
22
+ compiled against the Java Servlet 3.0 API.
23
+
17
24
  ## Getting Started
18
25
 
19
26
  The most-common way to use JRuby-Rack with a Java server is to get [Warbler][1].
27
+
20
28
  Warbler depends on the latest version of JRuby-Rack and ensures it gets placed
21
29
  in your WAR file when it gets built.
22
30
 
@@ -134,8 +142,8 @@ using is `org.jruby.rack.RackFilter`, the filter supports the following
134
142
  only), by default "true"
135
143
  - **addsHtmlToPathInfo** controls whether the .html suffix is added to the URI
136
144
  when checking if the request is for a static page
137
- - **verifiesHtmlResource** used with the previous parameter to makee sure the
138
- requested static resource exist before adding the .html request URI suffix
145
+ - **verifiesHtmlResource** used with the previous parameter to make sure the
146
+ requested static resource exists before adding the .html request URI suffix
139
147
 
140
148
  The application can also be configured to dispatch through a servlet instead of
141
149
  a filter, the servlet class name is `org.jruby.rack.RackServlet`.
@@ -334,4 +342,4 @@ More information at the [wiki][5] or ask us at **#jruby**'s IRC channel.
334
342
  [4]: https://github.com/jruby/jruby-rack/issues
335
343
  [5]: https://wiki.github.com/jruby/jruby-rack
336
344
  [8]: http://badge.fury.io/rb/jruby-rack
337
- [9]: https://secure.travis-ci.org/jruby/jruby-rack.png?branch=1.1-stable
345
+ [9]: https://secure.travis-ci.org/jruby/jruby-rack.png?branch=master
@@ -1,5 +1,4 @@
1
1
  #--
2
- # Copyright (c) 2012-2017 Karol Bucek, LTD.
3
2
  # Copyright (c) 2010-2012 Engine Yard, Inc.
4
3
  # Copyright (c) 2007-2009 Sun Microsystems, Inc.
5
4
  # This source code is available under the MIT license.
@@ -8,6 +7,6 @@
8
7
 
9
8
  module JRuby
10
9
  module Rack
11
- VERSION = '1.1.21'
10
+ VERSION = '1.2.0'
12
11
  end
13
12
  end
Binary file
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.21.jar", __FILE__)
4
+ File.expand_path("../jruby-rack-1.2.0.jar", __FILE__)
5
5
  end
6
6
  require jruby_rack_jar_path if defined?(JRUBY_VERSION)
7
7
  end
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jruby-rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.21
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sieger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-17 00:00:00.000000000 Z
11
+ date: 2024-05-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: JRuby-Rack is a combined Java and Ruby library that adapts the Java Servlet API to Rack. For JRuby only.
13
+ description: JRuby-Rack is a combined Java and Ruby library that adapts the Java Servlet
14
+ API to Rack. For JRuby only.
14
15
  email:
15
16
  - nick@nicksieger.com
16
17
  executables: []
@@ -20,7 +21,7 @@ files:
20
21
  - History.md
21
22
  - LICENSE.txt
22
23
  - README.md
23
- - lib/jruby-rack-1.1.21.jar
24
+ - lib/jruby-rack-1.2.0.jar
24
25
  - lib/jruby-rack.rb
25
26
  - lib/jruby/rack/version.rb
26
27
  homepage: http://jruby.org
@@ -42,8 +43,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
42
43
  - !ruby/object:Gem::Version
43
44
  version: '0'
44
45
  requirements: []
45
- rubyforge_project:
46
- rubygems_version: 2.6.12
46
+ rubygems_version: 3.3.26
47
47
  signing_key:
48
48
  specification_version: 4
49
49
  summary: Rack adapter for JRuby and Servlet Containers
Binary file